Disk read

Reads bytes from the disk.

Parameters

A1 [in,1u]
Device: disk - 6
A2 [in,1u]
Message type - 8
A3 [out,1b]
Whether operation succeeded
AY [in,4i]
Disk index
BX [in,4u]
Size of data in bytes
BY [in,4i(addr)->1[size]]
Address for data

Description

This message allows you to read data from the disk inserted into given slot.

If A3 returns false, it doesn't mean that all the operation failed. Several bytes could been read.