Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

For Rayer - shared resources between DOS and WinXP (Announce)

posted by RayeR Homepage, CZ, 16.07.2008, 15:51
(edited by RayeR on 16.07.2008, 17:06)

> Usually, inside the VDD, if you got addresses
> from the DOS app, you will translate them by a call of VdmMapFlat() - this
> call translates SEGMENT:OFFSET or SELECTOR:OFFSET into FLAT.

If I would forward SELECTOR:OFFSET to VDD how it can translate it? It should neeed to look-up to LDT od my DJGPP program first for base of the selector's descriptor - do it automatically?

Unforetunatelly I'm stucked with compiling vdd sample code in mingw and don't have much free time to messing with it now.

And please, do you have a complette prototype of VdmMapFlat?
PVOID VdmMapFlat(IN WORD Segment, IN ULONG Offset, IN VDM_MODE Mode);

What type is VDM_MODE and what is VDM_PM, VDM_V86 valuses? I cannot find it in any .h either on google.

And the VdmMapFlat() can be called only after registering vdd? If I tried to call it in stand-alone exe it returns A0000 for A000,0,0 input instead null.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22777 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum