Skip to content
Phaos2000Public
forked from Tuth/ob12-emu

About

Oberheim OB-12 hardware emulator (2x F2MC-16LX + 5x TMS57070): the original firmware runs; standalone and VST3. Bring your own firmware.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

145 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ob12-emu

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.

Status

  • 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.

The TMS57070 core

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>).

Building (Windows)

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.

  1. Decode the firmware: python tools/ob12_sysex.py <folder with the update .mid files>/*.mid -o rom
  2. Carve the DSP programs: python tools/ob12_carve.py rom/12dsp111-DSP-v1.11-FINAL.bin -o rom/dsp
  3. 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.

Third-party code

  • src/f2mc16: the F2MC-16 CPU core from MAME, BSD-3-Clause, by R. Belmont, with OB-12 additions (marked). src/shim holds minimal stand-ins so it builds outside MAME.
  • src/t6963_cgrom.h: 5x7 glyphs from Adafruit-GFX-Library glcdfont.c, BSD licence, Copyright (c) 2012 Adafruit Industries.

Licence

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.

PHAOS

About

Oberheim OB-12 hardware emulator (2x F2MC-16LX + 5x TMS57070): the original firmware runs; standalone and VST3. Bring your own firmware.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages