megadrive_test1

view src/io.h @ 7:8253942b0a1a

in the middle of something
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Feb 2017 14:00:26 +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_ */