home *** CD-ROM | disk | FTP | other *** search
- {->>>>RelayOff<<<<---------------------------------------------}
- { }
- { Filename: RELAYOFF.SRC -- Last modified 7/14/88 }
- { }
- { All we do here is de-energize the cassette relay, opening }
- { 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.) }
- { }
- { From: COMPLETE TURBO PASCAL 5.0 by Jeff Duntemann }
- { Scott, Foresman & Co., Inc. 1988 ISBN 0-673-38355-5 }
- {--------------------------------------------------------------}
-
- PROCEDURE RelayOff;
-
- VAR
- Regs : Registers;
-
- BEGIN
- Regs.AH := 1; { AH=1 -- Service that turns motor off }
- Intr($15,Regs)
- END;