Commit ebc1e76
committed
test: add real-BIOS CD boot smoke harness (test_cd_bios_boot)
Mirrors test_cd_hle_boot but forces virtualjaguar_cd_boot_mode=bios so
the real Atari Jaguar CD BIOS is loaded from VJ_TEST_CD_ROOT (default
test/roms/private). Discovers all .cue/.iso under that root, runs each
for VJ_TEST_CD_FRAMES (default 600 — enough to clear the BIOS animation
window and watch each disc reach its game-code entry point).
New make target: test-cd-bios-boot (parallel to test-cd-hle-boot, also
intentionally excluded from 'make test''s strict pass/fail loop).
Adds two diagnostic LOG lines around CDIntfOpenImage in retro_load_game
so silent disc-open failures are visible in the test log instead of
just retro_load_game failed.
Current real-BIOS baseline (600 frames):
- All 9 cue discs advance through CD-AUTH bypass into game code
(vs all 9 stuck in BIOS animation at 300 frames)
- 8/9 then PC-OOB into garbage (stack/streaming corruption);
Primal Rage stalls in BIOS at \$003616
Made-with: Cursor1 parent dabb293 commit ebc1e76
4 files changed
Lines changed: 440 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
648 | 651 | | |
649 | 652 | | |
650 | 653 | | |
| |||
676 | 679 | | |
677 | 680 | | |
678 | 681 | | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
679 | 693 | | |
680 | 694 | | |
681 | 695 | | |
682 | | - | |
| 696 | + | |
683 | 697 | | |
684 | 698 | | |
685 | 699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
| 1161 | + | |
1161 | 1162 | | |
1162 | 1163 | | |
| 1164 | + | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | 1167 | | |
| |||
1172 | 1174 | | |
1173 | 1175 | | |
1174 | 1176 | | |
| 1177 | + | |
1175 | 1178 | | |
1176 | 1179 | | |
1177 | 1180 | | |
| |||
0 commit comments