Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reboot
#1
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??
crapyard / Smile Cheerful Software
[Image: Cheerful.gif]


"All your base are belong to us"
Reply
#2
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.
Reply
#3
dav gave me some code. i think it was from toshi's site. ill post it later if you cant find it.
Reply
#4
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 ;-)
Reply
#5
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.
Reply
#6
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! [Image: xyxthumbs.gif]
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Reply
#7
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.
Reply
#8
Hey thanks people :wink:
crapyard / Smile Cheerful Software
[Image: Cheerful.gif]


"All your base are belong to us"
Reply
#9
Er... :o

WARM and COLD reboot? Huh? WT is the difference between rebooting and rebooting?

Btw, where were those handy ABC-packets?
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)