home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
SNPD9404.ZIP
/
DSPDTST.C
< prev
next >
Wrap
Text File
|
1994-04-03
|
821b
|
35 lines
.I 11 1
#ifdef M_I86 /* Identifier for MSC, QC, Watcom, or ZTC */
.D 12 1
.I 17 7
#ifdef _MSC_VER
#define LOGFILE "dspdtst.msc"
#else
#define LOGFILE "dspdtst.qc"
#endif
// #define MK_FP(seg,off) ((void far *)(((dword)(seg)<<16)|(off)))
.D 18 4
.I 25 1
#define cputs(s) _outtext((char _far *)(s))
.D 29 1
.I 34 7
#ifdef __SC__
#define LOGFILE "dspdtst.sc"
#define gotoxy(col,row) __emit__(0xb2,col-1,0xb6,row-1,0xb7,0,0xb4,2,0xcd,0x10)
#else
#define LOGFILE "dspdtst.ztc"
#define gotoxy(col,row) asm(0xb2,col-1,0xb6,row-1,0xb7,0,0xb4,2,0xcd,0x10)
#endif
.D 35 1
.I 38 5
#ifdef __BORLANDC__
#define LOGFILE "dspdtst.bc"
#else
#define LOGFILE "dspdtst.tc"
#endif
.D 39 1
.I 41 1
dword far *bios_time = (dword far *)(0x0040006c);
.D 42 1