I don’t get time to post to this blog as much as I’d like (as you can tell) and lately, with the odd exception, most of my posts seem to be round ups rather than original posts. So here’s yet another round up.
Not a great deal has changed since the last such round up, in mid-July (making this one about four and a half months later – that’s almost making them frequent by recent standards) – but there is one thing in particular worth mentioning, and that’s the work I’ve done on a game for RISC OS.
Before talking about that, though, it’s probably worth mentioning the Advent Calendar of Christmas Horrors – which I’ll be starting again in a couple of days!
Firstly, since the last mention, the list of titles that qualify has expanded a little further, with a few more titles appearing on my radar (or, more accurately, the list of related titles that appear on streaming services after watching a film). Amusingly, though, I also realised that there’s a film in my DVD collection – albeit one that I think is elsewhere, in storage, rather than here – that fits the bill, but which I’d completely forgotten about: Stalled.
The film follows a character who spends pretty much the entire time in a toilet stall during a zombie outbreak – but the important part I’d forgotten is that it takes place when the guy is at his office Christmas party.
I probably won’t be watching it as part of this year’s run (unless I spot it on one of my streaming services) because, as I said, although I have it on DVD, I don’t think I have it here. If I don’t, though, I still have plenty to choose from!
The full list currently sits in a spreadsheet, which in theory I could export as a CSV list and process into a web page – my original thinking was to process it in WebChange and from that upload it to my personal website (which, other than this blog, no longer exists).
However, yesterday I decided to play around with a bit of JavaScript, and wrote a very simple function that can be called for each title, with some additional arguments (e.g. its year of release, the IMDB reference for it, etc), and which will then write that out as HTML with some suitable styling – just a series of document.write lines, with a few ifs here and there. Therefore, for each title, there would be a call along the lines of:
DisplayFilm(title,year,IMDBcode,etc);
I can easily export the spreadsheet as a CSV, and have WebChange turn that into those calls (or even generate the calls within the spreadsheet, and just copy and paste them into the HTML file) – but the HTML + CSS + JavaScript functions now exist. I just need to set up a website which contains that page. I’ll try do this over the Christmas holiday – although I might see look at adding additional info to the list and including that. For example, what about a mini review (say one short paragraph) of the films I’ve watched, or the film cover image I can find one? All of which, of course, may make the task a little longer initially.
(Worth adding that there are better ways – just uploading the CSV file whenever I update the list, and having the page parse that, makes sense. But I don’t update it all that often, so the above solution will do.)
I’m also thinking that rather than do as I have for the first couple of years of this, and just write a single blog post at the end, I might comment about each film on Bluesky as and when I watch it – not to the extent of my Eurovision tweeting (and no drinking), and I won’t be attempting to pull those comments into the subsequent blog post; just a comment or two for each title, and (as usual) an overall blog post at the end of the month, which will be written more or less independently of those Bluesky comments.
And with that out of the way, I said I’d talk about the work I’ve done on a game…
Drop Rock
No progress has been made on the Drop Rock rewrite/sequel – but it’s relevant. This year’s RISC OS London Show took place in late October, and my original plan was to work a little more on that and try to have it further along its development path. However, as the show grew nearer, I realised that I really didn’t have time to do anything meaningful, so I needed to turn my hand to something that I hoped would be easier. I therefore took a look at another old game of mine, instead…
Floopy
I originally wrote Floopy way back in 1993. I had just learnt to program in C and, ignoring silly little programs written as part of the process of learning the language, Floopy was the first full program I wrote in it.
It was written on my Acorn A3000, using a C compiler from a company called Beebug – I forget now whether it was their ‘Easy C’ or ‘Desktop C’ compilers (I had both, but I’m not sure of the timing). I think I may have made one small tweak to it a few years later, probably to disable the sound to make it work on different version of RISC OS.
At some point after that, though, I realised that I had no idea where the source code was. I had, for all intents and purposes, lost it – which means I wouldn’t be able to update it again.
I forgot to tell you to imagine that wibbly wobbly special effect to take you back to 1993 for the above, but imagine it now to move forward a bit – I’m not sure when, exactly, but probably a decade ago at most.
At some point, probably no more than ten years ago, I had a moment of inspiration: I knew where to look for the Floopy source code. I instinctively thought that it would have been on a floppy disc, and I don’t have many of those left – but in reality, by the time I wrote the game I’d installed a small hard disc in the A3000. All I had to do was power up the machine and look… so I did, and promptly found it!
Once I’d found it, and transferred it across to somewhere more accessible moving forward, I did try compiling it. I expected to see a list of errors and problems, and wasn’t disappointed; there were a lot! I therefore decided to put it to one side for a rainy day until I could be bothered to put the effort in to work through them – did I say there were a lot? If not, trust me: There. Were. A. Lot.
So it’s time for the wibbly wobbly effect again, bringing us back to that point before the London Show. I decided to look at Floopy, rather than Drop Rock.
The errors mainly covered two distinct issues:
- C standards have changed, so the sort of things I did in the Floopy sources in 1993, I couldn’t do now. Either that, or my programming in 1993 was atrocious, and the compiler I used very tolerant. Or possibly a bit of both.
- I used library functions provided with the compiler, that I don’t have in what I use today.
I didn’t deal with either of those broad areas before the other, and instead handled each problem in the order it appeared in the list each time I tried compiling – but the latter was arguably the easiest to deal with. Each time I encountered a non-existent library function, I wrote a new function to perform the task of the original (or modified any calls to the non-existent one to a corresponding function in my current library). In doing that, I didn’t just address the error at the top of the list, I also addressed any subsequent errors, because you can be certain I didn’t call that library function just the once.
The other problem, the terrible (or outdated) programming was more problematic, because if I did something a particular way in one part of the program, fixing it there didn’t also fix it if I did the same (or a similar) thing elsewhere.
Eventually, though, I managed to get Floopy to compile cleanly – and tried running it.

