Harinezumi
Rick Murray (539) 13806 posts |
Version 0.05 of Harinezumi is now available. http://www.heyrick.co.uk/software/harinezumi/ This is a more ‘cosmetic’ release. If you have “BootFX” present, it will call the SWI described above during boot-up. Untested; haven’t had time (sorry Steve! I’ll let you know soon if that version of BootFX you sent me works on the emulator). However, what about for those who don’t have BootFX (those who are legion)? Well, for you Harinezumi will draw a slightly shaded red-with-green-bar slidey thing. For a few screenfuls of assembler code, it looks pretty good and doesn’t require any resources except RISC OS itself! ;-) You’ll notice I’ve put effort in to making it work on a variety of different screen modes and colours. It will work in MODE 0 as MODE 12 as MODE 28; the only limitation is those inherent in the display (i.e. monochrome, etc). I did this work while listening to this – http://www.youtube.com/watch?v=6OOl0yA2v2g … it is ~40 minutes of the same song in various different forms; I like “Dear You – Feel” (starts at +11:52) but I might say the orchastral version “Dear You – Hope” (starts at +25:32) is all kinds of awesome. It starts a little strangely and then lets rip. If you want to try something a little different, at least listen to the orchestral one – direct link Anyway, here’s the official list of changes:
|
Rick Murray (539) 13806 posts |
Here’s a version of “Dear You – Hope” (the orchestral one) with lyrics (Rōmaji and English translation). Naff video quality, but you’ll get the gist of it. ☺ http://www.youtube.com/watch?v=t8XXpcxcJZk |
Wouter Rademaker (458) 197 posts |
Version 0.05 only works with me when I unplug BootFX. Last rom and disc image on a Pi. |
Rick Murray (539) 13806 posts |
Um… Steve? Here’s the code I use, based upon the SWI you mentioned (earlier in the thread).
Does BootFX need to be configured to know where its resources are? [given that it holds its own resources internally, why doesn’t it default to using those?] Wouter – what happens with BootFX loaded? Does Harinezumi crash or stall or…? |
Wouter Rademaker (458) 197 posts |
It looks like crash, no mousecursor, last text “Running HariKick…”, garbage in the BootLog file if you removed it before the reboot. |
Stephen Unwin (1516) 153 posts |
Happy to report it still works on RISC PC, ARM610 and 3.5 |
Stephen Unwin (1516) 153 posts |
Update. Re RPi. Using 22nd(24th) Distro. Nothing else, it seems to work. Update. Only used latest ROM image. Stalls again with green “RISC OS – RaspberryPi” Splash screen and lower centre window
|
Chris Johnson (125) 825 posts |
*RMReInit <moduletitle> |
Stephen Unwin (1516) 153 posts |
*RMReInit Thanks Chris, I’ll try that next time. I thought a reboot might bring it back, but had no success. Update. Latest Firmware direct from GitHub, revert back to 24th ROM. Seems to run OK. Minor issue with progress bar, at minor delay while “contacting DHSS”, bar at 80%ish and green blob on bar at 40%ish. Update. Latest ROM image,(15th Oct) Stalls again. |
Rick Murray (539) 13806 posts |
Version 0.06 of Harinezumi is now available. This is functionally identical except support for BootFX has been dropped1 until such time as more extensive development/testing can be conducted. http://www.heyrick.co.uk/software/harinezumi/ 1 Which meant commenting out five lines of code and rebuilding. Whoo. ;-) |
David R. Lane (77) 766 posts |
What advantages does Harinezumi have over Reporter? |
Steve Pampling (1551) 8155 posts |
Reporter reports only. Harinezumi takes each of the BootRun commands and runs it, with a graceful move to the next if a failure occurs so that the boot completes, and logs the progress.Without it a failure can halt the boot and leave a non-functional machine at the desktop or worse. Harinezumi is in essence a test of a more robust boot sequence. If it was in the ROM it could check ALL of the startup including the first attempts at disc access. |
Steve Revill (20) 1361 posts |
One question I have – what’s stopping this functionality from being added to the Repeat command in BootCommands? That way, the existing boot sequence would gain the functionality without change (or just a minor change, as per progress bar stuff). |
Rick Murray (539) 13806 posts |
That would work for Repeat. But anything altered/failing outside of scanning through the PreDesk for files/directories wouldn’t be “looked after”. Is that adequate? |
nemo (145) 2529 posts |
Say again? Repeat is used for each stage of the boot, including Tasks. Regardless of the admirable qualities of boot alternatives, I fully support adding a “keep going” (and/or log failures) flag to Repeat, and perhaps to Obey too. |
Rick Murray (539) 13806 posts |
Repeat is used here:
It is not used here:
or any other part of the before-Desktop-started part of the boot (ie “BootRun”). Therefore, making Repeat more resiliant will only affect faulty stuff put into the <Boot$ToBeLoaded>. While this is “most things”, it doesn’t offer any service if the fault lies elsewhere. Now, you may have a point when it comes to making tweaks to Obey. I wrote Harinezumi to address a certain specific point; so people can either carry on with it, or make similar modifications to RISC OS itself. Or, if people’s attentions are better served elsewhere (there’s a lot of more important stuff to do to RISC OS!), I have also stated that I’m happy for Harinezumi itself to become a part of RISC OS, if only a stop-gap measure until there is time to address the issue. |