**** COMMODORE 64 BASIC V2 **** 64K RAM SYSTEM 38911 BASIC BYTES FREE READY.

C64 for macOS

A native Swift/AppKit Commodore 64 emulator. Cycle-exact CPU and video, a real SID, and true emulation of the 1541 and 1581 disk drives running their original DOS ROMs. Free and open source.

Download for Mac Source on GitHub
The C64 app at the BASIC READY prompt with a HELLOWORLD program

What's emulated

6510 CPUCycle-exact bus accesses, all documented and undocumented opcodes; passes Klaus Dormann's functional test.
VIC-IICycle-stepped: badlines, sprite DMA, border flip-flops, raster IRQ, all text and bitmap modes, sprite collisions.
SID 65813 voices, all waveforms, sync/ring, ADSR with real rate tables, resonant multimode filter, digis.
PAL / NTSC6569 (50 Hz) or 6567R8 (60 Hz); CPU, SID pitch, CIA clocks and drive timing follow.
1541 driveDrive 6502 running the original DOS ROM, two VIA 6522s, stepper head, GCR at the correct zone speeds. Reads and writes, so fast loaders and copy protection behave like the real thing.
1581 driveDevice 9: 2 MHz 6502, 8520 CIA and WD1772 controller with the original 1581 DOS; D81 images, including formatting.
DatasetteTAP playback and recording at cycle precision, with automatic warp while the motor runs.
Fast loadingInstant Load copies KERNAL loads straight from the disk image; automatic warp while a drive motor runs.
MediaD64, D81, PRG, T64 and TAP. Drag a file onto the window and it autostarts. Changes are written back to the image.

Getting started

Download C64.app.zip from the releases page, unzip it, and right-click → Open the first time (the app is ad-hoc signed). Requires macOS 13 or later.

The Commodore ROMs are copyrighted and not included. On first launch the app looks in ~/Library/Application Support/C64Emu/ROMs and in a VICE installation, or asks you for a folder with basic, kernal and chargen ROM files (and optionally the 1541/1581 DOS ROMs).

Or build from source:

git clone https://github.com/AgentiLoop/c64.git
cd c64
./scripts/make-app.sh
open build/C64.app

Keys

EscRUN/STOP
Page UpRESTORE
Left OptionC=
Numpad 8/2/4/6 + 0Joystick (port 2, ⌘K swaps ports)
⌘VPaste text as typing
⌘JWarp mode
⌘D / ⌘EAttach / eject a disk in drive 8
⌘LInstant Load on/off