BBS: Inland Empire Archive
Date: 03-05-93 (18:49) Number: 2
From: JAMES VAHN Refer#: 397
To: JIM LITTLE Recvd: NO
Subj: Re-boot Conf: (2) Quik_Bas
JL> Uhh... I'm not sure. James Vahn has posted some code which might
JL> take care of the keyboard problem, though. However it was QB code
JL> instead of straight ASM... Maybe QB cleans things up for you.
You wanted an ASM answer in a Basic echo????? ;-)
Clip this and call it REBOOT.SCR then run it through Debug like:
C:>DEBUG < REBOOT.SCR
and it will generate Reboot.com in the current directory.
mov ds,ax ; DEF SEG = 0
mov ,ax ; POKE &H472, &H34
mov ,ax ; POKE &H473, &H12
jmp ffff:0000 ; DEF SEG = &HFFFF: CALL ABSOLUTE (0)
The 80xxx looks to that address (ffff:0000) at power up time. It
contains the boot code. The keyboard handler looks for a warm
boot (CTRL-ALT-DEL) and puts 1234h into the magic area to skip
the memory count on AMI BIOS equipped machines.
No, QB will not
mess at that point, but it doesn't matter 'cause it's about to
* SLMR 2.1a *