From 6c2b3708efcbd900c29422510cfdc62787d3c32d Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 24 Apr 2016 01:24:38 -0700 Subject: 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 --- vdp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vdp.h') 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; -- cgit v1.2.3