home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
05
/
reboot.bas
< prev
next >
Wrap
BASIC Source File
|
1991-03-29
|
468b
|
15 lines
DECLARE SUB ReBoot (Warm%)
CALL ReBoot(1) 'be sure to save this program before running it!
SUB ReBoot (Warm%) STATIC
IF Warm% THEN 'if they want a warm boot
DEF SEG = 0 'assign the value 1234 Hex
POKE &H473, &H12 'to address 0000:0473 Hex
POKE &H472, &H34
END IF
DEF SEG = &HFFFF 'either way call the BIOS
CALL Absolute(0) 'routine at FFFF:0000 Hex
END SUB