Memory Organization & Address Translation

Answer & solution
Answer: Two 1K×8 banks: 1000h–13FFh and 1400h–17FFh; decode A15…A11=00010 and select bank by A10. (no official key was published)
A 1K×4 chip has 1024 locations of four bits. Put two chips in parallel to make each 1K×8 bank, then use two banks for 2K×8. Name them L0,H0 and L1,H1. Wire all four address inputs to CPU A0–A9. In each bank L’s chip D0–D3 connect to CPU D0–D3, and H’s chip D0–D3 connect to CPU D4–D7. Both chips in a bank share selection and read/write controls.
1000h = 0001 0000 0000 0000
17FFh = 0001 0111 1111 1111
Thus A15…A11=00010 is fixed; A10 selects one of two banks; A9…A0 address a byte within the bank. Let M=NOT(IO/M), true on memory cycles, and S=M·¬A15·¬A14·¬A13·A12·¬A11. Then
/CS0=NOT(S·¬A10), to L0 and H0
/CS1=NOT(S· A10), to L1 and H1.
Bank 0 responds to 1000h–13FFh and bank 1 to 1400h–17FFh, with no other addresses selected. Connect CPU /RD and /WR to each chip’s /RD and /WR; memory qualification in /CS suppresses I/O-cycle responses.
8085 AD0–AD7 ──┬── bidirectional data bus D0–D7 ── both banks
└── ALE-controlled latch ── A0–A7 ── all chips
8085 A8,A9 ─────────────────────────────── A8,A9 ── all chips
A15…A10, IO/M ── decoder ── /CS0,/CS1
/RD,/WR ───────────────────────────────────────── all chipsThe latch is essential because the 8085 multiplexes low address and data pins. The upper chip in each bank maps its local D0 to CPU D4, not CPU D0. Only one bank is enabled per address; deselected banks stay high impedance and cannot fight the data bus.