I'm developing oss-pce-cd-bios, an independent open-source research project aimed at eventually building a PC Engine / TurboGrafx-CD System Card replacement.
My December 2 update covered the ordinary DEV count reaching 22/81, the first experimental multibank proof of concept, and the bottleneck that kept CI parallel scheduling from producing a large speedup.
As of December 3, 2026, around 15:00 JST, the project has made substantial progress in two foundations: generalizing the experimental multibank machinery and creating an 81-entry black-box test ledger plus a common runner prototype.
This is not a retail compatibility milestone. A new test framework, a successful synthetic execution, and a verified reference-firmware ABI are distinct achievements that must not be conflated.
1. Generalizing multibank support
The original proof of concept placed the body of candidate slot $3F MA_MUL8U in Bank1 while retaining a public entry and trampoline in the common Bank0.
Several merged PRs extend that design:
| PR | Contribution |
|---|---|
| #1053 | Generic linker with per-bank placement/usage reporting, physical-position verification, and overflow rejection |
| #1050 | Reusable source structure for a bank-switching far-call dispatcher |
| #1049 | Machine-readable slot-to-bank map and structural validation across all 32 ROM banks |
| #1048 | Provenance checks for build inputs, per-bank SHA-256 evidence, and explicit promotion requirements |
| #1044 | Additional pinned-core experiments and fault injection around T/IRQ/MPR/stack and caller-bank behavior |
At a high level:
Caller
-> Bank0 API table
-> Bank0 dispatcher
-> save/switch MPR6 to an extra bank
-> execute the banked API body
-> return to dispatcher in Bank0
-> restore MPR6 and return to original caller
The API table, boot logic, and vectors stay in Bank0. The image remains fixed at 256 KiB, and the reserved $E800 diagnostic boundary must not be crossed.
The key difference from the original single-slot PoC is that the map and validation machinery are becoming reusable for additional slots. The generic linker rejects undeclared banks, incorrect physical positions, and overflows; the structural verifier ties each table entry and dispatcher to a declared body and bank.
The #1044 PR reports seven GREEN real-core cases and six RED fault-detection cases on the pinned Geargrafx core. However, T=1 execution in the relevant mid-stream conditions and IRQ reentrancy remain UNVERIFIED. Narrow passing results are not a general proof across all interrupt and CPU-flag states.
All this still belongs to the experimental multibank profile, not a fully migrated ordinary DEV ROM. Promotion requires evidence and a separate explicit decision.
2. A generated black-box contract ledger covering 81 entries
PR #1057 introduces an 81-row generated black-box contract ledger.
Instead of manually duplicating the API identifiers, implementation status, reference-contract claims, and JSR permissions, the generator reads the existing canonical project ledgers and joins them with a separate black-box-specific overlay.
That matters because duplicated metadata tends to drift as an experimental project evolves.
The generated ledger's current summary is:
| Axis | Current state |
|---|---|
| Project-owned ordinary DEV implementations | 22/81 |
| Remaining default stubs | 59/81 |
| Black-box test state | 81/81 BB_UNTESTED |
| Independently verified reference ABI | 0/81 |
| Reference-firmware JSR permissions | 0/81 |
| Release eligibility | false |
The ledger supports distinct states such as BB_CONTRACT_DEFINED, BB_DEV_BEHAVIOR_VERIFIED, BB_SYNTHETIC_VERIFIED, BB_STUB_STOP_VERIFIED, BB_BLOCKED_ABI, and BB_BLOCKED_DEPENDENCY.
But no entry is promoted to a verified black-box state just because this framework exists. The meaningful accomplishment is that future evidence has a consistent, reproducible place to be recorded.
3. A five-case common runner proof of concept
PR #1058 merges a common black-box runner PoC built on the existing Geargrafx, IPL, and API-entry probe infrastructure.
The initial five cases cover:
-
math_3f— project-defined math behavior; -
ram_3e— RAM-related behavior; -
device_2e— a device-facing entry; -
unimplemented_02— expected refusal behavior; -
bankswitch_3f— explicitly blocked for the experimental banked image.
Each case is intended to run in an isolated probe process with cold/warm observations, budget and timeout checks, stack/MPR/RAM evidence, per-case JSONL output, and a single-case rerun option. Expectations come from independent mathematical or project-defined contracts rather than simply mirroring a BIOS output.
It is important to state the remaining work:
- The five-case runner is not yet fully data-driven from the new 81-row ledger.
- It does not yet provide complete observation surfaces for VRAM, CD, ADPCM, backup RAM, IRQ, timer, PSG, and input.
- Real-core execution on the merged runner's PR HEAD was NOT_RUN; the reported passing tests cover syntax and host guards.
- The bank-switching case is deliberately marked
BLOCKED_EXPERIMENTAL_IMAGE.
So the merged result is a runner framework prototype, not five proven reference-equivalent APIs or five completed real-core observations.
4. CI: splitting real-core execution instead of only scheduling around it
The previous update explained why a DAG scheduler by itself was not enough: the monolithic test-real-core stage dominated the wall time.
PR #1052 merged an additional staging execution path that separates the real-core stage into five isolated jobs:
direct
rc-0
rc-1
rc-2
rc-3
The split reuses existing Required CI unit and shard definitions. It validates the combined test scope and aggregates results with SHA, run identity, and pinned cc65/Geargrafx evidence. Missing, duplicated, failed, or tampered records must fail closed; the Required workflows and checks remain unchanged.
The PR's performance comparison is deliberately labeled ESTIMATED:
| Item | Reported number | Evidence level |
|---|---|---|
| Original monolithic real-core step | ~1,671 seconds | Earlier measured input |
| Conservative split critical-path estimate | ~1,181 seconds plus overhead | Estimate |
| Estimated reduction | ~490 seconds before overhead, ~29% | Estimate, not CI-measured |
The inputs come from previous measurement records, not a new end-to-end paired CI run. Accordingly, the project cannot claim that the split has actually delivered a 29% speedup, much less the broader 60% target.
Other merged CI improvements include #1051, which extracts the DEV release-refusal gate into its own tightly scoped job, and #1060, which removes redundant scope edges and adds a timing ledger. They retain the established Required check semantics.
5. Carefully scoped API progress and safety work
Several smaller merged PRs improve the groundwork without changing genuine compatibility claims.
PR #1028 added a DEV-only LIMITED $47 MA_ATNI source body. However, it deliberately did not update the canonical DEV implementation ledger or count, so the reported ordinary DEV inventory remains 22/81, not 23/81. A source file's presence is not sufficient grounds to rewrite the project's official readiness figures.
PR #1029 investigates the unresolved $50 candidate identity and contract disagreement, including the MA_DIV8U / MA_CBASIS interpretations. It adds a clearly labeled hypothesis model while preserving BLOCKED_ABI.
PR #1031 documents the $1D BM_FILES contract, while #1030 sets up observation conditions for $25 and $1C. Neither is a genuine ABI implementation or a new commercial-media measurement.
PR #1027 introduces an adapter for the special $4A limited-observation decision layer. It deliberately does not connect an emulator execution engine or override the permanent JSR gate.
PR #1026 improves experimental media-identity derivation without bypassing the existing refusal checks. PR #1032 fixes DEV-progress guards that were over-blocking legitimate future project changes.
Finally, PR #1063 documents an approved independent-review model fallback policy when the preferred reviewer model is unavailable. Independent, read-only review remains mandatory; if approved review routes fail, the result remains BLOCKED rather than silently self-approved.
December 3 status
The inspected main revision was 195175ff, following the merge of PR #1029, around 14:40 JST on December 3.
| Evidence axis | Status |
|---|---|
| Canonical ordinary DEV implementations | 22/81 |
| Default stubs | 59/81 |
| Generated black-box ledger | 81 rows, all BB_UNTESTED |
| Genuine reference ABI VERIFIED | 0/81 |
| Permitted reference-firmware JSR entries | 0/81 |
Owner-approved DEV_CALLABLE entries |
0 |
| Demonstrated commercial-game title screen | No; G5_OBSERVED=false |
| Release eligibility | false |
This was a foundation-building update: safer generalized bank placement, better provenance, a common way to record black-box expectations, a runner PoC, and a credible path toward sharding expensive CI work.
The next significant milestone is to attach actual case-specific evidence to the ledger and validate banked execution under the still-unknown conditions—without upgrading an invented development contract into a claim about the original System Card firmware.
Repository: https://github.com/mao2009/oss-pce-cd-bios
Key PRs: #1053 generalized linker · #1052 CI split · #1057 black-box ledger · #1058 common runner.
This independent project is unaffiliated with NEC, Hudson Soft, Konami, or other rights holders. It does not distribute proprietary BIOS images, commercial game media, or extracted copyrighted code.
Top comments (0)