I'm developing oss-pce-cd-bios, an independent open-source research project working toward a PC Engine / TurboGrafx-CD System Card replacement.
My December 1 update covered a host-only test sweep across all 81 candidate API slots.
This update has three concrete developments: the ordinary DEV implementation count has increased from 18 to 22, a bank-switched experimental API call has been demonstrated on pinned Geargrafx, and CI staging now has a dependency-aware parallel executor.
The evidence snapshot is main at 682ac8cb, December 2, 2026, around 18:06 JST.
None of these developments makes the firmware a compatible System Card BIOS. Genuine reference-ABI verification, owner approval for callable API entries, retail title-screen proof, and firmware release eligibility remain separate, blocked milestones.
Four additional project-defined DEV routines
The earlier ordinary DEV ROM had 18 project-owned implementations and 63 nonreturning stubs. Since then, four implementation PRs were merged:
| Candidate entry | Actual development-only behavior | Merged PR |
|---|---|---|
$2D EX_IRQOFF |
Sets the CPU interrupt-disable I flag; does not configure VDC or interrupt-controller state | #1009 |
$3B EX_SETDMA |
Writes the VDC DESR destination-address latch; does not initiate DMA | #1013 |
$39 EX_SETRED |
Sets the VDC MARR read-address register only | #1015 |
$38 EX_SETRCR |
Writes the VDC RCR raster register, excluding CR and unrelated registers | #1014 |
The normal DEV inventory therefore stands at 22 of 81 development implementations, with 59 fallback stubs.
These routines use project-defined development contracts. They do not establish the original System Card calling conventions, side effects, or compatibility. All 81 readiness states are still NOT_READY; reference ABI VERIFIED remains 0/81.
A separate merged change, PR #1017, introduces a temporary, fail-closed slot-$4A observation-permit model. This is an auxiliary decision layer, not authorization to execute genuine firmware calls. Its own records keep execution_permitted=false, and the permanent reference-JSR gate remains 0/81.
Documentation caught up with the 22-routine ledger
Four additional routines can leave public documentation out of date.
PR #1022 synchronized the English and Japanese READMEs, overview SVG, public Pages, docs/status.md, documentation pointers, and tests against the current 22/81 inventory.
The update preserves older snapshots as dated history rather than silently rewriting them. Ledger-derived consistency tests now help prevent a mismatch between implementation status and public project pages.
Why a 256 KiB ROM still runs out of API space
The firmware image is fixed at 256 KiB, but that does not mean every byte is freely available for ordinary API bodies.
The HuC6280 memory map, shared entry table, boot and vector responsibilities, and reserved diagnostic-probe region constrain the Bank0 OVERRIDES section. In particular, the current build must not spill into the $E800 overlay boundary.
The project has therefore been exploring a more scalable structure: keep the public-facing entry table and a small dispatcher in the common bank, and move selected API bodies into additional banks.
PR #1023 merged an experimental multibank proof of concept using slot $3F MA_MUL8U.
Its simplified control flow looks like this:
Caller -> API table ($E0BD)
-> Bank0 dispatcher ($E000-$FFFF, fixed MPR7)
-> save MPR6; switch MPR6 to Bank1
-> Bank1 body ($C000-$DFFF)
-> RTS to Bank0 dispatcher
-> restore MPR6
-> RTS to original caller
There are two distinct returns. The call from the Bank0 dispatcher to the extra-bank body stacks a Bank0 return address, and the dispatcher's own return must restore the original caller's bank mapping before returning to that caller. Confusing the two would make the control flow appear correct in a narrow test while breaking other call sites.
The PR reported an unchanged 262,144-byte image size, byte-identical ordinary DEV ROM, host and fault-injection tests, and passing synthetic pinned-core execution evidence.
This establishes a limited experimental bank-switching mechanism. It is not a migration of the whole normal DEV firmware to a multibank architecture.
A formal migration contract—and known unverified cases
PR #1042 added a formal multibank migration design and structural host checks.
The design keeps the API table, boot paths, and vectors in common Bank0. Extra banks contain API bodies. A machine-readable map records slot, bank, dispatcher, body, and entry relationships, and any new slot must be independently validated before migration.
The current PoC's verified domain is deliberately narrow: T=0, I=1, plus documented MPR and stack prerequisites. Entry with T=1 or IRQ reentrancy during a bank switch remains UNVERIFIED. The general runtime-proof follow-up was not merged into main at this snapshot.
Size reduction still matters while this migration is being developed. PR #1043 shaved 3 bytes from slot $44 MA_SQRT, yielding a reported OVERRIDES end of $E7E7 and only $18 bytes of headroom before $E800.
PR #1046 retained BLOCKED_CAPACITY for other pending candidates. A few saved bytes are not proof that every future routine will fit.
CI parallelism: the scheduler works, but the 60% target does not
The other prominent development is PR #1041, merged on December 2.
It adds a staging executor with dependency-aware DAG waves, --jobs selection, per-command timings, timeout handling, and process-group termination. Unknown dependency relationships fall back to serial execution rather than risking shared build outputs.
The default is still --jobs 1, preserving legacy sequential behavior. The workflow has not silently opted into aggressive parallelism.
Crucially, actual measurements revealed the current limit:
| Stage | Reported duration |
|---|---|
test-real-core |
1,671 s |
test |
356 s |
dev-integration |
159 s |
With the current shared-worktree read/write hazards, the relevant heavy stages cannot safely overlap. The resulting overall L3 staging speed-up was approximately 0% in the reported measurements, despite a working scheduling mechanism.
That means the proposed 60% reduction has not been achieved. The real blocker is the large test-real-core command itself, not the absence of an outer parallel scheduler.
PR #1047 merged an additive staging real-core split foundation, while a more complete fan-out and aggregation proposal remained open at the snapshot. Those changes must be measured before claiming a substantial wall-time improvement.
The Required CI, safety gates, and release restrictions are not being weakened to manufacture a faster green check.
Snapshot: December 2, 2026
The latest inspected main revision for this post was 682ac8cb, after PRs #1042, #1045, #1046, and #1047 were merged.
| Evidence axis | Status |
|---|---|
| Ordinary project-owned DEV implementations | 22/81 |
| Nonreturning fallback stubs | 59/81 |
| Independently VERIFIED reference ABI entries | 0/81 |
| Reference BIOS JSR entries permitted | 0/81 |
Owner-approved DEV_CALLABLE entries |
0 |
| Commercial-game title screen demonstrated | No; G5_OBSERVED=false |
| Firmware release eligibility | false |
This time, the implementation count genuinely increased by four. More importantly, the project demonstrated a way to move an experimental API body out of cramped Bank0 space, and its CI work identified a precise performance bottleneck rather than assuming more jobs would automatically make everything faster.
The next meaningful milestones are to validate the missing bank-switching runtime conditions, expand the multibank design only under explicit contracts, and split the expensive real-core workload without sacrificing its verification guarantees.
Repository: https://github.com/mao2009/oss-pce-cd-bios
Key PRs: #1022 docs · #1023 multibank PoC · #1041 CI scheduling · #1042 migration design.
This independent project is unaffiliated with NEC, Hudson Soft, Konami, or other rights holders. It does not distribute proprietary BIOS files, commercial game images, or extracted copyrighted code.
Top comments (0)