- Features
- Supported hardware
- Downloads
- TerribleFire TF1260/TF4060 (Experimental)
- Boot from CDROM
- Large drive (>4GB) support
- Hardware Implementation
- Building / Development
- Contributing
- Acknowledgements
- Third-party notice
- License
- Autoboot
- Works with Kickstart 1.3 and up
- Supports 2TB+ drives*
- Supports ATAPI Devices (CD/DVD-ROM, Zip disk etc)
- Boot from ZIP/LS-120 etc
- Boot from CD-ROM*
- SCSI Direct, NSD, TD64 support
lide.device supports the following devices:
- CIDER
- RIPPLE
- N2630
- SF2000
- SF500
- Dicke Olga
- 68030-TK2
- 68EC020-TK
- Zorro-LAN-IDE
- Zorro-LAN-IDE-SATA
- CDTV-RAM-IDE
- AIDE
- AT-Bus 2008 and clones
- TerribleFire TF1260/TF4060 (Experimental)
This list is not exhaustive, lide may also support other devices that implement the same IDE interface as Matzes TKs
Let me know if there's something that should be added to this list!
ROM downloads are available under releases
lide-update-<version>.adf is a boot disk that can update the IDE rom on the following boards:
aide-boot-<version>.adf is a boot disk for the AIDE interface by Matze.
This interface has no boot rom so the driver must first be loaded from disk or added to a custom kickstart.
lide-update.lha contains the AIDE-lide.device file which can be used with LoadModule or added to a custom ROM.
Releases contain the following builds
| Filename | Boards supported | Notes |
|---|---|---|
| lide.rom | CIDER RIPPLE RIDE |
Update by booting the latest lide-update adf under releases |
| lide-N2630-high.rom lide-N2630-low.rom |
N2630 | Follow the N2630 documentation to combine LIDE with the N2630 ROM |
| lide-atbus.rom | AT-Bus 2008 and clones Dicke Olga 68030-TK2 68EC020-TK CDTV-RAM-IDE Zorro-LAN-IDE |
ROM must be repeated as many times as needed to completely fill the flash i.e: xxF010: 4x xxF020: 8x xxF040: 16x |
Support for the IDE port on the TerribleFire TF1260 and TF4060 accelerators is experimental and has had limited testing, make sure you have a backup of your data before using it.
The driver can be loaded from disk with LoadModule or added to a custom
Kickstart. For TF4060 firmware archives,
replace_tf_ide.py can replace the embedded ehide driver
with TF-lide.device in a copy of the release ZIP.
The driver for these boards is TF-lide.device, it will only attach if a TerribleFire board is found, otherwise it does nothing.
TF-lide.device is available under releases and is also included in lide-update.lha
Differences from the other supported boards:
- The ordinary data port uses word accesses (
word_move) - PIO mode 3/4 is selected if the drive accepts it
- TF4060 IDE and interrupt registers follow the board's configured address; older TF boards use the fixed IDE window
- Capable TF4060 firmware uses host timing selected for the slower of the attached drives, with the original timing retained for other devices
- On TF4060 firmware advertising the read block mover, aligned reads into
TF RAM use hardware transfers with cache maintenance. Other buffers and
all writes use CPU copies.
lidetoolreportstf_block_movefor this mode - Reads and writes poll briefly before waiting on the drive interrupt, with a timer bounding the wait
Use lidetool -u 0 -m 2 to select CPU word copies, or -m 3 to enable
the TF4060 read mover where supported. Add -d <device> when using a
device name other than lide.device. Host timing can be reduced separately
with -P 3.
lide.device supports booting from CD-ROM but requires a CD Filesystem to be loaded for this to work.
There are a few options:
ODFileSystem(Recommended) Added to the IDE/Accelerator ROM (subject to board support)CDFileSystemfrom AmigaOS 3.2.2 loaded with LoadModuleBootCDFileSystemfrom OS 4 either:- Added to a custom Kickstart ROM OR
- Added to the IDE/Accelerator ROM (subject to board support)
The following boards support loading ODFileSystem from ROM:
- RIPPLE
- RIDE
- 68EC020-TK
- 68030-TK2
The rom version of ODFileSystem is included on the lide-update adf in the file named odfs.rom
This must be flashed to the second bank of the ROM.
This can be achieved on RIPPLE and 68EC020-TK boards using lideflash i.e
lideflash -C odfs.rom
For other boards (i.e 68030-TK2) place odfs.rom immediately after lide-atbus.rom when programming the flash
For drives larger than 4GB it is required to use a Filesystem that supports TD64, NSD or SCSI-Direct
The default FFS in OS 3.1 does not support these, and use of this above the 4GB boundary will result in data corruption!
For drives larger than 2TB do not place partitions past the 2TB boundary! this will lead to filesystem corruption
There are several options for larger drive support
Also make sure to use the "Quick Format" option when formatting such partitions
- IDECS1 asserted at offset 0x1000
- IDECS2 asserted at offset 0x2000
- A secondary channel is supported when the second channel's IDECS1 is decoded at offset 0x2000 and IDECS2 of both primary and secondary channels is pulled high
- D15/14 pulled up with a 10K resistor to allow detection of floating bus when no drive present.
- IDE A0/1/2 connected to CPU A9/10/11 providing 512 Byte separation of registers to allow for MOVEM trick
- No interrupts
- IDE interface is byte-swapped
- Buffered interface
- Configure as a 128K board to permit loading CDFS from ROM (Optional)
- Hardware support of programming the flash (Optional)
A reference design for this is the RIPPLE project
See DEVELOPING.md for build requirements and instructions, including a Docker-based quick start and VS Code Dev Container setup.
See CONTRIBUTING.md, which includes the Contributor License Agreement that applies to pull requests.
This driver uses the movem based fast read / write routines from Frédéric REQUIN's at_apollo_device
The release of the open source at_apollo_device inspired me to work on this.
It is based on jbilander's SimpleDevice skeleton.
Thanks to Stefan Reinauer and Chris Hooper for the Open Source A4091 Driver which has also been a good source of inspiration for this project.
Chris' devtest has also been very helpful for testing the driver.
Thanks to Olaf Barthel for providing code and valuable advice to improve the driver.
Thanks to MHeinrichs for contributing improvements to the driver.
reloc.S is adapted from the A4091 open-source driver and is Copyright Stefan Reinauer
mounter.c adapted from the A4091 open-source driver and is Copyright 2021-2022 Toni Wilen
The fast read/write routines for ATA devices are adapted from Frédéric REQUIN's at_apollo_device
odfs.rom, included in releases and on the update ADF, is taken unmodified from the upstream ODFileSystem release page and is Copyright Stefan Reinauer
decompress.S - The ZX0 data compression format and algorithm was designed by Einar Saukas.
All software contained that is not provided by a third-party is covered by a GPL 2.0 Only license
lide.device is licensed under the GPL-2.0 only license