The following information contains all of the NEW commands for the Miracle Systems GOLD CARD, which has been extracted from the Gold Card Supplement of the Trump Card manual.
After power up the QL will appear to do 2 resets. During the first reset the GOLD CARD reads its code from the QL ROMS. Their contents are then copied over to the GOLD CARD RAM and patched. A second reset is then run that checks all the memory. To auto-boot from disk make sure that the disk is in FLP1 before the F1/F2 prompt appears.
Disk Densities
The GOLD CARD can interface with Double Density (DD), High Density (HD) and Extra high Density (ED) disk drives. DD is the standard for the QL as supported by the Trump Card. To use the higher densities you must use the appropriate disk and the appropriate drive. The GOLD CARD will automatically detect which type of disk it is working with when reading and writing but works on a trial and error basis for determing the density of a disk when FORMATing. It is possible in exceptional circumstances that a disk could be formatted to a density higher than its normal density. To prevent this the maximum density that a disk can be FORMATed to can be set by the command:
FLP_DENSITY "type"
Where “type” is as follows:
Diskette Capacity "Type" Single Sided, Double Density 360 Kilobytes "S" Double Sided, Double Density 720 Kilobytes "D" Double SIded, High Density 1.44 Megabytes "H" Double Sided, Extra high Density 3.2 Megabytes "E"
This table refers to 3.5″, 80 track disks. The 5.25″, 40 track, double density PC compatible disks are of “D” type.
The disk type set by FLP_DENSITY remains in force until the next FLP_DENSITY. It can be temporarily overriden by appending “*type” to the name in the FORMAT command, e.g.
FORMAT "MIRACLE*H"
would format the disk to a size other up to HD and give the disk the name “MIRACLE” regardless of the previous FLP_DENSITY. Note that the name excluding the “*type” can be up to 10 characters and that after a RES_128 or RES_SIZE 128 instruction only DD is available.
Sub-directories
Hard sub-directories can be created using MAKE_DIR, e.g.
MAKE_DIR "FLP2_letters"
After executing this command, the command
DIR FLP2_
would show amongst its output file “letters ->” signifying that “letters” is a sub-directory. Further, copying a file to “FLP2_letters_bankmanger” will create a new file in the “letters” sub-directory.
DIR FLP2_letters_
would show one file “letters_bankmanager”.
To remove a sub-directory first delete its contents and then delete the directory itself. COPY and WCOPY deal only with files at the specified directory level. Sub-directories can also be applied to RAM disks. Please note that sub-directories should not be put on disks that are to be used with a TRUMP CARD system.
Disk drive step rate
The step rate is set automatically by the GOLD CARD to be 3ms for an 80 track drive and 6ms for a 40 track. This can be overridden using FLP_STEP. If only one parameter is given then this step rate is applied to FLP1 only, e.g.
FLP_STEP 12
will set the step rate on FLP1 to 12ms. When 2 parameters are given then first is the drive number and the second the step rate, e.g.
FLP_STEP 3.6
will set FLP3 to step at 6ms. Repeated seek errors cause the step rate to be slowed.
RAM size
There are a small number of programs that do not work if there is too much memory in the QL. The memory seen by QDOS can be reduced using the RES_SIZE command taking a single parameter denoting the number of kilobytes required, e.g.
RES_SIZE 896
will cause the QL to reset to give a capacity of 896K making the system look as though there is a TRUMP CARD 768K installed. A single reset sequence occurs after this command. The command:
RES_SIZE 128
is identical in operation to RES_128. Resetting to this size has two other effects: only Double Density disks can be used and PROT_DATE 1 is executed.
Battery Backed Clock
When the GOLD CARD is first installed, the clock will need setting. This is done simply by using the SDATE command in the normal way, e.g.
SDATE 1991,7,25,15,30,0
will set the clock to July 1991, 15:30:00. The time will be maintained by the GOLD CARD after power is switched off. Removal of the GOLD CARD from the QL can cause the time to be lost. The commands SDATE and ADATE and the corresponding QDOS calls affect the GOLD CARD clock. The GOLD CARD clock can be protected by using PROT_DATE, e.g.
PROT_DATE 1
In this protected state all operations involving the clock only use the QL’s clock.
On power up or reset (except a RSE_SIZE 128) the equivalt of
PROT_DATE 0
is executed which allows the GOLD CARD clock to be modified. The QL clock is set to the GOLD CARD time at reset. The battery in the GOLD CARD should keeep the clock going for about 5 years.
QL HARD DISK Extensions (for QL HARD DISK users only)
All of the QL HARD DISK extensions contained in the “WIN_REXT” file have been included in the GOLD CARD ROM and there is no need to load this file when the GOLD CARD is fitted. Instead, just type TK2_EXT. Also there is no WIN_EXT command.