Oricutron
Oricutron emulates Tangerine Oric and Oric Atmos. It reads 13 files, 6 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.
About this profile
Install this emulator's files
With Recalbox, RetroBat or RetroPie: the installer finds Recalbox, RetroBat or RetroPie and its BIOS folder, then downloads only the files Oricutron reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator oricutronOpen a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator oricutronTechnical notes
Oric-1, Oric-1 16K, Oric Atmos, Telestrat and Pravetz 8D emulator by Peter Gordon. Recalbox packages it for its oricatmos system, ES-DE offers it for oric alongside MAME and starts it with the working directory set to the emulator directory.
ROM names are configured without the extension: load_rom appends ".rom"
(machine.c:1089-1093). The defaults are set in preinit_gui (gui.c:2283-2297)
behind ROMPREFIX, which is "roms/" everywhere except AmigaOS
("PROGDIR:roms/") and the emscripten build ("assets/roms/") (system.h:38-68).
A path read from oricutron.cfg goes through read_config_path
(main.c:341-347), which prepends the program directory resolved from argv[0]
(main.c:196-236), so a relative path resolves against the directory holding
the binary rather than the working directory.
The machine ROM is loaded by init_machine for the selected machine type and
a failure returns SDL_FALSE, after which the emulator exits
(main.c:1442-1446). The four disk controller ROMs are loaded once at startup
by load_diskroms (main.c:1407, machine.c:1249-1255) whatever the machine and
the drive setting. A failure only clears the matching flag and startup
continues. Of those flags only pravetzrom_valid is read afterwards
(machine.c:1055): the Microdisc, BD-500 and Jasmin buffers are mapped into
the CPU address space whether or not the file was read, so a missing file
leaves the selected controller running on zeroed memory.
Size is the only property the code checks. A machine ROM is rejected above
16384 bytes and is loaded right-aligned in its bank, so a shorter file is
accepted (machine.c:1101-1118). A disk controller ROM is read as one
fixed-length block, which fails when the file is shorter than that length
and ignores anything past it (machine.c:1120-1126). No hash is computed
anywhere in the tree.
Telestrat banks 0 to 4 hold RAM unless the config names a file for them
(machine.c:2029-2038). The Twilighte board is off by default and is switched
on with twilighte_board in oricutron.cfg (main.c:660). Its bank config is
opened as a bare relative path (oric_twilighte_board_plugin.c:132) and the
bank filenames in it are read with read_config_string rather than
read_config_path (oric_twilighte_board_plugin.c:174,182), so both resolve
against the working directory and not the program directory.
13 files: 6 required, 7 optional.
In this collection: 13 in repo and 0 missing.
Required
Section titled “Required”| File | Status | Hash |
|---|---|---|
basic11b.romOric Atmos BASIC 1.1b ROM
Hashes, validation, packages and more
| in repo | MD5 a330779c42ad |
basic10.romOric-1 BASIC 1.0 ROM
Hashes, validation, packages and more
| in repo | MD5 ebe418ec8a6c |
pravetzt.romPravetz 8D BASIC ROM
Hashes, validation, packages and more
| in repo | MD5 8712a22e7e07 |
teleass.romTelestrat TELEASS ROM, bank 5
Hashes, validation, packages and more
| in repo | MD5 2324c9cc227c |
hyperbas.romTelestrat HYPER BASIC ROM, bank 6
Hashes, validation, packages and more
| in repo | MD5 364bf095e0dc |
telmon24.romTelestrat TELEMON 2.4 ROM, bank 7
Hashes, validation, packages and more
| in repo | MD5 9a432244d9ee |
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
microdis.romMicrodisc disk controller ROM
Hashes, validation, packages and more
| in repo | MD5 df864344d2a2 |
bd500.romByteDrive BD-500 disk controller ROM
Validation, packages and source
| in repo | - |
jasmin.romJasmin disk controller ROM
Hashes, validation, packages and more
| in repo | MD5 5136f764a7db |
8dos2.romPravetz 8D floppy controller boot PROM
Validation, packages and source
| in repo | - |
8dos.romPravetz 8D floppy controller boot PROM, earlier 8-DOS revision
Hashes, validation and source
| in repo | MD5 4a1ff5f8719d |
kernel.romOrix kernel, Twilighte board ROM bank 7
Validation and source
| in repo | - |
shell.romOrix shell, Twilighte board ROM bank 5
Validation and source
| in repo | - |
Profile data
Section titled “Profile data”Source analysis
-
gui images:
-
source ref:
gui.c:100-117(gimgs table),gui.c:425-492(gimg_load),gui.c:2464-2466(init_gui) -
lookup: program directory + IMAGEPREFIX, which is images/ everywhere except AmigaOS and the emscripten build (system.h:38-68)
-
validation: uncompressed 24-bit BMP, one plane, at the exact width and height declared in the table
-
fatal: yes
-
note: init_gui returns SDL_FALSE on the first image it cannot read and the emulator exits (
main.c:1416-1420). The set ships in the source tree and in the binary releases, and packagers install it beside the binary: the RetroDECK recipe copies the whole images directory (RetroDECK/components archive_later/oricutron/component_recipe.json) and the ES-DE guide has Linux users take images and roms out of the Windows archive (es-de USERGUIDE.md:3377-3391). -
files:
- statusbar.bmp
- disk_ejected.bmp
- disk_idle.bmp
- disk_active.bmp
- disk_modified.bmp
- disk_modactive.bmp
- tape_ejected.bmp
- tape_pause.bmp
- tape_play.bmp
- tape_stop.bmp
- tape_record.bmp
- avirec.bmp
- gfx_oric1kbd.bmp
- gfx_atmoskbd.bmp
- gfx_pravetzkbd.bmp
-
conditional entries:
- note: gfx_oric1kbd.bmp sits behind WWW_NO_ORIC1 and gfx_pravetzkbd.bmp behind WWW_NO_PRAVETZ (
gui.c:112-118, gui.h:114-120), both of which only cut down the emscripten build. A native build carries all fifteen.
- note: gfx_oric1kbd.bmp sits behind WWW_NO_ORIC1 and gfx_pravetzkbd.bmp behind WWW_NO_PRAVETZ (
-
non fatal:
- filename: winicon.bmp, source ref:
gui.c:2306-2307, note: Read with SDL_LoadBMP and passed to SDL_COMPAT_WM_SetIcon, which takes a null surface.
- filename: winicon.bmp, source ref:
-
unused:
- filename: status_bar.bmp, reason: the gimgs table names statusbar.bmp and no code path reads this second file
-
-
rom sidecars:
-
note: Both sidecars are keyed on the ROM basename from the config, so renaming or relocating a ROM moves them with it.
-
symbols:
-
pattern: <rom basename>.sym
-
source ref:
machine.c:1129-1133(load_rom),monitor.c:2676-2691(mon_new_symbols) -
note: Read for all ten ROMs right after the ROM itself, with verbose off, so an absent file is silent. Fills the debugger symbol tables and nothing else. Compiled out under WWW_NO_MONITOR.
-
shipped:
- basic10.sym
- basic11b.sym
- pravetzt.sym
- teleass.sym
- telmon24.sym
- microdis.sym
- jasmin.sym
- bd500.sym
- 8dos2.sym
-
referenced but not shipped:
- hyperbas.sym
-
-
patches:
-
pattern: <rom basename>.pch
-
source ref:
machine.c:1726-1740(load_patches),machine.c:1933,machine.c:1970,machine.c:2007,machine.c:2033,machine.c:2083(call sites) -
note: Read for the machine ROMs only, never for the disk controller ROMs. Carries the keyboard layout, the CLOAD/CSAVE filename decoding addresses, the tape turbo hook addresses and any number of literal byte patches. An absent file returns silently and leaves pch_tt_available false (
machine.c:1810-1815), so tape turbo stays off and tapes load at real speed (tape.c:243, 1322-1462). -
shipped:
- basic10.pch
- basic11b.pch
- pravetzt.pch
- telmon24.pch
-
referenced but not shipped:
- teleass.pch
- hyperbas.pch
-
-
unconfigured basenames:
-
note: These sidecars ship for ROM basenames no default config names. They take effect only once a config key points at that basename, and each one implies a ROM dump Oricutron can run.
-
files:
- filename: Bas122uk.pch, implies: Oric BASIC 1.22 UK, as an atmosrom value
- filename: Bas122fr.pch, implies: Oric BASIC 1.22 French, as an atmosrom value
- filename: Bas122de.pch, implies: Oric BASIC 1.22 German, as an atmosrom value
- filename: pravetzt-1.0.pch, implies: Pravetz BASIC revision 1.0, as a pravetzrom value
- filename: pravetzt-1.0.sym, implies: Pravetz BASIC revision 1.0, as a pravetzrom value
- filename: 8dos.sym, implies: 8dos.rom, the earlier Pravetz 8-DOS boot PROM, offered as pravetz8drom in
oricutron.cfg:44 - filename: cumana.sym, implies: a Cumana controller ROM, whose symbols run from $F800, the window jasminrom feeds
- filename: sedoric.sym, implies: a Sedoric DOS ROM, whose symbols name the Microdisc FDC registers at $310-$318
-
-
-
unused resources:
- filename: empty_orix.rom, reason: no reference anywhere in the tree, and not named by any config default nor by twilighte.cfg
- filename: orixbank1.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank2.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank3.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank4.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank5.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank6.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
- filename: orixbank7.rom, reason: no reference anywhere in the tree, loadable only once a twilbankromNN key names it
-
user supplied paths:
-
note: Named on the command line or in the config, with no fixed filename
-
entries:
- what: disk, tape and snapshot images, source ref:
main.c:1361-1504,oricutron.cfg:63-86 - what: debugger symbol file, -s or --symbols, source ref:
main.c:1533-1545 - what: breakpoint list, -r or --breakpoint with a leading colon, source ref:
main.c:1547-1574 - what: keyboard mapping, autoload_keyboard_mapping, source ref:
main.c:665(config key),main.c:2188,keyboard.c:587-598,oricutron.cfg:220 - what: CH376 sdcard and usbdrive trees, telestrat mode, source ref:
plugins/ch376/ch376.c:1186,ReadMe.txt:512-514
- what: disk, tape and snapshot images, source ref:
-
-
generated files:
-
written only:
- printer_out.txt
- AVI captures
- snapshots
- tape captures
- debugger log and memory dumps
-
note: Produced by the emulator, none is user-supplied
-
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