344 Commits

Author SHA1 Message Date
70a7c6f98a ata.c: Fix memory leak in ata_autoselect_xfer Release-40.9 2025-01-27 00:15:36 +13:00
3116ed0251 Merge branch 'dev' 2025-01-26 12:40:01 +13:00
cd842ada0e Tweak Makefile 2025-01-25 23:38:03 +00:00
fd97d49bbe Fix Kick version checks
SysBase->SoftVer contains the revision, not the major version.
2025-01-18 21:26:34 +13:00
329e3baa8d Fixup aide-boot makefile
Older versions of dd don't support oseek
2025-01-08 21:32:53 +00:00
4329264bff Strip lideflash/lidetool and add version strings Dev-40.9-090125 2025-01-07 11:11:48 +00:00
1304cfaa97 Makefile: fixup debug builds 2025-01-07 01:16:29 +00:00
a140763cd1 ata: more read/write optimization 2025-01-07 01:08:30 +00:00
af771f9534 ata: read/write optimization - hardcode blocksize in transfer routines
It will always be 512 anyway, no need to hit memory for every loop iteration
2025-01-07 00:47:07 +00:00
4185bc5b8e ata: optimize read/write functions
Pass the src/dest pointers via registers rather than the stack
2025-01-07 00:44:41 +00:00
2c61c52e28 aide-boot: change bootPri of bootdisk to -127 2025-01-05 10:38:05 +00:00
c6af2ce1f2 Merge branch 'simpleide' into dev 2025-01-05 23:28:27 +13:00
f0f3ca9ee4 aide-bootblock: Floppy BootBlock should rts so that strap can clean itself up
Pass a pointer to the "bootLide" function to be called by strap
2025-01-05 10:28:06 +00:00
58b8953a62 Support SimpleIDE 2025-01-05 12:34:39 +13:00
f9e198ea37 bootblock.S: set EBB_SILENTSTART 2025-01-04 23:32:55 +00:00
0650e97999 Move L_CreateTask to lide_alib 2025-01-04 14:47:27 +13:00
7dfe1edc7e Update README 2025-01-03 23:58:19 +00:00
04af3bd24c Tweak GCC Pragmas 2025-01-03 23:12:52 +13:00
e15fdd1f50 Revert "Fixup L_CreaterExtIO"
It was correct before...

This reverts commit 2a3fc5ec71060b8e127e95c95c04a2b5ecd75e62.
2025-01-03 18:24:22 +13:00
1f479b1fa3 Bootldr: Support loading additional modules from spare flash banks on RIDE 2025-01-03 05:23:56 +00:00
02147b492f Device version and revision now set based on the latest git tag 2025-01-03 05:20:25 +00:00
6b334e9a6b lideflash: Support RIDE 2025-01-03 00:39:33 +00:00
2a3fc5ec71 Fixup L_CreaterExtIO 2024-12-30 09:30:39 +00:00
fd36b49898 Mounter: get blocksize and device type with TD_GETGEOMETRY instead of SCSI READ CAPACITY 2024-12-30 09:22:55 +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
0d2fb8e309 Only start diskchange task if there are actually removable devices present 2024-12-27 09:49:52 +00:00
70e988f222 lideflash: Inhibit DOS devices during programming
On some boards enabling flash writes locks out the IDE registers so flush buffers to disk first and inhibit the devices
2024-12-27 20:17:51 +13:00
6d5dca71ad Move CreateFakeConfigDev to Device init
This is better than doing it in Mounter because mounter would create a ConfigDev for each unit
2024-12-20 01:03:07 +00:00
1277a7253e loadlide bootblock: support HUNK_RELRELOC32 2024-12-20 13:58:18 +13:00
069f4fc1eb loadlide bootblock: support reloc32short and symbol hunks 2024-12-20 13:58:18 +13:00
8b53a665bb loadlide bb: Fix double-free 2024-12-20 13:58:18 +13:00
e0fe00ab6f Check-in loadlide experimental boot disk 2024-12-20 13:58:18 +13:00
b91c92b343 Add loadlide tool 2024-12-20 13:58:14 +13:00
b4c1171ed7 Mounter: Add CreateFakeConfigDev() call to ScanCDROM() 2024-11-25 04:42:15 +00: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
5b3c169ee0 Benchmark units at init and select best transfer method
Which method is fastest will vary depending on the CPU and IDE boards etc, select the fastest one for the system we're running on
2024-11-25 01:40:16 +13:00
f5619de80d Optimization: Move device name and FSRes pointer out of the data segment 2024-11-24 04:07:26 +00:00
2c491c647f lideflash: support additional device types (untested) 2024-11-24 01:25:29 +00:00
d501d5243b Update README 2024-11-17 03:40:42 +00:00
2a504b689e lideflash: fixup bank select for 68EC020-TK2 2024-11-17 00:35:31 +00:00
d463e689f6 lifdeflash: Fixup 68EC020-TK2 detection 2024-11-16 23:56:48 +00:00
68aeb484ef lideflash: fixup for flash_init 2024-11-16 21:23:15 +00:00
b483c6f5ff lideflash: support programming cdfs to 68EC020-TK 2024-11-16 10:36:48 +00:00
68feda0af5 lideflash: remove unnecessary function pointers
I had thought these were needed to support other flash devices but it seems they all support common CFI commands
2024-11-16 07:22:52 +00:00
d4cf9797e6 lideflash: support bank erase on Matze TKs and for devices other than SST 39SF010 2024-11-16 06:24:57 +00:00
9e290261aa lideflash: Support Zorro-LAN-IDESATA 2024-11-16 10:58:43 +13:00
72f4602d2d Add note re: register spacing for logword_movem method 2024-11-14 02:11:11 +00:00
7d2d8defb4 Rename driver.c to device.c 2024-11-13 22:55:53 +00:00