BOOT

This program (21 bytes) is useful if you use a program or a batch file
to create a new CONFIG.SYS and then wish to reboot the computer.

The full source code for any assembler is included below.

Jorgen Dybdahl
JDybdahl@compuserve.com

----------------------------------------------------------------------

Source:

; reboots the computer  (any assembler)
; Useful if you use a program to create a new CONFIG.SYS and reboot
; 1997 Jorgen Dybdahl  JDybdahl@compuserve.com

WARMBOOT equ 1234h
COLDBOOT equ 0


        .model tiny
        .code
        org 100h
Main:
        mov ax,40h
        mov es,ax
        mov bx,72h
        mov es:[bx],WARMBOOT
        jmp dword ptr boot

boot label dword
        dw 0
        dw 0ffffh

end Main
end
