h6. [[FileCore]] h6(. » [[FileCore SWI Calls|SWI Calls]] h6((. » [[FileCore_DiscOp]] h6(((. » FileCore_DiscOp 9 h2. FileCore_DiscOp 9 h5. (SWI &40540) |_<^{width:4em}. Entry | | |<^. R1 |<^. 9 + "Flags":linkflags| |<^. R2 |<^. [[FileCore_DiscOp Address|Disc address]]| |<^. R3 |<^. Pointer to block to read into| |<^. R4 |<^. Size to read| |<^. R6 |<^. Cache handle| |_<^{width:4em}. Exit | | |<^. R1 |<^. Preserved| |<^. R2 |<^. Next disc address| |<^. R3 |<^. Next free address| |<^. R4 |<^. Unread bytes| |<^. R6 |<^. Cache handle| h4. Use The purpose of this call is to read sectors via a cache held in RMA memory. h4. Notes To start a sequence of these operations, set R6 (cache handle) to zero on entry. Its value will be updated on exit, and subsequent calls should use this new values. Bits 4-7 of R1 should be zero, but are ignored if set. To discard the cache once finished, just call [[FileCore_DiscardReadSectorsCache]]. Note: For RISC OS 3.60, the value in R2 will be rounded down to be sector aligned. h4. See also * [[FileCore]] * [[FileCore_DiscardReadSectorsCache]] * [[FileCore_DiscOp]] * [[FileCore_DiscOp Address]] [linkflags]FileCore_DiscOp#flags