Article View: alt.msdos.programmer
Article #584Re: virtual device drivers?
From: Jerzy Tarasiuk
Date: Thu, 08 Oct 1992 17:14
Date: Thu, 08 Oct 1992 17:14
15 lines
1560 bytes
1560 bytes
>>>>> On 7 Oct 92 03:27:49 GMT, pstlb@acad2.alaska.edu said: p> I had read a post, a reply to someone asking about trapping I/O port accesses p> under 386 p.mode, and the reply said that it could be done using a virtual p> device driver..... p> My question, then, is this: how does one write a virtual device driver? how p> is it different from a 'regular' device driver? and, can it be done with Turbo Seems someone meant 'driver for managing virtual 8086 mode'. Of course Turbo Assembler can be used to write such a driver. p> also, I'd like to know how to switch into protected mode (i.e. an interrupt p> call, changing the value of a "special" cpu register, etc.)..... 386 protected BIOS has routine to switch to 286 protected mode, simplest way to switch to 386 protected mode is far jump or call to 32-bit code segment (may be little problem, cannot load EIP on this jump because in 286 PM CPU reads only 16 bit offset) or to 386 Task State Segment (this should be recomended way, need load Task Register before jump).
Technical Details
Message-ID:
<JT.92Oct8181453@fizyk1.fuw.edu.pl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!fuw.edu.pl!cocos!jtReferences:
<1992Oct6.232749.1@acad2.alaska.edu>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!fuw.edu.pl!cocos!jt From: jt@fuw.edu.pl (Jerzy Tarasiuk) Subject: Re: virtual device drivers? In-Reply-To: pstlb@acad2.alaska.edu's message of 7 Oct 92 03:27:49 GMT Message-ID: <JT.92Oct8181453@fizyk1.fuw.edu.pl> Sender: news@fuw.edu.pl Nntp-Posting-Host: fizyk1 Organization: Warsaw University Physics Dept. References: <1992Oct6.232749.1@acad2.alaska.edu> Date: Thu, 8 Oct 1992 17:14:53 GMT Lines: 15