💾 Archived View for spam.works › mirrors › textfiles › computers › ASTRESEARCH › 0046.tb captured on 2023-12-28 at 22:16:46.

View Raw

More Information

⬅️ Previous capture (2023-06-16)

-=-=-=-=-=-=-

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.