VOGONS


Using DPMI libraries...

Topic actions

First post, by xErath

User metadata
Rank Newbie
Rank
Newbie

Well, I've currently working on a simple aplication, in C, that acesses the video memory, and draws all sort of stuff in the screen... I have win XP on my computer so the aplication wont work due to the CPU's protected mode, unlike Win98, so I tried to use DosBox to run the aplication.
With version 0.60 my program ran, but could get the video memory buffer adress. With 0.61 I receive the message:
"Load error: no DPMI - Get csdpmi*b.zip"
I'm using DJGPP libraries, which include dpmi libs also.
I've downloaded a csdpmi3b.zip and csdpmi3s.zip... In nothing that helped. 😖
What is this supposed to mean??
How can I run my aplication??

P.S.: This is urgent!!!!

::Cheers::

Reply 1 of 3, by romek41

User metadata
Rank Newbie
Rank
Newbie

The archive csdpmi*s.zip is a source code[\b] of cwsdpmi dos extender. Download binaries (csdpmi*b.zip), unpack it and copy cwsdpmi.exe to the directory with your program.

Reply 2 of 3, by xErath

User metadata
Rank Newbie
Rank
Newbie

Will then dos box automaticly load cwsdpmi.exe??

Reply 3 of 3, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

No. But it is possible that the DPMI using program does it. If not, then you must run it. Read the documentation to CWSDPMI.

Mirek