- [NEW] F8 para execució - [NEW] F5 continua execució - [NEW] ULA synch interrupt - [NEW] Break on read/write - [FIX] INC8 and DEC8 did wrong flags calculations - [FIX] INCMEM8 and DECMEM8 did no flags calculation at all - [NEW] Flags visualization - [DEL] run command replaced by cont command - [NEW] reset command - [NEW] Breakpoint delete command
24 lines
487 B
C++
24 lines
487 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace z80
|
|
{
|
|
void reset(uint8_t* mem);
|
|
void connect_port(int num, int (*in_ptr)(), void (*out_ptr)(int));
|
|
void interrupt();
|
|
|
|
uint32_t step();
|
|
|
|
uint8_t *getMem();
|
|
|
|
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();
|
|
} |