AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Read catalogue info for named stamped object

=>     R0 =     20, 21, 22 or 23
     R1 =     pointer to filename
           if R0 = 20 :     use File$Path
           if R0 = 21 :     R4 = pointer to path string
           if R0 = 22 :     R4 = pointer to path variable
           if R0 = 23 :     use no path

<=     R0 =     object type
     R2 =     load address, without top three bytes if file is typed
     R3 =     exec address
     R4 =     object length
     R5 =     object attributes
     R6 =     filetype     (images and directories report as &1000,
                                 applications as &2000, untyped files as -1)

PRM doesn't say so, but it would be wise to assume R2-R6 corrupted if object not found.

[sh-index] Back to list of manuals