1. 23 Nov, 2020 1 commit
    • Julie Stamp's avatar
      Allow disc sizes 512MB - 2GB · b34c2929
      Julie Stamp authored
      - Add patch-through for RamFS_SectorDiscOp
      - Put stars next to NZones2 fields in disc record as this needs filling in now
      - In InitDiscRec, increase the maximum number of zones to 127
        The maximum was previously 16, so this concerns me because I don't know why that was!
        However, raising the maximum like this give smalller minimum fragment sizes at every size of RAM disc tested,
        and enables discs bigger than 512MB.
        (Defined as min frag size in bytes = (idlen + 1) * LFAU size in bytes)
      - Also in InitDiscRec, after the algorithm has completed, save only the LSB of the number of zones (r2) in NZones, and save the MSB in NZones2.
      In MiscOp Mount, don't convert address from sectors to bytes, as it is passed to us in bytes already for this operation.
      s.Defns: Enable BigDiscs2 work
      Tested at a variety of sizes, including doing
      ChangeDynamicArea -RamFSSize nM, then create a file
      for n = 10 to 900 step 10.
      RamFS_SectorDiscOp tested by running
      *DiscKnight -v RamFS 0
      which calls by name and examining sectors through Zap which calls by number.
      Tested by others up to 2GB - 4kB
      Version 2.33. Tagged as 'RAMFS-2_33'
  2. 08 May, 2016 1 commit
  3. 31 Aug, 2015 2 commits
    • Robert Sprowson's avatar
      Use FileCore terminology for clarity · 375a634f
      Robert Sprowson authored
    • Jeffrey Lee's avatar
      Add support for the RAMFS dynamic area potentially being a PMP · bfddc33b
      Jeffrey Lee authored
        s/Defns - Add PMP switch to switch between PMP-compatible code and old code. Add BigDisc2 switch to enable my (non-functional) support for RAM discs > 512MB. Fix broken debug switches (Hdr:Proc already gets included somewhere), and add PMP debug switch.
        s/RamFS05 - Replace generic BlockMove function with BlockRead/BlockWrite functions which map in pages on demand, using a basic LRU cache to reduce page table thrashing.
        s/RamFS15 - Updated to use BlockRead/BlockWrite functions, and BigDisc2 support
        s/RamFS50 - BigDisc2 code. PMP-related initialisation.
        Tested on Pandaboard, with and without PMP dynamic area
        Note that due to nonfunctional support for RAM discs >512MB, the resize handler in the kernel currently places a 512MB limit on the DA.
      Version 2.31. Tagged as 'RAMFS-2_31'
  4. 18 Aug, 2014 1 commit
    • John Ballance's avatar
      Adjust RAMFS to permit larger RAM disc formatting · f7287ab5
      John Ballance authored
      Increased the number of sectors per track in the disc record in s.RamFS50
      This prevents the track count getting too large and causing an abort in
      tested in iyo
      Version 2.30. Tagged as 'RAMFS-2_30'
  5. 18 Jul, 2013 1 commit
  6. 13 Jul, 2013 1 commit
    • Robert Sprowson's avatar
      Adapt to work when Min_Zones is not 1 · 9ec3a981
      Robert Sprowson authored
      The code assumed Min_Zones was 1, despite offering a variable suggesting it could be changed arbitrarily. It now can be.
      Removed the unnecessary duplicate empty defect list.
      Version 2.29. Tagged as 'RAMFS-2_29'
  7. 21 Mar, 2012 1 commit
    • Ben Avison's avatar
      No longer mounts RamDisc0 on startup · 25df2a5f
      Ben Avison authored
        This is inconsistent behaviour compared to other FileCore filing systems.
        RAMFS was effectively behaving as though *Configure Dir had been used
        (on RISC OS 2) but since RISC OS 3, all other FileCore filing systems
        have behaved as though *Configure NoDir had been used. Since RAMFS only
        supports one drive, the only difference users are likely to notice is in
        the output of *Cat before *Dir is issued.
        Tested using a softload on an OMAP3 machine.
      Version 2.28. Tagged as 'RAMFS-2_28'
  8. 19 Mar, 2012 2 commits
    • Robert Sprowson's avatar
      Change to use centrally assigned error number. · c8b52703
      Robert Sprowson authored
      Same binary, retagged as RAMFS-2_27.
    • Ben Avison's avatar
      Reworked error code · e720a3b8
      Ben Avison authored
        Now uses Hdr:FileCoreErr rather than containing its own definitions of the
        low-level FileCore error numbers. Autogenerates and exports a new header,
        Hdr:RAMFSErr, and a C version of the same, containing error definitions
        within the RAMFS error block, derived from the error offsets from
        No changes to the binary.
      Version 2.27. Tagged as 'RAMFS-2_27'
  9. 20 Nov, 2011 1 commit
    • Robert Sprowson's avatar
      Declare as a floppy not a fixed disc. · b23b4b27
      Robert Sprowson authored
      In the (dusty) PRM 2-204 it states that the disc record can be used to specify the size of your media and "this is how RamFS is able to be larger than an ordinary floppy disc", which ties in with it being drive 0 since drives 0-3 are floppies.
      This doesn't fix FileCore's poor handling of 1 zone fixed discs, but does make RamFS work for sizes < 964k again.
      The zero init of the first zone now no longer unconditionally clears 16k, since the check on RAM area size is 8k.
      Recompiled test tool 'm1time'.
      Version 2.26. Tagged as 'RAMFS-2_26'
  10. 25 Oct, 2011 1 commit
    • Robert Sprowson's avatar
      Put back as drive 0. · 30491000
      Robert Sprowson authored
      Some unrelated bug tracing had got checked in, was declaring itself as a harddisc and appearing as drive 4.
      Version 2.25. Tagged as 'RAMFS-2_25'
  11. 14 Oct, 2011 1 commit
    • Robert Sprowson's avatar
      Simplify. · 019a7291
      Robert Sprowson authored
      Change to use exports from FileCore-3_45.
      Delete local copies, which then collapsed the whole module in on itself - RAMFS should really be the simplest of clients, but was built up from a lot of spare body parts. This simplification removes a lot of files.
      Delete s.TokHelpSrc - this is autogenerated and was erroneously checked in a few years ago.
      Delete unused Help and Syntax.
      Try to get the use of BigDir/BigDisc/BigMap more correct.
      Tested against FileCore-3_45 and still works.
      Version 2.24. Tagged as 'RAMFS-2_24'
  12. 02 Oct, 2011 1 commit
    • Robert Sprowson's avatar
      Tidy up. · bea22e17
      Robert Sprowson authored
      Get FS_Control reasons from header file rather than local definitions,
      Delete lots of FileCore internal stuff from local definitions.
      Adjust the 'BigDir' switch use, it's still not quite right as it's being used to select things unrelated to big directories.
      Functionally the same as 2.22, tested briefly.
      Version 2.23. Tagged as 'RAMFS-2_23'
  13. 04 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Make compatible with zero page relocation · cb43dfb0
      Jeffrey Lee authored
        s/RamFS, s/RamFS05 - Updated debug code to use OS_ReadSysInfo 6 for getting IRQsema pointer
        Tested on rev A2 BB-xM
      Version 2.22. Tagged as 'RAMFS-2_22'
  14. 19 Jan, 2010 1 commit
    • ROOL's avatar
      Incremented version number, no other change. · 28177b6e
      ROOL authored
      Previous changes were untagged, but incrementing the version number gives
      us a tag we can associate with the official RISC OS 5.16 release.
      Version 2.21. Tagged as 'RAMFS-2_21'
  15. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · 1dd01ffa
      Ben Avison authored
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
        Supplied by Peter Naulls, tested at ROOL
      Version 2.20. Not tagged
  16. 21 Jun, 2004 1 commit
  17. 05 Jan, 2004 2 commits
  18. 03 Apr, 2003 1 commit
  19. 22 Nov, 2002 1 commit
  20. 14 May, 2001 2 commits
  21. 24 Nov, 2000 1 commit
  22. 30 May, 2000 1 commit
  23. 21 Nov, 1996 1 commit
  24. 05 Nov, 1996 1 commit