Index | 512 Forum | About the Master 512

Public Domain Software (part of article in Vol.11 No.7 - Dec 1992)

This month, Alan Blundell goes to some trouble to acquire the oldest public domain software in existence.

THE BIBLE

I'm not really sure how the term 'software' should be defined; my own understanding used to be that it was the stuff which made the hardware work but the word seems to have been extended in use to mean anything which can be recorded on computer storage media (i.e. discs or tape). If this latter definition is acceptable, then I have recently come across the oldest item of computer software in the world.

I recently had a request for a copy of the Bible on disc, from someone who was unable to read the book for himself, so that he could 'read' it via a speech synthesiser attached to his Master. I had no knowledge of such an item being available and didn't fancy the prospect of quickly tapping in a few million words, so I reluctantly said that I couldn't help. A short time later, I received in the post a set of 6 MS-DOS discs containing the full text of the King James version of the Bible (both old and new Testaments), together with an index, an efficient search and text retrieval program, and a lengthy text file which constituted a full manual for the software. The whole package is available as public domain software for PCs.

My first reaction was to see if the package would work on a Master 512 co-processor. The short story is that I don't think it does, but the long story is as follows. The 6 DOS discs contained a set of compressed archive files, which first had to be extracted from their archives. The archiving utility used was PKZIP, a utility which should be familiar to all Master 512 users. PKZIP is, at least in my opinion, the best of a range of utilities for DOS which efficiently compresses and combines any set of files into a single 'archive' file. The result is a massive saving on disc space, often around 60%-70%, together with a tidy means of distributing a package (only one file to copy instead of possibly dozens).

PKZIP is shareware and is fully compatible with the Master 512, using DOS Plus 2.1 and a second copy of COMMAND.COM. It is surprising if no similar PD or shareware utility has been produced for the BBC; apart from the benefits of compression, it would be an ideal means of overcoming the 31 file limit for DFS users. I am aware of two such utilities for the BBC which are 'going the rounds' but have never been able to confirm that either is actually public domain. If anyone can help, I would be pleased to hear from them.

Back to the Bible. PKZIP was actually only the first hurdle to overcome; once the archives had been restored (with PKUNZIP), I was left with a set of installation files which were themselves compressed, this time using LHarc, another DOS archiving utility. This in itself would not have been a problem (LHarc also works on the 512), but the arcane installation program actually made it impossible simply to unarchive those files and be left with a usable set of programs and data. The installation program itself is not 512 compatible, producing a range of unusual error messages. The reason I am not fully certain that the package does not work on the 512 is that, if these installation problems can be worked around, the package itself may actually work.

Having made a mental note to have another go at that sometime, I changed tactics and installed the package on a 'real' PC's hard disc. Having done that, I found that the package itself was quite impressive in its features and speed of searching for specific passages of text. However, here came the next problem; the Bible itself was stored in yet another compressed form, this time keyword coded with an index file of the relevant words, so it took some time to find a way of extracting the full text. I eventually managed to get there (or else there would have been no point in telling the story) with a single file about 5Mb long. The Bible is quite long, but obviously such a file was no practical use on your average BBC Micro!

The final result of my efforts was a set of 8 ADFS L-format discs containing the Bible separated into the individual Books, from Genesis to Revelations. A few of these are split again into more manageable files; the half megabyte of Psalms is split into three files. The most impressive part of the whole thing was the fact that all of this text, together with a search program, a 150K manual, a comprehensive index and cross-reference information was all originally squeezed onto just 6 360K DOS discs!

That was probably (no, hopefully) the biggest conversion job I have ever undertaken. The final part is still not done: if anyone fancies an ambitious programming challenge which could be put to good use, how about producing a search and text retrieval program to work on these text files now that they are available on the BBC? The BBC Micro has a number of blind users who benefit from the use of a speech synthesiser. I know of one person who would make use of such a program, and there may be many more.

Index | 512 Forum | About the Master 512