- Treballant en la CPU
This commit is contained in:
8
sm83.h
8
sm83.h
@@ -4,6 +4,12 @@
|
||||
|
||||
namespace sm83
|
||||
{
|
||||
#define INTERRUPT_VBLANK 0x01
|
||||
#define INTERRUPT_LCD 0x02
|
||||
#define INTERRUPT_TIMER 0x04
|
||||
#define INTERRUPT_SERIAL 0x08
|
||||
#define INTERRUPT_JOYPAD 0x10
|
||||
|
||||
#define SM83_OPTION_STOP_ON_INVALID 0
|
||||
#define SM83_OPTION_BREAK_ON_INTERRUPT 1
|
||||
#define SM83_OPTION_BREAK_ON_RET 2
|
||||
@@ -14,7 +20,7 @@ namespace sm83
|
||||
void setClock(uint32_t freq);
|
||||
uint32_t getClock();
|
||||
|
||||
void interrupt();
|
||||
void interrupt(uint8_t type);
|
||||
|
||||
uint32_t step();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user