+ addition
- notes/change
= bugfix
# botch

2.19 = swi_OS_ChangeDynamicArea was corrupting SVC R12
     + Added *ADFScreenCaching to turn off screen caching on RO4 / SA
     - Changed vidc_abort to use 14 bits instead of 15 for fractions, to
       reduce ALU auto-expansion
     - Changed the following commands to be in the format *xxx [<ON / OFF>],
       the default with no parameter is ON, for backward compatibility
        ADFProtectCMOS
        ADFProtectModules
        ADFWriteProtect
        ADFHideHourglass
     - Removed all of the stacked auto-expansion
     - SWI ADFFS_BootFloppy removed, no longer required
     - ADFBootFloppy:
        Monotonic time, the file system and directories are only reset if
        booting from outside the WIMP to prevent WIMP filer issues.
     = "Boot Floppy" in filer now uses Wimp_StartTask to issue *ADFBootFloppy
       (fixes Alderbaran)

2.18n
     - optimized mouse_ptr_abort check for CursorData

2.18m
     - SWI handler further optimized
     - Removed VIDC20_debug code
     - insV replaced with eventV to track key presses, added code to
       prevent CTRL toggling by auto-repeat (fixed Manchester United disc
       swapping)
     = OS_ChangeDynamicArea (RO3.1x) wasn't using the correct CPU mode
     + Added SWI pre-veneer, now used by:
        swi_OS_Byte_113
        swi_OS_ChangeDynamicArea
        swi_OS_ReadMonotonicTime
        swi_Filecore_Create
     - vector_handler_trap now uses LDMFD Rx!, {}^

2.18l
     - SWI handler optimized
     = enable_cache was restoring CPSR / SPSR in the wrong order
     - Removed AutoVIDC SWI code, no longer required
     = BootOnWIMPShutdown was corrupting R14

2.18k
     + ADFRemapVideoMemory now unmaps the RO3.1 screen memory when turned off
     - OS_ChangeDynamicArea now recalculates DA2 size
     - Service_MemoryMoved removed, not longer required

2.18j
     + Added support for RO3.5 thru 3.71 to ADFRemapVideoMemory

2.18i
     + DesktopTracker>QTM shim module added
     - ADFRemapVideoMemory now directly manipulates L1/L2PT

2.18g
     - When running on RO4.x with a StrongARM, the abort handler now hands off
       aborts in DA2 address space to RiscOS
     = Early abort check code now reports an error if memory is in the RO3.1x
       screen space 1F88000-2000000
     - ADFCacheOff re-written to use OS_MMUControl and is now restricted to
       StrongARM or above, SWI handler now turns the cache back on (fixes
       Zarch crashing when OS_Release is called)
     - Service entry now implements the revised entry for RO4+
     + Added pass-thru writing to CursorData for RO4/SA support
     + Service_ValidateAddress implemented to validate RO3.1 screen addresses,
       OS_File code removed

2.18e
     - LDR Rd, [Rn, {+/-}Rm, <shift>]! abort handler recoded

2.18 - Abort handler disables screen memory caching if a StrongARM is present
     - Changed !Loader to an Obey file
     - ADFRemapVideoMemory attempts to remap the DA before and after a MODE
       change
     - Filer "Boot floppy" now remains within the WIMP unless CTRL is held
     + Added SWI ADFFS_BootFloppy
     = mouse_ptr_abort wasn't using AbortI_decoded to exit
     = Abort handler wasn't restoring ABT R14 correctly when handing back to
       the OS
     = ADFRemapVideoMemory wasn't putting the screen memory back before
       releasing the abort vectors
     - removed debug code from RO31_OS_ChangeDynamicArea
     + Service_MemoryMoved added to track DA 2 size (required for RO4/SA)
     - Changed all swi_ handlers to use local temp var references

