Category : Modula II Source Code
Archive   : PCKERM.ZIP
Filename : DATALINK.DEF

 
Output of file : DATALINK.DEF contained in archive : PCKERM.ZIP
DEFINITION MODULE DataLink; (* Sends and Receives Packets for PCKermit *)

FROM PAD IMPORT
PacketType;

EXPORT QUALIFIED
FlushUART, SendPacket, ReceivePacket;

PROCEDURE FlushUART;
(* ensure no characters left in UART holding registers *)

PROCEDURE SendPacket (s : PacketType);
(* Adds SOH and CheckSum to packet *)

PROCEDURE ReceivePacket (VAR r : PacketType) : BOOLEAN;
(* strips SOH and checksum -- return FALSE if timed out or bad checksum *)

END DataLink.

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