46 Commits

Author SHA1 Message Date
eb8364fdbb Re-organize and tidy up
No functional changes

* Move + Rename scsi command emulation out of idetask to scsi.c
* Move ATAPI SCSI command handling out of idetask to atapi.c
* Rename idetask to iotask
2025-08-03 09:37:29 +00:00
e1fa8190d4 Remove function attributes (used/saveds)
lide doesn't use fbaserel and the used attribute is not needed
2025-07-05 03:28:11 +00:00
cd842ada0e Tweak Makefile 2025-01-25 23:38:03 +00:00
4329264bff Strip lideflash/lidetool and add version strings 2025-01-07 11:11:48 +00:00
1304cfaa97 Makefile: fixup debug builds 2025-01-07 01:16:29 +00:00
58b8953a62 Support SimpleIDE 2025-01-05 12:34:39 +13:00
02147b492f Device version and revision now set based on the latest git tag 2025-01-03 05:20:25 +00:00
09e79c5689 Fixup git reference when run by GH Actions 2024-12-29 11:19:59 +00:00
d948ac919b lide-update.adf: Remove bootblock code
The 2.x compatible bootblock code already behaves in the desired way
2024-12-27 10:47:25 +00:00
b91c92b343 Add loadlide tool 2024-12-20 13:58:14 +13:00
cbeb5e5cbc Mounter: Support fake ConfigDev
Needed when booting from non-autoconfig devices / ROM
2024-11-25 01:30:46 +00:00
a3900a01ee Refactor to get rid of BSS & Data hunks
This should allow the code to run directly from ROM (i.e a custom kickstart)
More changes are needed to complete that support (finding the board, correct priority needed for the romtag etc)
2024-11-24 21:31:53 +00:00
7d2d8defb4 Rename driver.c to device.c 2024-11-13 22:55:53 +00:00
b38f7aa209 ata: remove move16 transfer routine.
Apparently move16 is buggy in some system configurations, best to avoid it completely
2024-07-27 12:59:54 +00:00
f13e4354ea Add lide.device to the lha 2024-07-23 22:18:41 +00:00
c253ffdc35 Update Makefile 2024-06-02 14:46:01 +12:00
fc7e6594ec Add custom bootblock for lide-update
Fix weird issues when booting on OS 3.2
2024-06-02 14:46:01 +12:00
4cd14f1267 Fixup build date format & add git rev to device id string 2024-06-02 14:46:01 +12:00
0f4fe926c2 Add lide.device to lide-update.adf 2023-12-19 16:26:15 -08:00
05795b28cc Built byte-swapped + split roms for N2630 2023-12-09 14:19:29 +00:00
43a226f63a Add lidetool to makefile 2023-12-02 15:40:37 +00:00
2903ea200a Fixup Makefile whitespace 2023-11-30 13:59:15 +01:00
4565798ef2 Add command CMD_XFER to set transfer method for a unit 2023-11-30 13:59:15 +01:00
84ad4bc01e Add build option to set name to scsi.device 2023-11-30 13:59:15 +01:00
4bab63d242 Add renamer: tool to rename to scsi.device 2023-11-17 14:06:01 +01:00
07931d2822 Debug: Add traceCommand
Prints IO Command return status if enabled
2023-11-12 21:18:32 +00:00
95476056f2 Make workflow: Add version/git tag to lide-update disk filename 2023-11-06 20:34:00 +00:00
cf972552a9 GH Actions: Build LHA file 2023-09-16 19:34:20 +02:00
41a67ccca0 Ignore RDBFF_LAST
I don't think this is needed with an IDE interface that already knows how many units there are...
2023-08-26 15:40:13 +00:00
07ffd4e0da CD Boot: Boot from CDROM if CDFilesystem is resident 2023-08-26 15:40:09 +00:00
b07f7f4f19 Add generic lideflash tool and update disk 2023-08-21 19:32:46 +00:00
6df2d32111 Add bootrom code 2023-07-11 11:03:12 +00:00
c48d86ff89 rename to lide.device 2023-04-30 08:53:29 +00:00
e66209a0b2 Set object name to liv2ride.device 2023-04-17 12:20:22 +00:00
72ad87f6b8 Tidy up, split atapi to it's own file 2023-04-09 20:37:55 +00:00
39358717c8 ATAPI seems to work now... need to stress test 2023-04-04 19:58:22 +00:00
601c5d2c39 initial atapi 2023-04-03 07:53:45 +00:00
Matt Harlum
96689d744e Test for drive fault as well as error 2023-03-31 10:05:38 +00:00
Matt Harlum
c901c4ea39 Do scsi sense 2023-03-31 09:49:36 +00:00
30b5d74037 Calculate geometry for large disks 2023-03-31 07:46:35 +00:00
16179bacbd Kick 1.3 fixup
I hadn't realised "GetSysTime" was only available in 2.0+...

Also disable timeout in DRQ wait after drive(s) have been configured as it halves throughput.
2023-03-29 17:35:41 +00:00
45db8c4b21 Fixups
* Optimizations for size etc
* Make endskip actually skip to the end
* Save last ATA Error
* Remove need for divide by using right shifts
2023-03-28 19:20:40 +00:00
a00a856c05 Add Mounter 2023-03-27 22:12:54 +00:00
dbd8bf6642 Moar work 2023-03-26 22:31:20 +00:00
cdcb9b04d9 pokey poke 2023-03-21 21:22:50 +00:00
356e15900c Initial commit. 2023-03-16 15:05:00 +00:00