How does KIM-1 addressing work?

Skip to first unread message

Jeremy Starcher

Apr 17, 2022, 10:56:09 AMApr 17
to PAL 6502 computer
I'm sure this is simple to people with formal education but ... I have a question.

How the heck does the expanded memory board for the PAL-1 work?

I know on the 'stock' 6502, the additional memory lines are not used so the memory "wraps around" at $2000

I know that the memory card uses (some) of the extra address lines to access memory $2000-$9FFF and the ROM card uses memory $A000---???? Can't be $FFFF.

So... how does the memory decoding let the CPU find the reset vectors at the high end of ROM?  What ROM ranges are... "shadowed?"


Apr 17, 2022, 11:56:58 AMApr 17
to Jeremy Starcher, PAL 6502 computer
Hi Jeremy,

The key is on the RAM expansion card…

The RAM card has a 74ls145, just like the ROM card, for the address decoder, the 74145 input lower three pins connected to the upper address line from 6502 (A13, A14 and A15). For the interrupt vectors ($FFFF to $FFFA), the trick is we connect the 74145’s Q7 output (the highest address including interrupt vector) to Q0 then to the DEN line on PAL-1, not the RAM/ROM chip selector pin. So when the processor access $FFFF, the decoder will disable the expansion RAM and ROM, the PAL-1 with RAM/ROM expansions will back to the basic KIM-1 config, a 8K system.
> --
> You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To view this discussion on the web visit
> For more options, visit


Reply all
Reply to author
0 new messages