2.17 + VIDC20 / IOMD detection
     + FSIZE set during VIDC1 to VIDC20 translation
     + ADFFS_Info (8) added
     + LCDgm VIDC20 version added
     - !Boot, !Loader, !Run updated to autoload the correct version of LCDgm
     - Removed all LCDgm code
     = ADFRemapVideoMemory now claims the abort vectors, before changing mode
       to allow LCDgm to take over immediately
     = _modeextension wasn't passing the VIDC list type to the callback
     = service / insv code wasn't using the VIDC20 address provided by the OS
     = Data Abort code wasn't moving the screen memory back before reporting
       an abort
     = ADFRemapVideoMemory no longer fails if the screensize is currently
       below the minimum required for the MODE requested
     = Page Zero abort handler changed to check for <&8000
     = ADFRemapVideoMemory wasn't releasing all the processor vectors
     = swi_OS_Byte_113 wasn't preserving the calling CPU mode R14

2.16 - Added in emulation of AutoVIDC_ClockAvailable and AutoVIDC_SetClock
       for LCDGameModes RiscPC support
     - Removed code that sets VIDC20 to VIDC1 defaults after a MODE change
     - Duplicated VIDC20 palette bits to lower nibbles
     + Service_ModeExtension translation from VIDC1 to VIDC20
     + SWI ADFFS_VIDCCR to return a psydo VIDC1 Control Register for LCDgm
     - premodechange code was using LDR instead of LDRB when forcing video
       memory to remap
     + Sets VIDC20 monitor H/V Sync to match VIDC1 during translation
     + Flags added in make file to turn debug code on/off

2.15 - Commented out LCDGameModes related code as we've released as a
       seperate module
     - Added LCDGameModes 0.21b module
     = OS_Byte 113 wasn't preserving R1 on exit, causing flickering when
       forcing delays to slow games down
     = ReduceDynamicArea was exiting before reducing the memory allocation
     - Removed FPEmulator completely
     - Updated AutoVIDC module to 2.10
     - Now looks for <ADFFS$Dir>.obey.Fxxxxxnn when booting floppies, if
       found it will be used in preference to the Obey file in a JFD image
     = Pre-mode change handler could go over the end of the screen memory
       when the Abort handler was active
     - Boot floppy now increases the RMA to allow ZLib to allocate space
       when swapping discs

2.14 - Extended OS_DynamicArea on RO3.1 to support more than one DA
     = APD was reducing the buffer size too much after reading the file
     = OpenMount wasn't blanking the disc name correctly if it failed
       to determine it

2.13 = Moved floppy erase code to Format, as that's the only command that
       requires the floppy memory to be erased
     + Filer now shows memory allocated to ADFFS
     + Added SWI block and ADFFS_Info so the filer can request information
       about the current state of ADFFS
     - Wimp Poll loop changed to every 10 seconds as we don't need to talk
       to the Wimp
     - Changed head advance code to use OS_ReadMonotonicTime instead of
       OS_Word 1 and DIV instead of M_DIV macro
     + Implements OS_DynamicArea on RO3.1
     + Now uses a DynamicArea instead of RMA space
     - Loading ADF's now uses OS_GBPB instead of OS_File to work around the
       "No writable memory at that address" error
     - ADFBootFloppy now uses OS_GBPB to get around the OS_File issue above
     = JFD file size check was going by data table, not the file size
     + The following SWI's added to ADFFS and the Filer modified to use them
         ADFFS_Info
         ADFFS_Mount
         ADFFS_Save
         ADFFS_BootOnWIMPShutdown
     = ADFFS Filer quits on startup if the WIMP isn't active
     = ADFFS would crash if an error occurred whilst loading a JFD file
     + Hands back unused memory after an APD is mounted
     + ADFReserveMemory added (fixes BlowPipe)
     - Tidied up the * command help

