> 1. What stack usage do you have in mind?
Something in change. At current:
n = block number,
i = number of blocks,
a = address,
f = flag
blockread (i a - f)
blockwrite (i a - f)
seek (n - f)
> 2. Why 3 ports, rather than having one. For handling a file device?
Yes. My first attempt was to implement the complete ATA interface over
two port addresses for handling virtual block devices but that's too
much overhead so I end up in this tree port routines. The virtual
device is just a plain file which size and name is given on the
command line.
> 3. Will you be adding a capability query?
Surely.
-Mat.