C64.emu
C64.emu emulates Commodore C64, Commodore 64 with SuperCPU, Commodore C64 DTV and 5 more systems. It reads 105 files, 45 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
The app reads its files from this folder:
On Linux: ~/.local/share/C64.emu/
Searched after the System File Path set in the app, then /usr/share/games/vice. On Android only the folder or archive the user picks is read.
Source: C64.emu/src/main/Main.cc:91-95
About this profile
Technical notes
Android and Linux member of the EX Emulator series by Robert Broglia,
published as com.explusalpha.C64Emu (C64.emu/metadata/conf.mk:2,6,7) and
reached by ES-DE through its C64-EMU find rule. VICE 3.10 is vendored under
C64.emu/src/vice (C64.emu/,795) and driven by the
app's own sysfile, video, sound and zfile layers.
Ten machines are built as separate shared libraries
(C64.emu/): c64, c64sc, scpu64, c64dtv, c128, vic,
pet, plus4, cbm2, cbm5x0. Each opens its files under the VICE machine
directory named by its own machine_name (C64.emu/src/vice/c64/c64.c:179,
C64.emu/, C64.emu/,
C64.emu/, C64.emu/src/vice/pet/pet.c:128,
C64.emu/, C64.emu/,
C64.emu/, C64.emu/),
so c64 and c64sc share C64/ and cbm2 and cbm5x0 share CBM-II/. Drive ROMs live
in DRIVES/ (C64.emu/,174).
Nothing is embedded. The app implements sysfile_open, sysfile_locate and
sysfile_load itself (C64.emu/) over a user-set path
that may be a directory or a ZIP archive, and that path is rejected unless it
carries a DRIVES folder (C64.emu/). On Linux two
fallbacks follow it, ~/.local/share/C64.emu and /usr/share/games/vice
(C64.emu/src/main/Main.cc:91-95). A last fallback reads the application bundle
(C64.emu/,252-259), which supplies only the eight
keymaps below (C64.emu/res/android/assets symlinks C64.emu/res/vice, and each
machine directory there holds one file).
Missing ROMs stop the app rather than degrading it: initC64 throws when the
path is unset, and again with the name of the first file that failed once
plugin.init_main() returns -1 (C64.emu/), which is
what machine_init does when mem_load cannot find a ROM.
All fourteen C64 models are offered (C64.emu/), so
every kernal revision and both chargens are reachable. The MAX Machine model
loads nothing: C64.emu/ matches the
kernal-none.bin name and zeroes the ROM area instead of calling sysfile_load.
C128 is the one machine that needs its whole language set present. mem_load
runs c128rom_check_res_file over both BASIC halves, all eight kernal
resources, all eight chargen resources, Kernal64 and Basic64, and returns -1
if any one of them cannot be located
(C64.emu/). Only the selected variant is then
read. MachineType stays at C128_MACHINE_INT
(C64.emu/) because no reachable code writes
it, so the Danish, Norwegian and Swedish kernal64 variants of
C64.emu/ are never named.
Drive ROMs are optional in the strict sense: iec_drive_rom_load,
ieee_drive_rom_load, tcbm_drive_rom_load and iec128dcr_drive_rom_load return
void, and driverom_load logs the miss and disables the units of that type
(C64.emu/,131-144). Default unit 8 is a
1541-II on C64, SCPU64 and DTV (C64.emu/), a 1571CR
on C128 (C64.emu/), a 1540 on VIC-20
(C64.emu/), a 1551 on Plus/4
(C64.emu/) and a 2031 on PET and CBM-II
(C64.emu/, C64.emu/).
Sizes come from the min and max arguments of each sysfile_load call. The
loader accepts a file two bytes over its maximum by dropping the leading load
address, pads a short file to the top of the buffer, and truncates anything
longer with a warning (C64.emu/).
SHA-1s are those hardcoded in C64.emu/.
C64.emu/ hashes the loaded kernal and matches
that table to identify the revision, and an unmatched image is reported and
accepted. VICE distributes C128/kernal64-901227-03.bin and
C128/basic64-901226-01.bin with the same bytes as the C64 Rev 3 kernal and
BASIC, so those two entries carry the same hashes.
Palettes are read only after the user enables an external palette: the
${CHIP}ExternalPalette resource is registered with factory value 0 and
${CHIP}PaletteFile with the chip's default name
(C64.emu/,916-923). The app lists
every .vpl in the machine directory and sets both resources
(C64.emu/,1058,1074-1083,
C64.emu/). Only the code-named default of each chip
is listed here, and palette_load appends the .vpl extension itself
(C64.emu/).
Keymaps are named from KBD_PORT_PREFIX, which the app sets to gtk3
(C64.emu/src/config/kbd.h:7). keymap_init runs inside init_main and the lookup
falls back to <prefix>_sym.vkm
(C64.emu/,1386-1392), the file the app bundles for
each machine directory. Host-layout and keyboard-type variants extend the name
and are not enumerated here.
Four subsystems are compiled but cannot reach their files. Printer ROMs and
the PRINTER/ palettes load from drv_mps803_open and drv_nl10_open, which
require Printer4, Printer5 or Printer6 to leave PRINTER_DEVICE_NONE
(C64.emu/). The app writes no
printer resource, and neither main.c nor initcmdline.c is compiled, so the
resource file and the command line that would set one do not exist. Romset
.vrs files, the monitor command file and joystick .vjm maps have no default
name at all (C64.emu/) and no menu that
supplies one. vice/arch is outside the build, so the CBM font, icon and hotkey
lookups of archdep_cbmfont.c, archdep_icon_path.c and hotkeys/parser.c are
never linked.
105 files: 45 required, 60 optional. 8 more files come with the app.
By kind: 95 BIOS and 18 game data.
In this collection: 105 in repo and 0 missing.
Required
Section titled “Required”| File | Status | Hash |
|---|---|---|
kernal-901227-03.binC64 kernal Rev 3, default kernal and default model
Hashes, validation and source
|
required for Commodore C64 in repo | SHA1 1d503e56df85 |
basic-901226-01.binC64 BASIC
Hashes, validation and source
|
required for Commodore C64 in repo | SHA1 790153231286 |
chargen-901225-01.binC64 character generator
Validation and source
|
required for Commodore C64 in repo | - |
scpu64SuperCPU64 firmware
Validation and source
|
required for Commodore 64 with SuperCPU in repo | - |
chargen-901225-01.binCharacter generator for the SuperCPU machine
Validation and source
|
required for Commodore 64 with SuperCPU in repo | - |
kernal-901227-03.binC64 kernal Rev 3 for the DTV machine
Hashes, validation and source
|
required for Commodore C64 DTV in repo | SHA1 1d503e56df85 |
basic-901226-01.binC64 BASIC for the DTV machine
Hashes, validation and source
|
required for Commodore C64 DTV in repo | SHA1 790153231286 |
chargen-901225-01.binCharacter generator for the DTV machine
Validation and source
|
required for Commodore C64 DTV in repo | - |
kernal-318020-05.binC128 international kernal, editor and Z80 BIOS
Validation and source
|
required for Commodore C128 in repo | - |
kernal-315078-03.binC128 German kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernal-325172-01.binC128 Swiss kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernal-318034-01.binC128 Swedish kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernalfiC128 Finnish kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernalfrC128 French kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernalitC128 Italian kernal
Validation and source
|
required for Commodore C128 in repo | - |
kernalnoC128 Norwegian kernal
Validation and source
|
required for Commodore C128 in repo | - |
basiclo-318018-04.binC128 BASIC low half
Validation and source
|
required for Commodore C128 in repo | - |
basichi-318019-04.binC128 BASIC high half, holds the editor
Validation and source
|
required for Commodore C128 in repo | - |
chargen-390059-01.binC128 international character generator
Validation and source
|
required for Commodore C128 in repo | - |
chargen-315079-01.binC128 German character generator
Validation and source
|
required for Commodore C128 in repo | - |
chargen-325167-02.binC128 Italian, French and Belgian character generator
Validation and source
|
required for Commodore C128 in repo | - |
chargen-325181-01.binC128 Swedish and Finnish character generator
Validation and source
|
required for Commodore C128 in repo | - |
chargen-325173-01D.binC128 Swiss character generator
Validation and source
|
required for Commodore C128 in repo | - |
chargen-325078-02.binC128 Norwegian character generator
Validation and source
|
required for Commodore C128 in repo | - |
kernal64-901227-03.binC64 mode kernal
Hashes, validation and source
|
required for Commodore C128 in repo | SHA1 1d503e56df85 |
basic64-901226-01.binC64 mode BASIC
Hashes, validation and source
|
required for Commodore C128 in repo | SHA1 790153231286 |
kernal.901486-07.binVIC-20 PAL kernal, default kernal resource
Validation and source
|
required for Commodore VIC-20 in repo | - |
kernal.901486-06.binVIC-20 NTSC kernal, default model and VIC-21
Validation and source
|
required for Commodore VIC-20 in repo | - |
basic-901486-01.binVIC-20 BASIC
Validation and source
|
required for Commodore VIC-20 in repo | - |
chargen-901460-03.binVIC-20 character generator
Validation and source
|
required for Commodore VIC-20 in repo | - |
kernal-318005-05.binPlus/4 NTSC kernal, default model
Validation and source
|
required for Commodore Plus4 in repo | - |
kernal-318004-05.binPlus/4 PAL kernal, default kernal resource
Validation and source
|
required for Commodore Plus4 in repo | - |
basic-318006-01.binPlus/4 BASIC
Validation and source
|
required for Commodore Plus4 in repo | - |
3plus1-317053-01.bin3-plus-1 low function ROM, Plus/4 and V364 models
Validation and source
|
required for Commodore Plus4 in repo | - |
3plus1-317054-01.bin3-plus-1 high function ROM, Plus/4 and V364 models
Validation and source
|
required for Commodore Plus4 in repo | - |
kernal-4.901465-22.binBASIC 4 kernal, default model PET 8032
Validation and source
|
required for Commodore PET in repo | - |
basic-4.901465-23-20-21.binBASIC 4, default model PET 8032
Validation and source
|
required for Commodore PET in repo | - |
edit-4-80-b-50Hz.901474-04_.binBASIC 4 business 80 column editor, default model PET 8032
Validation and source
|
required for Commodore PET in repo | - |
characters-2.901447-10.binSecond generation character generator, default model PET 8032
Validation and source
|
required for Commodore PET in repo | - |
kernal-901244-04a.binCBM-II 6x0 and 7x0 kernal, default model CBM 610
Validation and source
|
required for Commodore CBM-II in repo | - |
kernal-901234-02.binCBM 510 kernal, default model of the cbm5x0 plugin
Validation and source
|
required for Commodore CBM-II in repo | - |
basic-901242+3-04a.binCBM-II 128 KB BASIC, CBM 610 and 710 models
Validation and source
|
required for Commodore CBM-II in repo | - |
basic-901235+6-02.binCBM 510 BASIC
Validation and source
|
required for Commodore CBM-II in repo | - |
chargen-901237-01.binCBM-II 600 series character generator, default model CBM 610
Validation and source
|
required for Commodore CBM-II in repo | - |
chargen-901225-01.binCBM 510 character generator
Validation and source
|
required for Commodore CBM-II in repo | - |
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
kernal-901227-02.binC64 kernal Rev 2, C64 old PAL model
Hashes, validation and source
|
in repo | SHA1 0e2e4ee3f2d4 |
kernal-901227-01.binC64 kernal Rev 1, C64 old NTSC model
Hashes, validation and source
|
in repo | SHA1 87cc04d61fc7 |
kernal-251104-04.binSX-64 kernal, C64 SX PAL and NTSC models
Hashes, validation and source
|
in repo | SHA1 aa136e91ecf3 |
kernal-906145-02.binJapanese C64 kernal
Hashes, validation and source
|
in repo | SHA1 4ff0f11e80f4 |
kernal-390852-01.binC64 GS kernal
Hashes, validation and source
|
in repo | SHA1 3ad6cc1837c6 |
kernal-901246-01.binEducator 64 kernal, PET64 PAL and NTSC models
Hashes, validation and source
|
in repo | SHA1 6c4fa9465f60 |
chargen-906143-02.binJapanese C64 character generator
Validation and source
|
in repo | - |
chargen-906143-02.binJapanese character generator, Japanese SuperCPU model
Validation and source
|
in repo | - |
dtvrom.binDTV flash image, all six DTV model resources default to this name
Validation and source
|
in repo | - |
kernal.901486-02.binVIC-1001 kernal
Validation and source
|
in repo | - |
chargen-901460-02.binVIC-1001 character generator
Validation and source
|
in repo | - |
kernal-318004-01.binC232 prototype kernal
Validation and source
|
in repo | - |
kernal-364.binV364 prototype kernal
Validation and source
|
in repo | - |
c2lo-364.binV364 speech ROM
Validation and source
|
in repo | - |
kernal-2.901465-03.binBASIC 2 kernal, PET 3008 to 3032B models
Validation and source
|
in repo | - |
kernal-1.901439-04-07.binBASIC 1 kernal, PET 2001-8N model
Validation and source
|
in repo | - |
basic-2.901465-01-02.binBASIC 2, PET 3008 to 3032B models
Validation and source
|
in repo | - |
basic-1.901439-09-05-02-06.binBASIC 1, PET 2001-8N model
Validation and source
|
in repo | - |
edit-4-40-n-50Hz.901498-01.binBASIC 4 graphics 40 column editor, PET 4016 and 4032 models
Validation and source
|
in repo | - |
edit-4-40-b-50Hz.ts.binBASIC 4 business 40 column editor, PET 4032B model
Validation and source
|
in repo | - |
edit-2-n.901447-24.binBASIC 2 graphics 40 column editor, PET 3008 to 3032 models
Validation and source
|
in repo | - |
edit-2-b.901474-01.binBASIC 2 business editor, PET 3032B model
Validation and source
|
in repo | - |
edit-1-n.901439-03.binBASIC 1 graphics 40 column editor, PET 2001-8N model
Validation and source
|
in repo | - |
characters-1.901447-08.binFirst generation character generator, PET 2001-8N model
Validation and source
|
in repo | - |
characters.901640-01.binSuperPET character generator
Validation and source
|
in repo | - |
waterloo-a000.901898-01.binSuperPET 6809 ROM at a000
Validation and source
|
in repo | - |
waterloo-b000.901898-02.binSuperPET 6809 ROM at b000
Validation and source
|
in repo | - |
waterloo-c000.901898-03.binSuperPET 6809 ROM at c000
Validation and source
|
in repo | - |
waterloo-d000.901898-04.binSuperPET 6809 ROM at d000
Validation and source
|
in repo | - |
waterloo-e000.901897-01.binSuperPET 6809 ROM at e000, the one slot the loader accepts at 2 KB
Validation and source
|
in repo | - |
waterloo-f000.901898-05.binSuperPET 6809 ROM at f000
Validation and source
|
in repo | - |
basic-901240+1-03.binCBM-II 256 KB BASIC, CBM 620, 620+, 720 and 720+ models
Validation and source
|
in repo | - |
chargen-901232-01.binCBM-II 700 series character generator
Validation and source
|
in repo | - |
dos1541ii-251968-03.bin1541-II DOS, default unit 8 on C64, SuperCPU and DTV
Validation and source
|
in repo | - |
dos1541-325302-01+901229-05.bin1541 DOS
Validation and source
|
in repo | - |
dos1540-325302+3-01.bin1540 DOS, default unit 8 on VIC-20
Validation and source
|
in repo | - |
dos1570-315090-01.bin1570 DOS
Validation and source
|
in repo | - |
dos1571-310654-05.bin1571 DOS
Validation and source
|
in repo | - |
dos1571cr-318047-01.bin1571CR DOS, default unit 8 on C128
Validation and source
|
in repo | - |
dos1581-318045-02.bin1581 DOS
Validation and source
|
in repo | - |
dos1551-318008-01.bin1551 DOS, default unit 8 on Plus/4
Validation and source
|
in repo | - |
dos2000-cs-33cc6f.binCMD FD-2000 DOS
Validation and source
|
in repo | - |
dos4000-fd-350022.binCMD FD-4000 DOS
Validation and source
|
in repo | - |
bootromCMDHD-v2-80.binCMD HD boot ROM
Validation and source
|
in repo | - |
dos2031-901484-03+05.bin2031 DOS, default unit 8 on PET and CBM-II
Validation and source
|
in repo | - |
dos2040-901468-06+07.bin2040 DOS
Validation and source
|
in repo | - |
dos3040-901468-11-13.bin3040 DOS
Validation and source
|
in repo | - |
dos4040-901468-14-16.bin4040 DOS
Validation and source
|
in repo | - |
dos1001-901887+8-01.bin1001, 8050 and 8250 DOS
Validation and source
|
in repo | - |
dos9000-300516+7-revC.binD9090 and D9060 DOS
Validation and source
|
in repo | - |
Game data
Section titled “Game data”| File | Status |
|---|---|
pepto-pal.vplVIC-II default external palette
Source
|
optional in repo game data |
pepto-pal.vplVIC-II default external palette
Source
|
optional in repo game data |
spiff.vplVIC-II default external palette on the DTV machine
Source
|
optional in repo game data |
pepto-pal.vplVIC-II default external palette
Source
|
optional in repo game data |
vdc_deft.vplVDC default external palette
Source
|
optional in repo game data |
mike-pal.vplVIC default external palette
Source
|
optional in repo game data |
yape-pal.vplTED default external palette
Source
|
optional in repo game data |
green.vplCRTC default external palette
Source
|
optional in repo game data |
green.vplCRTC default external palette, 6x0 and 7x0 models
Source
|
optional in repo game data |
pepto-pal.vplVIC-II default external palette, 5x0 models
Source
|
optional in repo game data |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
gtk3_sym.vkmC64 symbolic keymap, US layout
Hashes and source
|
game data | SHA1 7fe8d706b2b2 |
gtk3_sym.vkmSuperCPU symbolic keymap, US layout
Hashes and source
|
game data | SHA1 7fe8d706b2b2 |
gtk3_sym.vkmDTV symbolic keymap, US layout
Hashes and source
|
game data | SHA1 7fe8d706b2b2 |
gtk3_sym.vkmC128 symbolic keymap, US layout
Hashes and source
|
game data | SHA1 7d3bf4a533a1 |
gtk3_sym.vkmVIC-20 symbolic keymap, US layout
Hashes and source
|
game data | SHA1 0f32563c47d0 |
gtk3_sym.vkmPlus/4 symbolic keymap, US layout
Hashes and source
|
game data | SHA1 3a5b6619d9d0 |
gtk3_sym.vkmPET symbolic keymap, US layout and the fallback for every keyboard type
Hashes and source
|
game data | SHA1 7605bb4c2256 |
gtk3_sym.vkmCBM-II symbolic keymap, US layout
Hashes and source
|
game data | SHA1 6652f5bfa1ad |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start