rosco-m68k / hardware-projects

Supporting hardware, expansions and projects for the rosco_m68k

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect RAM Expansion Decode for Huge ROM IC2

0xTJ opened this issue · comments

The current Huge ROM IC2 only decodes /EXPSEL for $00100000 to $001FFFFF, instead of all the way to $00DFFFFF.

/EXPSEL = IACK * /AS * /A23 * /A22 * /A21 * A20

-/EXPSEL       = IACK * /AS * /A23 * /A22 * /A21 * A20
+/EXPSEL       = IACK * /AS * A23 * /A21
+              + IACK * /AS * /A23 * A22
+              + IACK * /AS * /A23 * A20
+              + IACK * /AS * /A22 * A21

I noticed it when Mosys RAM expansion scan would cause a bus error at $00200000. I got the PLD address equations from a truth table -> logic equation tool, so I've hopefully gotten that right. It now gets through the entire expansion space without a bus error.