textfiles/computers/ASTRESEARCH/0046.tb

38 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

AST RESEARCH TECHNICAL BULLETIN TB-0046 8-21-84
REBOOTING AN IBM PC FROM A BATCH FILE
When using SUPERSPL or SUPERDRV, a specified amount of memory is
extracted from system use. The only way to return the memory for
system use is to reboot DOS, because of the lack of support from
DOS.
This may be undesirable for those who wish to operate under batch
files or menus.
Below is a procedure to create REBOOT.COM, a program when
executed will reboot the machine.
To create REBOOT.COM, enter the following at the DOS prompt:
DEBUG <Return>
N REBOOT.COM <Return>
A 100 <Return>
MOV AX, 0040 <Return>
MOV DS, AX <Return>
DS: <Return>
MOV WORD PTR [0072], 1234 <Return>
JMP FFFF: 0000 <Return>
<Return>
R CX <Return>
11 <Return>
W <Return>
Q <Return>
You now have a file called REBOOT.COM on the default disk.
To reboot, just enter the name REBOOT at the DOS prompt, or in a
batch file.