diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-15 15:07:24 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-15 15:07:24 -0800 |
commit | fd755db471d5ddc87c505363c3e6930ee17f07be (patch) | |
tree | 5d08a963c98c73680ccb1d7ff6ab2b1f6d69acce /vdp.h | |
parent | 927a09fa524284367a0ce5c663703ca70b4621cf (diff) |
Initial work on emulating top and bottom border area
Diffstat (limited to 'vdp.h')
-rw-r--r-- | vdp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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]; |