Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

PDOS-generic (Announce)

posted by tkchia Homepage, 13.11.2021, 17:42

Hello marcov,

> > There is a standardized 32-bit interface. It is called DPMI.
> It is a bit minimal (most non memory related calls are multiplexed over one
> single intr() routine, IIRC there was also some trouble with INTs with

I think you are again conflating several things. Again:

(1) DPMI hosts and DOS extenders are separate things.
(2) No, DJGPP programs do not rely on any DOS extender (this is unlike Watcom programs).
(3) It might be a good idea to read the DPMI specification.

> arguments to memory being handled differently by varying extenders, some
> marshalled for you, some not)

Well... this is how standards work, no?

The DPMI specification says what services a DPMI host must provide at minimum. Obviously, DPMI hosts (and environments) can provide service beyond this minimum. Different DPMI hosts and DOS extenders will provide different kinds of such "extra" services. I fail to see why this is a problem with DPMI.

If your program — or your C runtime library — ignores what the DPMI standard says, and insists on using features present only in, say, DOS/4G, then — surprise! — the program will only work on top of DOS/4G. (Well, no surprise there.) Again, I fail to see the problem here.

The way to make your program work on other DPMI environments is to rewrite it, so that it relies only on features offered by the DPMI standard.

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

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