home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Archived / Emulators / BBC-6502Em / 6502de / Docs / VirtualDFS < prev   
Encoding:
Text File  |  1996-02-20  |  2.7 KB  |  90 lines

  1. 6502Em: The Filing System
  2. =========================
  3.  
  4. The emulator provides a full filing system by means of the
  5. VDFS ROM.
  6. The following commands can be used to select the Virtual DFS
  7. ROM as the current filing system:
  8.  
  9. *DISC
  10. *DISC
  11. *ADFS
  12. *FADFS
  13.  
  14. In addition, the following commands are offered:
  15.  
  16. *Quit      (Return to the desktop)
  17. *Desktop   (Return to the desktop)
  18. *Shadow    (dummy command)
  19. *SRLoad    (load image into sideways RAM)
  20. *SRWrite   (copy memory into sideways RAM)
  21.  
  22. Partial emulation of OSWORD &72 and &7F is performed
  23. (reading only!)
  24. This allows certain disc protection schemes to work.
  25.  
  26.  
  27. The DFS filing system structure is fully emulated
  28. by noticing when an ADFS directory's name is one
  29. letter long.
  30.  
  31. eg if your Currently Selected Directory (CSD)
  32. is ADFS::HD.$.BBC.Games.J then:
  33.  
  34. *DIR K will attempt to set the CSD to ADFS::HD.$.BBC.Games.K
  35.  
  36. *DIR J will leave the CSD unaltered
  37.  
  38. *DIR $ will set the CSD to ADFS::HD.$.BBC.Games
  39. (to change to the "real" root directory, use *DIR :4.$)
  40.  
  41. *DIR ^ will set the CSD to ADFS::HD.$.BBC.Games
  42.  
  43. eg if your CSD is ADFS::HD.$.BBC.Games then:
  44.  
  45. *DIR $ will leave the CSD unchanged
  46.  
  47. *DIR ^ will set the CSD to ADFS::HD.$.BBC
  48.  
  49. *************************************************************
  50. *  If your CSD is set to ADFS::HD.$.BBC.G.L then ambiguity  *
  51. *  can arise, so single letter directories should NOT be    *
  52. *  used within each other.                                  *
  53. *************************************************************
  54.  
  55. Drive numbers within filenames (eg :0.E.Jameson) are ignored
  56. so that you can save positions of games onto your hard disc.
  57. To specify a drive, use ADFS::0.Jameson
  58.  
  59. *Drive and *Mount are ignored
  60. To change drive use *DIR :0, *DIR ADFS::0, *DIR ADFS::HD etc
  61.  
  62. RISC OS's CSD is not changed by the emulator, allowing
  63. several incarnations of the emulator to be active.
  64.  
  65. Some filing systems (eg DOSFS) do not support OSGBPB 8,
  66. so programs that use it will not work on such filing systems.
  67.  
  68. OSFSC, OSFIND, OSGBPB, OSBPUT, OSBGET, OSARGS, OSFILE
  69. are all fully supported.
  70.  
  71. In addition, OSGBPB 9 is partially supported (for the
  72. current directory):
  73.  
  74. block?0=number of files to read (number of files read)
  75. block!1=address in memory of data
  76. block!5=length of data block
  77. block!9=sequential pointer (0 for first call, -1 when finished)
  78.  
  79. RISC OS errors are passed back into the emulator via BRK.
  80.  
  81. Filing system operations appear instantaneous to the emulator
  82. (ie do not run filing system benchmarks within the emulator!)
  83.  
  84. Although the operating system normally appears to be ROM,
  85. it can be overwritten by filing system calls (eg *Load)
  86.  
  87. Files that will extend beyond &FFFF will generate an error
  88. if you try to load them.
  89. (normally files might wrap round back to &0000)
  90.