Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

GV32 (DOSX)

posted by Japheth Homepage, Germany (South), 22.02.2008, 06:54
(edited by Japheth on 22.02.2008, 07:07)

> > - A native DOS application. Then you can use all known DOS/DPMI features,
> > but no importing from DLL's,

No, the "dll importing" was intentionally separated from the Win32 emulation to make it available for true DOS applications as well (see DPMILD32.TXT).

> Well I would like to use a hybrid system where the HX Windows emulator
> provides "extra DPMI functionality" by emulating (some of the) known and
> documented Win32 API calls.
>
> That is, A DPMI program with extensions provided by Japheths Win32
> emulator.
> Is that such a bad idea?

No, I wrote some small apps which are "hybrid". And IIRC it's mentioned in the docs that it is possible.

However, there are at least 2 catches with this approach:

- it's not documented in detail what resources are reserved for the Win32 emulation layer. If you're using your brain and read DKRNL32.TXT, you will possibly find out most of it, though.

- the win32 emulation might be increased and use hardware which currently is "free" (implementing the serial COMM API for example), thus breaking an existing "hybrid" application which accessed this hardware directly.

These are no severe restrictions and if you link the Win32 emulation statically or use your "private" version of DKRNL32.DLL, the second catch will even become a non-issue.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 240 users online (0 registered, 240 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum