- Features
- Supported hardware
- Downloads
- Boot from CDROM
- Large drive (>4GB) support
- Hardware Implementation
- Building / Development
- Acknowledgements
- Third-party notice
- License
- Autoboot
- Works with Kickstart 1.3 and up
- Supports up to 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
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 |
lide.device supports booting from CD-ROM but requires a CD Filesystem to be loaded for this to work.
There are a few options:
CDFileSystem
from AmigaOS 3.2.2 loaded with LoadModuleBootCDFileSystem
from 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 BootCDFileSystem from ROM:
- RIPPLE
- RIDE
- 68EC020-TK
- 68030-TK2
BootCDFileSystem
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 BootCDFileSystem
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!
There are several options for larger drive support
Also make sure to use the "Quick Format" option when formatting such partitions
- IDECS1 is asserted when A12 is low and the IDE device's base address is decoded
- IDECS2 is asserted as above but when A13 is low rather than A12
- IDECS2 can instead be routed to a second IDE channel as it's IDECS1 and the driver will detect this
- IDE interface is byte-swapped
- Buffered interface
- 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
- 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
Building this code will require the following
The easiest way to get a working build environment is to use Docker You can build inside docker as follows:
docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} stefanreinauer/amiga-gcc:latest make clean all
If you are using VS Code you can install the "Dev containers" extension which will allow you to develop with the environment ready to go.
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
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