Category : Word Processors
Archive   : HP22D5.ZIP
Filename : BOOT.ASM

 
Output of file : BOOT.ASM contained in archive : HP22D5.ZIP

DOSSEG
.MODEL LARGE

include extern.inc

.DATA

BootName db 'reboot',0

Pool PoolStruct
PoolStruct <> ;END

.CODE

;
; no recovery boot procedure
;
; DO NOT CALL THIS HANDLER FROM A PAD THAT IS NOT READ-ONLY. DOING SO
; WILL CORRUPT YOUR PAD.
;
; However, you can call this handler from any read-only pad.
;
reboot: xor ax,ax
mov ds,ax
mov bx,1234h
mov ds:[472h],bx
mov bx,0ffffh
push bx
push ax
retf

END