diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/424450')
| -rw-r--r-- | results/scraper/launchpad-without-comments/424450 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/424450 b/results/scraper/launchpad-without-comments/424450 new file mode 100644 index 000000000..f2c60984c --- /dev/null +++ b/results/scraper/launchpad-without-comments/424450 @@ -0,0 +1,14 @@ +FDC reset should reset the MSR + +I believe that the MSR resgister should also be reset to zero on a software reset. All of the FDC hardware I have does this. +The current code leaves the MSR as 0x80, which means that the controller is ready for a write. The controller should not +be ready for a write while in reset. + +fdc.c Line 899 + /* Reset */ + if (!(value & FD_DOR_nRESET)) { + + fdctrl->msr = 0x00; + if (fdctrl->dor & FD_DOR_nRESET) { + FLOPPY_DPRINTF("controller enter RESET state\n"); + } + } else { \ No newline at end of file |