Mercurial > repos > blastem
diff z80_to_x86.h @ 626:7c46891a29b1
Properly handle Z80 breakpoints on self-modifying code and setting Z80 breakpoints before the Z80 program has been loaded
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 19 Jun 2014 19:50:16 -0700 |
parents | 140af5509ce7 |
children | c5820734a5b6 |
line wrap: on
line diff
--- a/z80_to_x86.h Thu Jun 19 08:14:35 2014 -0700 +++ b/z80_to_x86.h Thu Jun 19 19:50:16 2014 -0700 @@ -1,6 +1,6 @@ /* Copyright 2013 Michael Pavone - This file is part of BlastEm. + This file is part of BlastEm. BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. */ #ifndef Z80_TO_X86_H_ @@ -55,6 +55,9 @@ void * system; uint8_t ram_code_flags[(8 * 1024)/128/8]; uint32_t int_enable_cycle; + uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; + uint8_t * bp_handler; + uint8_t * bp_stub; uint16_t pc; } z80_context;