Difference between revisions of "OSWORD &77"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (.)
 
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
OSWORD &77 (119) - Perform sector access to RamFS
+
OSWORD &77 (119) - Perform FM sector access to RAMFS
  
 
==Specification==
 
==Specification==

Latest revision as of 11:28, 30 December 2016

OSWORD &77 (119) - Perform FM sector access to RAMFS

Specification

On entry: On exit:
Control block
XY?&00 Drive
XY!&01 Data address
XY?&05 Command
XY?&06 Number of parameters (n)
XY+7... Parameters
XY?(7+n) Result

No contents of the control block should be relied upon on exit other than the result byte. Some systems update the control block, some systems do not.

This call takes and returns exactly the same parameters and results as OSWORD &7F but accesses RAMFS. If the specified drive is not present then a result of &1E (not present) is returned. If the command is not supported, then a result of &?? (bad command) is returned.