Mail Archives: djgpp/1997/07/03/14:21:05
From: | James MacDonald <trill AT Xnetbook DOT demon DOT co DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | CWSDPMI halting interrupt 19 (reboot)
|
Date: | Wed, 2 Jul 1997 22:26:45 +0100
|
Organization: | Trills and Technologies
|
Distribution: | world
|
Message-ID: | <UGGHFHAVesuzEwGT@netbook.demon.co.uk>
|
NNTP-Posting-Host: | netbook.demon.co.uk
|
MIME-Version: | 1.0
|
Lines: | 23
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
CWSDPMI doesn't like INT 19 in my programs. Every time I use it it tells
me that INT 19 occured, but doesn't reboot the computer. QDPMI doesn't
complain and reboots without problem.
There is also an INT 10 call in the program to clear the screen (why
not!?) - executed without problem. I guess it's only critical interrupts
that are trapped.
The problem is that I'm developing for someone who has no DPMI host, and
so must use CWSDPMI. Is there any way of making CWSDPMI allow a reboot?
FYI, it's a Windows desktop selector running in pure DOS. It reboots if
attempts are made to compromise it, and system()'s WIN.COM so that when
it exits the computer reboots (denying DOS prompt access).
If I can't do this, I might have to use inline assembly or Pascal (the
thought of either fills me with horror) :)
--
Revised anti-spam in use : remove X to reply -
'Xnetbook' becomes 'netbook'
Anti-spam thermonuclear warheads cheap at only $300!
- Raw text -