Posted By
siz on 2019-04-06 15:53:53
| Re: $4000/$4001 different from $0000/$0001 on C16
Exactly as MCes wrote: the C16 has 16k RAM which repeats 4 times in the 64k address range. The RAM at $0000/$0001 cannot be read or written as that's the CPU I/O port. Accessing those addresses happens inside the CPU, they don't appear on the buses. As the RAM wraps around you can access those memory cells at their "shadow" adresses: $4000/$4001, $8000/$8001 and $c000/$c001.
|