Date : Sun, 23 Jun 1985 07:01:13 PDT
From : crash!ihom@SDCSVAX.ARPA
Subject: CP/M Turbo Pascal
Whenever a Turbo program terminates, all active drives are reset to
inactive. Is there a way to avoid this? Given the following test
program:
program active_drives;
var
vect : integer; { just look at first 8 bits (drives) }
begin
vect := BDOSHL($18); { HL contains the 16-bit login vector }
writeln(vect)
end.
If ran from A: with C: D: and F: active, the vector would return 45d
(00101101b [lo bit corresponds to A] with '0' indicating active and
'1' indicating active). Running the program hereafter would display
1.
How can a program be halted without the simulated warm boot?
--Irwin Hom ...crash!ihom@ucsd