From 47b7608b6d8654d140765114cd477cecdd08aa49 Mon Sep 17 00:00:00 2001 From: Colin Suckow Date: Mon, 26 Jul 2021 09:44:04 -0700 Subject: [PATCH] Add CDROM controller register table --- docs/cdromdrive.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/cdromdrive.md b/docs/cdromdrive.md index 86e0e31..c501cd0 100644 --- a/docs/cdromdrive.md +++ b/docs/cdromdrive.md @@ -52,6 +52,14 @@ ## CDROM Controller I/O Ports + +| | 1F801800h | 1F801801h | 1F801802h | 1F801803h | +|---|-------------------|----------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------------------------------| +| 0 | Index/Status (RW) | Response FIFO (R) (Mirror)
Command Register (W) | Data FIFO (R)
Parameter FIFO (W) | Interrupt Enable Register (R)
Request Register (W) | +| 1 | Index/Status (RW) | Response FIFO (R)
Sound Map Data Out (W) | Data FIFO (R)
Interrupt Enable Register (W) | Interrupt Flag Register (RW) | +| 2 | Index/Status (RW) | Response FIFO (R) (Mirror)
Sound Map Coding Info (W) | Data FIFO (R)
Left-CD to Left-SPU Volume (W) | Interrupt Enable Register (R) (Mirror)
Left-CD to Right-SPU Volume (W) | +| 3 | Index/Status (RW) | Response FIFO (R) (Mirror)
Right-CD to Right-SPU Volume (W) | Data FIFO (R)
Right-CD to Left-SPU Volume (W) | Interrupt Flag Register (R) (Mirror)
Audio Volume Apply Changes (W) | + #### 1F801800h - Index/Status Register (Bit0-1 R/W) (Bit2-7 Read Only) ``` 0-1 Index Port 1F801801h-1F801803h index (0..3 = Index0..Index3) (R/W)