VOGONS


Reply 20 of 27, by vext01

User metadata
Rank Newbie
Rank
Newbie

Thanks. FWIW, I have a similar experience (the slowness to start) with the doom games.

Reply 21 of 27, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Doom also works fine here. I commented all the if blocks in risc_x64.h and added a LOG_MSG to make sure the new code is used.

$ ./dosbox
DOSBox version SVN
Copyright 2002-2015 DOSBox Team, published under GNU GPL.
---
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4185:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4185:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4185:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4664:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2209:(snd_pcm_open_noupdate) Unknown PCM default
CONFIG:Loading primary settings from config file ~/.dosbox/dosbox-SVN.conf
Memory sizes above 31 MB are NOT recommended.
Stick with the default values unless you are absolutely certain.
MIXER:Can't open audio: No available audio device , running in nosound mode.
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
ALSA:Can't open sequencer
MIDI:Opened device:none
reg_memaddr
reg_memaddr
memaddr
reg_memaddr
memaddr
reg_memaddr
reg_memaddr
memaddr
memaddr
memaddr
reg_memaddr
reg_memaddr
memaddr
reg_memaddr
memaddr
....

Seems to work fine 😀
I'm afraid I don't know much about *BSD...but if it happens in normal core as well, then it's not related to dynrec.
Maybe you can do a strace or something similar and figure out what dosbox is waiting for?

http://www.si-gamer.net/gulikoza

Reply 22 of 27, by vext01

User metadata
Rank Newbie
Rank
Newbie

I've not had time to look into the slowdown thing, but I think you can safely treat it as a separate issue to the unhandled memory reference.

Do you plan to commit your changes, or do they need a code review etc?

Reply 24 of 27, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

ah yes, an updated patch would be appreciated.

It will get committed.

Water flows down the stream
How to ask questions the smart way!

Reply 25 of 27, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

And I can probably find some time to test this again - I'm sorry, it's one of the things I tend to forget that *I* needed to test and confirm... Tralalala 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 26 of 27, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

V3...removed some redundant ifs() and added some comments to hopefully clarify what the code does.

http://www.si-gamer.net/gulikoza

Reply 27 of 27, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

commited v3. Thanks gulikoza

Water flows down the stream
How to ask questions the smart way!