🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6512

Running DOS in Virtual 8086 mode

#6512
From: Kenneth Reed
Date: Thu, 17 Dec 1992 08:43
25 lines
1269 bytes
I'm tinkering with Protected Mode programming on the 386 and I'm
trying to call DOS functions. I'm almost there ... but not quite.

I can get into VM mode OK and call *some* DOS functions just fine, for
example keyboard input and screen output, but others do strange
things. For example, if I try accessing the hard disk I get a critical
error saying that the drive door is open!

I know the answer is that there must be a bug in my code but I just
can't see it. The fact that some interrupts work fine (even hardware
interrupts are being processed OK) but others don't has got me
baffled.

If anyone has had similar problems, and can give me a pointer in the
right direction to look, it would be most appreciated.

Regards

Ken

-- 
- Ken Reed, Joint European Torus, Abingdon, Oxfordshire, UK
  kr@jet.uk
- Disclaimer: Please note that the above is a personal view and should not 
  be construed as an official comment from the JET project.
Technical Details
Message-ID: <1992Dec17.084359.14339@jet.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!uknet!jet!kr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!uknet!jet!kr
From: kr@jet.uk (Kenneth Reed)
Newsgroups: comp.os.msdos.programmer
Subject: Running DOS in Virtual 8086 mode
Message-ID: <1992Dec17.084359.14339@jet.uk>
Date: 17 Dec 92 08:43:59 GMT
Organization: Joint European Torus
Lines: 25