comparison 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
comparison
equal deleted inserted replaced
979:771875b5f519 980:928442068afe
39 #define FLAG_DOT_OFLOW 0x01 39 #define FLAG_DOT_OFLOW 0x01
40 #define FLAG_CAN_MASK 0x02 40 #define FLAG_CAN_MASK 0x02
41 #define FLAG_MASKED 0x04 41 #define FLAG_MASKED 0x04
42 #define FLAG_WINDOW 0x08 42 #define FLAG_WINDOW 0x08
43 #define FLAG_PENDING 0x10 43 #define FLAG_PENDING 0x10
44 #define FLAG_UNUSED_SLOT 0x20 44 #define FLAG_READ_FETCHED 0x20
45 #define FLAG_DMA_RUN 0x40 45 #define FLAG_DMA_RUN 0x40
46 #define FLAG_DMA_PROG 0x80 46 #define FLAG_DMA_PROG 0x80
47 47
48 #define FLAG2_VINT_PENDING 0x01 48 #define FLAG2_VINT_PENDING 0x01
49 #define FLAG2_HINT_PENDING 0x02 49 #define FLAG2_HINT_PENDING 0x02
159 sprite_draw sprite_draw_list[MAX_DRAWS]; 159 sprite_draw sprite_draw_list[MAX_DRAWS];
160 sprite_info sprite_info_list[MAX_SPRITES_LINE]; 160 sprite_info sprite_info_list[MAX_SPRITES_LINE];
161 uint16_t col_1; 161 uint16_t col_1;
162 uint16_t col_2; 162 uint16_t col_2;
163 uint16_t hv_latch; 163 uint16_t hv_latch;
164 uint16_t prefetch;
164 uint8_t v_offset; 165 uint8_t v_offset;
165 uint8_t dma_cd; 166 uint8_t dma_cd;
166 uint8_t hint_counter; 167 uint8_t hint_counter;
167 uint8_t flags2; 168 uint8_t flags2;
168 uint8_t double_res; 169 uint8_t double_res;