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 =     offset to add to the points [(current location at which points are loaded in memory)-(the old location from where they were saved, stored in the file)]
     R2 =     offset to add to the primitives [idem]
     R3 =     location at which points are loaded (TMmemoryblock+4, mostly)
     R4 =     location at which primitives are loaded (TMmemoryblock+16, mostly)

When you have loaded a file you have to adjust all its internal links (i.e. the ldm of the points used by the polygons); you should call this from inside the loader code (see later).

[sh-index] Back to list of manuals