- [FIX] Al fer break on interrupt de vegades se passava de instruccions

- [NEW] el analitzador pot mostrar les instruccions repetides des de l'ultim estat
- [NEW] gestió de opcodes usats
This commit is contained in:
2024-12-12 22:44:44 +01:00
parent c70c3652bf
commit 8c197d5519
6 changed files with 136 additions and 4 deletions

2
z80.h
View File

@@ -8,6 +8,7 @@ namespace z80
#define MEMTAG_INST 1
#define MEMTAG_CODE 2
#define MEMTAG_DATA 3
#define MEMTAG_REPEAT 4
#define Z80_OPTION_STOP_ON_INVALID 0
#define Z80_OPTION_BREAK_ON_INTERRUPT 1
@@ -42,6 +43,7 @@ namespace z80
uint8_t getMemTouched(const uint16_t addr);
void clearMemTouched();
void fixMemTouched();
const bool getOption(const int option);
void setOption(const int option, const bool value);