Commits (8)
-
Robert Sprowson authored
Would only trigger if ADFS was being run on an ARMv7 but using an old style FileCore that didn't support the new error scheme, hence mostly for completeness. Spotted by Jon Abbott, ref https://www.riscosopen.org/forum/forums/4/topics/3682 Typo in error string corrected in passing. Version 3.49. Tagged as 'ADFS-3_49'
c57300a1 -
Robert Sprowson authored
ADFS 3 is currently both a filing system and a hardware poker, so have it own the PATA device for now as a stepping stone to a PATADriver module; export the header. No longer call HAL entries, look for the HAL device, activate, and call that instead. At API 0.00 it just has the exact same 3 functions as the previous HAL entries only refactored to pass a device pointer in R0. Makefile/IDEDevice.hdr/ADFS.s/Adfs00.s: Export, include, and reserve workspace. Adfs12.s/IDEDetect.s: Refactor function calls. Messages: Unrelated correction to pluralisation of 'Sectors'. Adfs50.s: Hunt for the IDE controller device. Fix oflaofla error if run on a non HAL machine - OS_Hardware errors but the ErrXFree code label expects the error pointer in R9 not R0. Tested in an IOMD build. Version 3.50. Tagged as 'ADFS-3_50'
606d918f -
Robert Sprowson authored
Last minute new label 'Errfree' was not assembled in when FloppyPCI was true. Retagged as ADFS-3_50.
74deb4a5 -
Jeffrey Lee authored
Detail: s/Adfs12, s/IDEDetect - Ensure R12 is preserved over HAL device calls, the calling conventions allow the HAL to clobber it Admin: Tested on Iyonix Fixes abort during ROM init Version 3.51. Tagged as 'ADFS-3_51'
c10bb669 -
Jeffrey Lee authored
Detail: s/Adfs50 - Ensure R12 is preserved across HAL device calls, the calling conventions allow the HAL to clobber it Admin: Tested on Iyonix Fixes abort during ROM init Version 3.51. Retagged as 'ADFS-3_51'
c5bab079 -
Robert Sprowson authored
CDFSSoftATAPI 1.35 and later uses symbols instead of magic numbers for ADFS_IDEDeviceInfo and ADFS_ATAPIOp, export them here so this combination builds. Version 3.52. Tagged as 'ADFS-3_52'
8eb13bdf -
Robert Sprowson authored
Don't assume that the disc address to MiscOp_Mount is always &C00, in order to locate the hardware-dependent information (see PRM 2-215), calculate the offset properly. This fixes a problem that FileCore 3.74 triggered where the LBA flag was no longer being recovered now the alignment of the request in R2 has changed, causing some drives to no longer mount if they also don't support CHS addressing. Strictly speaking there's no guarantee that FileCore is even asking for the boot block at all; ADFS should read the sectors itself before fulfilling the request, but historically it's always assumed that the boot block was being read, so let sleeping dogs lie. Ref https://www.riscosopen.org/forum/forums/4/topics/9390 Version 3.53. Tagged as 'ADFS-3_53'
b95e07bc -
Jeffrey Lee authored
Detail: Early versions of the ATA spec mandated that drives should assert DRQ within 700us of a write command being issued. However later versions of the spec have dropped this limit, and some devices (e.g. CF cards) are known to regularly exceed the limit. Remove the 700us timeout from ADFS, so that these devices can operate correctly. s/Adfs14 - Modify DRQ timeout check so that it will fall back to polling from TickerV if the initial 700us loop times out. s/StaticsIDE - Add extra word to workspace, so that the TickerV routine can still timeout the operation Admin: Tested on IOMD (~4M FSBash ops), Tungsten (~500K FSBash ops) Fixes "disc error 20" seen when using IDE-CF adapter on RiscPC, thanks to reasarch by Jon Abbot: https://www.riscosopen.org/forum/forums/4/topics/9557 Version 3.54. Tagged as 'ADFS-3_54'
e527e619
Showing
No preview for this file type
hdr/IDEDevice
0 → 100644