Plan 9 from Bell Labs’s /usr/web/sources/contrib/aiju/nes/6502.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].