home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 3
/
FREEWARE.BIN
/
towns_os
/
hal
/
crossam.h
< prev
next >
Wrap
Text File
|
1980-01-02
|
843b
|
42 lines
/* crossam.c 1990.02.11 Programmed by MSどす */
/* last update 1990.04.24 */
#define UCHAR unsigned char
#define UINT unsigned int
#define USHORT unsigned short
#define SHORT short int
#define OK 0
#define NG 1
#define ON 1
#define OFF 0
#define PARA_ERR_M 2
#define PARA_ERR_D 3
#define PARA_ERR_K 4
#define PARA_ERR_T 5
#define TRUE 1
#define FALSE 0
#define PADOUT 0x04d6
#define PADIN 0x04d2
/* 0x04d0 */
#define STB_ON 0x2c
/* 0x13 */
#define STB_OFF 0x20
/* 0x10 */
#define DATA_SET 0x24
/* 0x11 */
#define TIMEOUT 1024
#define LWAIT 100000
#define MWAIT 45000
#define SWAIT 256
#define FSET (UCHAR)0x01
#define KSET (UCHAR)0x02
#define COUT (UCHAR)0x03
#define SADR (UCHAR)0x04
#define PLON (UCHAR)0x07
#define PLOF (UCHAR)0x08
#define IKEY (UCHAR)0x0a
#define ZERO (UCHAR)0x00