Fork note. This fork of Tuth/ob12-emu v0.10.0 adds the OB-12 Stack GUI edition: a two-page window with an always-visible LCD home bar. Emulation and firmware handling are unchanged. See docs/STACK_GUI.md; the release is v0.10.1.
A hardware-level emulator of the Oberheim OB-12 (Viscount, 2000), a virtual analog synthesizer. Its two Fujitsu MB90611A (F2MC-16LX) CPUs run the original Master and Slave firmware, and its five TI TMS57070 DSPs run the original DSP programs. The synth engine is not re-implemented: the sound comes from the machine's own code.
Bring your own firmware. This repository holds no firmware, no ROM-derived data and no
manual artwork. The decoder in tools/ turns the official OB-12 SysEx update files (.mid)
into the images the emulator loads, in rom/, which git ignores.
Ready to play: the releases hold a VST3 bundle for Windows x64 with the firmware included. The firmware is decoded from the community archive at https://ob12.clearalgo.com/ and remains copyright Viscount International. It is included for personal and archival use, not for commercial redistribution. The release binary is built from the tagged source: rebuilt with the build order below, its code is byte for byte the same, and only the link timestamps differ.
- The whole instrument on one thread at about 0.2 of a core, bit identical from run to run.
- Master: the RTOS boots, the LCD (T6963C) works, presets load, and panel data and MIDI reach the Slave.
- Slave: it allocates 12 voices, 3 per DSP, loads the DSP programs and runs the summing bus to the outputs.
- A standalone player with a front panel (Direct2D) and a VST3 instrument (Windows x64).
- Known open question: at maximum Resonance the level rises more than a real unit's recording
suggests. The firmware drives the filter, so the gap lies in undocumented DSP behaviour or the
analog output stage. See
docs/HARDWARE.md.
src/tms57070 is this project's own core. It has a flat integer design, and a translated path
runs the jump-free OB-12 programs as straight-line code (tools/gen_fast.py, generated into
build/).
Instruction behaviour was learned from the public reverse engineering at
Prehistoricman/TMS57070. The test
tools/tms_harness/core_compare.cpp checks this core against that emulator: 5.12M steps
identical on all five programs. That emulator has no licence, so none of its code is here.
The comparison tools build only against a local copy you supply (tools/build_compare.bat <folder>).
Needs Visual Studio 2022 Build Tools with clang-cl and Python 3. The VST3 build also needs the
Steinberg VST3 SDK, set in OB12_VST3SDK. The batch files hold the author's paths, so adjust them.
- Decode the firmware:
python tools/ob12_sysex.py <folder with the update .mid files>/*.mid -o rom - Carve the DSP programs:
python tools/ob12_carve.py rom/12dsp111-DSP-v1.11-FINAL.bin -o rom/dsp - Build in this order:
tools/build_master.bat,tools/build_engine.bat,tools/build_vst3.bat.
STATE.json lists every gate and its pass condition. docs/HARDWARE.md is the full research log.
src/f2mc16: the F2MC-16 CPU core from MAME, BSD-3-Clause, by R. Belmont, with OB-12 additions (marked).src/shimholds minimal stand-ins so it builds outside MAME.src/t6963_cgrom.h: 5x7 glyphs from Adafruit-GFX-Libraryglcdfont.c, BSD licence, Copyright (c) 2012 Adafruit Industries.
GPL-3.0, see LICENSE. The third-party parts above keep their own licences.
Oberheim is a trademark of its owner. This project is not affiliated with Oberheim or Viscount.
