BTW, can't remember, but if I enable JIT, shouldn't it show on bottom-leds 'JIT'?
-UAE 1.0.0 Build date: Nov 22 2018 23:26:52 SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.15. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 800x600. SDLGFX: Found screenmode: 640x480. Found 0 joystick(s) Found amiga raw keyboard mapping Using raw keymap Opening cfgfile '.uaerc'...okay. unknown config entry: 'amiga.screen_type=public' unknown config entry: 'amiga.publicscreen=' unknown config entry: 'amiga.use_dither=false' EClock frequency:1155.000010 MHz Found amiga raw keyboard mapping Using raw keymap Rexx port "UAE" installed. Found amiga raw keyboard mapping Using raw keymap SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x480x8 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 800x600x8 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1024x768x8 SDLGFX: Added P96 mode: 1280x1024x32 SDLGFX: Added P96 mode: 1280x1024x8 Enabling argb32 byte-swapping for P96. Building CPU table for configuration: 68000 24-bit addressing 1866 CPU functions Building CPU function table, 44736 opcodes (0 0 1). JIT: Building compiler function table. JIT: Allocation of translation cache... JIT: Selected processor type has no cache, leaving reset at 0 JIT: Compiling reset PAL mode, 50Hz (h=227 v=312) chipmem cleared Illegal instruction: 4e7b at 00fc0564 -> 00fc0582 SERIAL: period=372, baud=9600, hsyncs=16 PC=fc2234 PAL mode, 56Hz (h=227 v=275) PAL mode, 50Hz (h=227 v=312)
@jabirulo You probably on beta ? What your newlib.library ? As for leds: there special option "show_leds=true" , if you set it and didnt have button "jit" at bottom of the right part of screen then imho jit didnt enabled for you , it enables by that block:
Yes, you're right I'm on beta. I tought I had already such options enabled, will check it. THX
Retested with public AOS4.1FE upd1 and got a GR too: Crash log for task "uae" Generated by GrimReaper 53.19 Crash occured in module uae at address 0x7F8AC1BC Type of crash: DSI (Data Storage Interrupt) exception Alert number: 0x80000003
@Jabirulo Right, it crashes because on beta we have newer newlib.library which had statvfs() implemented. So to not wait when another OS update will come up, i can just build euae without statvfs() usage (as probably mickjt do before when build versions which on os4depot).
@all Is it make any sense for anyone ? Imho having latest SDL be build with , and have alt+enter for switch between fullscreen/window worth it. At least for me is :) i can also add Salass00 fix for >2gb support, if anyone will test it before, of course :) maybe in meantime Capehill will add (?:) ) iconify support to sdl1 :)
It can be also good idea to switch from sdl1 to sdl2 in euae.
Note that -mno-powerpc64 will be needed if you're going to use -mcpu=970, otherwise you'll get weird stuff like the mouse movements being inverted (see this link).
As for the stuff I said in the e-mail about -maltivec, it just causes strange behaviour if linked with the current binutils. Not necessarily crashes, but just incorrect code execution. Using -N when linking fixes it, or manually using amigaos.x from an older binutils (i.e the one included in SDK 53.30) with -Wl,-T /path/to/file.x
> And you probably build and generic version and x1000 one before with that flag ?
That flag/definition is the difference between an X1000 and non-X1000 version, so there's no such thing as building a "generic" version with that flag. I probably confused you by talking about altivec flags in the email.
There's no altivec code in e-uae, but I think the -maltivec flag was possibly used in Rachy's X1000 builds regardless, and I think it does have some minor effect even on code that has no specific altivec instructions, so I thought I'd let you know about any problems that might arise from using that.
Edited by MickJT on 2018/11/24 11:40:32 Edited by MickJT on 2018/11/24 11:47:25 Edited by MickJT on 2018/11/24 11:48:36 Edited by MickJT on 2018/11/24 11:49:44
E-UAE 1.0.0 Build date: Nov 24 2018 17:54:31 SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.15. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 1680x1050. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1280x960. SDLGFX: Found screenmode: 1600x900. SDLGFX: Found screenmode: 1440x900. SDLGFX: Found screenmode: 1280x800. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 1280x720. SDLGFX: Found screenmode: 800x600. SDLGFX: Found screenmode: 640x480. SDLGFX: Found screenmode: 320x256. SDLGFX: Found screenmode: 320x240. Found 0 joystick(s) Found amiga raw keyboard mapping Using raw keymap Opening cfgfile '.uaerc'...failed Timebase frequency: 799.999998 MHz Found amiga raw keyboard mapping Using raw keymap Rexx port "UAE" installed. Found amiga raw keyboard mapping Using raw keymap
@Capehill Yeah ! (press to open image in new tab for fullscreen)
It also works ! I can iconify, and it puts where should, and uniconify back. Thorugh there is little issue as it was with sdl2 at begining: icon didn't takes. I.e. it take some default os4 icon, but not the app's name icon.
But in others all works ! Probably adding the code as in sdl2 to take the app's icon, and then we can pack it all, wrote readme, and release it ? Also can be released as normal and as debug versions as well.
@samo79 Yeah, on slow machines overhead of SDL on top probabaly can be noticed.
@all What is intersting, is that probabaly i find some bug in SDK (or around). I.e. in newlib.library support of statvfs() function was added in 53.23 version of newlib.library. But it definately not works how it should even on 53.30. But works on beta, so something was fixed in that regards since newlib.library v53.30.
But, when one compile code with SDK 53.30 which use statvfs(), then he have warning, that newlib.library 53.23 is must and minimum (i.e. when statvfs() was added), but then, euae's code based on statvfs() du not works even on 53.30 , but works on later ones. Probabaly that need to be changed in the SDK, to say not "53.23" minimum, but whatever version are where it all start to works as expected.
Cool for iconify :) As you here can you complete the full version name in titlebar, aka something like "E-UAE 1.0.0 (xxx.xx.2018)" Just "E-UAE" text is not enough having 3 different versions in test so have a more visible version number there will help when in window mode
I've compared them using diff, but I don't really know what I'm looking at to make a proper bug report. I don't know which change it is. All I can say is it's one of them, and my best guess is the change from rev 335 of adtools on sourceforge.
I'm not the best person to make a bug report about this. I have no altivec enabled machine, and therefore no way of testing binaries myself to create an easily reproducible test case, nor do I know whether it's only specific instructions that cause a problem. I've tracked it down to the linker scripts (internal & external) in binutils 2.23.2, but to find the exact instruction(s), and a proper test case, is too tedious for me and annoying for someone else if I have to send them countless binaries to test for me. Not to mention I don't think I'd even know how to create a proper test case. I don't know assembly, or even C for that matter. Best someone else debugs it :)
This is a bit off-topic now and doesn't relate to e-uae. As mentioned earlier, e-uae has no altivec specific code and so -maltivec is not required, but I only wanted to mention any problem that might arise if it was used. I think there is an effect when using that flag even when compiling code that has no specific instructions for it.
As you here can you complete the full version name in titlebar, aka something like "E-UAE 1.0.0 (xxx.xx.2018)" Just "E-UAE" text is not enough having 3 different versions in test so have a more visible version number there will help when in window mode
Something like that ? (open in new tab for full screen):
@RIBDEVIL In theory it can be faster, as new SDL, new 8.2.0 compiler, -O3 optimisation, in theory. But even if, it will be faster not on emulation level of course, just general stuff around emulation (windowses, keys, inputs, threads, etc).
@samo79 Or maybe like that is better (as usual RMB in new tab for full size):