Skip to content

About

An open source boot ROM for the Opera 3DO emulator

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opera-boot

opera-boot startup splash

opera-boot is an open-source alternative to retail 3DO boot ROMs. Its purpose is to initialize the machine, load the operating system mastered on a 3DO CD, and transfer control to that operating system without requiring a retail BIOS. It does not contain Portfolio or provide an operating system of its own.

The target is a big-endian ARM60 (ARMv3) machine with MADAM, CLIO, and a MEI-compatible CD drive, as modeled by the Opera libretro core. The ROM is a self-contained 128 KiB image. Physical FZ-1 hardware compatibility is not established.

There is no RSA or signature verification, downloaded boot strap, ROM driver pack, OS-version arbitration, audio/photo-CD player, or support for non-CD XBUS devices. The disc's OS is always selected.


Building and using the ROM

3DO DevKit, a host C compiler, and Python 3 are required to build the opera-boot ROM.

source /path/to/3do-devkit/activate-env
make   # produces build/opera-boot.bin

The ROM has been tested on the MiSTer 3DO core. Reloading the BIOS on that core starts a cold boot rather than resuming the previous disc OS.

The resident code, data, and private 2 KiB stack must fit below DRAM address 0x8000; the build checks this constraint. The ROM packer reports the image size and hashes.

tools/ contains the ROM build tools and the GitHub release helper. Emulator acceptance and disc-inspection utilities live in test/.

Releasing the ROM

Releasing requires a full Git history. If you have a shallow clone, run git fetch --unshallow before releasing.

Activate the 3DO DevKit, commit tracked changes, and authenticate with gh auth login --hostname github.com. Then run:

tools/release-to-github              # upload a draft for today's UTC date
tools/release-to-github 2026-11-30   # use an explicit release date

The tool builds opera-boot.bin from committed HEAD in a temporary directory and uses the same YYYY-MM-DD date for the tag and startup caption. It pushes the tag, not the branch, and uploads the ROM to the GitHub repository selected by origin's push URL (override with REMOTE). The release title is Opera Boot YYYY-MM-DD. Its notes list one bullet per commit since the last published GitHub release, newest first, each linking to its commit on GitHub, including merge commits. Drafts and unreleased tags do not count. The first release lists the full commit history. Existing tags are reused only if they point to HEAD; they are never moved. Review the draft on GitHub, or pass --publish to publish it as latest immediately after upload.

Boot diagnostics

Enable Opera's opera_kprint option to receive boot diagnostics in its log. Every opera-boot textual diagnostic starts with opera-boot: , including boot-attempt errors and fatal traps. Continuation fields share the same prefix, not an additional one. Emulator, disc OS, and application messages are unchanged. After successful component loading and before kernel handoff, opera-boot reports:

  • Volume identifier/commentary, unique ID, filesystem structure version/flags, block count/size, and physical track, label, and component-table locations.
  • Selected OS, misc, splash, and permissions tags: subsystem/type, version/revision, flags, type-specific byte, physical sector, and byte size. Missing optional tags and the effective device permissions are explicit.
  • Loaded component destinations and sizes, with the kernel identified. Legacy misc is identified as a resident replacement rather than disc code.
  • Kernel AIF RO/RW/ZI sizes, its own version/revision separately from the OS tag version, and the selected boot-argument ABI.

The final opera-boot: boot XXXXXXXX line names the kernel's AIF address. This is an OS handoff, not identification of the eventual game executable; later application selection belongs to the OS. Filesystem structure and component versions are not game release versions. Version/revision pairs are separate decimal bytes.

Disc text is bounded to its 32-byte field, with trailing NUL padding removed. Embedded controls, non-ASCII bytes, quotes, and backslashes are printed as \xHH escapes. Addresses, IDs, flags, and permissions are hexadecimal; sector numbers and byte counts are decimal. A kernel without a complete 3DO header is rejected before handoff. These diagnostics use the debug-output channel, not on-screen text.

Documentation

  • Boot architecture: boot sequence, disc formats, component loading, and kernel handoff.
  • Boot reference: hardware registers, memory layouts, and resident services.

License

This project's original contributions are licensed under the GNU General Public License, version 2 (GPL-2.0-only).

References

Donations / Sponsorship

If you find the work I'm doing valuable please consider supporting its ongoing development.

https://github.com/trapexit/support

About

An open source boot ROM for the Opera 3DO emulator

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages