From: jbfraleigh AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Rebooting the PC Date: Mon, 25 Sep 2000 15:37:51 GMT Organization: Deja.com - Before you buy. Lines: 29 Message-ID: <8qnrgc$n8b$1@nnrp1.deja.com> NNTP-Posting-Host: 209.101.83.36 X-Article-Creation-Date: Mon Sep 25 15:37:51 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) X-Http-Proxy: 1.0 PROXY, 1.0 x72.deja.com:80 (Squid/1.1.22) for client 209.101.83.36 X-MyDeja-Info: XMYDJUIDjbfraleigh To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I hope this isn't off-topic... I'm using GCC/DJGPP and I'd like to reboot the PC. I've tried the following methods: 1) int 0x19 2) outportb(0xCF9, 4); outportb(0xCF9, 2); 3) void (*rebooter)(); rebooter = (void *) (0x00000000); (*rebooter)(); --- I've had the following results: 1) Just calls the bootstrap loader service -- I need a full reboot 2) Doesn't seem to have an effect.. 3) Bombs out. Any help is greatly appreciated! Sent via Deja.com http://www.deja.com/ Before you buy.