8-Bit Software

The BBC and Master Computer Public Domain Library

Tools Disc and BASIC

Back to 8BS
Thanks to Shawty for the tools on this page

by Liam Corner, Robert Schmidt, Dan Little and Mark Usher

by Andrew De Quincey

BBC Disc Content Extractor
by Currently unknown
No documentation

BBC Tape to PC
by Robert Schmidt

Web Based Disc Viewer in Action
Web Based Disc Viewer Download
by Shawty

Info for Web Based Disc Viewer by Shawty:

JavaScript/HTML5 based Single sided BBC Disk image viewer

What is it?

Nothing particularly special, but if you have a collection of SSD based DFS disk image files from a BBC Micro (or emulator)
it allows you to list your image files on your website using nothing more than pure HTML (It doesn't need PHP/C#/NodeJS or
anything similar)

It also allows you to list the files inside the image, and provides a means to download either the full image or just a
single file from inside the image.

Files are download with a name that preserves the BBC file attributes as follows:


<dir> is ommitted if the file is in the root '$' directory.

How to use it

There are 2 files 'index.html' and 'disks.json'.

index.html is the main viewing HTML page, drop it in a web accessable folder on your web server, then access it via a browser as normal.

PLEASE NOTE: it CANNOT be run directly from disk, as the security model built into modern browsers will not allow the code in the page to
load the disks.json file. There are ways round this, by embedding the json data directly in the HTML web page, however you will still
then have the same problem loading the disk images, if your running this locally you'll need to run it via a server such as "Apache", "Nginx",
"Light HTTPD" or "IIS".

NOTE 2: The HTML & JS require a fairly modern HTML5 capable browser to run, they WILL NOT run in an HTML4 or less browser, and they do require JavaScript
to be enabled, in order to work. Anything IE10, FF45, Chrome 45 or above should be fine.

open the 'disks.json' file in a text editor of your choice, and you'll see that it's a simple javascript data format.

Each line is enclosed in [] and seperated by commas, each line forms a single javascript object that describes a single disk image

{ "name": "tbi55-1.ssd", "diskTitle": "Dreamscape Demo", "diskType": "Single Sided" },

in this example, the disk image name is "tbi55-1.ssd" the title (Displayed in the table in the HTML) is "Dreamscape Demo" and the type is "Single Sided"

At present, the code ONLY supports single sided disks. I may at some point get time to expand it to double sided, and even ADFS formatted disks, but for
now this is all I had time for.

once you've listed your disks in 'disks.json', place the file in the same folder as your html file, create a folder called 'disks' and add your images
into that folder.

When done, point your browser at the server you placed it on, and you should be able to see your disks and thier contents listed.

Bonus Stuff

You'll also find a zip file called "phpdfs.zip", in this zip you'll find some not quite complete PHP server scripts that perform the same function as the
HTML viewer, but instead require a PHP enable server to use.

As with much of the stuff like this, I really don't have any time to support it, what you see is what you get and I assume a reasonable level of
technical competence by anyone playing with any of this stuff.

That said, you can generally get an answer from me as "@shawty_ds" on Twitter, or as "shawty.d.ds@googlemail.com" on GMail.

Back to 8BS