- [NEW] Added option for break on interrupt

This commit is contained in:
2024-12-11 16:38:40 +01:00
parent 231bb1f1ac
commit 52de24a076
4 changed files with 9 additions and 2 deletions

3
z80.h
View File

@@ -10,7 +10,8 @@ namespace z80
#define MEMTAG_DATA 3
#define Z80_OPTION_STOP_ON_INVALID 0
#define Z80_NUM_OPTIONS 1
#define Z80_OPTION_BREAK_ON_INTERRUPT 1
#define Z80_NUM_OPTIONS 2
void reset(uint8_t* mem);
void connect_port(int num, int (*in_ptr)(int), void (*out_ptr)(int,int));