forked from MirrorRepos/RomWBW
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
307 B
16 lines
307 B
#ifndef __MYTYPES_H
|
|
#define __MYTYPES_H 1
|
|
|
|
typedef unsigned char byte;
|
|
typedef unsigned short word;
|
|
typedef unsigned long dword;
|
|
|
|
|
|
#ifdef __SDCC__
|
|
#define outp(port,byte) port = (byte)
|
|
#define inp(port) (port)
|
|
#endif
|
|
|
|
#define nelem(x) (sizeof(x)/sizeof(x[0]))
|
|
|
|
#endif /* __MYTYPES_H */
|
|
|