C64 Emulator
A Commodore 64 in your browser. Drop a program, disk, tape or cartridge image on the screen and it starts by itself. Your files stay on your computer; nothing is uploaded.
Keyboard
Click the screen, then type: letters, digits and symbols go to the C64 as you see them on your keyboard. Special keys:
- Esc
- RUN/STOP
- Page Up
- RESTORE
- Tab
- CTRL
- Left Alt
- C= (Commodore key)
- Home / Shift+Home
- HOME / CLR
- Backspace / Insert
- DEL / INST
- F1 … F8
- F1 … F8
- Arrow keys
- Cursor keys (unless they steer the joystick)
- ` or _
- ← (left arrow)
- ^
- ↑ (up arrow)
- Ctrl+F12
- Reset
- F11
- Fullscreen
The Debugger button opens a monitor below the screen: stop the C64 at any instruction, step through the code, set breakpoints on addresses, memory reads and writes or raster lines, and look at memory, the stack and the VIC, CIA and SID registers. Its command line understands the usual monitor commands (type help).
The Sprites button shows the sprites on the screen, also those a game reuses further down (multiplexing), collects every sprite image while you play, and browses all 256 sprite slots of a VIC bank. Sprites can be saved as PNG, as raw data or as assembler source.
The Characters button shows the character sets the screen uses (also several, when a game switches them further down) in the colours of the screen and marks the characters in use. Any character set in memory or in the ROM can be viewed too, and saved as PNG, raw data, a .64c file or assembler source.
The Music button records what the SID plays as a WAV file, or finds the music routine of the running program and saves the tune as a SID file for SID players.
Links that start a program: add ?file= and the web address of a PRG, D64, CRT, TAP or other file to the address of this page, for example https://wagiminator.github.io/apps/c64-emulator/?file=https://raw.githubusercontent.com/wagiminator/C64-Games/main/C64_Zyron/binaries/zyron.crt. The file is downloaded and started at once. Links to files on GitHub work as they are; other servers have to allow the download from other sites (CORS).
Built-in ROMs: the free MEGA65 Open ROMs (LGPL 3). They run most games, but their BASIC is incomplete. Without a 1541 ROM a virtual drive loads the disks; it also runs drive code that programs upload, so most fast loaders work. For full compatibility load the original C64 ROMs (KERNAL, BASIC, character ROM) and the 1541 DOS ROM once; they are stored only in this browser.