Hello all,
@TheMagicSN,
Long time no Scene. :) , i hope everything is fine?
As smf said, i resurrected my old µA1 which i had disassembled as the powersupply was raided to get my parents mini-pc to work many moons ago, the timing now was just right to get the machine back working again, replaced the battery and connected all cables, and it started running again.
The last thing i did before shutting it down way back when, was making a clean update to OS 4.1 , so i spent yesterday downloading stuff and updating it a bit, also installing the new SDK 54.16 (is that the latest?) and tried to compile WarpSNES in order to make it workable before sending it to @TheMagicSN
That was a no-go, there was deprecated stuff in the dos library, Picasso96 and so on, so i did some changes to support it.
When it finally compiled, it just crashed when trying to play a rom. I debugged for 7-8 hours trying to understand what caused the problem and finally came to the conclusion that by just opening a screen and closing it, the crash would occur but there was nothing wrong, so i disabled the optimization flag (-O3) and, voilá it worked. Tried to use optimization (-O2) and it gave same problem. What actually happens with the optimization on, was that the call to open the window, would repeat endlessly so it would create 40-50 windows before crashing. Never experienced this before, anyone else had this?
Anyway long story short, i tried to attach a test-version, can you guys just see if this works? (may be slow since no optimization-flags are used due to the above mentioned)
Regarding the old 1.43 version, the readme is a bit unclear, actually about these changes:
--------------------------
Changes added by Per Johansson (amigan()comhem.se):
- Added amigainput support including button,axis and hats.
- Added native Amiga OS4 framework, ie no SDL dependency
- Added support for xadmaster.library (ie. support for zipped, gzipped games)
- Added keybindings
- Snapshots fixed (gamestates)
- Sound added
- Small gui added + different window modes
- Saves batterybackuped data correctly
- Additional small bugfixes
--------------------------
Sound added, yeah sounds weird but it just meant i added audio-support into my OS4-framework (the SDL-replacement)
Also the AmigaInput was back then a very special beast to get working, i looked in the code now and saw some special hacks to have it working at all and sometimes crash, versus not having it working at all, so it was a compromise. I assume things has changed since back then, so maybe i should remove the hacks and test with a usb-device.
So most of the above changes is about the framework and the gui, not the emulator in itself. However i found an email sent to @TheMagicSN where i mentioned i would send it once finished and cleaned up... Better late than never :D
Actually working on these emulators, primarily the framework and the gui and editing the gui to all emulators was madness work, so i decided at a later point to create a new system, together with Palombo Davide we created something we called "Katana" which basically was the framework + gui as an application and all the emulators was plugins (libraries) that were enumerated at runtime, so new emulators could be added without needing to change/recompile the main application.
That was the last work i did before it all halted.
I think we were quite close to release Katana (some distant memory about savestates not working with megaman 2?), i made plugins for the emulators that @TheMagicSN ported, and some more.
These were working back then:
amiNES
WarpSNES (1.50 was the latest version i compiled and used)
Sega Master System , Game Gear
Genesis / Megadrive (Dgen)
GenesisPlus (Optional plugin)
TGEmu (Nec PC-16)
Gameboy
Gameboy Colour
Gameboy Advance
So i would rather prefer to actually update and finally release Katana, that way we can update the emulators without the need to make a new gui or gui-changes.
Btw, Not sure what to add to make the border black, on my system the border is always black, check this version and see if it's still the same problem.
Sorry for the ramblings, wrote this in the middle of the night while waiting for my account to be accepted. :)
Trying to add links and images below, fingers crossed it works.
Warpsnes 2023-11-20 testversionWarpsnes ImageKatana Image