Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
1046:a27fdf43f1a7 | 1047:6b07af1515b5 |
---|---|
96 int32_t mem_ptr_off; | 96 int32_t mem_ptr_off; |
97 int32_t ram_flags_off; | 97 int32_t ram_flags_off; |
98 uint8_t ram_flags_shift; | 98 uint8_t ram_flags_shift; |
99 uint8_t address_size; | 99 uint8_t address_size; |
100 uint8_t byte_swap; | 100 uint8_t byte_swap; |
101 uint8_t context_reg; | 101 int8_t context_reg; |
102 uint8_t cycles; | 102 int8_t cycles; |
103 uint8_t limit; | 103 int8_t limit; |
104 uint8_t scratch1; | 104 int8_t scratch1; |
105 uint8_t scratch2; | 105 int8_t scratch2; |
106 uint8_t align_error_mask; | 106 uint8_t align_error_mask; |
107 } cpu_options; | 107 } cpu_options; |
108 | 108 |
109 typedef uint8_t * (*native_addr_func)(void * context, uint32_t address); | 109 typedef uint8_t * (*native_addr_func)(void * context, uint32_t address); |
110 | 110 |