Sinclair QL-SD User Manual Download Page 17

QL-SD User Manual

17

the correct disk!)

7.1. Preparing the QL File System Image

The step above has prepared the SD card for use with a PC - You want it to be usable with the QL,
however. So the next step is to create the DOS-File that will actually hold the QL file system. As
mentioned above, QL-SD comes with a number of pre-created file system images of various sizes -
If you can’t find one that suits your specific needs, you can create your own images: A QL image
file can easily be created on a PC using the tool

MakeImage.exe

tool that should have come with

your QL-SD or downloaded from a QL software repository on the internet.

IMPORTANT NOTE:

To keep the driver lean (to fit into the available ROM space) and fast, there is no full
implementation of a VFAT32 file system in there. For this reason, the driver will only work if
the QL_BDI.BIN image file is located in

contiguous sectors on the VFAT32 SD card

partition.

This is most easily achieved by copying the image on a freshly formatted SD card, or at least
on a card that has not had files deleted from it since the last format. Deletion of files will
create small areas of free space that a ‘normal’ VFAT32 driver would collate into larger
space, re-use and allocate to files - That files are called ‘fragmented’ afterwards, because
the sectors belonging to them are not in contiguous space, but instead inter-mixed with other
files’ sectors.

The QL-SD driver is

not able to handle fragmented image files. It is not even detecting

this situation, but will instead happily overwrite areas of the SD card that do not belong to the
image file - And thus might destroy other (PC-related) data on the card.

There are even tools in the PC world to de-fragment a disk (i.e. collate all files into
contiguous space on the disk) - While those tools are available and some of them would
even do the job - It is probably not worth the effort - As a general rule: If you want to put a
QL_BDI.BIN image on an SD card, simply format it first.

Start the tool, press the “New Image” Icon and select a location for the image. You then need to
decide on File system size and Group size (explained below). Press “OK” and you are done. This
new image should be stored on your freshly FAT32 formatted SDHC card under the filename

QL_BDI.BIN

. („BDI“ stands for the term „Block Device Image“ and is also used in the context of a

more general interface for QL file system access from within an emulator.)

The image file must reside in the SD-Card’s root directory. It must not be resized, renamed or
otherwise tampered with other than from the QL or a QL Emulator equipped with a proper BDI
driver. The FAT32 system may contain further files, but caution must be taken so the native QL file
system image is not harmed.

MakeImage.exe needs 4 parameters in order to create the QL disk image for you:

1. Image Filename

: This is the DOS-Name of the image created - It will be shown when you

display a directory of the SD Card from the PC. The name should have the drive and root
directory designation in front of it - Make sure you choose the correct drive (the SD Card) when
you use MakeImage.exe. For the name itself, there is not much of a choice: Current versions of
the QL-SD driver will only pick up image files named “

QL_BDI.BIN

”.

2. QL Medium Name

: Choose the name of the medium that you want the QL to display when

you request a directory listing - Otherwise the name is of no further relevance.

Summary of Contents for QL-SD

Page 1: ...QL SD User Manual...

Page 2: ...fer Using a BDI Driver 13 6 QL SD Usage Recommendations 13 6 1 No more Reboots 13 6 2 Make Directories your Friends 13 6 2 1 Organise your Disk Space 14 6 2 2 Create a WORK_ directory 14 6 2 3 The MAK...

Page 3: ...QL SD User Manual 3 16 Disclaimer 25...

Page 4: ...Miracle SuperGold Card It is thus not recommended to use it together with this extension 3 QL SD is principally incompatible with any software using the ROM slot area The Eidersoft ICE and mICE suite...

Page 5: ...ur data and your peace of mind probably aspects of the hardware and software Should you be willing to explore the commands and procedures described in the latter part of the manual it is assumed that...

Page 6: ...n standard on this SD card it should happily copy all the files across 3 Hardware Installation As QL SD is intended to go inside the QL s case leaving the original stylish outside intact as much as po...

Page 7: ...drive before you can actually start using QL SD Minerva on the QL SD s EPROM is probably the most advanced and bug free versions of all QL ROMs TK2 is a must for every advanced QL user so should be th...

Page 8: ...the inner row of connectors but instead into the outer row on the QL SD socket If your QL SD did not come with the EPROM already inserted use a pair of fine pliers to slightly bend the respective pin...

Page 9: ...the installed QL SD should look like2 3 5 Reassembly Bad manuals would now state Assembly follows the exact steps as disassembly but in the opposite order And we do exactly the same Re Insert the top...

Page 10: ...er of standard size file systems you can and should use to get you going Just pick the one you think that fits you and your QL and rename it on your PC to QL_BDI BIN You can create your own QL_BDI BIN...

Page 11: ...it is thoroughly recommended to start with the 64MB file system image and explore your actual requirements before building your system 4 2 Installing the File System This is probably the easiest step...

Page 12: ...r map and write that as well Once the UMOUNT command returns and the drive LED is off you can safely remove the card After inserting a new card properly formatted and with a proper BDI image on it iss...

Page 13: ...ays and are heavily sought after If you watch the prices for used devices on popular auction platforms they are often even higher than what the equipment used to cost new decades ago So there must be...

Page 14: ...of work Make sure that when you start a new project programming word processing whatever you create a new directory under sdc1_work_ and put everything that belongs to that project into that director...

Page 15: ...ould also be thoroughly recommended Instead of searching the lost file yourself the computer can do it for you pth_ is useful for having the computer find the files you want to execute spread across a...

Page 16: ...PC or other modern day hardware will not be possible in this mode The actually recommended method is to use the card in a mode that most QL emulators do The QL file system resides in a large file on...

Page 17: ...d thus might destroy other PC related data on the card There are even tools in the PC world to de fragment a disk i e collate all files into contiguous space on the disk While those tools are availabl...

Page 18: ...everything bigger than 256MB 32 for 512MB and up Really large images what would they be good for should use a Group Size of 64 By the time this document is written there is really no stable opinion o...

Page 19: ...ons The QL SD driver EDDE 2 core installs the following new procedures and functions into S BASIC SDC_START MOUNT UMOUNT SDC_USE SDC_BASE SDC_VER 8 1 SDC_START Activates the QL SD driver in case activ...

Page 20: ...drive most probably the only one is MOUNTed automatically So there is no need to do this manually Please refer to the paragraph on SD card changes for guidance on how to use this command properly Exa...

Page 21: ...is zero this function returns the full driver version string including core driver build number and status as a string Valid values for Mode are 1 the four character hardware version string is return...

Page 22: ...ition Any attempt to do so will return End of File Note that no files can be open on the logical drive with which you wish to perform direct I O 11 QL SD Driver The QL SD driver implements a Level 2 D...

Page 23: ...the driver from loading If you hit a key in time this message will be displayed Load driver with SDC_START command The QL can then be booted as normal by pressing F1 or F2 If you then wish to load th...

Page 24: ...ver startup As QL SD lives in ROM space there is actually no direct way for the QL 68008 CPU to write access the QL SD registers A write of one single byte to QL SD is thus initiated by a read acess t...

Page 25: ...e QL SD EDDE 2 driver software is Copyright by Adrian Ives Andrew Reed Phil Borman and Peter Graf QL SD EDDE 2 is free software under the terms of the GNU General Public License as published by the Fr...

Page 26: ...erience who might be able to support you QL SD is intended as a community project where people help each other to fix problems The QL Forum http www qlforum co uk or the QL Mailing lists might be a go...

Reviews: