- Comença a vores el depurador

This commit is contained in:
2024-04-10 20:35:36 +02:00
parent 1dec5f7a30
commit 9a65ef3915
5 changed files with 101 additions and 19 deletions

9
z80.h
View File

@@ -7,5 +7,14 @@ namespace z80
void reset(uint8_t* mem);
void connect_port(int num, int (*in_ptr)(), void (*out_ptr)(int));
uint32_t step();
uint16_t getAF(const bool alt=false);
uint16_t getBC(const bool alt=false);
uint16_t getDE(const bool alt=false);
uint16_t getHL(const bool alt=false);
uint16_t getIX();
uint16_t getIY();
uint16_t getSP();
uint16_t getPC();
}