1. 26 Feb, 2020 1 commit
  2. 21 Oct, 2012 3 commits
    • Robert Sprowson's avatar
      Reinstate floppies on IOMD platform · 6f1f3934
      Robert Sprowson authored
      ADFS.s:
        Remove redundant header file.
      Adfs05.s/Adfs15.s:
        Group the options a bit more simply, use {TRUE} and {FALSE}.
      Adfs12.s/BusMaster.s/IDEDetect.s:
        Use defines instead of magic numbers.
      Adfs17.s:
        Organise the offsets from the floppy controller to cover both PCI and IO based controllers.
        Only do the dummy read from the PBI on Tungsten.
      Adfs18.s:
        Implement the FIQ equivalent of the 'FlpUseVerify' command switch, modern controllers (!) have a built in verify rather than using a sector read, but the verify command has no data phase and the FIQ handler was sitting waiting for a sector that never arrives.
        Rationalise FlpDRQmask and FlpDRQmaskbit.
      Adfs19:
        Rationalise the calls to OS_Hardware by rejigging the assembly time switches.
        Reinstate the non HAL version of IRQ enable for reference.
        On RPCEmu 0.8.8 and 0.8.9 the emulator hangs during the four set of DCB's used to autodetect the drive (Recalibrate/Seek/Seek/Sense) which seems to be due to the way the emulator splits CPU time to floppy emulation time, to avoid this we wait 128us (real time) which is enough emulated time for the controller to have changed state. You probably just want to *CONFIGURE FLOPPIES 0 though.
      
      Tested om A7000, ARM610, StrongARM manipulating a veriety of disc densities for read and write. Also ran the "Test/TestADFS" test program.
      RPCEmu 0.8.8 and 0.8.9 boots still, but no attempt has been made to use emulated floppies.
      
      Version 3.46. Tagged as 'ADFS-3_46'
      6f1f3934
    • Robert Sprowson's avatar
      Tabs expanded · e7c1bd3c
      Robert Sprowson authored
      Assembler source uses spaces round here in general, follow suit.
      Not tagged.
      e7c1bd3c
    • Robert Sprowson's avatar
      Tidy up pass · 8dd5e237
      Robert Sprowson authored
      ADFS.s:
        Redundant header files trimmed
        Get OsWords and OsBytes
        Switches rationalised
      ADFS_SA.a
        Removed ARM810 support
      Adfs00.s:
        Unused MEMC flag removed
      Adfs05.s/Adfs12.s/Adfs13.s/Adfs14.s/Adfs15.s/Adfs19.s:
        Use defines instead of magic numbers
        Make use of FileCore exported bit fields
      Adfs17.s/Adfs18.s/ConstIDE:
        {TRUE} and {FALSE} used with objasm
      Adfs20.s
        Use AND of the opmask instead of BIC of all the flags except the opmask
      Adfs50.s
        Unused MEMC flag no longer initialised
        Make use of FileCore exported bit fields
        Service call table reordered so the Ursula despatch doesn't incur a branch
        OsByte defines used
      Consts:
        Removed those definitions now duplicating FileCore's exports
      DebugOpts/Fixes:
        All options brought under one roof
      ModHeader:
        Now uses VersionNum directly
      Ver/*:
        Redundant switches deleted
        Removed used of 'Version' header
      
      
      Version 3.45. Tagged as 'ADFS-3_45'
      8dd5e237
  3. 13 Apr, 2012 1 commit
    • Ben Avison's avatar
      Minor bugfix to MiscOp 1 for '765 floppy disc driver · 138040d0
      Ben Avison authored
      Detail:
        If the sequence number did not have the expected value on entry (i.e. the
        caller had missed at least one state change) then the driver always reported
        Changed, even for floppy drives without a working disc changed line. This
        was the only time when Changed was reported for such drives - now it reports
        MaybeChanged in this case, which is consistent with the 1772 floppy driver.
        Also removed the confusingly-named (and unused) symbols DefectStruc and
        DefectCheck, in line with similar changes to SCSIFS and FileCore.
      Admin:
        Untested, but should be a safe change.
      
      Version 3.44. Tagged as 'ADFS-3_44'
      138040d0
  4. 14 Oct, 2011 1 commit
    • Robert Sprowson's avatar
      Update to use some of the exported FileCore headers. · 069303ab
      Robert Sprowson authored
      There are still a large number of local copies that should be visited, but this change at least allows it to assemble again FileCore-3_45.
      Tungsten and IOMD variants assemble, but others untested.
      
      Version 3.41. Tagged as 'ADFS-3_41'
      069303ab
  5. 18 Jul, 2011 1 commit
    • Jeffrey Lee's avatar
      Update IOMD HAL build to use OS_Memory 9 instead of HAL_ControllerAddress for... · fff2a575
      Jeffrey Lee authored
      Update IOMD HAL build to use OS_Memory 9 instead of HAL_ControllerAddress for finding the floppy controller
      
      Detail:
        s/Adfs19 - The (currently disabled) floppy code now uses OS_Memory 9 to look for controller 34 instead of the less-portable (and allocation clashing) HAL_ControllerAddress (to look for controller 6).
      Admin:
        Compiles but untested. IOMD floppy support is broken at the moment anyway.
      
      
      Version 3.39. Tagged as 'ADFS-3_39'
      fff2a575
  6. 22 Jun, 2011 1 commit
    • Jeffrey Lee's avatar
      IOMD/HAL build fixes · 013c01da
      Jeffrey Lee authored
      Detail:
        s/Adfs12 - Don't use DefaultIDEHardware in HAL builds, use the proper addresses instead
        s/Adfs19 - Make floppy code use HAL_ControllerAddress to get 82C710 address in non-PCI, non-Podule, HAL builds. However floppy code is currently disabled in this configuration because it hangs the machine when floppy access is attempted.
        s/Consts, s/StaticsIDE - Get rid of some bad address constants for HAL builds
      Admin:
        Tested in Iyonix & IOMD ROM softloads.
      
      
      Version 3.38. Tagged as 'ADFS-3_38'
      013c01da
  7. 06 Dec, 2010 1 commit
    • Ben Avison's avatar
      Reintroduced support for IOMD machines · a2d689f9
      Ben Avison authored
      Detail:
        There was no "Ver" file for Machine=32, and the code for build switch
        settings appropriate for IOMD had not been kept up-to-date with various
        changes to the module which were made to support Tungsten. This version
        provides working IDE support for IOMD HAL builds, although there are
        still some issues with floppy support. Tungsten builds should be
        functionally identical.
      Admin:
        Tested on a Risc PC. Joint development effort by Tom Walker and Ben Avison.
      
      Version 3.37. Tagged as 'ADFS-3_37'
      a2d689f9
  8. 03 Apr, 2003 1 commit
    • Kevin Bracey's avatar
      * DMA support completed. · 664368e8
      Kevin Bracey authored
      * Selects PIO/DMA/Ultra DMA modes appropriate for each device.
      * DMA support added to ADFS_IDEUserOp, but not yet ADFS_ATAPIOp.
      * WinIDEMaxSectorsPerTransfer increased to 256.
      * Floppy driver reattaches to DMA Manager if it's reinitialised.
      
      Version 3.35. Tagged as 'ADFS-3_35'
      664368e8
  9. 28 Jan, 2003 1 commit
  10. 17 Jan, 2003 1 commit
    • Kevin Bracey's avatar
      * ADFS_DiscOp64 and ADFS_ATAPIOp added. · d980237a
      Kevin Bracey authored
      * New FileCore error passing scheme supported.
      * PCI floppy support functional.
      * 48-bit LBA support added for ADFS_IDEUserOp and accessing beyond the
        first 128GB of a drive - not thoroughly tested.
      * IDE autodetection improved
      
      Version 3.34. Tagged as 'ADFS-3_34'
      d980237a
  11. 18 Sep, 2002 1 commit
  12. 17 Nov, 2000 1 commit
    • Ben Avison's avatar
      Loading to/saving from top-bit-set addresses should now work. · 28968ea5
      Ben Avison authored
      Detail:
        The problem was in the API definition of the scatter lists used in
        background data transfer. These consist of a sequence of word pairs,
        holding addresses and lengths; any negative (ie top-bit-set) address word
        is defined to mean that the list continues at an location that is offset
        by that amount. To get around this, the check is now made not on whether
        the address word is negative, but on whether it is equal to or greater
        than (less negative than) &FFFF0000. This means that accesses to these
        addresses will still fail, but such addresses should be reserved for
        system use anyway.
      Admin:
        Tested briefly.
      
      Version 3.33. Tagged as 'ADFS-3_33'
      28968ea5
  13. 21 Jan, 1997 1 commit
  14. 21 Nov, 1996 1 commit
  15. 05 Nov, 1996 2 commits