Cross-Architecture Visual Memory Mapper & 16-Bit Address Decoder (C64, VIC-20, ZX Spectrum, BBC Micro & Atari)
Interactive 64KB ($0000–$FFFF) memory map explorer, live PLA/ROM bank-switching toggles, 16-bit hex/decimal address decoder, and video RAM coordinate calculator
Cross-Architecture Visual Memory Mapper & 16-Bit Address Decoder
Interactive 64 KB ($0000–$FFFF) address space explorer, live hardware bank-switching simulator, 16-bit hex/decimal address decoder, and video RAM matrix calculator across five classic 8-bit architectures: Commodore 64 (MOS 6510/8500), Commodore VIC-20 (MOS 6502), ZX Spectrum 48K/128K (Zilog Z80), BBC Micro Model B (2 MHz 6502A), and Atari 800 / XL / XE (6502C SALLY + ANTIC/GTIA/POKEY).
$0000–$FFFF)
Click or hover over any screen cell on the visual CRT matrix below (or adjust Col X / Row Y) to compute the exact Screen Matrix address, Colour/Attribute RAM address, character row offset, and assembly screen-poke code:
Enter any 16-bit hexadecimal ($0400, 0xD020, FFFC) or decimal (1024, 53280, 64738) address to decode its hardware chip, register offset, Little-Endian Low/High byte split, and address bus lines:
A15..A0 — highlighted bits = Logic HIGH 1 for address decoder probing):
| Address | Register / Sub-Block | Hardware Chip & Function |
|---|
Define custom labels or routine allocations (e.g. MUSIC_INIT = $1000, SPRITE_BUF = $2000) to overlay on the architecture map and export ready-to-assemble 6502/Z80 symbol tables:
8-Bit Address Decoding, PLA Bank Switching & Video RAM Architecture
- Commodore 64 (MOS 6510
$0001& 82S100 PLA Banking): On the Commodore 64, the MOS 6510 / 8500 CPU contains a 6-bit on-chip I/O port at$0001(direction register at$0000). Bits 0–2 drive theLORAM,HIRAM, andCHARENlines into the 82S100 PLA alongside cartridge lines/EXROMand/GAME. In the default power-on state ($0001 = $37),$A000–$BFFFmaps the 8 KB BASIC V2 ROM,$D000–$DFFFmaps the 4 KB Hardware I/O window (VIC-II at$D000–$D3FF, SID 6581/8580 at$D400–$D7FF, 2114 Color SRAM at$D800–$DBFF, and 6526 CIA #1 & #2 at$DC00–$DDFF), and$E000–$FFFFmaps the 8 KB KERNAL ROM. Writes to ROM ranges always fall through to the underlying 64 KB DRAM (4164 / 4464). - Commodore VIC-20 (MOS 6502 & Moving Video Matrix): The VIC-20 divides its address space into 8 KB expansion blocks (
BLK1at$2000,BLK2at$4000,BLK3at$6000, and autostart cartridgeBLK5at$A000), plus a 3 KBBLK0gap at$0400–$0FFF. Because the MOS 6560/6561 VIC chip can only address internal bus memory, adding 8 KB or more of expansion RAM relocates the 22×23 Screen Matrix from$1E00–$1FF9down to$1000–$11F9and shifts the 2114 Color RAM from$9600to$9400. - ZX Spectrum 48K & 128K (Zilog Z80 Contended ULA RAM & Port
$7FFD): On the ZX Spectrum, the Ferranti ULA shares the lower 16 KB RAM bank ($4000–$7FFF, built from eight 4116 DRAMs on 48K boards). The 256×192 pixel bitmap at$4000–$57FFuses an interleaved scanline address layout (010 T T L L L R R R C C C C C) followed immediately by the 32×24 colour attribute grid at$5800–$5AFF. On 128K models, I/O port$7FFDpages any of 8×16 KB RAM banks into$C000–$FFFF, toggles the Shadow Screen in Bank 7, and switches between the 128K Editor ROM and 48K BASIC ROM. - BBC Micro Model B (2 MHz 6502A, Variable Screen
HIMEM&SHEILA $FE00): On the BBC Micro, screen memory ends at$7FFFwhile its start address (HIMEM) moves dynamically according to the active video mode — from$7C00(1 KB in TeletextMODE 7) down to$3000(20 KB in high-resolutionMODE 0/1/2). Up to 16 Sideways ROM/RAM banks share$8000–$BFFFvia theROMSELlatch at$FE30, while$FC00–$FEFFexposes the 1 MHzFRED,JIM, andSHEILAhardware I/O pages (6845 CRTC, System/User 6522 VIAs, and SN76489 PSG). - Atari 800 / XL / XE (6502C SALLY, ANTIC Display Lists &
PORTB $D301): The Atari 8-bit family uses the ANTIC DMA coprocessor to execute a programmable Display List anywhere in RAM, feeding pixel data to GTIA ($D000–$D0FF) while POKEY ($D200–$D2FF) handles 4-channel audio, keyboard scan, and SIO serial transfers. On 800XL/130XE machines, 6520 PIAPORTB($D301) switches the 8 KB Atari BASIC ROM ($A000–$BFFF), the 2 KB Self-Test ROM ($5000–$57FF), the 14 KB OS ROM, and 130XE extended 16 KB RAM banks ($4000–$7FFF).
Comments (0)
No comments yet. Be the first to share your thoughts on this tool!
Leave a Comment