hollen@mana.megatek.uucp (Dion Hollenbeck) (10/06/87)
Somebody out there asked for a software reboot program but I lost your
address. It is very short, so I am posting it in hopes that it will
be useful to others also.
Dion Hollenbeck (619) 455-5590 x2814
Megatek Corporation, 9645 Scranton Road, San Diego, CA 92121
{sdcsvax,hplabs}!hp-sdd!megatek!hollen
{sdcsvax,seismo}!esosun!
########### cut here ##############
code segment
assume cs:code,ds:code,es:code,ss:code
org 100h
start:
boot proc far
; fool POST into softboot without ram check
; leave the next 5 lines out if you want full power up boot
mov ax,40h
mov es,ax
mov ax,1234h
mov bx,72h
mov es:[bx],ax
; push FFFFH and 0 on stack as return address
; when executed will be in effect a JMP FAR to FFFF:0 which
; is the hardware reset address
mov ax,0ffffh
push ax
xor ax,ax
push ax
ret
boot endp
code ends
end start
Dion Hollenbeck (619) 455-5590 x2814
Megatek Corporation, 9645 Scranton Road, San Diego, CA 92121
{sdcsvax,hplabs}!hp-sdd!megatek!hollen
{sdcsvax,seismo}!esosun!