OSWORD &77

From BeebWiki
Jump to: navigation, search

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.