=========================================================================== BBS: The Abacus * HST/DS * Potterville, MI Date: 04-06-93 (20:29) Number: 222 From: TOM HAMMOND Refer#: 159 To: CHAD GUNTER Recvd: NO Subj: Reboot Conf: (35) Quick Basi --------------------------------------------------------------------------- CG>Does anyone know how to make the computer reboot from inside QB? =========================================================================== Date: 04-09-92 (14:22) Number: 11093 From: ZACK JONES Refer#: NONE Subj: Reboot With Qb (SRC) Conf: (13) QuickBasic > I search how to entry a command for REBOOT the computer in QB45. Try this: 'From PC Magazine, 17 Mar 92, Page 439 DECLARE SUB ReBoot (Warm%) CALL ReBoot(1) '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:0472 Hex POKE &H472, &H34 END IF DEF SEG = &HFFFF 'either way call the BIOS CALL Absolute(0) 'routine at FFFF:0000 Hex END SUB Hope this helps. Take Care, Zack Jones --- * Origin: Night Shift BBS (314)635-7588 HST 14.4 (1:289/15) SEEN-BY: 1/211 11/2 4 13/13 101/1 108/89 109/25 110/69 114/5 123/19 124/1 SEEN-BY: 153/752 154/40 77 157/2 159/100 125 430 575 950 203/23 209/209 SEEN-BY: 280/1 390/1 396/1 15 397/2 2230/100 3603/20