Updated Hardware: Floppy Drive (markdown)

Kevin Ramharak 2017-12-30 13:35:00 +01:00
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 |