Category : Modula II Source Code
Archive   : TALK3.ZIP
Filename : XMODEM2.DEF

 
Output of file : XMODEM2.DEF contained in archive : TALK3.ZIP
DEFINITION MODULE XModem2;

(* (C) Copyright 1987 Fitted Software Tools. All rights reserved.

This module is part of the example multitasking communications program
provided with the Fitted Software Tools' Modula-2 development system.

Registered users may use this program as is, or they may modify it to
suit their needs or as an exercise.

If you develop interesting derivatives of this program and would like
to share it with others, we encourage you to upload a copy to our BBS.
*)


(*
This module provides procedures that implement the XMODEM file
transfer protocol.

The file to be sent/received must be openned by the caller.

The name of the file and its file descriptor are passed to these
procedures.

ok will reflect the success of the transfer.
*)

PROCEDURE SendFile( filename :ARRAY OF CHAR;
fd :INTEGER;
UseCRC :BOOLEAN;
VAR ok :BOOLEAN );


PROCEDURE ReceiveFile( filename :ARRAY OF CHAR;
fd :INTEGER;
UseCRC :BOOLEAN;
VAR ok :BOOLEAN );

END XModem2.

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