
QL-SD User Manual
22
communications to the SD card ant try if this will work better for you.
SPI_MODE 0
Switches to the most basic SPI mode, “bit-banged SPI”
SPI_MODE 1
Switches to the medium speed mode, “slow background SPI”
SPI_MODE 2
Switches to high-speed SPI mode, “fast background SPI”
10. Direct Sector Access
For compatibility with existing software that does direct sector I/O on hard disks, the QL-SD driver
supports this facility on native QDOS volumes.
To do this, open the special file "*D2D", as in:
OPEN #3,"SDC1_*D2D"
The driver also allows the shortened form:
OPEN #3,"SDC1_*D"
The channel so opened has the following limitations:
Data must be read or written in 512 byte blocks.
The file pointer is interpreted as a sector (LBA) number, relative to the start of the partition.
Only absolute file pointer movements are permitted.
It is not possible to read a sector beyond the end of the partition. 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 Directory Device Driver with subdirectories. The current
driver uses the „EDDE 2“ core, no longer the initial „QL-SD“ core. For more details, see the
Acknowledgements section. There are further „EDDE 2“ based drivers, e.g. for Ser-USB and Q-
Emulator, which are compatible and work on the same image files.
Important: When working with the QL-SD driver a minimum of 256K expansion memory is
thoroughly recommended. You will be able to use QL-SD on an unexpanded QL, but
possible File system sizes are very limited.
Other versions of the QL-SD driver may also be used with QL clones and QL emulators.
11.1.
Device Name
The name of the QL-SD device is normally
sdc
. If this causes problems on your system, or you
wish to change it for some other reason, you may alter the name of the device with the
SDC_USE
command (changing it to
win
is probably a particularly good idea in order to be compatible with a
Summary of Contents for QL-SD
Page 1: ...QL SD User Manual...