Mercurial > repos > blastem
diff vdp.h @ 980:928442068afe
Implemented VDP read prefetch and made DMA copy not use the FIFO any more. Now up to 114 out of 122 passing on VDP FIFO Test ROM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 24 Apr 2016 01:24:38 -0700 |
parents | 08346262990b |
children | bf63cbf1d7bb |
line wrap: on
line diff
--- a/vdp.h Sun Apr 24 00:22:38 2016 -0700 +++ b/vdp.h Sun Apr 24 01:24:38 2016 -0700 @@ -41,7 +41,7 @@ #define FLAG_MASKED 0x04 #define FLAG_WINDOW 0x08 #define FLAG_PENDING 0x10 -#define FLAG_UNUSED_SLOT 0x20 +#define FLAG_READ_FETCHED 0x20 #define FLAG_DMA_RUN 0x40 #define FLAG_DMA_PROG 0x80 @@ -161,6 +161,7 @@ uint16_t col_1; uint16_t col_2; uint16_t hv_latch; + uint16_t prefetch; uint8_t v_offset; uint8_t dma_cd; uint8_t hint_counter;