2.12 + Merged LCDGameModes 0.09 into ADFFS source tree
     + "*LCDgm Y/N" added to turn LCDGameModes on or off
     = LCDgm wasn't checking if VIDC translation is enabled before enabling
       LCDgm to be active
     + OS_File will now allow loads to the RO3.1 screen address range (fix for
       Kaptain Konflict, Deeva)
     + Support for Remapping 2000000 +480k for video wrapping (No Excuses)
     + Added "trackers" folder for sound related modules
     = Moved all floppy image memory allocation / release code to "global"
       in preperation for OS_DynamicArea

2.11 + VIDC1>20 translation dynamically calculates VMOD / RMOD based on RCLK
       and required pixel rate
     = Wasn't remapping screen memory on an abort
     + Skips aborts caused by write to <&1000 (not sure its working yet)
     = Was corrupting R8, R9 when passing an abort to RO
     - Removed some unneeded code from abort handler
     = VIDC1>20 now calculates FIFO size
     - Moved generic code for writing conreg and fsynreg to _calc_VMOD_RMOD

2.10 + ADFIgnoreVSync added for Pi/OMAP
     = The time for slow sectors was being calculated incorrectly
     - optimized miscop format checking
     + added ADFFS$RecordingPath to make recording easier, this is
       used as the default path for ADFRecord if it exists
     = Display start address wasn't being updated after a mode change
     + VIDC1 > VIDC20 translation coded added
     - Moved DiscOp monitoring debug code to record_discop to allow MiscOps
       to be covered
     - report_abort now enters SVCxx with FIQ/IRQ disabled
     + Added small icon for !ADFFS
     - Screen memory remap now calculates the physical page number, instead
       of asking the OS.  This is to get around a bug where some pages
       mysteriously disappear (commented out, as not Pi compatible)
     - ADFStop and debug code for realtime recording have been modified
       to reset the key IO vectors before and after, to get around games
       that take over the vectors, preventing recording from taking place
     - FIQ no longer disabled during VSync waits

2.09 = ADFEject wasn't clearing the Obey file flag used to boot JFD files
     = ADFEject was clearing the JFD header before checking if MiscOp
       was requesting a disc eject
     - Changed screen memory abort code to handle any memory address,
       previously it only supported memory mapped to <5000000
     - Abort vector code now passes aborts in the Application memory
       space to the OS, to allow virtual memory to work correctly
     - Abort vector code now hands back a terminal abort via OS_Exit
     - Abort code disables doubly mapped pages when remapping DA 2
       (this works around an issue in RO5)
     - ScreenSize now attempts to resize on RO4+
     = SpriteFree would error if the sprite area was zero bytes
     - ADFForceVSync now changes the frame first and then waits with FIQ's
       disabled (fixes Inferno) for <n> centiseconds since the last frame
       swap, and only forces a VSync if it didn't see one since the
       last frame change
     - moved SWI specific code from "swi" to their own files
     + CTRL-SHIFT-PG UP / PG DOWN now alter the delay between frame changes
       to change game speed

2.08 - Optimized APD oddbits with Jeffrey Lee's code
     - Removed last_hz_counter from ForceVsync code
     - vector_handler_trap reduced to "MOVS PC, R14" which should work
       for both 26bit and 32bit CPU's
     - ADFBootFloppy now sets USD/CSD if a JFD has an Obey file
     + Abort Handler now handles re-entry correctly
     = Release_DataAbort_Vector didn't release Prefetch or Address
       exception
     - OS_ReadMonotonicTime is only captured if ADFFS has been asked to
       boot a floppy (fixes incompatibility with 16bit SimTec IDE card)
     - Software vector table copy is now restricted to the list ADFFS tracks
     = ADFEject code to clear JFD header was overwriting the first
       word of the vector table, breaking Catacylsm

