Posts: 44
Threads: 6
Joined: Dec 2001
I forgot how to reboot my computer from QB :???:
I thought it was some POKE or OUT (or am I wrong here)....
Someone who knows it??
Posts: 704
Threads: 0
Joined: Dec 2002
DEF SEG = &HFFFF
CALL ABSOLUTE(0)
END
I'd be surprised if it works if windows is running, however.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Posts: 142
Threads: 33
Joined: Dec 2001
dav gave me some code. i think it was from toshi's site. ill post it later if you cant find it.
Posts: 1,138
Threads: 211
Joined: Feb 2020
Quote:DEF SEG = &HFFFF
CALL ABSOLUTE(0)
END
I'd be surprised if it works if windows is running, however.
Well if that code doesn't work, it shouldn't be hard to get windows to crash.. especially with something like DEF SEG = RND * 32767 : POKE (RND *32767),RND * 32767 or something ;-)
Posts: 704
Threads: 0
Joined: Dec 2002
just terminates the DOS window and returns to windows.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Posts: 749
Threads: 4
Joined: Jun 2002
Code:
'===========================================================================
' Subject: WARM/COLD REBOOT Date: Unknown Date (00:00)
' Author: Unknown Author Code: QB, PDS
' Keys: WARM,COLD,REBOOT Packet: DOS.ABC
'===========================================================================
' Warm Reboot
DEF SEG = 0
IF WarmBoot% = True THEN
POKE &H473, &H12 ' Setup for Warm Boot
POKE &H472, &H34
ELSE
POKE &H472, &H12 ' Setup for Cold Boot
POKE &H473, &H34 ' tho not really nessary
END IF
DEF SEG = &HFFFF
CALL Absolute(0)
Never underestimate 'da mighty ABC packets!
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Posts: 704
Threads: 0
Joined: Dec 2002
Quote:Code:
'===========================================================================
' Subject: WARM/COLD REBOOT Date: Unknown Date (00:00)
' Author: Unknown Author Code: QB, PDS
' Keys: WARM,COLD,REBOOT Packet: DOS.ABC
'===========================================================================
' Warm Reboot
DEF SEG = 0
IF WarmBoot% = True THEN
POKE &H473, &H12 ' Setup for Warm Boot
POKE &H472, &H34
ELSE
POKE &H472, &H12 ' Setup for Cold Boot
POKE &H473, &H34 ' tho not really nessary
END IF
DEF SEG = &HFFFF
CALL Absolute(0)
[/img]
According to a reference I'm reading, your first example is for a warm boot which may alter memory, but the cold boot should have zeroes POKEd to both addresses. For a warm boot without altering memory, it should be
POKE &H472, &H21
POKE &H473, &H43
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Posts: 44
Threads: 6
Joined: Dec 2001
Posts: 1,845
Threads: 44
Joined: Aug 2002
Er... :o
WARM and COLD reboot? Huh? WT is the difference between rebooting and rebooting?
Btw, where were those handy ABC-packets?
Posts: 704
Threads: 0
Joined: Dec 2002
reset than a warm boot does. (It's called "cold boot" because it's closer to (but not exactly the same) as what happens when you boot up from a power-off (i.e., "cold") state.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.