AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R1 =     &46 (reason code)
     R2 =     mode number
<=     see below

This service allows a module to object to a mode change, or subsitute a different mode:

Case 1 - module has no objection

<=     R1,R2 preserved (pass on)

Case 2 - module objects, and takes alternative action

<=     R1 =     0 (claim service)
     R2 =     0

Case 3 - module objects, and returns an error

<=     R0 =     pointer to error block
     R1 =     0 (claim service)

Case 4 - module wishes to subsitute an alternative mode

<=     R1 =     &46 (reason code) - pass on
     R2 =     new mode number

Service_ModeTranslation offers a better method to support new monitor types.

See PRM 1, page 618

[sh-index] Back to list of manuals