2.07 = ADFRemapVideoMemory wasn't reading the memory size correctly
     = ADFRemapVideoMemory failed if alternate mode mapping takes place
     + MemAlloc commands implemented internally
     + Stub MemAlloc module added to validate RMEnsure
     = Now preserves R14 around a vector driven disc swap, stores CPSR
       locally and uses "<C/S>PSR_all" instead of "<C/S>PSR" which would
       compile incorrectly for older machines
     = ADFEject now clears the JFD header, instead of the JFD loader,
       this fixes a problem where discs may remain write protected after
       swapping disc or formatting
     - Changed all LDM Rx[!], {Rn} references to LDR Rn, [Rx][, #4]
     - Changed all STM Rx[!], {Rn} references to STR Rn, [Rx[, #4]][!]
     - Optimized Little endian conversion macro (M_APDRW)
     + ADFRemapVideoMemory now includes a Data Abort reporter

2.06 = ADFDoNothing wasn't working, as it wasn't clearing flags on exit
     + Added BGetV to the Vectors that are tracked, this fixes
       Chocks Away Extra Missions
     = Disc changing via hot keys wasn't changing the CPU state on exit
       on the ARM3
     - OS_Byte 112 / OS_Word 22 / OS_ReadDynamicArea / Service_ModeChange
       code removed to be replaced by Data Abort handler
     - OS_Byte 113 code stripped of all screen memory remapping
     + Data Abort handler added, implementing dynamic video memory mapping
     - ADFCacheOff made 32bit compliant
     - CPU detection now treats the SA-1110 as SA-110 (ie ID: &A10)
     - Service_PreModeChange code changed to ensure VDU memory is where
       RISC OS is expecting it if we'e remapping video memory
     + ADFEmulateFDC added to switch emulation between 71x/1772
       this fixes Fire & Ice and Slappit

2.05 + added extra bits for DiscOp 3 data and slow sectors
     + added read_slow_sector
     + DiscOp 3 now sets secspertrack (to match RO3.1 behaviour)
     - modularized and switched to extASM
     = ADFStop would corrupt the stack if it fails to create the
       record file
     = capture_DiscOp_read had debug code turned on
     + DiscOp 3 now returns data if requested (it has to explicitly be
       in the JFD file though and a special sector) this fixes Slappit
       but will break Fire & Ice

2.04 = OS_ReadMonotonicTime was failing on SA, due to re-entrancy
     - JFD loading code changed to detect the JFD header size
       (Offset to Track Table - 28)
     = XOS_WriteI didn't have X set
     + ADFFS$OSVersion created during loading, set to the BCD value of the
       OS version.  eg &37000 for 3.70
     + Obey file can now be embedded in JFD file, to boot a game
     = Bad Parameters error was causing FileCore to crash
     + JFD file write protect bit now supported
     + ADFWriteProtect / ADFWriteUnprotect added
     + ADFFS$CPUID created during loading, set to the CPU ID:
       3 / &610 / &700 / &710 / &A10 (ARM 3 / 610 / 700 / 710 / StrongARM)
     = ADFRemapVideoMemory failed if the video memory was already the
       correct size
     - ADFForceVSync changed to work at 100Hz, actual value can be
       calculated by 100/FPS.  eg 20FPS would be 5
     + ADFCacheOff to disable the cache for a set period

2.03 + ADFRemapVideoMemory to move the screen memory to <2000000
       Only suitable for RO3.5 > RO 3.71 - use with caution
     = Trapping CMOS writes wasn't working
     + ADFForceVSync to force a minimum number for VSyncs when changing
       the hardware display buffer
     - APD oddbits recoded to process two bits at a time, reducing
       the function by 5 cycles (15% quicker)
     + Stub ADFS module for modern RISC OS builds that don't include it

2.02 + Checks min version of ADFFS required for JFD files
     = Left some debug code in ADFRecord that would cause problems imaging
     = DiscOp 3 was returning an invalid head in the sector ID's for ADF's
     = DiscOp 3 was returning only one sector ID for JFD's

2.01 + ADFProtectModules added, to prevent OS_Module 4 from removing essential
       modules:

       SharedCLibrary
       FPEmulator
       ZLib
       CallASWI
       ADFFS
       ADFS
       FileCore%Base
       FileCore%ADFS
       FileSwitch
       MessageTrans
       Messages
       ResourceFS
       UtilityModule

     + ADFUnprotectModules added
     - Filer modified to issue ADFUnprotectModules before quiting
     = Monotonic time wasn't being reset during a simulated boot
     - Change "Boot floppy" in Filer to broadcast Message_PreQuit
       / Message_Shutdown (fixes Arcade 3)
     - ADFBootFloppy re-written to use OS_FSControl
     + ADFShowHourglass and ADFHideHourglass added, the hourglass is on by
       default and should be turned off for Sensible Soccer
     + ADFProtectCMOS added to prevent poorly coded games from corrupting the
       CMOS (fixes Arcade 3)

2.00 - Removed secondary check for disc change in MiscOp 1, not required now
       the SWI vector is handling disc changes
     + ID's with fixed cylinder values (fixes Slappit)
     = Generated an error if ADFFS$VecPtrTab wasn't set
     = Filer wasn't marking itself as shut down
     - Filer now initialises and shuts down correctly when the desktop
       requests it
     = ADFMount wasn't terminating the discname before ".$"

1.39 + Filer displays JFD info under Format/Current format
     = Preserves SPSR when changing discs (fixes crash in Sensible Soccer)
     - No longer displays the Hourglass when changing disc
       (fixes hang in Sensible Soccer)
     = SWI vector now checks for IRQs being enabled before
       attempting to change discs (fixes crash in Heimdall)

1.38 + ADFBootFloppy and menu option for it added to the Filer

1.37 - Dismount from ADFS no longer ejects the floppy image (fixes Silver Ball
       which dismounts before requesting the next disc)
     + Added Eject option back into Filer
     = ADFMount was corrupting the stack if an error occurred when opening a
       GZ file
     + Added specific MiscOp 5 code
     + RMKills ZLib when you exit the File System from the Filer
     + RMClear and RMTidy now do nothing
     + OS_Byte 201 is now forced into read mode to prevent the keyboard from
       being disabled (fixes Oh No! More Lemmings)
     = Hot keys now work after a soft-reset (broke in 1.36)

1.36 - Hot key disc changes now change during an SWI event and not via
       CallBack, this is to stop the RMA memory leak when CLib releases its
       RMA allocations

1.35 = Key checks in MiscOp 0 and capture_DiscOp_read were causing the CAPS
       lock to turn on
     = MemAlloc_APD_Erase loop was looping to MemAlloc_Erase!
     = Mounting a JFD was allocating 900K, releasing and then allocating the
       correct amount of memory
     = JFD was allocating track/sector table space twice
     = ADFEject is causing Filecore to crash randomly when calling
       adfs:dismount
     = Changed the way ADFMount reports errors when opening a GZ file, to exit
       instead of GenerateError


1.34 - Head is now advanced for DiscOp 0/1/2 only
     = Data CRC and Sector/ID not found errors were returning the wrong values
     = DiscOp 3 was updating the discrec (as per docs) however ADFS has a bug
       where it doesn't update the discrec correctly
     = R3/R4 were incorrect if an ID CRC error occured
     = *ADFStop crashed if not recording
     = R2 was incorrect if a CRC error occured part way through a read
     = R4 wasn't corrected for non-background reads
     = Changed head advance code to move a min of 1ms (fixes Gribbly's Day Out
       which tries for a duplicate sector before the head has advanced enough)
     = RISC OS wasn't recognising disc changes within the GUI added a
       Service_DiscDismounted call after adfs:dismount
     = ADFFlush wasn't reporting an error for JFD's
     = ADFFlush wasn't working
     = Flush in the Filer wasn't recognising mounted images
     + ADFDoNothing command added to alias RMClear too
     + Reclaims the InsV vector after a reset has occurred

1.33 = Was corrupting R1 whilst blocking background transfers during recording

1.32 = Wasn't mounting type D / L floppies correctly

1.31 - now blocks background transfers whilst recording
     = no longer hangs if a disc error occurs during a background transfer
     + tracks changes to the following software vectors:
       FileV, ArgsV, BPutV, GBPBV, FindV and resets them back to the OS when
       loading a disc if a protection method has claimed them (fixes Cataclysm)

1.30 - Optimized DiscOp 1/2 code
     = Wasn't returning the correct value in R4 if an error occurred during a
       DiscOp
     = MemCopy was corrupting R2 on exit for small copies
     = Filer_DiscInfo wasn't checking if an image was mounted before trying
       to identify the format
     - MiscOp 0 / Identify_disc modified to support APD / JFD
     + DiscOp 3 ADF support added
     = DiscOp 3 was corrupting R2, R3 on exit
     = DiscOp 3 wasn't setting the head and cylinder correctly

1.29 = ADFRecord was corrupting the length of scatterlists
     # Added an addition check to the Zarch botch, so it's only implemented
       on an APD file
     = "Bad Parameters" error was broken in 1.28
     = Was returning "Bad Parameters" instead of "Sector not Found"
     = Was returning the wrong buffer address when an error
       occured during a non-scatterlist DiscOp

1.28 + Disc error code is now "new error style" aware
     = Head advance code was crashing Darkwood
     - DiscOp 1 code modified to also perform DiscOp 0
     = DiscOp 3 was broken in 1.26

1.27 + head is now advanced based on time since last DiscOp (fixes
       Sensible Soccer and Wolfenstein)
     + ADFRecord now captures scatterlists
     + added support for JFD files

1.26 = The Filer was corrupting the stack if an error occurred
       during startup and when closing down via the menu option
     + MiscOp 1 also perform a check for Ctrl-Shift-F?
     - If a disc change is pending for 40 calls to MiscOp 1, it cancels the
       callback request and manually changes disc This probably won't work on
       physical machines due to FileCore re-entrancy
     = DiscOp code now works in bytes, only converting back to sectors for
       sector checking and exit, when ADFS is in sector mode.  This fixes the
       write issue in 1.25 when ADFS is in byte mode and an ADF is mounted

1.25 - Changed MemCopy_SmallCopy order, so a copy is three instructions shorter
     - Filer now self terminates when asked to quit by the user
     - Filer now requests the filename from ADFFS, instead of taking over
       loading
     - ADFFS now sets "Alias$@RunType_FCE" during initialisation
     - Reduced insV_disk_loader down to bare minimum stack use
     - insV preserves R14 around the callback SWI, to prevent the random
       crashing when changing discs
     - added limit check to MFM track decode, to ensure APD's don't go over
       895kb when decoded

1.24 - Changed sector ID word to make room for sector timing info
     - DiscOp now advanced head one sector on entry
     - Sector seek code now only advances one sector
     - Moved all variables to top of code, except:
         ADFS_DiscOp
         ADFS_MiscOp
       as we need to load them directy into PC
     - Changed code where needed to ADRL / LDRL / STRL
     - Format now calls FileCore_LayoutStructure via XOS_CallASWI
     = MemCopy was corrupting the 4 byte when the source address was 1 byte
       out of word alignment and the destination was word aligned
     + Added a small MemCopy routine for <47 bytes, which pushes R14 only,
       onto the stack

1.23 + Added core code to record DiscOp's, needs scatter list adding before it
       can be made public
     = DiscOp 1/2 were returning an incorrect value in R3 and R4 when a sector
       CRC occured
     - Sector seek code now advances two sectors on exit

1.22 + InsV handler to detect F1-F9 key presses and changes disc accordingly.
       Files must be named XXX1 XXX2 XXX3 ...
     = ADFMount was corrupting the filename of mounted APD's
     = FM/MFM sector decoder was terminating sectors incorrectly if the sector
       loops to the start of the track
     = Sector address conversion code was corrupting R11
     = DiscOp 1/2 were returning an incorrect value for R3
     = Added foreground scatter list end check for DiscOp 1 (fixes Zarch)
     - ADFMount checks the request file exists before ejecting the currently
       mounted one
     = ADFMount was allocating 900kb for ADF, 900kb should only
       be used for APD's as the size is unknown until its decoded
     # Sequential disc track number is only doubled for track 40 a botch for
       Zarch to work

1.21 - Sequential disc handler now only doubles the track number for even
       track requests.  This is a botch for Zarch and may break untested
       games, works with Sensible Soccer and Magic Pockets though

1.20 - removed sector re-ordering code as DiscOp now searches for each sector
       during a read/write/verify operation
     - moved track initiation and sector list termination into the main APD
       decoding loop
     + SD and QD track/sector support
     = stack was being corrupt if request disc address was beyond the limit
       in the disc rec
     = disk limit check was being performed incorrectly on APD's
     - changed DiscOp 2 to match DiscOp 1
     = scatter list writes now check for foreground requests and finish
       accordingly
     + Added MemAlloc module for patching older games
     + Flush now reports an error if an APD is mounted

1.19 = rewritten nested sector code, to handle multiple nested sectors
       (fixes Wolfenstein)
     + vector handler is now compatible with RISC OS versions below 3.5
     + added pre-req modules for ZLib, namely:
        CallASWI 0.03 (which ADFFS will require later as well)
        CLib 5.53
        FPEmulator 4.19
     - Changed "MSR CPSR_flg, #1<<28" to "MOV R14, #1<<31 : ADDS R14, R14, R14"
       to ensure compatibility on ARM 3 machines

1.18 - DiscOp/MiscOp entry/exits preserve the flags via MSR / MRS
     = DiscOp was checking the CRC of the sector after the read, causing false
       CRC errors
     = MiscOp 0 was copying 60 bytes of disc sig, causing ADFS to
       report errors on ADFS:4 - reduced to 32 to fix
     + DiscOp 0 (Verify) now check sector by sector on APD images
     = DiscOp was incorrectly exiting if passed a 0 byte length request

1.17 + Scatter read now requests logical address on floppy for every scatter
       list entry
     - added zlib code to handle native APD files
     = ADFEject entry point was corrupt
     = ADFEject wasn't notifying ADFS correctly

1.16 = sector within sector now works
     + added code to reorder discs with sector rotation
     - rewritten CRC code to mirror 1772 behaviour
     = initial address check was using our internal address, not the original
       disc address

1.15 - Head position is now remembered when reading from the same track, this
       should cover duplicate sectors (Gribbly)
     + first attempt at sector within sector
     = DiscOp 1/2 were returning the wrong end address in R2
     = ADFS Dismount no longer crashes FileCore

1.14 - removed sections from Filer that are now provided by ADFS
     - removed unnecessary templates
     - rewritten MFM decode to pre-stage each track in memory, to speed up APD
       loading
     - merged big endian conversion and read word into a single function
     + sector ID and sector data CRC checking
     + track compensation for single sided disc sigs

1.13 = ADFEject now correctly dismounts the disc, to avoid Ambigious disc
       errors
     = RMkill no longer locks the machine

1.12 - recoded DiscOp Read/Write and FileCore_Create to support background
       transfers
     - changed *Format to *ADFFormat and altered respective code in Filer

1.11 - changed code to capture ADFS_xxx SWI's to FileCore_xxx SWI
     = fixed vector exit code on 26bit OS's

1.10 + added code to load (pre-inflated) APD files

1.03 + added code to redirect ADFS::0 calls to us
     = MemAlloc hung if the file length wasn't word aligned

1.02 - additional references to PRM's added to code
     - remove redundant code from ADFFlush
     + File Size limit can now be changed via ADFFS$FileSizeLimit
     + Added checked to DiscOp to ensure we don't try to read/write beyond the
       limit of the ADF image
     = Fixed crash when drag/dropping a file onto the filer.

1.01 = ADFFS would hang OS when disc is unidentified
     = D/L format detection wasn't working for some discs
     - If disc is unidentified, it now reports an error
     + Quit menu option added

1.00 = !boot and !run filetype actions were the wrong way round
     + "Format\Current format" now displays the current mounted disc image info

0.88 - Recoded format detection to allow for additional formats
     = F format now works
     + L format support added

0.87 - *Format recoded to match what ADFS does

0.86 - DragASprite implemented in save as window

0.85 - division code rewritten to an unrolled 3 instruction loop

0.84 + Format now sets the disc name to DAY_DD_YY if no name specified
     + Save As now implemented in Filer
     + Added ADFFSFiler_Open so we can track open ADF files
     + Drag/drop onto filer to open, now implemented
     + Drag/drop out of Save As implemented
     + Free indicator bars implemented

0.83 - ADFEject now releases memory
     - Add core menu code to filer
     = Introduced a bug in format, trying to fix F
     = WIMP poll code was pointing at the wrong data structure and overwriting
       the icon bar icon block
     = ADFSave was corrupting errors from the save action
     = V wasn't being cleared correctly on MiscOp FileCore actions

0.82 - Word aligned MemCopy now exits immediately, if no trailing bytes
     - Filing System number now defaults to 9
     - Added a variable to !Boot to allow for the Filing System number to be
       changed
     = Format D was using new map, instead of old
     = Now reports "File not found" when trying to open a file that doesn't
       exit
     = 32-bit compatible entry was in the wrong place in the module header

0.81 - Recoded disc name identification to use OS_FSControl(37)

0.80 + Filer module
     = When copying the source filename/path on an ADFOpen/Mount it now
       ensures its always zero terminated
     - Re-wrote the MemCopy code, optimizing for word mis-alignment
     + Small icon for FCE file type
     - Changed filetype name from "FileCoreFloppyImage" to "Floppy" due to 8
       char restriction on file type descriptions

0.70 - Initial public release


To do:

- Allow filenames with spaces in them (some file systems allow them)
- Grey out menu options when ADF unmounted
- Add DiscOp 4 (write track)
- Stop "RMKill FileCore%ADFS" from killing the ADFFS module
- Need to alias RMFaster and re-implement silently via OS_Module 11 (PRM1-242)
- Store disc name, whilst recording for multi-disc support
- RMClear needs recoding to not kill ourself or required modules
  (temporarily disabled)
- RMTidy is killing ADFFS Filer and dismounting the image
  (temporarily disabled)
= Fix Ambigious disc errors (reintroduced in 1.35)
  Don't think this is fixable, as there's no entry other than *Dismount,
  which can cause FileCore to crash
- Emulator 1772 / 710/11 behaviour, ie errors returned and DiscOp3 behaviour
= DiscOp 3 code needs to check that the sector found has the DiscOp 3 flag
  set, if it's been asked to return the complete track
= disc size check in Convert_Sector_to_Addr needs to calculate
  the actual address before comparing with DR_discsize
= Hangs when shelling from the desktop if an HD floppy is mounted on RO3.5+
= adfs:format doesn't work after ADFFS is loaded
+ CDROM emulation
+ Change filer icon if floppy is bootable
+ Add a FileCore filesystem to view appended Boot script (also allowing
  additional files)
= adfs:Format doesn't work after loading ADFFS
= May not be compatible with Alexander Thoukydides/APDL Virtualise
= Reports broken directory on floppys randomly immediately after loading ADFFS
+ Option to disable cache on memory pages
+ Option to force LCDGameModes on
= Can't change floppies on Apocalypse on RO4

To do ADF:

- Add support for capturing ADF image of a floppy

To do JFD:

- Add "Save As JFD" file
+ Delta writes
