16 lines
201 B
C
16 lines
201 B
C
|
#pragma once
|
||
|
|
||
|
typedef struct VCPU_State {
|
||
|
short opcode;
|
||
|
char X;
|
||
|
char Y;
|
||
|
char N;
|
||
|
char NN;
|
||
|
short NNN;
|
||
|
} VCPU_State;
|
||
|
|
||
|
void VCPUInit();
|
||
|
void VCPUFetch();
|
||
|
void VCPUDecode();
|
||
|
void VCPUExecute();
|