megadrive_test1
view src/io.h @ 6:862f8a034cae
expanding the megadrive code
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 11 Feb 2017 08:56:42 +0200 |
parents | |
children |
line source
1 #ifndef IO_H_
2 #define IO_H_
4 #define IO_VERSION (*(unsigned char*)0xa10001)
6 #define IO_VER_MASK 0x0f
7 #define IO_VER_DISK 0x20
8 #define IO_VER_VMOD 0x40
9 #define IO_VER_MODE_BIT 0x80
11 #define IO_Z80_MEM_START 0xa00000
13 int mdg_version(void);
14 int mdg_ispal(void);
16 #endif /* IO_H_ */