home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psgrain!hippo!catpe!f61.n7101.z5.fidonet.org!Shane.Greyvenstein
- From: Shane.Greyvenstein@f61.n7101.z5.fidonet.org (Shane Greyvenstein)
- Sender: ufgate@catpe.alt.za (newsout1.26)
- Newsgroups: comp.lang.pascal
- Subject: rebooting computers in programs
- Message-ID: <2793.2AFD5B90@catpe.alt.za>
- Date: Sun, 08 Nov 92 11:34:06 GMT
- Organization: FidoNet node 5:7101/61 - Pyramid, Pretoria
- Lines: 34
-
- Hello jeff!
-
- In a msg of <06 Nov 92>, jeff gramowski writes to All:
-
- -> I need to find a way to have my computer reboot at the end
- -> of one of my programs. I have tried to use the Intr($19,regs)
- -> comand in turbo pascal 6.0 and it only caused the computer to
- -> freeze up. I need the computer to act like the Ctrl-alt-del keys
- -> have been pushed.
-
- procedure RESET_SYSTEM; assembler;
-
- asm
- mov ax,40
- mov ds,ax
- mov word ptr[72],1234
- mov ax,$FFFF
- push ax
- xor ax,ax
- push ax
- retf
- end;
-
- -> Please send your information to jygi_ss@uhura.cc.rochester.edu.
-
- Sorry, I don't know how to send it via the above :-)
-
- Kindest regards,
- Shane
-
- --
- INTERNET: Shane.Greyvenstein@f61.n7101.z5.fidonet.org
- via: THE CATALYST BBS in Port Elizabeth, South Africa.
- (catpe.alt.za) +27-41-34-1122 HST or +27-41-34-2859, V32bis & HST.
-