Mercurial > repos > blastem
comparison gdb_remote.c @ 1103:22e87b739ad6
WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Dec 2016 09:48:48 -0800 |
parents | 59e664fa2da8 |
children | 2eb54e24914e |
comparison
equal
deleted
inserted
replaced
1102:c15896605bf2 | 1103:22e87b739ad6 |
---|---|
166 m68k_handle_code_write(address, context); | 166 m68k_handle_code_write(address, context); |
167 } | 167 } |
168 return; | 168 return; |
169 } | 169 } |
170 if (address >= 0xA00000 && address < 0xA04000) { | 170 if (address >= 0xA00000 && address < 0xA04000) { |
171 z80_ram[address & 0x1FFF] = value; | 171 gen->zram[address & 0x1FFF] = value; |
172 genesis_context * gen = context->system; | 172 genesis_context * gen = context->system; |
173 #ifndef NO_Z80 | 173 #ifndef NO_Z80 |
174 z80_handle_code_write(address & 0x1FFF, gen->z80); | 174 z80_handle_code_write(address & 0x1FFF, gen->z80); |
175 #endif | 175 #endif |
176 return; | 176 return; |