Do I have the right version of csdpmi?

DOS specific questions.
Post Reply
fbHiThere
Posts: 6
Joined: Feb 04, 2022 22:52

Do I have the right version of csdpmi?

Post by fbHiThere »

I got it from

http://www.delorie.com/djgpp/dl/ofc/sim ... dpmi5b.zip It looks to be from 2000.

But after compiling the ..\EXAMPLES\hello.bas, it correctly echoes "Hello from FreeBASIC!",

but then follows up with

Exiting due to signal SIGSEGV.

I've ready some of the posts about csdpmi and this problem, but some of them are from 2006, and the other seems to be about C coding. This happens when compiling the standard first sample.

The host is DosBox-X.

Should I use some later version of csdpmi?


Regards,
fbHiThere
Posts: 6
Joined: Feb 04, 2022 22:52

Re: Do I have the right version of csdpmi?

Post by fbHiThere »

I also tried this one here,

http://sandmann.dotster.com/cwsdpmi/csdpmi7b.zip, which is from 2010.

Same result.

However, I then tried it in Dosbox (not Dosbox-X) on my Android tablet. It works fine.

I then installed Dosbox, on the same Windows 10 Asus desktop where it does NOT work with DosBox-X. Same error.

I also tried it on an old XP laptop. Works perfectly.



So, summary, in case this helps any future FreeBasic for Dos venturers:

On a Windows 10 desktop, with either DosBox or DosBox-X, a compiled FreeBasic Hello.bas application generates an error

Exiting due to signal SIGSEGV

, and a Register dump.

On Dosbox on Windows 8.1, it works fine.

On DosBox on a Samsung Android tablet, it works fine.

On XP, it works fine.
exagonx
Posts: 314
Joined: Mar 20, 2009 17:03
Location: Italy
Contact:

Re: Do I have the right version of csdpmi?

Post by exagonx »

fbHiThere wrote: Feb 05, 2022 1:17 I got it from

http://www.delorie.com/djgpp/dl/ofc/sim ... dpmi5b.zip It looks to be from 2000.

But after compiling the ..\EXAMPLES\hello.bas, it correctly echoes "Hello from FreeBASIC!",

but then follows up with

Exiting due to signal SIGSEGV.

I've ready some of the posts about csdpmi and this problem, but some of them are from 2006, and the other seems to be about C coding. This happens when compiling the standard first sample.

The host is DosBox-X.

Should I use some later version of csdpmi?


Regards,
It happens that an incorrect configuration of a virtual box or other emulators creates problems in the operation of TSR and various software that requires direct access to the memory, some time ago an incorrect setting prevented me from using EMM386.exe, this to make you understand that there is is the possibility of being able to solve the problem by disabling or enabling options on memory control by the software you are using.

In any case, I leave you the link to download the latest version of CSDPMI

You can download the latest CSDPMI from delorie offical server
ftp.delorie.com/pub/djgpp/current/v2misc/csdpmi7b.zip

If you want download the source code here the link
ftp.delorie.com/pub/djgpp/current/v2misc/csdpmi7s.zip
fbHiThere
Posts: 6
Joined: Feb 04, 2022 22:52

Re: Do I have the right version of csdpmi?

Post by fbHiThere »

Ah, ok. Thanks, Exagonx.
Post Reply