The title screen appeared, plotted directly onto my desktop wallpaper, and the game’s menu appeared (in the large window on the right) – but that was it; it wasn’t responding to key presses, so I had to break out of it.
The display problem was because the game was written to use a screen mode (resolution) that isn’t supported on the newer computer, and the problem of it not responding to key presses was because I’d pointed the calls to the old library function for keyboard handling to my existing library function, which works in a different way.
The game was originally written to work in mode 15 (640×256 pixels, in 256 colours) – so I picked a close match: 640×480 pixels, also in 256 colours, and I dived in to the keyboard handling to get that working. There were quite a few tweaks and re-compilations, but I eventually got the game playable – albeit looking a bit messy.

The main problem was that the maths used to calculate the vertical positioning of things was incorrect, because for the old screen mode the vertical screen coordinate to actual pixel ratio was 4:1, whereas in the new one its 2:1 – hence the spacing, and the artefacts visible in that screen grab.
If I’d done a better job of writing Floopy back in 1993, I could have fixed the maths very easily in 2026 by just changing a set of single values early in the source code – but I didn’t write like that in 1993. Instead, those values were hard-coded in every part of the game where they were used – so I had to go through the code from beginning to end to find and update them, and eventually had it looking as it should (sort of).
Obviously, because the game was written for a screen height of 256 pixels and it was now running in a screen with a height of 480 pixels, there was a chunk of unused space at the top of the screen. I made use of that for the show to display some text giving a brief overview of the game.
It wasn’t all plain sailing. There was also a nasty bug that needed to be fixed, whereby if an in-game monster was killed, it would sometimes lead to the game crashing. What was happening was that to signify it being out of play, the monster’s ‘x’ position was set to -1. The code was supposed to see that when checking if the monster needed to be moved, recognise it as out of play, and ignore it.
What it was actually doing was continuing to move the monster around, off screen – and part of the movement cycle involved storing a value for the monster in the memory used for the map, but when its map-coordinates put it outside of the actual map, that meant its value was being stored elsewhere in the computer’s memory, each time the monster moved.
Oops. Well done Vince from 1993!
So what’s next for Floopy? I intend to redesign the graphics, so that I can make use of the full new screen resolution (or even a slightly higher one) – and almost certainly to use a greater colour depth. There’s still a lot of tidying to be done to the code, so I want to work through it for that purpose. (For example, I had four functions for moving monsters – one for each direction; as part of the process of finding and fixing that bug, there’s now one much simpler function that handles all four. There are plenty of other examples of inefficient programming still to be addressed.)
With all of that done, I intend to refresh the Soft Rock Software ‘Collection’ to a third iteration, which will include the updated Floopy, now playable on modern RISC OS computers without any need for emulation. I expect that to be ready for the RISC OS North show in April.
I also intend to use the same code as a basis for a sequel, with larger maps and more features – though whether I’ll get that done for April is another matter!
And – more importantly – I can then look at the code with a view to borrowing some to bring Drop Rock further along its development path. Looking at something I’ve already done should make that much easier.
Aside: I see that since I last posted something here, if I upload images separately into the images folder and reference them in the HTML that I copy into the page, I no longer see them in the draft post, only the placeholder and alt text. If I preview the page, I see them – but until I do that, it just looks the same as it would if I’d screwed up (e.g. if I typed the link to the image incorrectly). It’s therefore clear that the overall enshittification of things is continuing apace. A sarcastic thumbs up to that!
