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

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

FROM SYSTEM IMPORT BYTE,ADDRESS;

EXPORT QUALIFIED
BiosSetMode,
BiosSetCursorType,
BiosSetPosition,
BiosReadPosition,
BiosReadLtPen,
BiosSetPage,
BiosScrollUp,
BiosScrollDown,
BiosReadCharAttr,
BiosWriteCharAttr,
BiosWriteCh,
BiosWriteDot,
BiosReadDot,
BiosWriteTTY,
BiosGetCurrent,
BiosDiskReset,
BiosDiskStatus,
BiosReadSectors,
BiosVerifySectors,
BiosWriteSectors,
BiosFormatTrack,
BiosReadChar,
BiosKeyWaiting,
BiosShiftStatus,
BiosPrintChar,
BiosPrinterInit,
BiosPrinterStatus,
BiosReset,
BiosPrintScreen,
BiosMemorySize;



PROCEDURE BiosSetMode ( Mode : CARDINAL );

PROCEDURE BiosSetCursorType ( StartLine, EndLine : CARDINAL );

PROCEDURE BiosSetPosition ( Page, Column, Row : CARDINAL );

PROCEDURE BiosReadPosition ( Page : CARDINAL; VAR Column, Row : CARDINAL );

PROCEDURE BiosReadLtPen ( VAR Valid, Column, Row, RLine, PColumn : CARDINAL );

PROCEDURE BiosSetPage ( Page : CARDINAL );

PROCEDURE BiosScrollUp ( Blank, ULColumn, ULRow, BRColumn, BRRow, Attr
: CARDINAL );

PROCEDURE BiosScrollDown ( Blank, ULColumn, ULRow, BRColumn, BRRow, Attr
: CARDINAL );

PROCEDURE BiosReadCharAttr ( Page : CARDINAL; VAR Ch, Attr : CARDINAL );

PROCEDURE BiosWriteCharAttr ( Page, Ch, Attr : CARDINAL );

PROCEDURE BiosWriteCh ( Page, Ch : CARDINAL );

PROCEDURE BiosWriteDot ( Column, Row, Color : CARDINAL );

PROCEDURE BiosReadDot ( Column, Row : CARDINAL ) : CARDINAL;

PROCEDURE BiosWriteTTY ( Ch : CARDINAL );

PROCEDURE BiosGetCurrent ( VAR Mode, Columns, Page : CARDINAL );

PROCEDURE BiosDiskReset;

PROCEDURE BiosDiskStatus() : CARDINAL;

PROCEDURE BiosReadSectors ( Drive, Side, Track, Sector, Count : CARDINAL;
Buffer : ADDRESS);

PROCEDURE BiosVerifySectors ( Drive, Side, Track, Sector, Count : CARDINAL );

PROCEDURE BiosWriteSectors ( Drive, Side, Track, Sector, Count : CARDINAL;
Buffer : ADDRESS);

PROCEDURE BiosFormatTrack ( Drive, Side, Track, Count : CARDINAL;
Buffer : ADDRESS);

PROCEDURE BiosReadChar ( VAR Char, Scan : CHAR );

PROCEDURE BiosKeyWaiting() : BOOLEAN;

PROCEDURE BiosShiftStatus() : CARDINAL;

PROCEDURE BiosPrintChar ( Port, Character : CARDINAL );

PROCEDURE BiosPrinterInit ( Port : CARDINAL );

PROCEDURE BiosPrinterStatus ( Port : CARDINAL ) : BYTE;

PROCEDURE BiosReset;

PROCEDURE BiosPrintScreen;

PROCEDURE BiosMemorySize() : CARDINAL;

END Bioscall.


  3 Responses to “Category : Modula II Source Code
Archive   : MODULA-2.ZIP
Filename : BIOSCALL.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/