Jeff, thanks for clarifying the 6509 bank switching.
Assumed pin configuration of the address decoder IC13 (XB828A0):
Code:
-----\__/-----
1|I A10 24|S +5V
2|I GND 23|O /RAM
3|I GND 22|O /ROM1
4|I /PB 21|O /ROM2
5|O /ROM3 20|O /MI
6|I A11 19|O /RYP
7|I A12 18|I /DME
8|I A13 17|I P1
9|I A14 16|I P2
10|I A15 15|I DVI
11|I HIGH 14|O DVO
12|S GND 13|O A16
--------------
'S' supply, 'I' input, 'O' output.;...
DVI and DVO seem to belong to a :16 divider, generating the 125kHz clock out of 2MHz.
A15..A10 are inputs (fed by the master CPU). //6 inputs.
A16 is an output, selecting between the lower and upper 64kB half of a 128kB ROM.
// Hmm... IC13 input pin 4 (/PB) is connected to IC3 pin 37 /CTO.
// From the
list, IC3 pin 37 is an output for "LED Control".
// The signal is labeled 'Bank select' in the HS-5 schematic.
// Maybe they needed another bank select signal, but there were not enough pins available at the IC1 master CPU.
So in theory, we have inputs which could be (or could be not) bank select signals:
/DME, P1, P2, /PB. //4 inputs.
Chip select outputs would be:
/ROM1, /ROM2, /ROM3, /RAM, /MI, /RYP. //6 outputs
;...
OK, that's 11 used inputs and 8 used outputs so far.
Pin 13 appears to be an output, so no
ATF22V10 or GAL22V10.
An option would be building/wiring an adaptor from (for instance) DIP24 wide precision socket (EPROM pinout) to DIP24 narrow precision socket (XB828A0 pinout),
to buy a functional XB828A0, maybe at ebay, (or to rip it out of another HS-5 organ),
//trying to solder it out of the DM PCB most likely would damage the DM PCB, don't do that.then to plug the contraption into an EPROM programmer for reading it like an EPROM,
what would give us a binary file containing a list\table which input Bit pattern gives which output Bit pattern,
and from that
in theory it might be possible to try extracting the logic equations from IC13.
Edit:
Dang: no XB828A0 at ebay.
So another option would be passively scanning/snooping the inputs\outputs of IC13 with a logic analyzer.