CD-ROM Controller With a Disc: Difference between revisions
| Revision as of 05:11, 23 October 2026 RemmyLee (Hardware tests: 72 more test pages, listed on the main page by area; RUN.toml no longer published) | Revision as of 05:18, 23 October 2026 RemmyLee (Hardware tests: nine DMA, MDEC and BIOS test pages with part names for titles; join one-sentence paragraphs per voice.md) | ||
| Line 10: | Line 10: | ||
| ## Overview | ## Overview | ||
| − | The program drives the CD-ROM controller the same way as the [no-disc test](/tests/cd-rom-no-disc/): interrupts are polled with HINTMSK 0 and CPU interrupts off, and root counter 2 counts system clock cycles from each command write. One second is 33868800 cycles.[^run] | + | The program drives the CD-ROM controller the same way as the [no-disc test](/tests/cd-rom-no-disc/): interrupts are polled with HINTMSK 0 and CPU interrupts off, and root counter 2 counts system clock cycles from each command write. One second is 33868800 cycles.[^run] It waits for a disc to be put in, reads its ID and table of contents, then times ReadN at single and double speed, SeekL across the disc, a speed change, Stop, MotorOn and Init.[^run] |
| − | It waits for a disc to be put in, reads its ID and table of contents, then times ReadN at single and double speed, SeekL across the disc, a speed change, Stop, MotorOn and Init.[^run] | ||
| − | |||
| ## Results | ## Results | ||
| Line 35: | Line 33: | ||
| | Double, second time | 5637527 | 2006829 | | | Double, second time | 5637527 | 2006829 | | ||
| − | In the second double speed read, one gap between sectors was 2472768 cycles where the others were near 225000.[^run] | + | In the second double speed read, one gap between sectors was 2472768 cycles where the others were near 225000.[^run] A ReadN from sector 118100, a thousand sectors before the lead-out, gave no INT1 at either speed, and GetlocL answered error 80h.[^run] |
| − | A ReadN from sector 118100, a thousand sectors before the lead-out, gave no INT1 at either speed, and GetlocL answered error 80h.[^run] | ||
| − | |||
| ### Seek Timing | ### Seek Timing | ||