home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
ZWDOS.ZIP
/
ZAPI.H
< prev
next >
Wrap
Text File
|
1993-03-02
|
1KB
|
43 lines
/* ZWDOS API Header File for "C" */
/* function prototypes */
/* (see ZAPI.C for more info about these routines) */
int zw_query (void); /* return 1 if zwdos loaded, 0 otherwise */
int zw_version (void); /* return ZWDOS version AH=major, AL=minor */
void zw_set_cc_mode (void); /* set screen to Chinese mode */
void zw_set_asc_mode (void); /* set screen to ASCII mode */
void zw_soft_flush (void); /* soft flush screen */
void zw_hard_flush (void); /* hard flush screen */
void zw_putc_cc (int row, int col, int color, int byte1, int byte2);
/* put chinese char on scrn */
void zw_putc_asc (int row, int col, int color, int chr);
/* puts ascii char on screen */
void zw_puts_cc (int row, int col, int color, char *s);
/* puts chinese string on screen */
void zw_puts_asc (int row, int col, int color, char *s);
/* puts ascii string on screen */
void zw_puts_mixed (int row, int col, int attribute, char *s);
/* puts mix string on screen */
#define ZWAPI_MPX_N 0xE6A7
#define ZWF_QUERYZW 0x0000
#define ZWF_GETZWVER 0x0001
#define ZWF_SET_CC 0x0002
#define ZWF_SET_ASC 0x0003
#define ZWF_WRT_CC 0x0004
#define ZWF_WRT_ASC 0x0005
#define ZWF_SOFT_FLUSH 0x0006
#define ZWF_HARD_FLUSH 0x0007
#define ZWF_GET_CCMODE 0x0008
#define ZWF_REST_SWITCH 0x0009
#define ZWF_GET_CCFONT 0x000A
#define ZWF_DELZWDOS 0x49A1