comparison vdp.h @ 1638:f27142c48567

Initial stab at CRAM debug in a detached window
author Michael Pavone <pavone@retrodev.com>
date Wed, 14 Nov 2018 22:16:35 -0800
parents c4ba3177b72d
children 3602f3b20072
comparison
equal deleted inserted replaced
1637:95880d947257 1638:f27142c48567
173 uint8_t *linebuf; 173 uint8_t *linebuf;
174 //pointer to current line in framebuffer 174 //pointer to current line in framebuffer
175 uint32_t *output; 175 uint32_t *output;
176 uint32_t *done_output; 176 uint32_t *done_output;
177 uint32_t *fb; 177 uint32_t *fb;
178 uint32_t *debug_fbs[VDP_NUM_DEBUG_TYPES];
179 uint32_t debug_fb_pitch[VDP_NUM_DEBUG_TYPES];
178 system_header *system; 180 system_header *system;
179 uint16_t cram[CRAM_SIZE]; 181 uint16_t cram[CRAM_SIZE];
180 uint32_t colors[CRAM_SIZE*4]; 182 uint32_t colors[CRAM_SIZE*4];
181 uint32_t debugcolors[1 << (3 + 1 + 1 + 1)];//3 bits for source, 1 bit for priority, 1 bit for shadow, 1 bit for hilight 183 uint32_t debugcolors[1 << (3 + 1 + 1 + 1)];//3 bits for source, 1 bit for priority, 1 bit for shadow, 1 bit for hilight
182 uint16_t vsram[VSRAM_SIZE]; 184 uint16_t vsram[VSRAM_SIZE];