╔═══════════════════════════════════════════════════════════╗
║ ▄▄▄▄▄▄▄▄▄▄ █ █▌ █▄ ▄█ █▀▀▀▀█ █▀▀▀▀▀▀▀▀█ █ ▄▀ ║
║ █ █ █ ▀▄ ▄▀ █ █ █ █ █ █ █ █ █▄▀ ║
║ █ ▄▄▄▄▄█ █ ▀▄▀ █ █ █ █▄▄▄▄█ █▄▄▄▄▄▄▄▄█ █ ▀▄ ║
║ █ █▄▄▄▄▄ █ █ █ █ █ █ █ █ █ ▀▄ ║
║ █ █ █ ▄▀▄ █ █ █ █▀▀▀▀▀ █▀▀▀▀▀▀▀▀█ █ ▄▀ ║
║ █▄▄▄▄▄▄▄█ █ ▀ ▀ █ █ █ █▄▄▄▄▄ █▄▄▄▄▄▄▄▄█ █▄▀ ║
║ COMMODORE 64 MEMORY INSPECTOR ║
╚═══════════════════════════════════════════════════════════╝
MEMORY INSPECTION FOR THE COMMODORE 64
Part of the NullSec Retro Series - Security tools for vintage computers
C64-MEMPEEK is a memory inspection utility for the Commodore 64, written in BASIC. It allows you to:
- View any memory location in hexadecimal and ASCII
- Navigate the C64's memory map
- Examine ROM, RAM, I/O registers, and BASIC programs
Perfect for:
- Learning C64 architecture
- Debugging BASIC and ML programs
- Exploring the system internals
- Security research on vintage hardware
LOAD "C64-MEMPEEK",8,1
RUNThe program is small enough to type in manually from the listing.
| Address | Contents |
|---|---|
| $0000-$00FF | Zero Page (fast access) |
| $0100-$01FF | Processor Stack |
| $0200-$03FF | OS/BASIC Work Area |
| $0400-$07FF | Screen RAM (default) |
| $0800-$9FFF | BASIC Program Area |
| $A000-$BFFF | BASIC ROM |
| $C000-$CFFF | Free RAM |
| $D000-$DFFF | I/O Chips & Character ROM |
| $E000-$FFFF | KERNAL ROM |
PEEK(53280) ; Border color
PEEK(53281) ; Background color
PEEK(646) ; Current text color
PEEK(197) ; Current key pressed
PEEK(56320) ; Joystick port 2
PEEK(56321) ; Joystick port 1
PEEK(1024-2023) ; Screen character codes╔══════════════════════════════════════╗
║ C64-MEMPEEK V1.0 - MEMORY VIEWER ║
║ NULLSEC RETRO SERIES ║
╚══════════════════════════════════════╝
ADDR HEX ASCII
---- --- -----
01024 20 20 20 20 20 43 36 .....C6
01032 34 2D 4D 45 4D 50 45 4-MEMPE
01040 45 4B 20 20 20 20 20 EK.....
START ADDRESS (DEC)? _
- Commodore 64 (or emulator: VICE, CCS64, Frodo)
- Datasette or disk drive for loading (optional)
- Works on C64, C64C, C128 (64 mode)
| File | Description |
|---|---|
c64-mempeek.bas |
BASIC source listing |
c64-mempeek.prg |
Ready-to-run PRG file |
c64-mempeek.d64 |
D64 disk image |