Disk write

Writes bytes into the disk.

Parameters

A1 [in,1u]
Device: disk - 6
A2 [in,1u]
Message type - 7
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 of a data

Description

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

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