From fd755db471d5ddc87c505363c3e6930ee17f07be Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 15 Jan 2017 15:07:24 -0800 Subject: Initial work on emulating top and bottom border area --- vdp.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 76fee6e..72b45c5 100644 --- a/vdp.h +++ b/vdp.h @@ -155,6 +155,7 @@ typedef struct { uint8_t *linebuf; //pointer to current line in framebuffer uint32_t *output; + uint32_t *fb; system_header *system; uint16_t cram[CRAM_SIZE]; uint32_t colors[CRAM_SIZE*4]; @@ -164,13 +165,16 @@ typedef struct { uint32_t output_pitch; uint32_t frame; uint16_t vcounter; + uint16_t inactive_start; + uint16_t border_top; + uint16_t border_bot; uint16_t hscroll_a; uint16_t hscroll_b; + uint16_t h40_lines; uint8_t hslot; //hcounter/2 uint8_t latched_mode; uint8_t sprite_index; uint8_t sprite_draws; - uint8_t h40_lines; int8_t slot_counter; int8_t cur_slot; sprite_draw sprite_draw_list[MAX_DRAWS]; -- cgit v1.2.3