diff backend.h @ 1047:6b07af1515b5

Change cycle tracking code for Z80 core to only use a single register. Store low 7 bits of R in a reg and increment it appropriately.
author Michael Pavone <pavone@retrodev.com>
date Wed, 27 Jul 2016 22:46:22 -0700
parents 1f09994e92c5
children 329ff62ea391
line wrap: on
line diff
--- a/backend.h	Tue Jul 26 23:12:23 2016 -0700
+++ b/backend.h	Wed Jul 27 22:46:22 2016 -0700
@@ -98,11 +98,11 @@
 	uint8_t            ram_flags_shift;
 	uint8_t            address_size;
 	uint8_t            byte_swap;
-	uint8_t            context_reg;
-	uint8_t            cycles;
-	uint8_t            limit;
-	uint8_t			   scratch1;
-	uint8_t			   scratch2;
+	int8_t             context_reg;
+	int8_t             cycles;
+	int8_t             limit;
+	int8_t             scratch1;
+	int8_t             scratch2;
 	uint8_t            align_error_mask;
 } cpu_options;