#ifndef H6502
#define H6502
typedef unsigned char byte;
typedef unsigned short word;
extern byte regA, regX, regY, regP, regS;
extern word regPC;
extern byte mem[65536];
extern byte memt[65536];
void step(void);
char* disasm(byte* x);
void nmi(void);
void irq(void);
#endif
|