1
0
mirror of https://github.com/mist64/perfect6502.git synced 2025-01-15 19:29:48 +00:00
perfect6502/perfect6502.h

23 lines
593 B
C
Raw Normal View History

2010-10-06 15:58:13 +00:00
extern void initAndResetChip();
2010-10-06 16:33:26 +00:00
extern void resetChip();
2010-10-06 15:58:13 +00:00
extern void step();
extern void chipStatus();
2010-10-06 16:33:26 +00:00
extern unsigned short readPC();
extern unsigned char readA();
extern unsigned char readX();
extern unsigned char readY();
extern unsigned char readSP();
extern unsigned char readP();
extern unsigned int readRW();
extern unsigned short readAddressBus();
extern unsigned char readDataBus();
extern unsigned char readIR();
extern unsigned char memory[65536];
extern unsigned int cycle;
2010-10-06 16:53:40 +00:00
extern unsigned int transistors;
2010-10-06 16:33:26 +00:00
2010-10-06 16:53:40 +00:00
#ifdef BROKEN_TRANSISTORS
extern unsigned int broken_transistor;
#endif