You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
386 B
C
20 lines
386 B
C
2 years ago
|
unsigned char ram[0x10000];
|
||
|
unsigned char rom_charset[0x800];
|
||
|
unsigned char bootcode[0x100];
|
||
|
|
||
|
typedef struct {
|
||
|
unsigned short input;
|
||
|
unsigned short output;
|
||
|
unsigned short mask;
|
||
|
unsigned char irq;
|
||
|
} ioxstruct;
|
||
|
|
||
|
ioxstruct ioextender[256];
|
||
|
|
||
|
int peripherals[256];
|
||
|
|
||
|
extern int memory_max;
|
||
|
|
||
|
void mem_store(int ptr,unsigned char value);
|
||
|
unsigned char mem_load(int ptr);
|