summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-24 01:24:38 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-24 01:24:38 -0700
commit6c2b3708efcbd900c29422510cfdc62787d3c32d (patch)
tree06bcce9141cb4df0f74803597bd77e49fd33d3f9 /vdp.h
parentfd345a8336933105ea98c9d2d1cc5602ad611d70 (diff)
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
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdp.h b/vdp.h
index ea01b3d..a69cc90 100644
--- a/vdp.h
+++ b/vdp.h
@@ -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 @@ typedef struct {
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;