dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

Core crashing on Nintendo Switch

Open evillurker opened this issue 3 years ago • 7 comments

Hey man. Loved the latest updates! I recently hacked my switch and was eager to try out dosbox-pure on the new system, however, whenever I try to load any game, the menu does not appear - instead it just crashes retroarch immediately.

This does not happen with any other core as I am running it with full ram access (hold r1 etc) So it's definitely a dosbox pure core problem

I will mention that I tested it in around 3-4 games which were LBA, LBA2, Flashback and a few others. There was only 1 instance when it didn't crash and it was on Blood.

Tested on EXE, BAT files, nightly retroarch build and official stable.

Would love it if you check it out. Thanks

evillurker avatar Mar 14 '21 09:03 evillurker

I recently pushed some buttons and twiddled some knobs to get the buildbot to output a Switch build. I was waiting for someone to try it but was hoping for a more positive result... Without any ways to test it myself it's really hard to say what could be wrong. I'm surprised Blood runs at all, that is certainly not a simple DOS game. Weird... I guess I need to disable to Switch build then, no use if it's that broken :-(

schellingb avatar Mar 14 '21 13:03 schellingb

Oh man, That is sad news... I was building on that.. I really wish you will find a way to test and fix this. Love your work man, keep it up and please update us when you release a working core. Thank you so much.

evillurker avatar Mar 14 '21 14:03 evillurker

Hey man. Just tried running dosbox through a playlist and it seems that it is working. For another world anyways, didnt try others, and it fixes a lot of stuff that svn has issues with on the core.

evillurker avatar Mar 18 '21 15:03 evillurker

Same problem here. If it's any help - I could get real mode games to run and got a crash only after exitting RetroArch. All protected mode games I tried crashed immediately. Might be a coincidence, though.

bladeSk avatar Mar 27 '21 10:03 bladeSk

Same problem here. If it's any help - I could get real mode games to run and got a crash only after exitting RetroArch. All protected mode games I tried crashed immediately. Might be a coincidence, though.

It's just broken as the core author said.. nothing can be done. I managed to run everything perfectly though , through DOSBox-SVN, needs a heavy configuration though.

evillurker avatar Mar 27 '21 15:03 evillurker

What is the status of this?

Is there anyway someone could share a build of this core for the Nintendo Switch? My hope is that it'll work with the few games I have.

colinschwegmann avatar Oct 17 '21 12:10 colinschwegmann

As far as I understand, it works when the "dynamic recompilation" isn't used. Older (non protected mode) DOS games by default don't use that, so they probably work. It can be fully disabled in the options but this would make the core unusably slow for most mid to late era DOS games. If there's demand for a slow version of this core for Switch, I can re-enable the build but with the "dynamic recompilation" option removed I guess. Ideally I'd get help from someone with debugging/development skills on Switch so we could make it work properly.

schellingb avatar Oct 18 '21 18:10 schellingb