unit dos

Mad Pascal DOS interface

author: Tomasz Biela (Tebe)


The DOS unit gives access to some operating system calls related to files, the file system, date and time.
https://www.freepascal.org/docs-html/rtl/dos/index.html

Register Variables:

name:address:type:description:
palntsc$d014byte

Interface:

name:description:
DosVersion

function DosVersion: word; assembler;


Current DOS version
    GetTime

    procedure GetTime(var hour, minute, second, sec100: word);


    Return the current time
      parameters:
    • hour - word variable
    • minute - word variable
    • second - word variable
    • sec100 - word variable
    SetTime

    procedure SetTime(hour, minute, second, sec100: word);


    Set system time
      parameters:
    • hour - word variable
    • minute - word variable
    • second - word variable
    • sec100 - word variable