Closed spicyjpeg closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 9.92%. Comparing base (
1e635d0
) to head (6c3da3e
). Report is 10 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds several compile-time options to OpenBIOS in order to make it compatible with Konami's System 573 arcade board, which requires slightly different RAM initialization as well as some additional code to periodically clear the system's watchdog during startup.
I have added the following options:
BOARD=system573
: switches out the boot stub for one that properly initializes the 573's system bus, adds watchdog code and removes PIO booting support. The watchdog is cleared in roughly the same places as the original 573 kernel.BOOT_MODE=fast
: alias forFASTBOOT=true
, removes the shell but not the CD-ROM booting code.BOOT_MODE=psexe
: completely disables both the shell and the CD-ROM booting code, only running the executable specified byEMBED_PSEXE
. This option is enabled by default for 573 builds but can also be used independently.SPLASH_SCREEN=true
: if enabled, the kernel will draw some color bars as a way of indicating the shell or embedded executable is being loaded, in a similar way to the official 573 BIOS. This should work on non-573 builds as well and is useful if large binaries are embedded into the kernel, as copying them to RAM will take a few seconds.A System 573 build of OpenBIOS (with a custom shell) has been tested by @NaokiS28 on real hardware and seems to work properly so far. I've also fixed up the Makefile to properly clean all built files regardless of whether or not the options used to run the last build are passed to
make clean
.