Category : Modula II Source Code
Archive   : MODULA-2.ZIP
Filename : MACHDEP.DEF

 
Output of file : MACHDEP.DEF contained in archive : MODULA-2.ZIP
DEFINITION MODULE MachDep;

(* Specific machine or Dos dependant functions
Author: J. Tal
Last Edit: 03-13-1986
*)


FROM TimeDate IMPORT Time,GetTime;


EXPORT QUALIFIED
Locate, GotoXY, Cls, CursorOff, CursorOn, InKey, GetDateString, Delay,
ToneInit, Tone, TimeDifference, Pause;

PROCEDURE Locate( row,col : CARDINAL );

PROCEDURE GotoXY( col,row : CARDINAL );

PROCEDURE Cls();

PROCEDURE CursorOff;

PROCEDURE CursorOn;

PROCEDURE InKey(VAR special : BOOLEAN; VAR keychar : CHAR) : BOOLEAN;

PROCEDURE GetDateString( VAR D : ARRAY OF CHAR);

PROCEDURE Delay( delayM : CARDINAL);

PROCEDURE ToneInit;

PROCEDURE Tone( Freq,dur : CARDINAL);

PROCEDURE TimeDifference( start, end: Time): REAL;

PROCEDURE Pause(secs: REAL);

END MachDep.



  3 Responses to “Category : Modula II Source Code
Archive   : MODULA-2.ZIP
Filename : MACHDEP.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/