Mercurial > repos > blastem
comparison backend.h @ 1149:6b0da6021544
Don't lock up CPU if performing a read with writes configured when in PBC mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 04 Jan 2017 20:43:22 -0800 |
parents | 8f14767661fa |
children | b27d7bf1107e |
comparison
equal
deleted
inserted
replaced
1148:80ef49539550 | 1149:6b0da6021544 |
---|---|
74 write_16_fun write_16; | 74 write_16_fun write_16; |
75 read_8_fun read_8; | 75 read_8_fun read_8; |
76 write_8_fun write_8; | 76 write_8_fun write_8; |
77 } memmap_chunk; | 77 } memmap_chunk; |
78 | 78 |
79 #include "system.h" | |
80 | |
79 typedef struct { | 81 typedef struct { |
80 uint32_t flags; | 82 uint32_t flags; |
81 native_map_slot *native_code_map; | 83 native_map_slot *native_code_map; |
82 deferred_addr *deferred; | 84 deferred_addr *deferred; |
83 code_info code; | 85 code_info code; |
88 code_ptr handle_cycle_limit; | 90 code_ptr handle_cycle_limit; |
89 code_ptr handle_cycle_limit_int; | 91 code_ptr handle_cycle_limit_int; |
90 code_ptr handle_code_write; | 92 code_ptr handle_code_write; |
91 code_ptr handle_align_error_write; | 93 code_ptr handle_align_error_write; |
92 code_ptr handle_align_error_read; | 94 code_ptr handle_align_error_read; |
95 system_str_fun_r8 debug_cmd_handler; | |
93 uint32_t memmap_chunks; | 96 uint32_t memmap_chunks; |
94 uint32_t address_mask; | 97 uint32_t address_mask; |
95 uint32_t max_address; | 98 uint32_t max_address; |
96 uint32_t bus_cycles; | 99 uint32_t bus_cycles; |
97 uint32_t clock_divider; | 100 uint32_t clock_divider; |