309 Commits

Author SHA1 Message Date
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
22e5a79baf Rework ideunit struct
No need for unit->drive to be a pointer any more
2024-11-13 22:47:57 +00:00
f434a797df Whitespace fixes 2024-11-13 22:36:30 +00:00
MHeinrichs
8e253bcc42 buffer alignment rework 2024-11-14 11:28:24 +13:00
84b3399a76 Merge branch 'dev' 2024-11-14 11:25:53 +13:00
83d15869b5 Replace mungerom.c with a python script 2024-10-30 06:31:39 +00:00
6f4beaa6ce Mounter.c fix ToUpper() - Thanks @shanshe 2024-10-17 09:26:00 +00:00
Matt Harlum
6290c31081 Bump upload-artifact version 2024-09-04 14:16:58 +12:00
dependabot[bot]
6ffeff5b41 Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 14:16:58 +12:00
da19b69566 Fix various things Coverity picked up on 2024-08-30 10:05:06 +00:00
aeb9beb56e Bump device revision 2024-08-30 21:47:40 +12:00
84af91139e lidetool: Add version check for unit struct dump Release-40.8 2024-08-30 09:06:03 +00:00
e040eef914 ATA: Fixup boot delay on 68000
On a stock 68K system, doing 1000 loops checking DRQ is quite slow and will cause a boot delay so when doing an IDENTIFY, only loop 100 times before hitting the timer
2024-08-30 04:00:19 +00:00
fd4045635b ATA: remove "actual" from ata read/write as it's not needed there 2024-08-30 03:58:01 +00:00
6fc2e7d8d4 ATA: Add support for SCSI ATA_PASSTHOUGH command and make use of it in lidetool to get ident data 2024-08-07 09:28:13 +00:00
24b54d9aad ata: Fixup ata_set_pio 2024-08-06 02:43:46 +00:00
6bcee2cf1f lidetool: add options to print device info, set pio mode and specify an alternate device name 2024-08-04 23:22:42 +00:00
366dacd353 Add command to set PIO mode 2024-08-04 23:21: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
116aa2ccfe driver.c: add comment to highlight importance of lun logic Dev-280724 Dev-280624 2024-07-27 11:13:01 +00:00
d44ad48c91 open(): re-add code that returns TDERR_BadUnitNum when lun > 0
Without this, HDToolbox can't detect more than one drive
This regression was introduced with commit: 74202489ffdb5e3bb11b97bbed0d836b6a1231bf
2024-07-27 10:51:35 +00:00
f13e4354ea Add lide.device to the lha 2024-07-23 22:18:41 +00:00
2255414d82 Change error for read past end of device to IOERR_BADADDRESS 2024-06-26 04:49:45 +00:00
434b1fa103 Store device base in cd->cd_Driver
This is not mandatory, but may come in handy to identify the driver base of a particular board
2024-06-26 04:43:35 +00:00
fa7b8a540d Move io length check out of ata_read/write
Also return IOERR_BADLENGTH to satisfy PFS3 sanity check
https://eab.abime.net/showpost.php?p=1690569&postcount=2
2024-06-26 04:42:27 +00:00
6524107bb6 open(): Need to mark the ioreq as complete to prevent hanging.
If the IORequest is not marked as complete at open() then CheckIO will consider it as "in-use" and WaitIO will hang.

This closes #11
2024-06-24 13:34:36 +12:00
d1fe9e98b1 Mounter: fix use after free 2024-06-24 01:25:07 +00:00
ff79c987ab ATA: optimize ata_read/write to improve performance
Optimized the transfer loop. up to 5-6% perf increase measured on Olga
2024-06-24 01:25:07 +00:00
8dffc97e5f Some code tidying 2024-06-24 01:25:07 +00:00
bb3fef1a09 Lideflash: fixup detection of matze tks
This would incorrectly detect the LAN-IDE board as another instance of the Olga accelerator.
2024-06-20 22:33:07 +00:00
ddc263b47f lideflash: updates
* Reboot if needed by board, or requested at cmdline
* Prompt users if they wish to update each board
2024-06-14 22:06:56 +12:00
5c960eb98c Revert "lideflash: no need to disable autoboot to flash 68EC020-TK"
This reverts commit 8b3e0883683d2455aa274d5ca9218cf11e060277.
2024-06-12 08:27:53 +00:00
0773097abd lideflash: fix 68EC020-TK fw version 2024-06-12 09:53:21 +12:00
8b3e088368 lideflash: no need to disable autoboot to flash 68EC020-TK 2024-06-12 09:53:21 +12:00
1d210bf244 lideflash: support Matze 68EC020-TK 2024-06-12 09:53:21 +12:00
bd6d8740bc Olga: Check fw version and disable register overlays 2024-06-12 09:53:21 +12:00