@samo Yes, i check all the things he mention and whole diff he provide.
1. Activated C_CORE_INLINE : that one activated in my build by default 2. paging.h fixed : now we use dynamic core, those fixes not fits anymore (and probabaly have no needs). 3. there was some changes in mem.h back in years with inline ppc asm, but tests showsm that latest dosbox ones + endian fixes i applied when add dynamic core are faster and better. 4. fix in render.h make things with dynamic core is MUCH SLOWER than without.
and so on.
Quote:
Are you able to start DOSBox in window mode automatically ? In config file i've set "fullscreen=false" But anytime i start DOSBox, it open its window in fullscreen ... alt+enter of course works as it should, but at startup it's always in fullscreen whatever i set it differently
Yes of course, i always use window mode. In the config file i have:
DOSBox indeed now start by default in fullscreen as it should And/Or in window mode if fullscreen and fulldouble are set to "false"
But in RunInDOSBox.config (that pratically it have the same variable configuration of dosbox.config) it doesn't ...
As RunInDOSBox will runs exe directly instead of just DOSBox alone, probably the mechanism was studied to always open things in fullscreen by default ...
How you run quake1 timedemo ? Something like "timedemo demo1"
Yes timedemo demo1, new DOSBox 9.7fps, old version 2.7fps.
BTW Have you tried installing Windows 95? I tried, but unfortunately the command to create filepartition - imgmake does not work. I can't mount blank filepartition file downloaded from the internet.
Have you tried installing Windows 95? I tried, but unfortunately the command to create filepartition - imgmake does not work. I can't mount blank filepartition file downloaded from the internet.
That the next thing i want to try. I already tried to download some "img" files from intertent , and they mounts for sure fine. For example i have some "95.img" file of 536mb of size, which i mount just like this :
imgmount d 95.img -t hdd -fs fat -size 512,63,16,600
And there is (press open in new tab for fullscreen):
See its 527mb img file. I can upload somewhere that empty img file. Its in fat16
That with working SB16 and S3 Trio drivers (desktop on screenshot 1024x768x256).
The only issue that it _didn't_ work with JIT. It only works with cpu type "NORMAL", so, not very fast. Also it pretty crashy. I mean offten. Dosbox authors says that win95 support is out of their skope, so if it works, good, if it not , sorry :)
Through that the version i got from internet (some .img) file , will try to install my own one, maybe it will be better.
If someone has some time, give it a go that it works, etc.
In this version in comparison with the one I upload early all builds with -O3 instead of -O2, also link it against the very latest SDL2 where pthread dependency removed and native os4 threads added (Capehill for president!), and also this SDL2 is non-debug one in comparison with one used early. So things can be a bit faster there and there.
Also in an archive, old DOSBox port by Corto included (the whole archive, in directory "old", just in case someone may need it someday)
Tomorrow I want to upload it to os4depot, so if someone can give a little check (just like replacing binary in your DOSBox setup) that will be good.
Ok tested, this version crash always at startup (tested with both RunInDosBox and/or just starting dosbox standalone)
--------- Crash log for task "DOSBox" Generated by GrimReaper 53.19 Crash occured in module DOSBox at address 0x6F8E6B58 Type of crash: DSI (Data Storage Interrupt) exception Alert number: 0x80000003
@samo Icons stuff is of no interest for me currently, its fine as it. I done it all as it specially for reassons.
But crash.. Are you 100% sure you do everything correctly this time and i will not loose time on your issues because of bad check ?
What i mean, is you 100% sure that previous version in that thread work, and you "just replace the binary" from new one and it crashes on startup and previous one not ? Recheck it plz twice. Crash is null-pointer, so dunno what can cause it.
Only difference is new SDL2 with no debug , usage of native threads in , and -O3.
@Mufa Its the same for both version ? Previous one uploaded and last one ?
Anyway issues core of dosbox itself also probably will be as it, as it up to dosbox authors.
And new version didn't crash for you on startup, all fine, right ?
Icons stuff is of no interest for me currently, its fine as it. I done it all as it specially for reassons.
Well, as you said you wanted to release shortly i just checked the archive and pointed out what was missed, in that case part of the old iconset was not included...
Quote:
But crash.. Are you 100% sure you do everything correctly
Yes, i tried everyhing, copying the binary over the old one, and even reinstalling everything from scratch ,, same crash .. no luck As soon as i double click into the icon i can see the dosbox window opening until it show its dosbox logo, then it crash instantanely
Maybe the new threads implementation of SDL2 could be to blame ? or the -O3 optim ?
Inside 2 bins compiled with -O2, one with new SDL2 with native threads, and another one older SDL2 with pthreads, compiled with -O2 as well. Check it plz.
@mufa Will check, that can be also and not DOSBox itself, but due to SDL2 migrate, or SDL2 itself , we can it sort later. At moment want to make some release which works while dealing with other things.
There is another issue which i dont like : switching to/from window/fullscreen via alt+enter feels a bit buggy. I.e. when you switch from window to fullscreen, its like "alt" is pressed anyway, and didn't realised, so pressing pure "enter" will switch to window back, and so on, until you didn't make the window be inactive and then active. Dunno if it SDL2 migrate or SDL2 itself, that also to be seen later. Or maybe DOSBox's code itself.
So.. that mean that native threads by some unluck crashes. And now when you say about "nosound=false" it somehow related to the audio-threads probabaly (as natively there audio and timer now), which emulated by should be silent.
Through, it didn't explain why it didn't crashes on my setup. But its again x5000, with more up2date components (as in case with Mufa too), so maybe its again something somewhere about dos.library must be opened or of that sort.
In other words, will use pthread version of SDL then for now, and check with Capehill later wtf.