comparison vdp.h @ 2223:1cccc57c069a

Admit defeat on VDP address latching theory and implement it the way GPGX does. Fixes regression in VDP FIFO Testing and SMS VDPTEST
author Michael Pavone <pavone@retrodev.com>
date Sun, 04 Sep 2022 23:29:37 -0700
parents dc4268a778bc
children eaaf28af3c94
comparison
equal deleted inserted replaced
2222:bb1bcdb027e0 2223:1cccc57c069a
196 uint32_t debugcolors[1 << (3 + 1 + 1 + 1)];//3 bits for source, 1 bit for priority, 1 bit for shadow, 1 bit for hilight 196 uint32_t debugcolors[1 << (3 + 1 + 1 + 1)];//3 bits for source, 1 bit for priority, 1 bit for shadow, 1 bit for hilight
197 uint16_t cram[CRAM_SIZE]; 197 uint16_t cram[CRAM_SIZE];
198 uint32_t frame; 198 uint32_t frame;
199 uint32_t vsram_size; 199 uint32_t vsram_size;
200 uint8_t cd; 200 uint8_t cd;
201 uint8_t cd_latch;
202 uint8_t flags; 201 uint8_t flags;
203 uint8_t regs[VDP_REGS]; 202 uint8_t regs[VDP_REGS];
204 //cycle count in MCLKs 203 //cycle count in MCLKs
205 uint32_t cycles; 204 uint32_t cycles;
206 uint32_t pending_vint_start; 205 uint32_t pending_vint_start;