So, on this
page we have the circuit and details.
The most important part, is that only pins marked with the “triangle” symbol should be bent up or otherwise isolated from the socket. All other pins go in the socket contacts.
Pin 1, A14 has to have some extra circuitry so that the upper part of this SRAM is not always mapped in the top part of the Z80 memory map, that’s why the /M1 signal is compared to address line A15. We only want to allow reading or writing of data from/to the upper half of the SRAM chip, not instruction execution.
When the Z80 is getting instructions from the upper part of its memory map, it should be reading from the display file in the lower half of the SRAM chip. In an unmodified Z80, this is done by incomplete address decoding, hence the (same) RAM appears in more than one place.
Pin 2 goes to A12 from the Z80
Pin 20 is the /RAMCS from the ULA (/CE - /chip enable or /chip select on the SRAM chip)
Pin 22 goes to 0V to make this control pin (/OE - output enable on the SRAM chip) always see it at an active level.
Pin 23 goes to A11 from the Z80
Pin 26 goes to A13 from the Z80
pin 27 is the /WR line from the Z80. It needs to be held high to stop unwanted writes, hence the 10kΩ resistor to the battery backed supply to pin 28. Further detail in my earlier post above.
pin 28, when battery backup is wanted, this pin needs isolating from the normal +5V power rail. The diode stops the battery from trying to power up all the other chips, but allows the +5V to power the chip when the computer has power. The 100Ω resistor limits the charging current to the battery.
It’s the ULA’s address decoding on pin 20 that actually allows HRG (indeed any of the high resolution graphics modes generated by software). Hence why an unexpanded, unmodified 1K (or 2K TS1000) can run dr beep’s 1K high-res programs.
All this upgrade does, is replace the smaller capacity SRAM chip with a higher capacity SRAM chip. Plus the extra circuitry to allow 16K of RAM to be used as battery backed data storage in the upper part of the memory map (“48K to 64K”).
I hope that helps to explain it.
Flatulentia wrote: ↑Sun Jun 04, 2023 12:40 am
That makes sense. Thanks.
It does indeed look as though commercial producers are following that exact schematic blindly.
That circuit/web page has been online for an eternity…
Mark