 |
OO_GetFirstFlashAppSectorAddress |
Function (ROM Call 0x4F3) |
Fills given CFILE and returns a pointer to the first byte of the first sector reserved for FlashApps.
After execution of this ROM_CALL, certfile contains the following information:
certfile->Start = ROM_base+0x12000
certfile->Pos =
end of AMS code, rounded up to the next multiple of 64 KB (= return value of the ROM_CALL).
certfile->End = FlashMemoryEnd
certfile->EOFVal = FALSE
At least one 64 KB sector is reserved for FlashApps in the Flash Memory. The first such sector
is the first sector after the end of the AMS code.
Uses: copen, cread, FlashMemoryEnd
Used by: EM_survey, OO_GetEndOfAllFlashApps
See also: EM_getArchiveMemoryBeginning, OO_GetEndOfAllFlashApps