Reply 20 of 27, by vext01
Thanks. FWIW, I have a similar experience (the slowness to start) with the doom games.
Thanks. FWIW, I have a similar experience (the slowness to start) with the doom games.
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.
$ ./dosboxDOSBox version SVNCopyright 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 directoryALSA lib confmisc.c:392:(snd_func_concat) error evaluating stringsALSA lib conf.c:4185:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directoryALSA lib confmisc.c:1251:(snd_func_refer) error evaluating nameALSA lib conf.c:4185:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directoryALSA lib conf.c:4664:(snd_config_expand) Evaluate error: No such file or directoryALSA lib pcm.c:2209:(snd_pcm_open_noupdate) Unknown PCM defaultCONFIG:Loading primary settings from config file ~/.dosbox/dosbox-SVN.confMemory 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 directoryALSA:Can't open sequencerMIDI:Opened device:nonereg_memaddrreg_memaddrmemaddrreg_memaddrmemaddrreg_memaddrreg_memaddrmemaddrmemaddrmemaddrreg_memaddrreg_memaddrmemaddrreg_memaddrmemaddr....
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?
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?
That's for the devs to decide 😀
@Qbix: there's also one issue that has been (at least) partly solved in SVN on OS X - core=dynamic causes segfault...I can provide the updated patch if needed.
ah yes, an updated patch would be appreciated.
It will get committed.
Water flows down the stream
How to ask questions the smart way!
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 😉
V3...removed some redundant ifs() and added some comments to hopefully clarify what the code does.
commited v3. Thanks gulikoza
Water flows down the stream
How to ask questions the smart way!