Category : Pascal Source Code
Archive   : CMPLTPAS.ZIP
Filename : RELAYON.SRC

 
Output of file : RELAYON.SRC contained in archive : CMPLTPAS.ZIP
{->>>>RelayOn<<<<----------------------------------------------}
{ }
{ Filename: RELAYON.SRC -- Last modified 7/14/88 }
{ }
{ This one quite simply energizes the cassette relay, which }
{ closes the contacts across pins 1 and 3 of the cassette DIN }
{ connector on the original PC. (XT's and AT's do not have }
{ the cassette relay.) The specs allow for 1 amp through the }
{ relay, but having inspected the relay I would play it safe }
{ and attempt no more than half an amp. }
{ }
{ From: COMPLETE TURBO PASCAL 5.0 by Jeff Duntemann }
{ Scott, Foresman & Co., Inc. 1988 ISBN 0-673-38355-5 }
{--------------------------------------------------------------}

PROCEDURE RelayOn;

VAR
Regs : Registers;

BEGIN
Regs.AH := 0; { AH = 0 -- Service that turns motor on }
Intr($15,Regs)
END;


  3 Responses to “Category : Pascal Source Code
Archive   : CMPLTPAS.ZIP
Filename : RELAYON.SRC

  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/