Sinclair QL-SD Скачать руководство пользователя страница 14

QL-SD User Manual

14

because you decided to put everything into the root directory). As QL-SD comes with a fully-
fledged Level 2 device driver, you can use „real“ directories provided you are using at least TK2
(Which normally comes with the QL-SD ROM).

6.2.1. Organise your Disk Space

We would recommend a basic structure that employs a „sys_“ directory that is going to hold
everything that you want loaded at BOOT time using LRESPR. This makes maintenance of file
locations, versions and updates much easier. Another one would be a „progs_“ directory that would
hold all frequently used executable programs that

do not expect a specific subdirectory structure

and

do not store a lot of support files in their program directory (

we just got rid of the mess in the

root directory - you do not want to have it here instead).

Executables that do not fall into this category (Psion Exchange or C68 might be examples) should
go into a directory of their own. Obviously, you would then have to remember where you have put
that program before you would be able to start it - This is where the pth_, dev_ and sub device dri-
vers (see next paragraph) come into play.

Note how the example picked pretty short names for the directory names - Make sure you don’t
choose too long path names for the first level directories - A QL path name is restricted to 36 bytes
of length (not including the „sdc1_“ device name), no reason to waste a single character.

6.2.2. Create a WORK_ directory

With a large disk like QL-SD, it is very easy to end up with a completely cluttered root directory
after some time 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 directory. You want your root directory clean and tidy without having
to search a long time for a file you created last week.

6.2.3. The MAKE_DIR Command

MAKE_DIR is a command that comes with QL Toolkit 2. MAKE_DIR creates a „real“ Level 2
directory on QL-SD (or other Level 2 storage devices). Level 2 directories are special files in the file
system that hold the names of all further files contained in this directory. You can easily distinguish
Level 2 directories from normal files - They are marked with a “->“ following the directory name
when you issue a „DIR“ command on the drive. MAKE_DIR takes one string argument - the full
name of the directory to be created. MAKE_DIR takes account of the TK2 data defaults.

Level 2 directories should be created

before

the actual files that go into them are copied to the

directory - So, if you have a number of files like

sdc1_work_file_asm
sdc1_work_file_rel
sdc1_work_another_file

You might want to

first

create the directory sdc1_work (By issuing the command „MAKE_DIR

sdc1_work“)

before

you actually copy the files there. Doing it the other way round will work just as

well - and move already existing files with matching names into the new directory, but might waste
disk space.

Level 2 directories can be deleted just like normal files using the DELETE command, but only if
they no longer contain any files - You must first make sure a directory is empty before you can
actually delete it.

If you don’t have a proper MAKE_DIR command, the images on the supplied SDHC card have a
binary that implements MAKE_DIR and can be loaded into any QL.

Содержание QL-SD

Страница 1: ...QL SD User Manual...

Страница 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...

Страница 3: ...QL SD User Manual 3 16 Disclaimer 25...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: