Oh thank you, that helped a lot!
KS202's pinout seems to be:
Code: Select all
.--\/--.
CPU-A12 -> |01 20| -> WRAM-/CE
CPU-A13 -> |02 19| <- CPU-D3
CPU-A14 -> |03 18| <- CPU-R/W
VCC -- |04 17| <- CPU-D0
M2 -> |05 16| <- CPU-D1
PRG-A14 <- |06 15| <- CPU-D2
PRG-A13 <- |07 14| -- GND
PRG-A15 <- |08 13| <- CPU-/ROMSEL
PRG-A16 <- |09 12| <- RESET
PRG-/CE <- |10 11| -> /IRQ
`------'
How it function is unknown, but surely it can only be responsible for PRG banking (up to 128K), IRQ (probably counting CPU cycles), generating WRAM and PRG /CE signal (the last one is not used).
PAL pinout seems to be:
Code: Select all
.--\/--.
CPU-A10 -> |01 20| -- VCC
CPU-A11 -> |02 19| -> CIRAM-A10
CPU-A12&13&14 -> |03 18| -> PPU-A13
CPU-/ROMSEL -> |04 17| -> MUX-RD/WR
REG1-D4 (*) -> |05 16| -> CHR-/CE
CPU-R/W -> |06 15| -> PRG2-/CE
CPU-D0 <- |07 14| -> PRG1-/CE
PPU-A10 -> |08 13| n/c (internal feedback)
PPU-A11 -> |09 12| -> REG1-/GW (*)
GND -- |10 11| <- PPU-/RD (filtered ??)
`------'
Its role is to:
* Add PRG-A17, stored in 74670 (*) and generate PRG1/CE, PRG2/CE
* Generate CHR /CE
* Generate CIRAM-A10 (internally latched D0),
* Generate signal controlling the 6116+74240+74157 CHR-ROM register
Doubts/notes:
* I am not sure which bit is used as PRG-A17 (logically should be CPU-D4, but the via under PRG-ROM can go to anything, maybe even address bit)
* Cant determine register addresses for PRG/CHR banking and IRQ
* 8x1k CHR-banks, not 2x2k+4x1k like in MMC3
