Difference between revisions of "OSWORD &77"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (1 revision)
(No difference)

Revision as of 02:13, 8 March 2015

OSWORD &77 (119) - Perform 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.