Skip to content
altstrument

OPLBOX

Firmware for FM-1 (M-VAVE)

Turns the FM-1 into an AdLib: OPL2 emulation playing 18 built-in SoundFX Macs Opera songs, with a tracker, scope screen and editor that save .CMF files to flash.

by LXXero

ActiveSource: openGPL-3.0-only
OPLBOX tracker in the emulator: a pattern grid with columns 1 to 6 and BD SD TM TC HH, note cells, one highlighted row, and a status line reading PLAY, 01/14, OCT3 STEP1 and CPU 16%
LXXero, via github.com
Distribution
Prebuilt image you flash yourself
License notes
Platform code is Dinghy, Felucca and SLOOP (GPL-3.0-only). The OPL core is derived from DOSBox (GPL-2.0-or-later), the Macs Opera player follows AdPlug (LGPL-2.1), and an optional Nuked-OPL3 core is LGPL-2.1. The 18 songs are not under the GPL and stay the composers' and publishers' copyright (LICENSING.md). The logo is all rights reserved by its maker.
Source
github.com https://github.com/LXXero/oplbox
Homepage
github.com https://github.com/LXXero/oplbox

Description

Rights warning: the 18 built-in songs are game soundtracks by Thomas Detert (Stone Age, Eclipse, 1992) and Michael Tschögl (LINEL, 1990 to 1992), kept in songs.h as game data and still under the composers' and publishers' copyright.

The firmware emulates one OPL2 chip with DOSBox's dbopl core reduced to integer maths and plays the songs through a player that follows the SoundFX Macs Opera driver, checked register for register against DOSBox captures. Screens show a jukebox, a scrolling tracker, and a scope with one trace per channel, whose first nine white keys mute channels. Edit mode adds an order-list screen and an instrument screen, and nine flash slots hold songs as plain .CMF files. Getting slot files over USB is not yet implemented. It is built on Dinghy, Felucca and SLOOP, and the author reports 0.2 and 0.3 running at about 20 percent CPU on a real FM-1.

Install notes

Download the .fwsc from the releases page and install it with fm1_install.py (needs mido and python-rtmidi) or the FM-1 Firmware Hub, from stock V14 or V15 or any firmware that has the update path. Holding OCT- before switching on opens a USB rescue, and a firmware that crashes twice at boot goes there by itself. Return to stock through the hub or M-VAVE's updater; the package identity is FM-1_96 plus the minor version.

Version history

OPLBOX version history
VersionDateNotes
0.4.22026-10-24
Fixes a SysEx from the computer dropping the FM-1 off USB, so installs over a running OPLBOX no longer need the USB rescue.
0.4.12026-10-20
Sets up the screen pins before the OCT- check so the USB rescue opens on boards where no key reads at power-up.
0.42026-10-17
Adds the editor, song and instrument screens and nine flash slots holding .CMF files.
0.3.42026-10-16
Keeps channel mutes after a restart.
0.3.32026-10-16
White keys mute channels on the scope screen.
0.3.22026-10-16
Scope labels show the instrument number first.
0.3.12026-10-16
Adds the scope screen.
0.22026-10-16
Switches to the DOSBox dbopl core, adds an overload guard and fixes unread MIDI input.
0.12026-10-16
First release; its audio load went over budget on real hardware.

Back to FM-1