|
|
DPMI application stack
Of the four stacks maintained during a DPMI session, the `application
stack' is advertised as the one the client is on upon entering Protected
Mode. Is this the same stack the client was on just prior to the mode-
switch? If not (i.e., the host switches the client to the application
stack once Pmode begins), does this necessitate the client saving its
real-mode SS:SP for re-entry to real mode?
|
|
0
|
|
|
|
Reply
|
Scott
|
1/20/2006 5:11:35 PM |
|
On 1/20/2006 12:11 PM, Scott J. McCaughrin wrote:
> Of the four stacks maintained during a DPMI session, the `application
> stack' is advertised as the one the client is on upon entering Protected
> Mode. Is this the same stack the client was on just prior to the mode-
> switch? If not (i.e., the host switches the client to the application
> stack once Pmode begins), does this necessitate the client saving its
> real-mode SS:SP for re-entry to real mode?
The stack upon entry to PM is the same as the one the client was on previously.
See the DPMI 1.0 spec, March 12, 1991, p. 22 "Client Initialization". Upon
entry to PM, SS is a selector with base of the real mode SS and a 64KB limit.
--
_________________________________________
Bob Smith -- bsmith@sudleydeplacespam.com
a.k.a. bsmith@dequalitasspam.com
To reply to me directly, delete "despam".
|
|
0
|
|
|
|
Reply
|
Bob
|
1/20/2006 9:47:43 PM
|
|
|
1 Replies
91 Views
(page loaded in 0.03 seconds)
Similiar Articles: Segment, Base Address, PM, ... - comp.lang.asm.x86Nit-picky exception 2: for older applications (e.g. DOS, DPMI and 16-bit Windows applications), base ... (and you need a "segment stack stack" - the first "stack" is just a ... CS, DS, and SS Segments Together? - comp.lang.asm.x86... 4kB cccc CS-> 0kB cccc (c = Code, s = Stack, d ... the CPU can access up to 64 GB of memory, an application is ... which is sometimes useful when programming in DPMI) or ... input & output in assembly - comp.lang.asm.x86... low-level hardware interfacing on behalf of the application ... put the data in registers or push it to the stack ... At least use DPMI with VESA 2. DirectDraw isn't ideal ... DPMI Specification - phatcode.net / mainEvery DPMI task runs on four different stacks: An application ring protected mode stack, a locked protected mode stack, a real mode stack, and a DPMI host ... Stacks and Mode Switching - delorie softwareStacks and Mode Switching. At one point in its execution or another, every DPMI client runs on four different stacks: an application stack, a locked protected mode ... 7/25/2012 5:52:59 PM
|
|
|
|
|
|
|
|
|