- Provant el berserk mode - Medint els t-states de altra forma - iff1, iff2 i im afegits al array de registres de la cpu - [NEW] getRegs() del modul z80 - [NEW] loadstate() i savestate() al modul z80debug - [NEW] "load arxiu" i "save arxiu" en consola per a carregar i guardar savestates - [ONGOING] "tape load arxiu" i "tape play" per a canviar de cinta i playarla - Buffer de audio més gran. Ara el buffer es circular. Continuem intentant desfer-se del jittering
27 lines
552 B
C++
27 lines
552 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace z80
|
|
{
|
|
void reset(uint8_t* mem);
|
|
void connect_port(int num, int (*in_ptr)(int), void (*out_ptr)(int,int));
|
|
void interrupt();
|
|
|
|
uint32_t step();
|
|
|
|
uint8_t *getMem();
|
|
uint8_t *getRegs();
|
|
|
|
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();
|
|
|
|
void setPC(const uint16_t addr);
|
|
} |