mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 23:54:33 +00:00
15 lines
340 B
C
15 lines
340 B
C
#define RAMSIZE 128*1024
|
|
extern unsigned char ram[RAMSIZE];
|
|
extern unsigned char a,y,x;
|
|
extern unsigned short sp;
|
|
extern unsigned int n,z,c,v;
|
|
|
|
unsigned short y_indirect(unsigned char base, unsigned char y);
|
|
int init_6502(void);
|
|
void adc(int value);
|
|
void sbc(int value);
|
|
void cmp(int value);
|
|
void pha(void);
|
|
void pla(void);
|
|
void lsr(void);
|