diff vdp.h @ 1325:58bfbed6cdb5

Fairly major rework of how active/passive is handled along with how the V30 mode bit is handled. Allows the vertical border extension trick in Overdrive 2 to work right
author Michael Pavone <pavone@retrodev.com>
date Fri, 21 Apr 2017 01:22:52 -0700
parents b1423d432c0e
children 69c25e1188e5
line wrap: on
line diff
--- a/vdp.h	Fri Apr 21 01:19:40 2017 -0700
+++ b/vdp.h	Fri Apr 21 01:22:52 2017 -0700
@@ -177,9 +177,9 @@
 	uint16_t    border_bot;
 	uint16_t    hscroll_a;
 	uint16_t    hscroll_b;
-	uint16_t     h40_lines;
+	uint16_t    h40_lines;
+	uint16_t    output_lines;
 	uint8_t     hslot; //hcounter/2
-	uint8_t     latched_mode;
 	uint8_t	    sprite_index;
 	uint8_t     sprite_draws;
 	int8_t      slot_counter;
@@ -204,6 +204,7 @@
 	uint8_t     debug;
 	uint8_t     debug_pal;
 	uint8_t     pending_byte;
+	uint8_t     state;
 	uint8_t     *tmp_buf_a;
 	uint8_t     *tmp_buf_b;
 } vdp_context;