Mercurial > repos > blastem
diff vdp.h @ 1696:956c1cce05e2 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 24 Jan 2019 19:15:59 -0800 |
parents | d0a69348add8 |
children | 4f3443ecb6d6 |
line wrap: on
line diff
--- a/vdp.h Tue Dec 25 11:12:26 2018 -0800 +++ b/vdp.h Thu Jan 24 19:15:59 2019 -0800 @@ -13,6 +13,9 @@ #define VDP_REGS 24 #define CRAM_SIZE 64 +#define SHADOW_OFFSET CRAM_SIZE +#define HIGHLIGHT_OFFSET (SHADOW_OFFSET+CRAM_SIZE) +#define MODE4_OFFSET (HIGHLIGHT_OFFSET+CRAM_SIZE) #define VSRAM_SIZE 40 #define VRAM_SIZE (64*1024) #define BORDER_LEFT 13 @@ -271,5 +274,7 @@ void vdp_force_update_framebuffer(vdp_context *context); void vdp_toggle_debug_view(vdp_context *context, uint8_t debug_type); void vdp_inc_debug_mode(vdp_context *context); +//to be implemented by the host system +uint16_t read_dma_value(uint32_t address); #endif //VDP_H_