Sid64
Commodore 64 & 128 · Native Swift

Your first computer.
At home on Mac.

The familiar blue screen. The sound of SID. Rediscover the Commodore 64 and 128 in a native Mac app, written in Swift.

macOS 14+ · Apple silicon & Intel · Free & open source

Sid64 for macOS displaying the Commodore 64 BASIC V2 READY screen
38911 BASIC bytes free. Ready when you are.
Developer ID signedApple notarizedUniversal Mac appMIT licensed

A little machine. A lot to rediscover.

The sights. The sound.

Cycle-stepped VIC-II graphics, SID audio, and NTSC or PAL timing. From a blinking BASIC cursor to sprites, raster effects, and familiar soundtracks.

Disks, tapes & cartridges

1541, 1571, and 1581 drive emulation, Datasette support, and drag-and-drop media. Instant Load and automatic warp get you playing sooner.

Two Commodores. One app.

Switch to the C128 for BASIC 7.0, 40- and 80-column displays, and CP/M on the Z80. Bring your own ROMs and explore a little further.

Up and running

Start with your own collection.

Download Sid64.app.zip from the releases page, unzip it and open it. It's a Universal app (Apple silicon and Intel), signed with Developer ID and notarized by Apple. Requires macOS 14 or later.

Drag and drop a .d64 disk image onto the C64 screen to insert it in drive 8 and autostart it (LOAD"*",8,1 + RUN). .g64, .d71, .d81, .prg, .p00, .t64, .tap and .crt files work the same way.

Need something to test with? Download Laser Eagle v3 (.d64, 171 KB), a game by Todd Bruss, free to play — then drop it onto the C64 screen.

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

ROM filenames and sizes

Preferred file names (files are matched by name prefix and must be exactly this size):

Commodore 64
BASICbasic-901226-01.bin8 KB (8192 bytes)required
KERNALkernal-901227-03.bin8 KB (8192 bytes)required
CHARGENchargen-901225-01.bin4 KB (4096 bytes)required
1541 DOSdos1541-325302-01+901229-05.bin16 KB (16384 bytes)optional, drive 8 (also used in C128 mode)
1581 DOSdos1581-318045-02.bin32 KB (32768 bytes)optional, drive 9 (also used in C128 mode)
Commodore 128 (in addition to the C64 ROMs above)
C128 KERNALkernal-318020-05.bin16 KB (16384 bytes)needed for C128 mode
C128 BASIC lowbasiclo-318018-04.bin16 KB (16384 bytes)needed for C128 mode
C128 BASIC highbasichi-318019-04.bin16 KB (16384 bytes)needed for C128 mode
C128 CHARGENchargen-390059-01.bin8 KB (8192 bytes)needed for C128 mode
1571 DOSdos1571-310654-05.bin32 KB (32768 bytes)optional, drive 8 in C128 mode
Build from source
git clone https://github.com/AgentiLoop/Sid64.git
cd Sid64
./scripts/make-app.sh
open build/Sid64.app

For the curious. And the power users.

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.
NTSC / PAL6567R8 (60 Hz, default) or 6569 (50 Hz), or Auto: switches to PAL live when a program needs it. 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.
1571 driveDrive 8 in C128 mode (optional in C64 mode): 2 MHz, both heads, fast serial burst transfers, D71 images, and a WD1770 for MFM CP/M disks.
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, G64 (raw GCR, for copy-protected disks), D71, D81, CP/M .img, PRG, P00, T64, TAP and CRT cartridges (Ocean, Magic Desk, EasyFlash, Epyx FastLoad and more). Drag a file onto the window and it autostarts. Changes are written back to the image.
Drive lightA light in the title bar: green reading, orange writing, yellow appending, red deleting, purple formatting, pink erasing.
Commodore 128Machine ▸ Commodore 128 boots C128 mode with BASIC 7.0: 128K and the 8722 MMU, 40 columns on the VIC-II and 80 columns on the 8563 VDC (ESC X switches; View ▸ C128 Display picks the 40- or 80-column output by hand, like the input switch on a monitor), FAST 2 MHz mode, GO64, disk boot, the extra C128 keys. CP/M 3.0 on the Z80 (passes ZEXDOC). Needs the C128 ROMs (see below).
ModemDial Commodore and PC BBSes over telnet from the user port, SwiftLink or Turbo232 (up to 230,400 baud). Built-in terminal with PETSCII and ASCII/ANSI modes and XMODEM download/upload.
Keyboard & controls
Keyboard
EscRUN/STOP
Page UpRESTORE
Left OptionC=
Tab / ControlCTRL
HomeCLR/HOME
F1–F8F1–F8
Backspace / Fwd DeleteDEL / INST
⌘VPaste text as typing
Help, F9–F13C128 mode: HELP, ESC, TAB, ALT, LINE FEED, NO SCROLL
End / Page DownC128 mode: the top-row ← / → cursor keys (CP/M uses them to pick a disk format)
Joystick
Numpad 8/2/4/6, 0 or Right OptionJoystick (port 2 by default, ⌘K swaps ports)
Machine & view
⌘JWarp mode
⌘R / ⌘⇧RReset / hard reset
⌥⌘R / ⌥⇧⌘RReset / hard reset holding C= (a C128 starts in C64 mode)
⌘PPause / resume (handy for screenshots)
⌘1 / ⌘2 / ⌘3Full border / small border / no border
⌘4 / ⌘5 / ⌘6C128 display: automatic / 40 columns (VIC-II) / 80 columns (VDC)
Disk drives
⌘D / ⌘E / ⌘NAttach / eject / create a D64 in drive 8 (1541)
⌘⇧D / ⌘⇧E / ⌘⇧NAttach / eject / create a D81 in drive 9 (1581)
⌘LInstant Load on/off (copies files straight from the disk image; the directory and custom loaders still use the real drive)
Datasette
⌘T / ⌘⇧TInsert a TAP / new blank TAP
⌘⌥1–4Tape play / record / stop / rewind
Our sister project

More Commodore. Meet MacMiga.

An Amiga 500 emulator for macOS, written in Swift. Two projects, one love of classic computers. Source & releases.

Explore MacMiga ↗