home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
TURBO-07.ZIP
/
TIME.INC
< prev
next >
Wrap
Text File
|
1984-07-13
|
450b
|
24 lines
PROCEDURE ShowTime;
{ procedure for Dos 2.0 function $2C (get time)
{ Danny Cavasos June 1984 }
TYPE
varX=RECORD
varL,varH:BYTE;
END;
TimeRec=RECORD
AX,BX:varX;
Min,Hour,Msec,Sec:BYTE;
BP,SI,DI,DS,ES,FLAGS:INTEGER;
END;
VAR
TimeParm:TimeRec;
BEGIN
GOTOXY(70,2);
WITH TimeParm DO
BEGIN
AX.varH:=$2C;
MsDos(TimeParm);
WRITE(Hour,':',Min,':',Sec,'.',Msec);
END;
END;