Gopher2600
Gopher2600 emulates Atari 2600. It reads 12 files, none of them required: it starts games without them.
About this profile
Technical notes
Atari 2600 emulator written in Go. The 6507, TIA and RIOT are emulated in software and the console needs no ROM of its own, so a plain cartridge boots with nothing supplied.
Supercharger emulation is the only path that reads a BIOS. NewSupercharger
branches three ways (hardware/). A tape held as WAV or MP3 sets
Loader.IsSoundData and calls loadBIOS, and the error is returned, so the
cartridge fails to attach without the file. A demo unit image calls loadBIOS
and substitutes fastloadOnlyBIOS() on failure. Everything else, including the
usual Supercharger BIN, takes fastloadOnlyBIOS() without ever looking for the
file: a 2048 byte stub holding a touch of the tape load register and the CPU
jump table (hardware/).
loadBIOS reads the current working directory, then the directory holding the
tape or BIN, then the configuration directory (hardware/). Each candidate
name is tried in turn and the content is gated on MD5 before the caller checks
the 2048 byte length, so a file under the right name with the wrong content is
refused. ReqSpec selects the PAL table and the PAL hash (hardware/).
ReqSpec comes from the television specification, the stella.pro entry or the
filename (cartridgeloader/).
The demo unit is recognised by MD5 of the 256 bytes at 0x300 of the loaded
image (hardware/,78). When that image carries more than 2048 bytes it
holds the Schweber chip and the carousel together, otherwise the eight ROMs
are read from the directory of the loaded file
(hardware/). A
read error or a length other than 8192 logs and returns nil, and the
peripheral is left unplugged.
stella.pro is Stella's cartridge properties database, read from the
configuration directory (properties/properties.go:28,48-58). It is loaded by
NewDebugger (debugger/debugger.go:357), which drives play as well as debug
(gopher2600.go:261,308,327), so it applies to the plain gopher2600 <rom>
invocation. A missing file is logged and start-up continues. The ROM selector
then falls back to the filename and no television specification is inferred
from the cartridge name.
The ROM selector also reads a Named_Boxarts directory from the configuration
directory, listing it at start-up and fuzzy matching the cartridge name
against the entries before reading one image (gui/,127-138,
678-689). It holds the box art of the libretro-thumbnails Atari 2600 set,
pinned upstream at commit 4ea759821724d6c7bcf2f46020d79fc4270ed2f6
(gui/). Its content is whatever the user copies in and no
name is fixed by the code, so it carries no file entry here.
Fonts, shaders, bevels, the CPU instruction table and the Movie Cart core are
compiled in with go:embed. The remaining paths under the configuration
directory are written by the emulator or authored by hand: preferences,
debugger_imgui.ini, managerState, managerHotkeys, savekey, fa2_nvram,
elf_nvram, regression, patches and setupDB. ARM map files and DWARF sources
are read from a project build tree beside the ROM. AtariVox speech uses the
SpeakJet emulation compiled in, on by default
(hardware/,
hardware/). With it off, the
festival binary is called as a process, its path taken from preferences
(hardware/).
12 files: 0 required, 12 optional. 2 have an HLE fallback.
In this collection: 12 in repo and 0 missing.
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
Supercharger BIOS.binStarpath Supercharger BIOS, required to load a tape held as WAV or MP3
Hashes, validation and source
|
in repo HLE fallback | MD5 4565c1a7abce |
Supercharger BIOS PAL.binPAL Supercharger BIOS, selected when the loader resolves a PAL specification
Hashes, validation and source
|
in repo HLE fallback | MD5 4a8c743396b8 |
Schweber OQ.binSchweber chip image, the load that turns the Supercharger into the demo unit
Hashes, validation and source
|
in repo | MD5 0a98bc3d53a0 |
Starpath Demonstration Unit 1P.binDemo unit carousel ROM 1, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 2P.binDemo unit carousel ROM 2, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 3P.binDemo unit carousel ROM 3, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 4P.binDemo unit carousel ROM 4, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 5P.binDemo unit carousel ROM 5, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 6P.binDemo unit carousel ROM 6, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 7P.binDemo unit carousel ROM 7, read from the directory of the loaded image
Validation and source |
in repo | - |
Starpath Demonstration Unit 8P.binDemo unit carousel ROM 8, read from the directory of the loaded image
Validation and source |
in repo | - |
stella.proStella cartridge properties database, keyed by cartridge MD5
|
in repo | - |
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