Posts

Feelin’ my age (part 4): Sinclair SuperBASIC on the QL

Image
In the 3rd post in this series,  Remembering UCSD P-system Pascal , I babbled on about my experience with UCSD P-system Pascal  and mentioned the Sinclair QL   and its built in dialect of BASIC - SuperBASIC . I still have a soft spot for that BASIC. Sinclair QL with the infamous microdrive tape cartridges. Photo from the Internet Archive Before acquiring the QL the whole of my programming had been done in BASIC. I'd read about other languages but never used them. These BASICs were quite primitive or, in the case of the Level 1 BASIC  on my 4Kb TRS-80 Model 1, extremely primitive. SuperBASIC was so different. Later it occurred to me that it leaned more towards Pascal. It's certainly has much better support for structured programming than the standard basics. For example it had: Multi-line  IF - THEN - ELSE - END IF  statements. A generalised repeat loop construct: REPeat - NEXT - EXIT - END REPeat. This can be exited anywhere within the loop. An IF - T...

System Information Unit v5.19.0 released

Image
Happy new year folks. Being new year's day here in the UK, its customary for pretty much everything to be closed down. But here I am releasing the latest update of the System Information Unit from my DDabLib Code Library! Poor me ;-). What's new this time? Well, as usual it's all in the TPJOSInfo static class. As is now the norm the OS detection code has had its monthly revision to catch up with Windows 10 & 11 releases over the last month. This time there have been a few other tweaks too. Here's a list of the main changes: Update detection of Windows 10 21H1, 21H2 & 22H2 and Windows 11 21H2 & 22H2 with releases and Insider preview builds released in December 2022. Preview builds for all Windows 10 releases from version 1507 onward are now detected - before only those for Version 21H1 and later were reported. Detection of expired Dev and Fast Ring builds has been removed because there doesn't seem much point detecting expired OS releases! Accuracy of det...

Still worrying about memory usage, and loving it!

Image
One of the things that comes from having cut my teeth on early micro computers was that I always, but always, had to worry about memory usage. When your computer's got 4KB RAM, as had my 1st Tandy TRS80 Model I, you have to worry about code being small enough to fit and  to leave enough room for data. Photo from old-computers.com Later I was constraining the size of my programs due to the time it took to upload them on my dial up internet connection. Even now I still can't stop worrying about profligate use of memory or disk space. I've resigned myself to the inefficiencies or bloatware, but there are still some marvellous examples of coding efficiency out there. My favourite example is my Digital Audio Workstation of choice, REAPER . It's a professional quality, complex application with a download size of 15Mb (for the latest Win 64 v6.72 as of December 2022). That's not a typo - it's 15Mb. And no, it's not for a downloader that scuttles off to the net to g...

CodeSnip v4.21.0 Released

Image
Just released CodeSnip v4.21.0. Full details of this release are discussed in detail over on the CodeSnip blog .

Another embarrassing failure to create CodeSnip 5

One day, perhaps for the 10th anniversary of first trying to given CodeSnip a major update, I might manage it. But not this time 😩. For a tale of over-ambition, pop over to the CodeSnip Blog .

System Information Unit v5.18.0 released

Image
Here we are again. More builds of Windows 11 came out in November, so here's the now customary update to the System Information Unit. No big changes this time. As usual you can download this release from GitHub. Just scroll down to the Assets section to either grab the source code or download a zip file containing the official release files.

Enable Hyper-V on Windows 11 Home

Image
I've treated myself to new Windows 11 laptop in this year's Black Friday sales. This going to be my main development machine. I decided to install a second copy of Windows in a virtual machine as a sandbox for beta testing and any other activities that i don't want scribbling all over my shiny new file system. Having settled upon Microsoft's official Windows 11 development VM I thought I'd use Hyper-V. That's when I hit a snag. My laptop is running Win 11 Home. And the Home edition doesn't officially support Hyper-V. Poking round net the revealed a hack to force Windows Home to install & use Hyper-V. Just in case anyone else is having the same problem, I thought I'd share a link to the page that explains how to get Hyper-V up and running. Here's the link: https://www.makeuseof.com/install-hyper-v-windows-11-home/ . While this hack worked for me, I'm issuing the usual disclaimer! If you do use this method, do remember to create a restore point...