Skip to content

Commodore 64 Memory Inspector - NullSec Retro Series

Notifications You must be signed in to change notification settings

bad-antics/c64-mempeek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💾 C64-MEMPEEK

╔═══════════════════════════════════════════════════════════╗
║  ▄▄▄▄▄▄▄▄▄▄  █       █▌ █▄ ▄█ █▀▀▀▀█ █▀▀▀▀▀▀▀▀█ █  ▄▀    ║
║  █        █ █ ▀▄   ▄▀ █ █ █ █ █    █ █        █ █▄▀      ║
║  █   ▄▄▄▄▄█ █   ▀▄▀   █ █   █ █▄▄▄▄█ █▄▄▄▄▄▄▄▄█ █ ▀▄     ║
║  █  █▄▄▄▄▄  █    █    █ █   █ █      █        █ █   ▀▄   ║
║  █       █  █   ▄▀▄   █ █   █ █▀▀▀▀▀ █▀▀▀▀▀▀▀▀█ █  ▄▀    ║
║  █▄▄▄▄▄▄▄█  █  ▀   ▀  █ █   █ █▄▄▄▄▄ █▄▄▄▄▄▄▄▄█ █▄▀      ║
║               COMMODORE 64 MEMORY INSPECTOR               ║
╚═══════════════════════════════════════════════════════════╝
platform language retro

MEMORY INSPECTION FOR THE COMMODORE 64

Part of the NullSec Retro Series - Security tools for vintage computers


📟 ABOUT

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

🕹️ USAGE

Load and Run

LOAD "C64-MEMPEEK",8,1
RUN

Or type directly:

The program is small enough to type in manually from the listing.

Memory Map Reference

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

🎯 INTERESTING LOCATIONS

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

📺 SCREENSHOT

╔══════════════════════════════════════╗
║   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)? _

🔧 REQUIREMENTS

  • Commodore 64 (or emulator: VICE, CCS64, Frodo)
  • Datasette or disk drive for loading (optional)
  • Works on C64, C64C, C128 (64 mode)

📂 FILES

File Description
c64-mempeek.bas BASIC source listing
c64-mempeek.prg Ready-to-run PRG file
c64-mempeek.d64 D64 disk image

NULLSEC RETRO SERIES

Stay Retro. Stay Secure.

GitHub

Releases

No releases published

Packages

No packages published

Languages