DeskLib32/RM
Rick Murray (539) 13840 posts |
In case anybody is a user of DeskLib, I have revamped and rebuilt my “fork”1 of DeskLib 2.30 to work on the newer 32 bit hardware. I had already done this, like a decade ago (give or take a few years), but the compiler I was using then did some unpleasant things which fail on the ARM9 and later. This should now be okay; and indeed a simple test program built with the new version worked without problem. desklib32-rm-20130720 (1.9MiB zip) What’s in the file: The archive above is a snapshot of my version, so it contains everything except the examples and docs. “DeskLib:o.DeskLib” is the original (26 bit) version. Do not use this. Use “DeskLib:o.DeskLib32”. How to use it: If you already have DeskLib, then you can make use of this by moving your one out of the way, putting this in its place, and tweaking your makefiles to point to DeskLib32. If you are an end user (you don’t plan to mess with DeskLib’s source code), you can delete the !DLSources directory and its many many contents. Really, !DeskLib is all you need. How to build: The original build script system is really complicated, and thanks to using a number of tools without sources, is also really broken. It will crash on anything that isn’t 26 bit PC. Extensions: [note – these are contemporary with the time they were done, roughly 1999-2001] BackTrace (new) ColourTrans CPU (new) Dialog – fixed nasty bug (if menu window had a close icon and you clicked it – TOTAL SYSTEM MELTDOWN AAARGH). DynamArea (new) File Hourglass KernelSWIs Menu Misc (new) Module Resource Str Terri (new, incomplete) WimpSWIs Window There are, no doubt, a huge heap of things necessary to support later than RISC OS 3.5, the modern SoCs, the RO5 HAL, etc etc. Your suggestions are welcome! 1 It was never my intention of creating a fork, I was simply tweaking DeskLib to work on newer hardware because nobody else seemed to be doing it. In my time away from the wired world (2002-2009), others have stepped up to expand DeskLib; however I am planning on maintaining my own fork because… |
Raik (463) 2061 posts |
As I understand, it works with DDE/Norcroft… |
Rick Murray (539) 13840 posts |
Yes. It is an ALF (library), just add it to the command line parameters passed to link (alongside Stubs and any other libraries like TCPIPLibs). Or did you mean the other one? ;-) Yes, that works with the DDE as well but if you read the website, future versions won’t. This has already been discussed on the forum, searching for “ELF” ought to find some posts… |
Steve Fryatt (216) 2105 posts |
Are you absolutely sure that this isn’t FUD? In response to a related enquiry that I made elsewhere, someone who ought to know suggested that Norcroft’s linker is supposed to be able to handle “AOF-equivalent”1 ELF object files alongside AOF. I haven’t actually experimented yet, and there was a hint that it might have worked once but may not any more, but if correct it suggests that you might be getting all righteously indignant over a non-problem… ;-) 1 As in ELF files that contain data that can be converted into AOF files. |