mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 07:44:03 +09:00
fix: disk drive-explicitly writing 0 bytes would write 4096 bytes instead
This commit is contained in:
@@ -115,12 +115,12 @@ MMIO
|
||||
n-read: size of the block from the other device, LSB (4096-full block size is zero)
|
||||
m-read: size of the block from the other device, MSB (4096-full block size is zero)
|
||||
a-read: if the other device hasNext (doYouHaveNext), false if device not present
|
||||
z-read: set if the size is actually 0 instead of 4096
|
||||
z-read: set if the size is actually 0 instead of 4096 (overrides n and m parameters)
|
||||
|
||||
n-write: size of the block I'm sending, LSB (4096-full block size is zero)
|
||||
m-write: size of the block I'm sending, MSB (4096-full block size is zero)
|
||||
a-write: if there's more to send (hasNext)
|
||||
z-write: set if the size is actually 0 instead of 4096
|
||||
z-write: set if the size is actually 0 instead of 4096 (overrides n and m parameters)
|
||||
|
||||
4092..4095 RW: Block transfer control for Port 1 through 4
|
||||
0b 00ms abcd
|
||||
|
||||
Reference in New Issue
Block a user