joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

bCAD crashes dosbox-s (INT gate selector type 10 problem) (works with 16 MB ram, DOES NOT work with 64 MB ram) #4020

Open SkybuckFlying opened 1 year ago

SkybuckFlying commented 1 year ago

Describe the bug

bCAD crashes dosbox-x.

I have uploaded three different versions of bcad here for you to try out and see for yourself:

http://www.skybuck.org/msdos/bcad/

I have no idea what bCAD is, except that it is some ancient computer aided design program and I would like to try it out to see what it is.

Can you fix dosbox-x so that it doesn't crash anymore ?

Steps to reproduce the behaviour

start bcad.exe

Expected behavior

No crash.

What operating system(s) this bug have occurred on?

Windows 7 home edition

What version(s) of DOSBox-X have this bug?

2022.09.0 64-bit SDL1

Used configuration

Almost default, doesn't really matter.

Output log

Better produce it yourself if so desired.

Additional information

None...

Have you checked that no similar bug report(s) exist?

Code of Conduct & Contributing Guidelines

maron2000 commented 1 year ago

No problems with default setting. bcad

Edit:For some reason the text I typed disappeared so I put it here again.

SkybuckFlying commented 1 year ago

I downloaded latest version of dosbox-x v2022.12.26, the issue persists:

Try the following steps to repeat the problem:

  1. Rename dosbox-x.reference.conf to dosbox-x.conf
  2. Open dosbox-x.conf
  3. Find output
  4. Change setting to: output = surface
  5. Try and load bcad

BCADProblem

SkybuckFlying commented 1 year ago

I did change a few other settings, like cycles and frequency of audio settings from 41k to 48k, also US keyboard, for completeness I will upload/attach the entire configuration file.

dosbox-x.conf.txt

SkybuckFlying commented 1 year ago

There was a little issues with the "meld" software which I used to move over settings from the old config to the new config, which resulted in some new lines added around memsize = 64.

For some reason the meld software would not display the new lines correctly. Probably a bug in meld, I will report that to them in a moment.

I don't think these new lines/white spaces will lead to any problems, I will remove them anyway in my config, however I am confident the issue will remain, if I do not report back, assume the issue remains :)

SkybuckFlying commented 1 year ago

(Cannot report the issue to Meld/GNome https://gitlab.gnome.org/GNOME/meld/-/issues, hotmail e-mail address not allowed for sign up, registration, to bad :( )

maron2000 commented 1 year ago

No problem with DOSBox-X 2022.09.0 (0.84.3) as well with DEFAULT config. I already mentioned that default settings are OK, why you hesitate to follow that? You just want to try the software, right? bcad22

SkybuckFlying commented 1 year ago

The default settings for dos box x don't work on this toshiba laptop, amd/ati gpu has some kind of weird damage... so GDI rendering must be used...

I do encourge to try out my steps if you haven't already done so... curious if GDI rendering causes this bug or not...

If not then something else is going on here...

Perhaps the memory setting is causing this, the default runs with 16 MB of ram, I set it to 64 MB of ram, that would make a little bit more sense to me...

YES THIS IS THE CAUSE OF THE ISSUE, BCAD22 WORKS WITH 16 MB RAM SETTING, 64 MB RAM SETTING PRODUCED THE GATE/TYPE 10 PROBLEM

It is an impressive program for dos, I am glad I got it working =D. Moved it from junk folder to my tools folder LOL.