Now for something different - Retrocomputing and data recovery...

Anything that doesn't fit into any of the other forums
Post Reply
User avatar
admin
Site Admin
Posts: 17584
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Now for something different - Retrocomputing and data recovery...

#1

Post by admin »

Like many other people of my age who ended up with careers in computing, I first encountered computers in the early 1980s, with a series of home computers and also ones encountered at school.

The very first home computer we had was an odd one - It was a machine called the 'Video Genie' (https://en.wikipedia.org/wiki/Video_Genie) - a far eastern clone of the popular Tandy TRS-80 computer. From my recollection of the details of the machine we had, I think we would have had it in early 1981. It didn't do much on its own when turned on apart from print 'READY', but in a way that was a good thing - you had to type in basic programs to make it do something, and that was a great way to start learning to program in basic. One quirk of the machine was that it had wood efect end panels - unthinkable today, but at the time a lot of hifi equipment had the same sort of thing, so I guess the designers felt it added 'quality'...

Next was the ubiquitous (in the UK, anyway) Sinclair ZX Spectrum in about 1983 - it's difficult to know what to say about the Spectrum.... From one point of view, it was a masterpiece of design in getting the most possible functionality at the minimum price point. Looking at it another way though, it had deep flaws caused by the penny pinching design - the dreadful keyboard and the quirky basic implementation. It was great for games though and there were an awful lot of them. I did some programming on the Spectrum, but not really a great deal.

Getting into programming properly had to wait for the arrival of the next computer in our household - an Amstrad CPC6128 (these were sold under the Schneider brand in Europe) - this was purchased I think at about Christmas 1985. The CPC6128 was a much more professional machine than the Spectrum (even though both had the same Z80 processor) - it had a decent keyboard, a dedicated monitor, a floppy disk drive and something approximating a simple operating system as well as a decent basic interpreter. The reliability and speed of the floppy disk compared to tape meant that you no longer needed to spend several minutes hoping your program would load from tape before using or editing it. The CPC6128 saw lots of use until 1989 when we got our first IBM PC clone computer.

Until recently, I thought that all the programs I had written from those pre-PC days had been lost, but last month, helping my father sort through some old stuff, we found a box of Amstrad floppy disks that have been untouched since the late 80s or early 90s. There was even one disk labelled 'Astronomy'...
PXL_20250218_224750139.jpg
PXL_20250218_224750139.jpg (281.67 KiB) Viewed 2536 times
The Amstrad machine itself is sadly long gone (as has the Video Genie, the Spectrum, and I suspect all the tapes that contained programs saved from those), but I decided I had to have a go at recovering the information from the Amstrad floppy disks.

Anyone who remembers 'normal' 5.25 and 3.5 inch floppy disks will look at the photo above and be thinking that the disks look odd - that's because the Amstrad computers used an odd 3 inch floppy disk which wasn't used by much else. Apparently Amstrad (another manufacturer who liked to keep costs down to a minimum) got a brilliant deal from the 3 inch drive manufacturers that undercut the cost of 3.5 inch drives and guaranteed to stay below that price over time, so they went with the 3 inch drives. Actually, the disks themselves are really robust, but getting hold of the drives these days is hard as they haven't been made since the 90s. Basically you have to find second hand Amstrad hardware and get a drive that way.

Looking on Ebay, I was lucky enough to find an original Amstrad 'FD1' external drive for sale as 'untested - spares or repairs'. These were sold as an add on second drive for the CPC6128 systems or a way of adding a drive to the earlier casette only Amstrad 464 (along with a separate interface add on in that case).
PXL_20250218_225542673.MP.jpg
PXL_20250218_225542673.MP.jpg (227.66 KiB) Viewed 2536 times
This drive was missing the disk interface component that would have allowed it to be used with the cassette based computer, but I didn't need that, so the lower price was welcome. I decided to take a punt on the 'spares or repairs' status as the drives are apparently fairly reliable with exception of the rubber drive belt that perishes over time (and is fairly easy to replace).

Obviously just having a floppy drive wasn't enough - you have to have some way to control it unless you have the computer that it was supposed to plug into. Fortunately there's now a clever device called a 'GreaseWeazle' (https://github.com/keirf/greaseweazle) that you can buy for about £25 - this is a USB device that connects to a PC and can control, read from and write to pretty much any floppy drive via a standard floppy drive cable. Essentially, it's a tiny computer (ARM based) that can take the place that a floppy disk controller chip would have had in the old days, with software running on the little ARM cpu doing the job of hardware circuits in the old days.
PXL_20250218_230428821.jpg
PXL_20250218_230428821.jpg (295.1 KiB) Viewed 2536 times
I had to do a refurbishment on the floppy drive itself - test the PSU was putting out the right voltages, remove the old rubber drive belt, clean the capstan/rollers and replace the belt, clean the heads, etc. In this particular type of drive there are a couple of extra 'gotchas' - there is a 5V supply plug that needs to be removed internally, otherwise the drive feeds 5V back down the ribbon cable and can fry the Greaseweazle device. The designers of the drive also decided to label the pins of the standard 34 pin floppy cable in reverse, so if you connect the cable 'Pin 1 on drive to Pin 1 on Greaseweazle', nothing works (the drive spins and nothing else). Connect it in reverse though and all is fine... This information can all be found in more detail online - ie https://muckypaws.com/2020/09/03/greaseweazle/

With all of this done, I was able to start reading data from the floppy disks and getting the disks converted into a format that can be used with modern emulators. Surprisingly, over the 28 or so floppy disks there were only about 10-12 bad sectors which could not be read properly (checksum errors), and about half of those were in blank areas of the disk or duplicates, so very little data loss.

Things became more interesting when I started looking at the data on the disks. Back in the late 80s, I did a fair bit of assembly language programming using an assembler called 'Laser Genius'. I found a lot of the ASM files containing the code, but I was shocked to discover that they were binary files in a proprietary format, not just plain text. Thinking about it, given the limited memory and storage available at the time, it made sense to store these files in a more compact format (basic was saved in tokenized form in those days too), but it feels horribly wrong to my modern programmer senses...

Fortunately I was able to find an online copy of the Laser Genius assembler software and use it to load the source code files then 'print' them (fortunately printers of the day simply printed ASCII, and emulators can capture and save the printer output) - hurrah, now I have my source code back into text format. Unfortunately not quite so simple - at least a couple of the files were corrupt (even though the disks read correctly) - it looked like the end of the file had been overwritten by part of another file :(

One of the files affected in this way was sadly some code that I was keen on seeing again - an emulator for the 6502 CPU that I had written in Z80 assembly. You might ask why write something like that? Well, at school we had BBC Microcomputers, which used the 6502 CPU. We also had an excellent Physics teacher who also taught a bit of computing. He ran a course after school to learn 6502 assembly language programming and taught us all sorts of interesting things like how to multiply and divide in assembly when you only add add and subtract instructions. I'd wanted to carry on learning about the 6502 at home, but only had a Z80 computer, so I obviously decided to write an emulator (and in fact a 6502 assembler written in basic). I obviously had too much time on my hands back then...

With modern text editors, cross-assemblers, etc, it took about an evening to re-write the missing parts of the 6502 emulator following the original design from 1987 (probably not how I would attack the same problem now). Along with a minor bug fix in the assembler, that let me get to the happy position of running 'Hello, World' in 6502 assembly in an assembler/emulator mostly written by me back in 1987...
Screenshot 2025-02-15 231947.jpg
Screenshot 2025-02-15 231947.jpg (174.37 KiB) Viewed 2536 times
(Those who know 6502 will spot the 'c80' and 'r80' instructions that I added to call z80 code and return control back to the z80)

I still have a bunch of disks to explore in more detail to find out what is on them - some things I have found include fractal plotting programs, basic ray tracing programs, etc.

And the disk labelled astronomy? It contained some programs including a planetarium program named 'Galshow' which I think was a type-in program from a book - I can't find any reference to it online - and a couple of other programs that I wrote in the same style.

Here's the output of a program I wrote called 'Skyplot' for this evening's southern sky (18th Feb 2025). The stars are a little sparse and it took a long time to calculate, but Mars and Jupiter are rougly right. Obviously whatever approximation I had for the moon wasn't really designed to cope with a date nearly 40 years into the future as the crescent moon is *not* currently between Mars and Jupiter. Ah well, can't win everything...
Screenshot 2025-02-18 233833.jpg
Screenshot 2025-02-18 233833.jpg (71.44 KiB) Viewed 2536 times
cheers,

Robin
User avatar
turfpit
Posts: 2280
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: Now for something different - Retrocomputing and data recovery...

#2

Post by turfpit »

Robin

An interesting trip down memory lane - it made me recall some of my early computing experiences:
  • 1970, Numerical Analysis programming with Algol 60
  • 1979, Tandy TRS80, data load/save via cassette recorder later upgraded to a 'stringy floppy', Space Invaders, Asteroids & the Dancing Demon
  • 1981, Single board Z80 computer with 8" floppy drive running CPM 80, graphics card added from a design in Elektor Magazine.
  • 1982, Commodore Pet (6502 processor)
All best left in the past .......

Dave
User avatar
admin
Site Admin
Posts: 17584
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Now for something different - Retrocomputing and data recovery...

#3

Post by admin »

Hi Dave,

in a way it was incredible just how much got done with so little resources available - nowadays I don't really think twice if a simple tool (like the one I have that rebuilds broken AVI files) makes an .EXE file with a size of 50 or 100Mb - it could be made much smaller, but the 'full fat' version means there is no need for the person using it to install other packages to get it to run, so the size is worth it. Back then a useful utility might be less than 1000 bytes in many cases.

We had a Pet at school in the technology department when I started secondary school, and I think there was also one in the University physics labs running some nuclear physics experiment - that would have been 1991 or so... The school also had an RM380Z and a few other weird things in the days before the BBC Micro became standard. By the time I was about 15, there were about 20 BBC Micros in the school computer room linked up with Econet - along with a couple of friends, I wrote a distributed Mandelbrot set calculating program where one machine was co-ordinator and handed out rows of the image to be calculated by the other machines over the network... Happy days!

cheers,

Robin
Jean-Francois
Posts: 858
Joined: Sun Oct 13, 2019 10:52 am
Location: Germany

Re: Now for something different - Retrocomputing and data recovery...

#4

Post by Jean-Francois »

Hello Robin,

Nice to see a Skyplot software ... so with few modifications, you can import it in SharpCap :-)

My first programming steps was with a Casio PB-200 Personal Computer (yes, yes, it is a personal computer ... it is written on it).
https://calculator-museum.nl/calculator ... index.html
I have somewhere the adapter for the saving on audio cassette. I have no idea if I have still somewhere some programs.
I test it now with 2 fresh CR-2032 batteries ... it is still running !

My first real computer was in 1989 at the EPFL. It was an IBM something without hard drive.
It was with two 5.25" floppy discs ... one floppy for the DOS system, the other floppy for data.

Later I used a HP-48 pocket calculator. I have several books with lot of programs and the explanation for machine code.

Then it was the sequence of computer ... maybe 10 different computer (desktop and laptop).
My last laptop is from 2014 and my desktop is from 2020.


Regards,
Jean-Francois
User avatar
admin
Site Admin
Posts: 17584
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Now for something different - Retrocomputing and data recovery...

#5

Post by admin »

Hi Jean-Francois,

ah, good memories - there were some really interesting Calculator/Computer hybrids back in those days. I recall my father had an HP programmable calculator at one point (not the graphing sort, and I don't think it was RPN either, but can't be 100% sure). I also recall some semi portable system with a keyboard and four line display and a paper roll printer... Played Lunar Lander on that one at a fairly young age.

cheers,

Robin
User avatar
morayskies
Posts: 17
Joined: Mon May 15, 2017 1:30 pm

Re: Now for something different - Retrocomputing and data recovery...

#6

Post by morayskies »

Hi

What a real trip down memory lane :-)

My first computer was the Oric. I lashed out and spent the extra (about £40 if I remember correctly) to get the higher spec version which had 48Kb of memory rather than the 16Kb. Programs were loaded from a casette tape recorder (which took for ever and often didn't load at all) and the monitor was a TV set. What's a mouse???

My next machine was the 'green screen' Amstrad PCW8256 with 256Kb (?) memory and the non universal CF2 floppy discs that only Amstrad used. I spent many hours typing in all the routines from Peter Duffet-Smith's book "Astronomy with your personal computer". I seem to remember one of the routines calculated planetary positions. When I ran this it was accurate for Mercury, Venus, Mars but, beyond these planets, it went totally pear shaped. I printed out the entire program (about 9ft long as I recall) on the 9 pin dot matrix printer that came with the PCW8256. You could only just see the characters!! After much searching, I eventually found the problem. In a data statement I had entered a "." instead of a "," not easy to see on a printout from a 9pin dot matrix machine. I did eventually get the whole thing working and saved to CF2 disk. When I wanted to use it, however, it used to take 10min to load.

Then followed the Amstrad PC1512 and a 386SX from a company called Tiny. 1Mb of RAM as standard expandable up to 4Mb at a cost of £40 per Mb!! This was the first PC I had with an HDD - 40Mb worth. Over 20 years later I found myself working as a support assistant in the IT department of a public school in Scotland. It's IT was bad even for that time. A network of about 15 PCs by Research Machines. The stations were all 186s and the server was a 386. Boy was it slow. If a class was coming in, I would have to go round logging on for all the students as it took 10min (1/4 of the lesson) from entering a username to being able to write some text in Microsoft Word (v1) on the stations which had CGI graphics. Couldn't do much image manipulation with just red, blue black and white. I used to hate Friday afternoons. On this afternoon I had the job of backing up the file server (the 386 I mentioned earlier). This involved taking the cover off, slotting in a controller card plugged into an external tape drive which balanced precariously on the PC frame. The back up process involved feeding in about x6 tapes in succession - each tape had a capacity of 30Mb and took forever and then, usually on the penultimate tape, you often got the much feared "Data error on tape." Start the whole process all over again. The tapes used to get physically hot and I could often be seen standing outside waving a tape in the air to cool it down!

Happy days :-)
Clear Skies

Richard
Celestron 6" SCT, SW ED80, Coronado PST (getting old now) SkyWatcher HEQ5 Pro
roelb
Posts: 282
Joined: Wed Mar 08, 2017 11:36 pm

Re: Now for something different - Retrocomputing and data recovery...

#7

Post by roelb »

Hello Robin. Your article brings back a lot of memories.
Back in 1975 my first computing experience was with a old Wang computer with ferrite cores.
https://www.computerhistory.org/tdih/october/21/
https://dayintechhistory.com/dith/octob ... -memory-2/
The programmed software has to be stored on magnetic tapes, similar to the classical music cassettes at that time, but a little more sustainable.
Long programs required multiple tapes to be inserted for consecutive calculations.
I worked at a industrial gearbox manufacturer and made all sorts of software to calculate the geometry and strength of gears according to "AGMA standards for gears". To calculate stresses in drive shafts, bearing life, etc.
Afterwards the first programmable HP "personal computers" were put into use.
In 1985 the first IBM personal computer had appeared with MS Dos
Since then quite a computing development has taken place.
Thanks again for "retro article".
Roel
Celestron Nexstar Evolution 8 with Celestron StarSense & Celestron Focus Motor
Celestron Origin Mark II
ASI533MC-Pro - ASI533MM-Pro
ZWO Seestar S50
CPWI - Stellarium - AstroPlanner - SharpCap Pro - N.I.N.A. - Siril
User avatar
admin
Site Admin
Posts: 17584
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Now for something different - Retrocomputing and data recovery...

#8

Post by admin »

Hi Roel,

thanks for sharing your memories - there is something elegant about the computers and programming from the early days - managing to do so much with such limited resources required real skill and ingenuity.

cheers,

Robin
Post Reply