Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MPXplay under CWSDPMI (Users)

posted by RayeR Homepage, CZ, 28.10.2010, 21:08

> > As I said, there's no any special switch-to-32bit-mode code in my own
> > (Mpxplay) source, because of this I also don't know too much about that,
> > how the dos4g.exe works.
> > Maybe somebody will correct me, but the DPMI (I mean the DPMI host) is
> not
> > only an API, it also switches the CPU to 32-bit pmode (else the CPU runs
> in
> > 16-bit real mode) before my code starts.
>
> Yes. You can't probably do anything, because when your code gets control,
> it's too late for a check.

Maybe he can but not in main code but startup code. I don't know Watcom but DJGPP program has short realmode code at the beginning - the stub (sources available) which cares about checking DPMI server present and if not then it loads CWSDPMI and then it loads COFF image and start our program under pmode. So if Watcom has such stub code and sources are available then it would be possible to modify it for checking incompatible DPMI hosts before trying to load DOS4G. Just an idea...

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

 

Complete thread:

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