stephen_usher wrote: ↑08 May 2019 09:19
Surely board connected into ROM B socket with a couple of flying leads to ROM A and ROM C would give all the lines needed to run a 32K ROM? Put the three ROM select lines through an inverter and use the ROM B and ROM C select output as two address lines. Then put all three inverted ROM select lines through a three-way or gate and invert the output to be the ROM select.
I did some experiments with an internal rom board before settling on the external design.
All you need logic wise for just 3 roms is a single 3 input AND gate, Chip select for ROM B goes to A13 on the rom, chip select for ROM A goes to A14. The 3 chip selects are then anded to make the 32k rom chip select, the output of the AND will go low when any of the 3 rom selects go low.
There's no need for inverters on the upper address lines if you get creative with the rom placements:
The first 8k of the rom is left empty, can't be selected as the MTX board never pulls 2 rom selects low at the same time.
ROM A goes in the 8-16k area as With ROM A CS low, A14 is low (as CS A is low) and A13 high (as CS B is high).
ROM B goes in the 16-24k area as With ROM B CS low, A14 is high (as CS A is high) and A13 low (as CS B is low).
ROM C goes in the 24-32k area as With ROM C CS low, A14 is high (as CS A is high) and A13 high (as CS B is high).
The problem with the test configuration was height. The Header pins, plus the board, plus a socket plus the chip in the socket didn't allow enough clearance for the keyboard. In the photo the empty socket is a stand in for the AND chip, and that too is in danger of being hit by the keyboard PCB, PCB itself would have needed to be shortened with the last 4 rows of holed removed. There's 2 pin headers to pick up the extra chip selects, but that's for stability, the other pin would be unconnected.
With shorter header pins, it might be doable, but it wasn't with the ones I had to hand so I went for the external solution. I didn't want to solder the memory chip to the daughterboard, but that might be another solution, as that cuts the height by 5mm or so,.
Putting a 32k (e)eprom directly into the socket with some artfully bent pins, with the AND chip dead bugged on top is another possibility. (Sinclair Spectrum model 1 nostalgia anyone ??). But realistically that too is a 1 way trip for the rom.

- rom daughter board.jpg (70.55 KiB) Viewed 11720 times