mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 10:36:43 +00:00
Updated Hardware: Floppy Drive (markdown)
parent
2a74c0ccba
commit
de54eee4e7
@ -13,7 +13,7 @@ Floppies contains 80 tracks with 18 sectors per track. That's 1440 sectors of 51
|
|||||||
### Interrupt Behavior
|
### Interrupt Behavior
|
||||||
| Value of A | Action | Energy cost | Result |
|
| Value of A | Action | Energy cost | Result |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `1` | `POLL` | `0 kJ` | Get the status of the drive (`READY` = `0`, `NO_MEDIA`=`1`) |
|
| `1` | `POLL` | `0 kJ` | Put the status of the drive (`READY` = `0`, `NO_MEDIA`=`1`) in register `B` |
|
||||||
| `2` | `READ_SECTOR` | `1 kJ` | Reads sector X to CPU ram starting at address Y |
|
| `2` | `READ_SECTOR` | `1 kJ` | Reads sector X to CPU ram starting at address Y |
|
||||||
| `3` | `WRITE_SECTOR` | `1 kJ` | Writes sector X from CPU ram starting at Y |
|
| `3` | `WRITE_SECTOR` | `1 kJ` | Writes sector X from CPU ram starting at Y |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user