Rendered from docs/CISO_MULTIBOOT_PROGRESS.md in the repository.
Goal (Fred): take the GBA multiboot program(s) that his own GameCube discs (roms//.ciso) send over
the GameCube-GBA cable - first the Colosseum US Bonus Disc's Jirachi sender - and have the Action Replay
MAX DUO send and run that exact program on a GBA, as the GameCube would.
Rules: measure, don't guess (docs/MULTIBOOT.md); the .ciso originals are only ever read; nothing
extracted is committed (extracted/ and *.bin are in .gitignore); nothing goes to the physical DUO or a
real cartridge save without Fred's yes in chat.
Added by Fred (22 Nov, in chat): carry on extracting, documenting and testing every disc's
programs, and make the result a resource for others: docs/GAMECUBE_MULTIBOOT.md is that public
page. Keep it current each run (status table, findings, open questions), with links to related projects,
what is similar or different, and where this work extends them. Facts there must carry their evidence or
be marked as interpretation; links not opened are marked †.
Handover: none was written by the other session. On 22 November Fred said to go ahead without it, so the checklist below is this session's own plan.
Checklist
- [x] Read a .ciso without converting it (block map) and list the disc's FST -
tools/gcdisc/ciso.py - [x] Scan the Bonus Disc for GBA headers -
tools/gcdisc/scan_gba.py - [x] Open the embedded TGC disc
tgc/pokedownload.tgcand extract its files -tools/gcdisc/tgc.py - [x] Unpack the GBA programs (BIOS LZ77) -
tools/gcdisc/lz10.py; checkdownload.bin(tools/gcdisc/u8.py) - [x] Disassemble client.bin's main flow: does it need commands/data from the GameCube over JOY bus, or does it give Jirachi on its own once booted? Answer (22 Nov 06:57): it needs no data at all, only a fixed 4-step JOY bus handshake ("PKEG" echoed) before it starts; afterwards it reports one result word. Details under Findings
- [x] Record the GameCube side: how
__main.dolboots client.bin (libgcnmultiboot protocol in pret/pokeemerald src/libgcnmultiboot.s, GBATEK "JOY Bus"), and what it says to client.bin afterwards (22 Nov 07:54: fully read from the disc's code and checked against pret in a word-level model; Findings "07:54 run") - [x] Check client.bin against the GBA BIOS link-cable multiboot rules (header, size, load address) so
path A (
duo_events.py multiboot FILE --send, firmware/programs/mbsend.c) could carry it unchanged (22 Nov 07:14: accepted unchanged; see Findings "07:14 run") - [x] Simulator run: send client.bin with tests/multiboot_model.py and see how far it gets with no GameCube (arrives intact, CRC matches, BIOS boots it; mbsend then reports error 0x71 because client.bin never answers the library's final handshake - expected, harmless)
- [x] Prepare (not send) the variant with the GameCube handshake skipped:
extracted/colosseum_bonus_usa/pokedownload/client.skip_handshake.bin(tools/gcdisc/pathA_client.py) - [x] Run client.bin itself in an emulator with Fred's Ruby (USA) ROM and a copy of his own save: (22 Nov, Fred present: the patched variant gives Jirachi and saves correctly; the unchanged one waits for ever at the handshake - Findings "emulator run")
- [x] Same scan for the other discs: Colosseum (USA), XD, Box, Channel (Fred asked on 22 Nov for all his
GameCube .cisos to be included) - results in
extracted/scans/, files inextracted/<disc>/ - [ ] Work out each other disc's GBA program (Box done 08:55, Channel pokechan.bin read 09:54): its packing (not the Bonus Disc's LZ77 loader), what it does, and which one the game actually sends when (Colosseum colbtl.bin, XD maxbtl/maxcng, Box gbarom.arc, Channel pokechan.bin)
- [x] Decide with Fred: which route - the 4-byte variant (22 Nov); the hardware test is his to run
- [x] Public resource page
docs/GAMECUBE_MULTIBOOT.mdwith related projects (22 Nov, Fred's request); keep it current every run - [ ] Hardware result of the Jirachi variant (Fred)
Findings
22 November 2026 - Colosseum (USA) Bonus Disc (PC6E01)
- The .ciso is a plain CISO: block size 0x200000, 283 blocks stored; the disc's FST has 14 files. The only
GBA material is inside
tgc/pokedownload.tgc(147 MB), an embedded disc "POKE01 PokeDownLoad". TGC file offsets: real = FST offset - 0xE8000 (virtual) + 0x1D0000 (checked:MvOpening.h4mthen starts "HVQM4 1.5"). A stale duplicate of client.2003_1112.bin and client.bin also sits at TGC+0xF0000. - Three GBA multiboot images (Nintendo logo, fixed 0x96, valid header checksum; entry branch at 0xC0, which is the multiboot entry; load address 0x02000000):
| File in pokedownload.tgc | Size | Game code | Packed program | What it is |
|---|---|---|---|---|
client.bin |
27,584 (0x6BC0) | AGBJ01 | LZ77 at 0x278 -> 44,308 bytes, run at 0x02010000 | The program the disc sends. The DOL names it (string "client.bin"). Contains "You got JIRACHI!", the North-America-only check, party-full/no-save/already-received errors, the Berry Program update, Jirachi's OT "WISHMKR" (GBA charset, at 0x9EA4 unpacked), FLASH1M_V102, SIIRTC_V001, MultiSio010918, "POKEMON RUBYAXV"/"POKEMON SAPPAXP" |
client.2003_1112.bin |
24,364 | AGBJ01 | LZ77 -> 38,896 bytes | Older build (12 Nov 2003), different wording ("You receive jirachi", "Please love him."); not referenced by the DOL |
sample0519.bin |
71,400 | (blank), mentions AXVJ | LZ77 -> 112,332 bytes, run at 0x02018000 | A test/sample program; not referenced by the DOL |
- client.bin's start (disassembled, capstone): 0xC0
b 0x144; RegisterRamReset (SWI 01h, r0=80h, 40h), LZ77UnCompWram (SWI 11h) from 0x02000278 to 0x02010000,bxthere. Between the header and that code (0xE0-0x140) sits a JOY bus routine: RCNT (4000134h) = C000h (JOY bus mode), waits on JOYSTAT, puts the header's game code "AGBJ" (from 0x020000AC) in JOY_TRANS, waits for the GameCube's write then read, and compares JOY_RECV with it. So after booting, the GBA program does talk to the GameCube. - The unpacked program uses the JOY bus registers (4000140h, 4000150h-158h) as well as the Flash commands (E005555h/E002AAAh): the Jirachi data and the save writing are in the GBA program itself, but whether it waits for the GameCube before giving Jirachi is still open (next step).
download.binis a U8 archive of four textures (download.tm, bg.tm, error.tm, bgError.tm): GameCube graphics, no GBA code.- Evidence files:
extracted/colosseum_bonus_usa/pokedownload/(client*.bin, .unpacked.bin, sample0519.bin, __main.dol, download.bin, download/). MD5: see the Log.
22 November 2026 (06:57 run) - what client.bin does once running, and what the GameCube must say
Disassembled from the unpacked image (Thumb, base 0x02010000); listings in
extracted/colosseum_bonus_usa/pokedownload/disasm/, made with tools/gcdisc/gbadis.py (capstone, with
literal-pool and I/O-register notes) and tools/gcdisc/thumbcalls.py (BL call graph).
- How the GBA gets it. Not through the GBA BIOS: Ruby/Sapphire's own
libgcnmultiboot(pret src/libgcnmultiboot.s, run at the copyright screen) receives it over the JOY bus into 0x02000000 andGameCubeMultiBoot_ExecuteProgramjumps to 0x020000C0 in ARM with IME off and RCNT still in JOY bus mode (it does not callGameCubeMultiBoot_Quit). 0x020000C0 isb 0x144: RegisterRamReset, LZ77 to 0x02010000, jump. The ARM routine at 0xE0-0x140 (sets RCNT=C000h, echoes the game code "AGBJ") is never reached by that path (dead code in this build). - main (0x02010288), in order: set up IRQ (VBlank only; Game Pak IRQ too if the cartridge at
0x080000AC matches), graphics ->
0x020139DCJOY bus handshake, which loops on VBlankIntrWait until it completes ->0x02013870shows "communicating with the Nintendo GameCube", runs the gift (0x020134B4) and shows the result/Berry Program text ->0x02013B68puts one result word in JOY_TRANS -> on success the "You got JIRACHI!" screen -> idle loop. - The handshake (0x020139DC), as a state machine on JOYCNT flags (GBATEK names: bit0 reset, bit1 receive complete, bit2 send complete):
- wait for a JOY reset from the master; then JOY_TRANS = 0x47454B50 (the bytes "PKEG"), JOYSTAT |= 0x20, acknowledge.
- wait for the master to read JOY_TRANS (send complete). A reset here restarts; a write first returns code 1.
- wait for the master to write JOY_RECV (receive complete).
- JOY_RECV must equal "PKEG" (else returns 3); JOYSTAT |= 0x30.
- wait for any further JOY command, acknowledge, clear JOYSTAT bits 4-5, return 0. main ignores the return value, but it cannot pass this function without a JOY bus master that resets, reads, writes "PKEG" and sends one more command.
- The gift needs nothing from the GameCube. No JOY/SIO register is used anywhere in the call tree
of
0x020134B4(call graph:disasm/gift_reachability.txt; the only JOY users are the handshake and the result writer, both called from main). The Jirachi data (OT WISHMKR), the North-America check, the save checks and the Flash writing are all inside client.bin. - The result word the GBA hands back (main's jump table at 0x020103F4; message table at 0x0201286C):
| Code | Meaning (GBA screen text) | JOY_TRANS |
|---|---|---|
| 1 | You got JIRACHI! | 0x1000 |
| 2 / 5 | There is no save file | 0x0002 / 0x0004 |
| 3 / 9 | The save file is corrupted | 0x0020 / 0x0080 |
| 4 | Not a North American Ruby/Sapphire | 0x0001 |
| 6 | Save failure | 0x2000 |
| 7 | You don't have a POKeDEX | 0x0008 |
| 8 | Your party is full | 0x0010 |
| 10 | Already received a JIRACHI on this Game Pak | 0x4000 |
| 11 | This version is not compatible | 0x0001 |
(Whether the disc reads it, and what it then shows - "Look at the TV screen." is in the image but
unused here - is for the __main.dol step.)
- What this means for the DUO (conclusion, with the evidence above):
- Path A, image unchanged: the BIOS link-cable multiboot should accept the image (valid logo and
checksum, 0xC4-0xDF are zero so the BIOS's boot-mode/slave bytes overwrite nothing, size well under
256 KB - to be confirmed in the simulator). But once running it would wait for ever at the JOY bus
handshake: after a BIOS boot RCNT is not in JOY bus mode and there is no master to answer. It
would also not answer the sending library's final MultiBootHandShake (it has no link-mode code for
it), so mbsend would report a failed finish even though the GBA had started the program.
- Path A with the handshake skipped: replacing the single call at 0x0201036C (bl 0x020139DC,
bytes 03 F0 36 FB) with two Thumb NOPs (C0 46 C0 46) after decompression would let it run
straight to the gift. Everything that makes and saves Jirachi stays byte-for-byte Nintendo's; the
result word would simply go nowhere. This is a 4-byte change, so it is not "the exact program":
Fred's decision.
- Path C (the DUO as GameCube): the handshake is tiny and fixed, but it still needs a JOY bus master;
the GBA hardware cannot be one, and the GameCube's timing is unmeasured (docs/MULTIBOOT.md). Still
blocked by the measure-don't-guess rule; a real GameCube capture would unblock it.
22 November 2026 (07:14 run) - path A in the simulator (DUO firmware v4.2 + mbsend, hwsim)
Script tools/gcdisc/pathA_client.py; full output extracted/colosseum_bonus_usa/pokedownload/pathA_sim.txt.
(Firmware rebuilt here from Datel/us_update_v1_06 with firmware/build_firmware.py --all: CRCs match the
released v4.1/v4.2. unicorn/capstone/keystone installed with pip install --user.)
duo_events.multiboot_imageaccepts client.bin unchanged: logo CRC right, header checksum valid, 27,392 bytes after the header (multiple of 16, within 256 B-255.75 KB), 0xC4-0xDF zero.- Through the real mbsend program and the BIOS SWI 25h model, the header arrives word for word, the program decodes to exactly the file, the CRC matches and the slave BIOS boots it - for client.bin and for the patched variant alike.
- After boot, the library's MultiBootHandShake (pret multiboot.c:375) wants each word echoed and then the game code. client.bin has no SIO code and its RegisterRamReset (80h, then 40h) does not reset the SIO registers, so the slave keeps answering one stale value. Tried with 0x0000 and 0xFFFF: no constant can pass (the expected words change every transfer). mbsend gives up after ~9 s with error 0x71 (MULTIBOOT_ERROR_HANDSHAKE_FAILURE) and the tool prints "the transfer started but didn't finish". On hardware that message would be expected and harmless: the program is already running on the other GBA. Only the model of the slave is ours; the master side is Nintendo's library, as in the tests.
- Patched variant prepared, not sent:
client.skip_handshake.bin(27,636 bytes, md5 1e3114bbfc587daba9000c4f81e3b999). Header and ARM loader byte-identical to client.bin; the LZ77 stream re-packed (greedy packer in the script, round-trip checked) with only 0x0201036C-0x0201036F changed (03 F0 36 FB->C0 46 C0 46). Unpacked end 0x02006BF4 stays below 0x02010000, so the loader's decompression cannot overlap its own source. - Practical point for the hardware step: on the GameCube route the GBA boots the Ruby/Sapphire cartridge first, so client.bin finds it in the slot. Over path A the GBA must instead enter BIOS multiboot with the cartridge already inserted, holding START+SELECT at power-on (GBATEK; also what duo_events.py tells the user). Never swap the cartridge while the program runs.
- What the simulator cannot show: what client.bin does after boot. That is the next step (emulate it).
22 November 2026 (emulator run, Fred present) - what client.bin does on a GBA with no GameCube
tools/gcdisc/emu_client.py: unicorn ARM7TDMI with a high-level BIOS (SWI 01h/05h/11h etc., IRQ entry
through [0x03007FFC], IWRAM mirror), immediate DMA, JOYCNT write-1-to-clear, a Flash 1M model with the
Macronix ID (09C2h), Fred's Pokemon - Ruby Version (U) (V1.1).gba and copies of his own Ruby saves
(read only; results to extracted/.../emu/). Limits stated in the script: no cycle timing, VBlank every
120,000 instructions, timers advance per read, nothing drawn. tools/gcdisc/wishmaker_check.py checks
each WISHMKR Jirachi's PID/IVs against the GBA generator.
| Run | Save (copy) | Result |
|---|---|---|
| client.bin, unchanged | save #2599 (5 in party, no Jirachi) | Enters the handshake at frame 1 and stays there for all 1,200 frames: never reaches the gift, nothing written (emu/unchanged_run.txt) |
| client.skip_handshake.bin | save #2599 | Gift entered at frame 2; result word 0x1000 = "You got JIRACHI!" at frame 102; 14 sectors erased and rewritten as the game does (new copy in slot A, save #2600, all 14 section checksums valid); party slot 6 = JIRACHI, OT WISHMKR, ID 20043, Lv 5, data checksum valid (emu/patched_run.txt, emu/after_patched.sav md5 f271fcb0540df3f1f37785f89f373068) |
| client.skip_handshake.bin | save #2610 (party full) | Result word 0x0010 = "Your party is full" at frame 17, nothing written (emu/patched_partyfull_run.txt) |
- The new Jirachi (PID 6433A76F, IVs 12/2/21/7/20/18) is exactly what the GBA generator gives from the
16-bit seed 0x5790 (PID high half, low half, then IVs). The Jirachi already in Fred's save from the
1 November DUO trade (PID 7A0DF4BC) fits the same rule with seed 0x1910. So the emulated one is made
the way a genuine one is. (Corrected 09:11: the seed does not come from the emulator's timer, as first
written. It is the stored checksum of section 0 in the first save slot (0x0000-0xDFFF), whichever copy
is newer: #2599 gave 0x5790 = slot A's section-0 checksum (the older copy #2598); the same save with the
slots swapped gave 0x60B3 = slot A's (now #2599) -
emu/patched_swapped_run.txt. This agrees with the community finding that the WISHMKR seed is tied to the save checksum. So on hardware the Jirachi is predictable from the save; saving in Ruby before the test changes it.) - One false start, kept for honesty: the first unchanged run seemed to pass the handshake because the emulator let JOYCNT's acknowledge write set the flags; on hardware (GBATEK) writing 1 clears them. Fixed, re-run, result as in the table.
- Conclusion: for the Bonus Disc's Jirachi, the 4-byte variant sent by path A does on a GBA what the GameCube route does, as far as an emulator can show. The unchanged program cannot finish without a JOY bus master. The remaining uncertainty is real hardware (BIOS multiboot with START+SELECT and the cartridge in, and the actual Flash chip), which only the prepared test can settle.
22 November 2026 (07:54 run) - the GameCube's side, read from the disc
__main.dol (md5 9867217df7902d70d41138c0e0235a91) disassembled with tools/gcdisc/dol.py (DOL sections,
SDA bases r13=800FBA00 / r2=800FD0C0, string xrefs) and tools/gcdisc/gc_joyboot.py (annotated listing:
extracted/colosseum_bonus_usa/pokedownload/disasm/gc_joyboot.txt). The disc uses Nintendo's SDK GBA
library, identified by the JOY command byte each function stores: GBAGetStatus 0x80048F7C (cmd 00h),
GBAReset 0x80049070 (FFh), GBARead 0x800491E8 (14h), GBAWrite 0x8004933C (15h). GBAJoyBoot (the BIOS-style
boot) is linked in but not used for client.bin. Everything happens in one thread function, 0x800100C4:
- Load
client.binfrom the TGC (0x80010050), length rounded up to 8. - Find a GBA on ports 1-4 (SI type 0x00040000), then up to 100 rounds of GetStatus / Reset / poll
status until it is 0x18 / Read, waiting for the 4 bytes "AXVE" - the fixed value libgcnmultiboot
sends (pret
pool_RubyUSAGameCode; Sapphire sends it too). No "AXVE" -> ErrWrongCartridge (or ErrTransfer if the GBA vanished). - Echo "AXVE" (status must be 0x10); send KeyA = 0xDD + 24 random bits (10-24 bits set, else 0xDD654321); read KeyB (low byte 0xEE, 7-14 bits set in the top 24); send the size word (len/8 - 1, GBA limit < 0x4000 so at most 128 KB).
- Send the image one word per GBAWrite, checking the GBA's status alternates 0x30/0x20: the first 0xA0 bytes in clear (header and logo, which the cartridge compares with its own), the rest encrypted exactly as pret decrypts it: c = (p - hash) XOR key; hash = CRC(poly A1C1) of hash XOR p; key = key*0x6177614B + 1, starting from KeyA XOR KeyB.
- Poll for status (s & 0x0A) == 8 and read: 0xCC.. words (GBA's counter) are skipped; the 0xFF.. word is the KeyC derivation. The disc tries all 256 VCount values to recover KeyC, then sends the boot key 0xBB000000 | CRC(KeyC XOR 0xBB). The cartridge checks it and jumps to the program.
- After boot (up to 300 frames for the GBA to reappear, 3 resets): Reset, status 0x28, Read must be "PKEG"; status 0x20, Write "PKEG" back; wait for status 0x30; Reset/GetStatus until 0x30; then Reset/GetStatus until bits 0x10 and 0x08 are set and Read the result word. Nothing else is sent: no data, no commands. Each wait is a 100 ms window (bus clock / 4 / 1000 x 100) retried 300 times.
- The result word picks the TV screen (switch at 0x80011048, jump table 0x800ACD64, names from the FrontEnd mode list):
| client.bin's JOY_TRANS | GBA screen (06:57 table) | Disc screen |
|---|---|---|
| 0x1000 | You got JIRACHI! | Finish0 |
| 0x2000 | Save failure | ErrFailed |
| 0x0001 | Not N. American R/S / incompatible | ErrWrongCartridge |
| 0x0004 | No save file (code 5) | ErrNoSaveData0 |
| 0x0008 | No POKeDEX | ErrNoGameProgress0 |
| 0x0010 | Party full | ErrFullPokemon0 |
| 0x0020 | Save corrupted (code 3) | ErrDestroyData |
| 0x0080 | Save corrupted (code 9) | ErrNoFlash |
| 0x4000 | Already received | ErrAlreadyGiven |
| 0x0002 or anything else | No save file (code 2) | ErrInvData |
| (any link failure) | - | ErrTransfer |
Ten of the eleven words land on a named case only if the GameCube receives JOY_TRANS low byte
first, which independently confirms the byte order assumed for "AXVE"/"PKEG".
- Model: tools/gcdisc/gcmb_model.py runs the disc's side (as transcribed) against pret's GBA side
word by word: 200 runs with random keys/VCounts all pass every check and leave client.bin in GBA
memory byte for byte (extracted/.../gcmb_model.txt). So the protocol is now completely known in
software - both ends, every magic value.
- What is still unknown (and only a capture can give): bit timing on the wire, the gap between
commands, and how quickly the GBA must answer. The disc itself is lenient (100 ms windows, many
retries), which is encouraging but not a measurement.
- What this means for the routes:
- Path A (DUO, BIOS link-cable multiboot) is unaffected: it never uses this protocol. The 4-byte
variant remains the only way the program finishes there.
- Path C (something acting as the GameCube) would need to send exactly steps 2-6 above, to a GBA
sitting at the Ruby/Sapphire copyright/title screen with the cartridge in, using the unchanged
client.bin. The GBA (and so the DUO) cannot be the JOY bus master; it would take a GameCube or a
separate JOY bus master device, plus a timing measurement. That is outside what the DUO can do, so
it is recorded as an option for Fred, not pursued.
22 November 2026 - the other four discs (raw scan for GBA headers; packed data inside .fsys not yet opened)
| Disc (ID) | GBA program(s) found | Size | Notes |
|---|---|---|---|
| Colosseum (USA) GC6E01 | colbtl.bin |
92,412 | Game code "TEST", header checksum not valid; Nintendo-style crt0 at 0xC0, body packed in an unknown format (not the Bonus Disc loader). Likely the GBA side of Colosseum's link with R/S (to be confirmed). Emerald carries its own 0x28000-byte copy (docs/MULTIBOOT.md) - compare |
pkjb_test.bin |
6,948 | Tiny test program, identical on XD | |
| XD (Europe) GXXP01 | maxbtl.bin + maxbtl_{english,france,germany,italy,spain}.bin |
98,944-107,328 | "TEST", checksum not valid, packed. Per language |
maxcng.bin + maxcng_{...}.bin |
65,184-72,736 | Same; "cng" probably exchange/trade, "btl" battle - to confirm | |
pkjb_test.bin |
6,948 | Same as Colosseum's | |
| Box R&S (Europe) GPXP01 | gbarom.arc, gbaromD.arc |
44,960 each | RARC archives (they differ from byte 73) holding a multiboot program at +0xC0, valid checksum: the program Box sends. Not yet unpacked |
AAXP??.srl, AAXV??.srl (20 files) |
16 MB each | Complete Ruby/Sapphire ROMs (D/E/F/I/S, two revisions each) stored on the disc; not multiboot programs, so not extracted | |
| Channel (Europe) GPAP01 | pokechan.bin |
70,236 | "TEST", checksum not valid, not packed: names R/S game codes (AXVE...AXVJ), FLASH1M_V103, SIIRTC_V001 - probably Channel's Jirachi gift program. pch/*.bin 512 KB files are Pokemon mini games, not GBA |
- Several of these have game code "TEST" and an invalid header checksum. libgcnmultiboot may not check it; whether the GBA BIOS's link-cable multiboot does must be checked in GBATEK before path A is considered for them (not assumed).
22 November 2026 (08:55 run) - Box R&S's program, and how every disc boots its GBA program
Box R&S (GPXP01): tools/gcdisc/rarc.py (RARC lister/extractor, Yaz0-aware) opens gbarom.arc and
gbaromD.arc: each holds one file, agbbin.bin (44,740 bytes, md5 f45402a417935754d4c7c62d5039b6fe), and
the two copies are identical - the archives differ only in the root folder's name (gbarom /
gbaromd). Header: Nintendo logo, blank title and game code, maker "01", checksum 0xF0 valid; ARM
crt0 at 0xC0, Thumb main at 0x020001D5; not packed. Listing: extracted/box_eur/disasm/agbbin_thumb.txt
(gbadis.py now skips literal pools instead of stopping at them).
- What it is: a JOY bus command server for the cartridge's save, not a gift. Its JOY handler
(0x020008E8 onwards) acts on the low byte of each word the GameCube writes: 0xAA (status word back:
game/version bits + a value from 0x0201C638), 0x55 (returns the cartridge's word at 0x08000100), 0xCC,
0xEE, 0x88, 0x77, 0x33 (block transfers and state changes). Error strings: "FLASH ERROR", "BACK UP NO
DATA", "BACK UP DESTORY", "ROM NOT CONECT", "DEN NO DATA" (Hall of Fame), "BACK UP SAVE ERR". Its main
loop checks the cartridge is still there (0x080000B2 == 0x96). The Box disc's side is
gbacommu.cpp("UNKNOWN GBA COMMAND." on anything else). - So on its own (path A, no GameCube) it would start and wait for commands for ever: it moves Pokemon between the cartridge and Box's memory card, and the other end of that is Box itself. Nothing to give, nothing useful to reproduce without the GameCube. It passes the DUO's header checks unchanged (table below) if Fred ever wants to see it start.
How each disc boots its program (strings and code in each main.dol, copied by tools/gcdisc/getdol.py):
every disc carries the same "KeyC" search as the Bonus Disc (*** ERROR: KeyC NOT FOUND ***; Box's
copy at 0x800309D0 does the 256-value search with CRC poly 0xA1C1 and sends 0xBB000000|CRC, exactly as
the Bonus Disc). Colosseum names its module pkjb_uploader.c ("Pokemon JoyBoot"), Channel PKJoyBoot.
So all five discs boot their GBA program through the GBA cartridge's own libgcnmultiboot (the
"AXVE"-style exchange in Findings "07:54 run"), none through the BIOS's JOY-bus boot. Box's DOL links
the SDK's GBAKey (BIOS JOY boot) code but nothing calls it.
- Consequence: the "TEST" game code and wrong header checksums on Colosseum/XD/Channel programs are
explained - libgcnmultiboot never checks 0xBD. Over path A (BIOS link-cable multiboot) it is a
different BIOS; whether that BIOS rejects a wrong 0xBD is not yet established (to be looked up in
GBATEK, not assumed).
duo_events.py multibootrefuses them as they are. - Other files the scan named: Colosseum also has
bg0/1/2thumbcode.binandgbaCommunication.c,menuGBAC.c; XD's DOL namesGBA_EMR_F_0100/GBA_EMR_M_0100(Emerald) anddebug/_deckrequest.bin; Channel'se_*.binandpch/*.binare its own data and Pokemon mini games (not yet checked for GBA headers beyond the raw scan, which found none).
DUO header check over every candidate (tools/gcdisc/mbcheck.py, output extracted/mbcheck.txt; the
same checks duo_events.py multiboot makes, nothing sent):
| Program | Size | Header | DUO tool |
|---|---|---|---|
Bonus Disc client.bin / client.skip_handshake.bin |
27,584 / 27,636 | AGBJ, valid | accepted |
Box agbbin.bin |
44,740 | blank code, valid | accepted |
Colosseum & XD pkjb_test.bin (identical) |
6,948 | blank code, valid | accepted |
Colosseum colbtl.bin |
92,412 | TEST, checksum wrong | refused (0xBD) |
XD maxbtl*.bin (6) |
98,944-107,328 | TEST, checksum wrong | refused (0xBD) |
XD maxcng*.bin (6) |
65,184-72,736 | TEST, checksum wrong | refused (0xBD) |
Channel pokechan.bin |
70,236 | TEST, checksum wrong | refused (0xBD) |
22 November 2026 (09:54 run) - Channel's pokechan.bin: a receiver, the Pokemon comes from the GameCube
Listing: extracted/channel_eur/disasm/pokechan_thumb.txt (gbadis.py, base 0x02000000). Not packed:
ARM crt0 at 0xC0 (IRQ stack 0x03007FA0, user 0x03007E60), Thumb AgbMain at 0x02000681, BSS
0x0201125C-0x0201A7DC cleared with CpuSet. Its JOY bus state lives in one block at 0x02017CF0 ("S" below).
- JOY bus server (handler 0x02004E68, receive 0x02004BA8, reply builder 0x02004CF0, status 0x02004A10).
Commands are the top byte of the word the GameCube writes:
0x77status (reply: halfword 0x020159AC <<16 | S+0x2AA4 <<8 | 0x77);0xAAcartridge/save check - reply0xAAwith an error byte in bits 24-31: 0xFF (save not readable / wrong), 0xEE (no save), 0xDD /0xDE (game version), 0xCC, 0xBB (cartridge checks at 0x020046F4/0x02004754), 0xAA (party already has 6); then two further steps set a picture mode from S+0x34 bits 0-1 and receive into S+0x38 / S+0xE38 (0xE00, 0x1C00 or 0x2A00 bytes; then S+0x2AA0=1);0x99receive 0x68 bytes into S+0x2A38 (then S+0x2AA1=1);0x88sets S+0x2AA2. - Main flow (0x020003C0): set up, wait for S+0x2AA0 (pictures received), copy them to OBJ VRAM
(0x020002F8: 4 x 0x80-byte rows to 0x06014000...), wait for A or B; if S+0x34 bit 0 is clear it
SoftResets (declined); show the second picture; wait for S+0x2AA1;
0x02003F0Creturns the free party slot (party base + count x 100, or 0 when the party is full); CpuSet 0x32 halfwords = 100 bytes from 0x0201A72C (= S+0x2A3C) into that slot; party count +1;0x02004314(header & 0xFFFF, mon)sets the Pokedex seen/caught flags (with the Unown 0xC9 and Spinda 0x134 personality special cases);0x02001D14saves; then puts 0x88 (success) or 0xFFFFFF88 (failure) in JOY_TRANS for the GameCube to read. - So the Pokemon is not inside pokechan.bin. The GameCube sends a 4-byte header (low half = species index, used for the Pokedex) plus a complete 100-byte Gen 3 party Pokemon, and two pictures. This differs from the Bonus Disc, whose client.bin builds Jirachi itself.
- Watchdog: a VBlank callback (0x0200507D) SoftResets if the cartridge goes (0x080000B2 != 0x96) or if no JOY interrupt arrives for S+0xE frames; S+0xE = 0xFE (254 frames, ~4.2 s) when the program's own header code is "TEST" (it is), else 0x1E (init 0x02004FB0). Interpretation: with no GameCube it would restart every ~4 s (where SoftReset goes depends on 0x03007FFA - not checked).
- Consequence for path A: sent alone it can do nothing useful - there is no Pokemon to give. A
standalone variant would have to carry the 0x68-byte block and pictures (or skip the picture gate) and
bypass the watchdog and the A/B gate: more than the Bonus Disc's 4-byte change, and the 0x68 bytes must
first be found on the disc or in what Channel's DOL builds. Channel's
main.dolnamesJirachiStart,JirachiCondition,JirachiGetKey,JirachiIsReady,JirachiEnd,PKJBInit/PKJoyBoot,GetgbaChan(script bindings; scripts arepch/scripts/*.pkc). Whether the GameCube makes the PID/IVs at run time or reads them from a file is open (to be read from the DOL, not assumed).
22 November 2026 (10:20, Fred present) - Fred's GBA ROMs; Channel emulated (adds to "09:54 run")
Fred's roms/ folder (checked at his request; read only): besides the five GameCube .cisos it holds
GBA ROMs of Ruby and Sapphire (J, English Europe Rev 1, F, D, I, S), FireRed, LeafGreen and Emerald in
every language. roms/Ruby/Pokemon - Ruby Version (Europe) (Rev 1).gba (AXVE) is byte-identical to
the US Pokemon - Ruby Version (U) (V1.1).gba (md5 e0503182...): English Ruby is one ROM for both regions.
- So the Bonus Disc's "North American only" check is really an English-cartridge check: with the
English ROM the variant gives Jirachi as before (same PID 6433A76F from the same save); with French Ruby
(AXVF) it answers 0x0001 "not a North American Ruby/Sapphire" at frame 3 and writes nothing
(
colosseum_bonus_usa/pokedownload/emu/other_roms.txt).
Channel pokechan.bin in the emulator (written in parallel with the 09:54 run, which has the full
reading; this only adds what the emulator showed). English Ruby + a copy of save #2599, no GameCube
(extracted/channel_eur/emu/run1.sav.blocks.txt; emu_client.py now handles SoftReset and logs basic
blocks with EMU_BLOCKS=1):
- JOY bus on at frame 36 (RCNT C000h, JOYCNT 47h); no JOY traffic, so the watchdog fires at frame 292 (= 36 + 256); main's exit path does RegisterRamReset(FFh) then SoftReset with 0x03007FFA = 0, i.e. back to the cartridge (0x08000000): the GBA simply restarts Ruby. Nothing written to the save. This confirms the 09:54 watchdog reading and answers its "where SoftReset goes" question.
- (A slip of mine, corrected before saving: the command byte is the top byte of the GameCube's word
lsrs r4, r4, #0x18at 0x02004C2A - as the 09:54 run says, not the low byte.)
22 November 2026 (10:46, Fred present; schedule stopped by Fred) - Channel's Jirachi maker, run from the disc
tools/gcdisc/channel_jirachi.py runs Channel's own PowerPC code from extracted/Channel.main.dol in
unicorn's PPC core - nothing reimplemented; only the RNG state and the language variable are inputs.
Listings: extracted/channel_eur/disasm/jirachi_make.txt, channel_gc_link.txt.
- Script bindings table at 0x80232A3C ({function, name, args}): PKJBInit 0x8008F264 (loads pokechan.bin), PKJoyBoot 0x8008F42C, JirachiGetKey 0x8008F46C, JirachiCondition 0x8008F4AC, JirachiStart 0x8008F4EC, JirachiIsReady 0x8008F540, JirachiEnd 0x8008F5E0; SetRandomSeed 0x80091C04.
- JirachiStart builds a 0x68-byte block on the stack: word 0x99010000 (command 0x99; read little-endian by the GBA its low half is 0x0199 = 409, Jirachi's species index for the Pokedex) + the 100 bytes made by 0x8008EC50, and sends it with 0x8008E944 (command 0x99, 0x68 bytes).
- 0x8008EC50, the maker: random(n) at 0x8010E2D8 is the Colosseum/XD LCRNG (state0x343FD + 0x269EC3; n(state>>16)>>16). In order: SID, PID high, PID low (one bit of PID high is flipped by a comparison involving TID 40122 - not interpreted further), then nickname JIRACHI, OT CHANNEL (female), TID 40122, language from the variable at 0x8033DAF8 (0 EN, 1 DE, 2 FR, 3 ES, 4 IT -> GBA language 2/5/3/7/4), Sapphire origin, Poke Ball, item Salac or Ganlon (rand(8) < 4), moves Wish / Confusion / Rest, IVs from six rand(32), stats for level 5 computed, checksum, substructures encrypted with PID^OTID. The GBA (pokechan.bin) copies these 100 bytes into the party unchanged.
- Checked against genuine data: for each of Project Pokemon's four CHANNEL Jirachi files
(EventsGallery, ENG shiny 3B03D5CF and FC73F20B, SPA Ganlon and Salac), the seed recovered from its
SID/PID makes Channel's code produce a Pokemon identical to the gallery file in all 80 bytes
(
extracted/channel_eur/jirachi/gallery_compare.txt; gallery files are decrypted and in G/A/E/M order, so ours is compared after the same normalisation). The gallery's file names are these seeds. - The seed on a console: SetRandomSeed sets the state from its script argument, or when that is 0 from 0x800CE6E4 (by its place, the OS clock - interpretation), and other random draws happen before JirachiStart. So any 32-bit state is a possible Channel Jirachi; which one a given console gives is not fixed.
- What this gives Fred (decision): a Channel Jirachi byte-exact to what the disc would send can be
made here for any seed - e.g.
extracted/channel_eur/jirachi/CHANNEL Jirachi (English, seed 0x2dd9e1b).pk3(seed from the PC clock at 10:46, as a console would take its clock; Salac, IVs 30/3/12/8/16/26, not shiny;duo_events.parse_pk3finds no problems). Two ways to put it on a cartridge: - Trade with the existing, hardware-proven route:
python duo_events.py trade --pk3 FILE.pk3(the game saves it itself). The Pokemon's bytes are the same; only the delivery differs from Channel. - A pokechan.bin variant carrying the 0x68-byte block, with the GameCube waits (start flags, pictures, A/B prompt, watchdog) bypassed: closer to the original delivery, more patching, needs emulator testing first (not started).
22 November 2026 (12:12, Fred present) - Channel's Jirachi without a GameCube: both routes prepared
Fred chose "both" (trade route, and a pokechan.bin variant).
Route 1 - trade (simulator): tools/gcdisc/sim_trade_pk3.py runs the DUO's trade program (v4.2,
hwsim) against the simulated Ruby of tests/trade_game_model.py with the Channel Jirachi made at 10:46:
the link finishes, the game receives exactly that Pokemon and saves, no bad checksums
(extracted/channel_eur/jirachi/sim_trade.txt).
Route 2 - pokechan.standalone_en.bin (tools/gcdisc/make_pokechan_variant.py; 116,080 bytes, md5
b84d647ba072ce8711a7f7a60d85cea4). What the GameCube does after boot was read from the DOL
(Condition 0x8008E6E0: 0xAA, read status, flags word, 0x1C00 bytes of pictures from 0x801CCF28 +
language*0x2A00 + 0xE00; Start: 0x99 + 0x68 bytes; End: 0x88). The cartridge's language letter in the GBA's
answer picks the pictures (E 0, D 1, F 2, S 3, I 4); a mismatch with Channel's language makes the GameCube
send an extra warning picture and ask A/B. A 112-byte Thumb stub, called where main called the JOY set-up
(0x020003E6), does the same in the same order: calls the program's own cartridge/save/party check
(0x02004A10) and exits via the program's own exit on any error byte; S+0x34 = 1; copies the same 0x1C00
picture bytes (English) to S+0xE38; copies 99 01 00 00 + the 100-byte Jirachi to S+0x2A38; sets the three
"received" flags. The watchdog install (0x020003EC) becomes two NOPs; 0xBD is corrected (the program never
reads it). The stub and data sit at 0x0201A800, just above the BSS, in memory nothing writes before the
stub runs (measured: first write above the BSS before it is at 0x0201E470), keeping the image under the
DUO sender's 131,024-byte buffer (a first build at 0x02030000 was refused by put_blob for size).
- Emulated with English Ruby + copy of save #2599: check passes (0xAA, no error), Jirachi written to
party slot 6 byte-identical to the .pk3, Pokedex #385 now seen and owned (it was neither), both saves
done (new copy #2600, all 14 section checksums valid), success word 0x88, then the program waits for A
and returns the GBA to Ruby (
emu/standalone_run.txt,emu/after_standalone.sav). - Party full (#2610): the check answers 0xAA0000AA, the stub exits at once, nothing written
(
emu/standalone_partyfull.txt). On the GameCube the TV would explain why; here the GBA just restarts Ruby - a difference to know. - French Ruby: accepted and given the English Jirachi with English pictures. The GameCube would first have shown a "different language" picture and asked A/B; the stub skips that question.
- Path A in hwsim: header accepted by the DUO tool, the 115,888 bytes arrive intact, CRC matches, the BIOS
boots it; the tool then reports 0x71 (no MultiBootHandShake answer), as for the Bonus Disc - expected
(
emu/pathA_sim_standalone.txt).
22 November 2026 (15:38, Fred present) - Colosseum and XD programs run in the emulator; DUO resources
colbtl.bin / maxbtl.bin / maxcng.bin are not "unknown packing" problems: each is a normal SDK image
(the same ARM crt0 as pokechan.bin) whose main copies a decompressor into IWRAM (colbtl: DMA from
0x02016738 to 0x03000000, then calls 0x03000130) and unpacks itself with BIOS calls (SWI 12h LZ77-to-VRAM
x4, 15h RL x2). In emu_client.py (US Ruby + copy of #2599, no GameCube; extracted/colo_xd_emu.txt, EWRAM
dumps *.ewram_after240.bin):
- All three then set up the same JOY bus server as Channel's (JOYSTAT 0, JOY_TRANS 0, JOYCNT 47h at frame 31/45/41) and wait for the GameCube. The unpacked images carry the R/S game-code list (AXVF AXPE ... AXVJ), like pokechan.bin.
- colbtl: no JOY traffic -> watchdog -> SoftReset to the cartridge at frame 287 (31 + 256), nothing written. maxbtl/maxcng (XD): still waiting after 900 frames, nothing written.
- Reading (from the names and the shared server; to be confirmed against the DOLs): these are the GBA ends of Colosseum's and XD's link features with Ruby/Sapphire, driven word by word by the GameCube ("btl" battle, "cng" exchange). Like Box's program they have nothing to give on their own: the other half of a battle or trade is the GameCube game. No standalone replay is meaningful; recorded and closed unless Fred wants the protocols documented further.
pkjb_test.bin(both discs): no JOY use; it LZ77-unpacks from 0x02020000, where nothing was sent (zeros), and idles - a "PKJoyBoot" test that expects data the GameCube loads separately. Nothing to replay.- (emu_client.py now records, instead of crashing on, an LZ77 call on non-LZ77 data.)
DUO resources (Fred asked whether we use the whole Action Replay): tools/duo_memory_map.py and
docs/DUO_RESOURCES.md. Measured in hwsim: EWRAM 0x02000400-0x0200FFFF (63 KB) is never written by Datel's
firmware or Reckless v4.2 in boot, save backup or a multiboot send; IWRAM has 29 KB never written; the
firmware image has no blank 1 KB left; program files load at 4 bytes per USB round trip (half the
packet). Recommendations there: a faster mbsend load path (raw 8-byte packets via the API's recv8, LZ77),
optionally a ~222 KB buffer; leave the flash alone.
22 November 2026 (16:57, Fred present) - the Bonus Disc's two unused programs; 0xBD; Channel's seed
The prototype and the sample give Jirachi too, once the same handshake is skipped.
tools/gcdisc/skip_handshake.py makes the variant for any of the three Bonus Disc programs: same loader
(literals at 0x170/0x174), the same JOY bus handshake function found by its first 24 bytes, exactly one
call to it, NOPed, re-packed. For client.bin it reproduces client.skip_handshake.bin byte for byte.
| Program | Handshake / its call | Unchanged (emulated, no GameCube) | Variant (emulated) |
|---|---|---|---|
| client.2003_1112.bin (12 Nov 2003) | 0x020138A8 / 0x02010378 | acknowledges JOYCNT, then waits for ever (emu/old_programs.txt) |
US Ruby + #2599: result 0x1000, valid save #2600, JIRACHI, OT METEOR, ID 30719 (0x77FF), Lv 5, English; same PID as WISHMKR from the same save (seed 0x5790, the same slot-A section-0 rule) (emu/proto_us.sav) |
| sample0519.bin | 0x0201EEBC / 0x0201E398 | same: waits for ever | US Ruby: 0x0001 "not compatible", nothing written. Japanese Ruby (+ the same save copy): 0x1000, valid save, ジラーチ, OT ネガイボシ (Negaiboshi), ID 30719, Japanese, Lv 5 (emu/sample_jp.sav). PID 15B6163B / IVs 24/11/30/27/17/6 come from the same generator, seeded differently: the cartridge's real-time clock (see below) |
| - This confirms in emulation what Project Pokemon's thread suspected (the "Meteor prototype" and a | |||
| Japanese "Negaiboshi" sender), and explains their white screen: both wait at the GameCube handshake. | |||
| - (Japanese text decoded with the Gen 3 katakana table; 0xAE is the long-vowel mark.) | |||
| - sample0519's seed, traced (emulator write-watch on its RNG state 0x03006358): at frame 23 the code | |||
| at 0x0201E5AC calls 0x0201E1E4, which reads the cartridge RTC (0x0201DF34, SIIRTC) and returns | |||
| days1440 + hours60 + minutes; the seed is (x >> 16) XOR (x & 0xFFFF), stored by SeedRng 0x0201BA48; | |||
| two draws follow (0x0201E5D8/DE, a 32-bit value used elsewhere), then at frame 35 PID high, PID low and | |||
| the IVs. In our emulator the RTC reads gave x = 1440 (seed 0x05A0); the observed state 0xBC230A0A is the | |||
| seed after those two draws. So: **WISHMKR and METEOR seed from the save (slot A's section-0 checksum); | |||
| the Japanese Negaiboshi sender seeds from the cartridge clock, in minutes.** |
0xBD (header checksum) over path A: GBATEK ("GBA Cartridge Header") states only that the BIOS compares the logo "in the cartridge (or multiboot header)" and locks up if it differs; for 0xBD it says "cartridge won't work if incorrect", with nothing specific to multiboot slaves. AlexApps99's notes ask the sender for a "correct header CRC" but do not say the slave checks it. Not settled by documentation; only the BIOS code or a hardware test can tell. It does not matter for anything prepared: every variant we would send has a valid 0xBD (the Bonus Disc programs' own; the Channel variant's corrected), and the TEST programs are GameCube-driven servers with nothing to replay.
Channel's seed, traced: SetRandomSeed (0x80091C04) with argument 0 calls 0x800CE6E4, which is
mftb r3 (OSGetTick: the PowerPC time base, lower 32 bits), stores it as the RNG state and advances once
(0x8010E280). So on a console the state is the time-base count when the script seeds it: effectively
arbitrary, which is why any 32-bit seed is a genuine possibility. (No longer an interpretation.)
22 November 2026 (17:50, Fred present) - full sweep of all five discs: no other multiboot programs
tools/gcdisc/gcscan.c (C, compiled to ~/.cache/gcscan) + tools/gcdisc/sweep_gba.py. Every file of each
disc is searched for the Nintendo logo (first 16 bytes as key, all 156 checked by CRC-32 D0BEB55E) as
stored, after Yaz0 unpacking, and inside every LZSS blob (Colosseum/XD .fsys). Results in
extracted/sweep/<disc>/ (hits.txt, notes.txt, done.txt) and, with the video/audio streams included,
extracted/sweep/media_<disc>/.
| Disc | Files | Unpacked on the way | Programs found |
|---|---|---|---|
| Bonus Disc (USA) | 14 | (TGC contents are stored plainly) | client.bin, client.2003_1112.bin, sample0519.bin (+ the stale duplicates at TGC+0xF0000) |
| Colosseum (USA) | 1,872 | 5,350 LZSS blobs, 0 failures | colbtl.bin, pkjb_test.bin |
| XD (Europe) | 2,633 | 8,252 LZSS blobs, 0 failures | maxbtl.bin (6), maxcng.bin (6), pkjb_test.bin |
| Box (Europe) | 60 | 19 Yaz0 files, 0 failures (no Yaz0 nested inside other files) | agbbin.bin in gbarom.arc / gbaromD.arc |
| Channel (Europe) | 1,967 | (its .dat/.pkc/.bin files are not compressed: sizes in plain headers) | pokechan.bin |
Not searched: only Box's 20 .srl files, which are complete 16 MB Ruby/Sapphire cartridge images (whole
games, not multiboot programs). Zero LZSS/Yaz0 failures means every compressed blob unpacked to its stated
size, which also checks the unpackers.
- ~~So the list of multiboot programs on these five discs is complete~~ - corrected at 18:55: this sweep
looked only for the logo, and missed
coupon.bin, whose logo is blank (see "18:55"). - The named files, followed up:
- Colosseum
bg0/1/2thumbcode.bin(42-46 KB, compressed-looking, no cartridge header): the DOL picks one of the three at random (0x8007B114, a table at 0x802EE608), reads it behind a 0x34-byte message header (name string at +4, length at +0x2C) into a send queue (0x380/0x384 of the link object) - data, or code, sent tocolbtl.binafter it has booted, not a program the GBA boots. Not decoded further. - XD
pkx_gba_{rs,fl,emr}_{m,f}_0101.fsys: the GameCube's 3D models of the GBA games' player characters (pkx is XD's model format); no GBA code inside (sweep). - XD
debug/_deckrequest.bin: no such file on this European disc (only named in the DOL).
22 November 2026 (18:05, Fred present) - Pokemon Box's gift Eggs
Fred asked about Box's Swablu. Box gives four gift Eggs (Serebii: Swablu with False Swipe at the first
deposit, Zigzagoon with Extreme Speed at 100 Pokemon deposited, Skitty with Pay Day at 500, Pichu with
Surf at 1,499; OT and ID become the player's). Project Pokemon's EventsGallery has all four
(Released/Gen 3/Pokemon Box/).
- No multiboot program is involved. The only GBA program on the Box disc is
agbbin.bin, the save command server (Findings "08:55"), with no Pokemon-making code; the full sweep found nothing else. So the Eggs are made on the GameCube and reach the cartridge through Box's ordinary storage link. This is the same arrangement as Channel's Jirachi, but inside Box's normal withdraw/deposit protocol. - Box's Egg maker is not found yet: the four move lists are not stored as consecutive values in main.dol or any file on the disc (searched both byte orders, after Yaz0). They are probably built in code, as Channel's Jirachi is.
- Ways to replay: (1) find the maker in Box's DOL and run it like Channel's (then check it against the gallery files), and trade the Egg (Gen 3 trades Eggs); (2) a standalone agbbin variant would mean replaying Box's withdraw protocol - much more work than Channel's, which had one command for the gift.
22 November 2026 (18:55, Fred present) - the other session's plan arrived; a program the first sweep missed
The hand-over turned up. Fred's git pull fetched origin/main with the other session's
docs/COLOSSEUM_BONUS_DISC.md ("The DUO as a GameCube", 21 November) and tools/gamecube_disc.py.
Merged into gamecube-multiboot (clean merge; not pushed). Folded in from it:
- Fred's 21 November aim was the exact program delivered as the GameCube did (path C), with "no editing of the programs" under "Not doing". On 22 November, in this conversation, Fred chose the 4-byte variant for path A; path C stays the way to the unchanged program.
- Its path C idea: the DUO's GBA drives the JOY bus by hand in general-purpose mode (RCNT bit 15 set, bit 14 clear; timed IWRAM code, interrupts and DMA off), since the link hardware cannot be the master. That is a real option this file had only mentioned in passing; it still needs the wire timing measured (its phase 6: a harmless status-command sweep). Our protocol work (Findings "07:54": both ends transcribed and modelled) covers its phases 2-4.
- Its inventory listed
coupon.binon the Colosseum disc: "starts with an ARM branch like a GBA program, but no logo". My logo-based sweep could not see it. gcscan.c now also reports images with a blank logo (ARM b 0xC0, 96h at 0xB2, the SDK crt0's first instruction at 0xC0). Second sweep of all five discs, media included (extracted/sweep2/): the only new find iscoupon.bin, 59,964 bytes, present on both Colosseum (USA) and XD (Europe), byte-identical. coupon.bin: header "TEST01" with the logo blank (the GameCube must fill it in when sending), same SDK crt0 as pokechan/colbtl. Its only game codes are AXPJ/AXVJ (Japanese Ruby/Sapphire). Neither disc's DOL names it: an unused leftover. Emulated: with US Ruby it crashes at frame 57 (writes to an unmapped address - it is not meant for that cartridge); with Japanese Ruby it unpacks and sets up the same GameCube-driven JOY bus server (JOYCNT 47h at frame 65) and waits. The other session's reading (likely the Japanese Bonus Disc's Poké Coupon gifts, e.g. its Pikachu, left in the game, as TCRF says of some content) fits; what it was sent came from that Japanese disc, which Fred does not have. Like Channel's and Box's, nothing to give alone.
22 November 2026 (19:00) - Fred's GBA BIOS read on hardware; the 0xBD question settled from its code
Hardware result (Fred, python duo_events.py bios): 16,384 bytes, CRC-32 81977335, MD5
a860e8c0b6d573d191e4ec7db1b1e4f6 - the retail GBA BIOS's published checksums. biosdump.c and the PC side
work on real hardware first time. Kept in bios/gba_bios.bin (git-ignored; verified with
git check-ignore); nothing of it is quoted here beyond addresses.
The header check, read from the BIOS (Thumb, capstone):
- 0x06E8 checks a header given a pointer to its logo (header + 4): the 156 logo bytes against the BIOS's own copy (bytes 0x98 and 0x9A masked, the debug-flag bits), then 0x19 plus the bytes from header 0xA0 up to and including 0xBD must be 0 modulo 256 - that is the complement check, 0xBD included. Returns 0 if good, 1 if not.
- It has two callers. 0x1C6C checks the cartridge's header (a copy at 0x03000088) when booting a cartridge. 0x3032, inside 0x301E, checks a received multiboot header: 0x301E first stores the transfer mode at 0x020000C4 and, unless it is the JOY bus, the slave number at 0x020000C5 (as GBATEK says), then checks the header at 0x02000004.
- 0x301E is called from the multiboot receiver for the JOY bus (0x2CE0, mode 1) and for the link cable (0x2D1C, mode 4 - the value at +0x0E of its state, i.e. 2 or 3). In both, a non-zero result goes to 0x2CE8, which abandons the boot.
- So a GBA booting over the link cable does check 0xBD, and refuses a wrong one. The TEST programs (colbtl, maxbtl/maxcng, pokechan, coupon) could not be sent as they are over path A; the DUO tool's refusal matches the BIOS. Every variant prepared (the Bonus Disc's with their own valid checksums, the Channel variant with 0xBD corrected) passes it. Over the JOY bus, the BIOS's own JoyBoot checks it too; the discs avoid that path by booting through the cartridge's libgcnmultiboot, which does not.
22 November 2026 (23:50, Fred present) - first hardware runs; "already received" explained; the real BIOS in the emulator; Berry Fix in every ROM
Hardware (Fred, duo_events.py multiboot .../client.skip_handshake.bin --send): two tries with the
cable ends swapped (the tool warned, nothing sent); then three where the header and program went across
and the other GBA booted (the tool's "didn't finish" as expected; loading 56 s). The program ran on
the GBA: one English Ruby answered "no Pokedex", another "already received". So the transfer, the BIOS
boot and the 4-byte variant are confirmed on hardware up to the gift's own checks.
"Already received" is a flag the program sets, not a Jirachi in the save. Emulated with copies of
save #2610 trimmed to 5 and 4 party members (one / no WISHMKR Jirachi in the party): both receive
Jirachi (0x1000). The check (0x0201340C) tests bit 0 of SaveBlock1 + 0x3131 (sections 1-4 put together);
0x02013434 sets it when giving. The emulated #2599 -> #2600 run sets exactly that bit (0 -> 1). None of
Fred's backed-up saves has it set, so the Ruby that refused must have received this Jirachi before (from
a real Bonus Disc, or a run not backed up). pokeemerald calls such a bit receivedGCNJirachi in its
ExternalEventFlags (name only; Ruby's layout read from the program).
The real BIOS in emu_client.py: --bios bios/gba_bios.bin maps Fred's BIOS at 0; BIOS calls take the
CPU's own SWI exception (SVC mode, SPSR, LR, PC 0x08) and interrupts its IRQ exception (PC 0x18, the BIOS's
dispatcher calls [0x03007FFC]); HALTCNT writes mark the wait for VBlank. Results with the real BIOS: the
WISHMKR variant gives the same Jirachi and a save byte-identical to the stand-in run; unchanged
client.bin stops at the handshake as before; the Channel standalone variant writes a save
byte-identical to its stand-in run, then SoftResets. So the earlier emulator results hold with
Nintendo's own BIOS code.
Berry Fix programs in the GBA ROMs (gcscan over all of Fred's GBA ROMs): every non-Japanese
Emerald, FireRed and LeafGreen holds two multiboot images after its own header - the Berry Fix
(AGBJ, valid checksum) and the Colosseum image (TEST, checksum not valid); Japanese ones only the Berry
Fix; Ruby/Sapphire none. The Berry Fix is language-specific (English, German, French, Italian, Spanish,
Japanese: six versions), and the same language's copy is byte-identical in Emerald, FireRed and LeafGreen
(MD5 of the first 0x3BF4 bytes). Sizes up to the next header: English 0x3BF4 (pret's size), Italian
0x404C, Spanish 0x4118 (Emerald) / 0x4120 (FR/LG - to check), French 0x4128, German 0x4254; Japanese has
nothing after it. Bug found in the toolkit: duo_events.berry_fix_from_rom refuses every real Emerald
("1 embedded programs found"): it counts only headers with a valid checksum and expects three, but the
Colosseum image's checksum is invalid and the e-Reader image is not found by its logo. Its test passes
only on a synthetic ROM. To fix next (see the plan below).
23 November 2026 (00:26, hourly check-in) - every Berry Fix extracted; berry_fix_from_rom fixed
Fix: duo_events.berry_fix_from_rom now takes the AGBJ image with a valid checksum, up to the next
header (the Colosseum image, whose checksum is not valid) or, in Japanese ROMs, up to the 0xFF padding;
FireRed and LeafGreen accepted as well as Emerald; the old three-valid-headers rule kept for the
synthetic test layout. Test extended with the real and the Japanese layout (passes).
All 18 FR/LG/E ROMs give their Berry Fix (extracted/berry_fix/): seven distinct programs -
English 15,348 bytes (= pret's 0x3BF4; identical in Emerald, FireRed and LeafGreen), German 16,980,
French 16,680, Italian 16,460, Japanese 13,452 (each identical across the three games), and Spanish in
two builds: Emerald 16,664 bytes and FireRed/LeafGreen 16,672 (different bytes, not just padding).
What the Berry Fix image is at its start (ARM, emulated with the real BIOS): bytes 0xC0-0xFF are zero
(the multiboot entry slides through them), 0x100 branches to 0x14C, which waits for link-cable
transfers from the master (SIOCNT busy bit, SIOMULTI) - the received program's own answer to the
library's final MultiBootHandShake, as tests/multiboot_model.py describes. So, unlike the GameCube-era
programs, the Berry Fix completes the sender's last check: over path A the DUO's tool should report
"Done" for it. In emu_client, with no master, it waits at 0x02000128.
Next: give emu_client a link-cable master for that handshake (driven by the same logic as mbsend's
MultiBootHandShake, pret multiboot.c:375), then run each Berry Fix against a Ruby/Sapphire of its
language; then the Colosseum images (TEST) of FR/LG/E vs colbtl.bin.
Waiting for you
- Decided by Fred (22 Nov, in chat): go with the 4-byte variant
client.skip_handshake.binfor the Bonus Disc's Jirachi. The hardware test is his to run on his PC (this session's shell has no USB): - GBA off, Ruby (USA) cartridge in the DUO's slot:
python maxduo_saves.py --gba-save(backup). - In Ruby, leave at most 5 Pokemon in the party and save (with 6 it says "party full", writes nothing).
- Cartridge into the other GBA (still off). DUO's GBA on the cable's purple (master) plug.
python duo_events.py multiboot extracted/colosseum_bonus_usa/pokedownload/client.skip_handshake.bin --send- When it says Ready: switch the other GBA on holding START+SELECT until the logo has gone.
- Watch that GBA's screen ("You got JIRACHI!" or an error message). The tool will likely end with "the transfer started but didn't finish": expected (Findings "07:14").
- Back up again (step 1) so the result can be checked here (
tools/gcdisc/wishmaker_check.py), and sendlogs\latest.logfrom the send. Waiting for: the outcome of that test. Update 23 Nov: your two results ("no Pokédex" on one Ruby, "already received" on the other) are reproduced in the emulator with the same screens. For a full receive, use a Ruby that has its Pokédex and has never run the Bonus Disc program. Note: this program also runs the Berry Program fix. If that Ruby's clock still reads 2000, it moves the clock on a year ("Your Berry Program was updated."). - Berry Program fix, prepared, not run (it changes the cartridge's clock when it reads 2000 or 2001;
only with you present and saying yes). US Ruby v1.1 is a revision that gets the fix:
python duo_events.py multiboot --from-rom "roms/Emerald/Pokemon - Emerald Version (USA, Europe).gba" --sendthen switch the other GBA (Ruby in) on holding START+SELECT. Expect either "There is no need to update your Berry Program" or "Your Berry Program has been updated" (both shown in emulation). The tool should report the transfer finished (this program answers the last check). - Faster loading is in (22 Nov 16:00): the multiboot commands below now load about twice as fast (Bonus Disc ~1 min, Channel variant ~2.6 min instead of ~8.7). Nothing to do differently.
- ~~Reading your GBA's BIOS~~ done 22 Nov 19:00: CRC 81977335, the retail BIOS. (Was:
python duo_events.py bios- the DUO's GBA reads its own 16 KB BIOS with a BIOS routine (GBATEK's MidiKey2Freq method) and the PC keeps it inbios/gba_bios.bin(git-ignored; Nintendo's code, never committed or shared). Only the DUO's GBA is needed: no second GBA, cable or cartridge in the other slot; nothing is written anywhere. About 1.5 minutes. The tool prints the CRC-32 and says whether it matches the checksum widely published for the retail GBA BIOS (81977335).) - Optional read-only check of the DUO's flash:
python maxduo_saves.py --lab script lab/jobs/flash_free_check.json(two CRCs; blank if they match the "expect" values in the file). Only if you are curious; nothing depends on it. - Channel's Jirachi - both routes prepared, not run (Fred chose both; only with you present and saying
yes; back up the save first; at most 5 in the party). The Jirachi:
extracted/channel_eur/jirachi/ CHANNEL Jirachi (English, seed 0x2dd9e1b).pk3(Salac, IVs 30/3/12/8/16/26, not shiny) - or say if you want another seed made. - Trade:
python duo_events.py trade --pk3 "extracted/channel_eur/jirachi/CHANNEL Jirachi (English, seed 0x2dd9e1b).pk3"(Ruby in the other GBA, Cable Club trade as for your earlier trades). - Rebuilt 23 Nov (the earlier file would have crashed on the link cable; see the log for 10:38):
python tools/gcdisc/make_gifts.py romsremakes it; the same file is alsoextracted/channel_eur/pokechan.standalone_en.bin(116,112 bytes). - Expect the "sending the program" step to take about 25 s for this one (estimate below). The tool now waits that long; the version before 23 Nov gave up after about 16 s.
- Channel's own program:
python duo_events.py multiboot extracted/channel_eur/pokechan.standalone_en.bin --sendthen switch the other GBA on holding START+SELECT with the English Ruby in. The screen shows Channel's pictures; when it has finished press A and Ruby restarts. Expect "didn't finish" from the tool (normal).
Log
2026-11-21 23:54 GMT - handover not found yet, waiting 2026-11-22 00:54 GMT - handover not found yet, waiting 2026-11-22 01:54 GMT - handover not found yet, waiting 2026-11-22 02:54 GMT - handover not found yet, waiting 2026-11-22 03:54 GMT - handover not found yet, waiting 2026-11-22 04:54 GMT - handover not found yet, waiting 2026-11-22 05:54 GMT - handover not found yet, waiting
2026-11-22 06:45 GMT - first working run (Fred said go ahead without the handover)
Done: wrote tools/gcdisc/ (ciso.py, scan_gba.py, tgc.py, u8.py, lz10.py; read-only on the .ciso);
listed the Bonus Disc; found and extracted its GBA programs; unpacked them; disassembled client.bin's start.
Added extracted/ to .gitignore.
Found: the program the Bonus Disc sends is client.bin (27,584 bytes, AGBJ01) inside
tgc/pokedownload.tgc; Jirachi (OT WISHMKR) and the save code are inside it; it opens a JOY bus exchange
with the GameCube once running. Details under Findings.
MD5: client.bin 75c057d7b378076b7796c9074bdeddf4; client.unpacked.bin 2295e2494cae8bc6eb76406dacda3bf6;
client.2003_1112.bin c927a63666d517f878f6dffbaba89e43; sample0519.bin 27390cabc408533a635df8d9890790d1.
Plan for the next few runs:
- Disassemble the unpacked client.bin (Thumb, base 0x02010000) from its entry: map the JOY bus loop and decide whether Jirachi is given without GameCube commands, or what the GameCube must send (and when).
- Read the GameCube side: pret libgcnmultiboot.s for the boot protocol, and find in
__main.dol(PowerPC) the code that talks to client.bin after boot (SIGetType / SITransfer / GBA library calls). - Check client.bin against the BIOS link-cable multiboot rules and try it in the simulator through path A; then write up the routes (A: link-cable multiboot, unchanged image; C: JOY bus, needs a GameCube capture) with evidence for each. Next step: 1.
2026-11-22 06:41 GMT - other discs added (Fred's request)
Done: scanned Colosseum (USA), XD, Box and Channel for GBA headers (extracted/scans/*.txt); added
tools/gcdisc/extract.py; extracted the candidate programs to extracted/colosseum_usa/, xd_eur/,
box_eur/, channel_eur/. Table under Findings.
Plan for the next few runs: 1. Bonus Disc client.bin main flow (unchanged next step). 2. Unpack Box's
gbarom.arc (RARC) and identify the packing used by colbtl/maxbtl/maxcng; look inside Colosseum/XD .fsys
archives for anything the raw scan missed. 3. Check the GBA BIOS multiboot header rules in GBATEK against
every program found.
2026-11-22 06:57 GMT - client.bin's main flow
Done: reinstalled capstone (pip install --user capstone); wrote tools/gcdisc/gbadis.py (ARM/Thumb
listing with literal-pool and I/O notes) and tools/gcdisc/thumbcalls.py (Thumb BL call graph); read
pret's libgcnmultiboot.s (ExecuteProgram) and intro.c; disassembled client.bin's crt0, main, the JOY bus
handshake, the gift driver, the result writer and the error-message table. Listings in
extracted/colosseum_bonus_usa/pokedownload/disasm/.
Found: client.bin gives Jirachi with no data from the GameCube, but only after a fixed JOY bus
handshake (reset; master reads "PKEG"; master writes "PKEG"; one more command). After the gift it puts
one result word in JOY_TRANS (table under Findings). Unchanged over path A it would boot and then wait
for ever at that handshake; a 4-byte change (NOP the call at 0x0201036C) would skip it. Decision for Fred
noted under "Waiting for you" (not urgent until the simulator confirms the rest).
Plan for the next few runs:
- Simulator, path A: check client.bin against the BIOS multiboot rules in
duo_events.py multiboot(header, length rounding, size) and run it through tests/multiboot_model.py; record exactly where the transfer and the final MultiBootHandShake end. Prepare (not apply) the patched variant as a separate file in extracted/ with a loader stub, so both are ready for Fred's choice. - GameCube side: find in
__main.dol(PowerPC) the GBA library calls (SI/GBA*: reset, read, write) that do the "PKEG" exchange and read the result word, and what each result shows on the TV. - Box's gbarom.arc (RARC unpack) and the packing of colbtl/maxbtl/maxcng, then Channel's pokechan.bin main flow (same questions: what the GameCube must say, what it gives). Next step: 1.
2026-11-22 07:14 GMT - path A in the simulator; patched variant prepared
Done: reinstalled capstone, installed unicorn and keystone (pip install --user); built the firmware
from Datel's 1.06 update in Datel/ (firmware/build_firmware.py --all, CRCs match the releases; output in
git-ignored firmware/build/); wrote tools/gcdisc/pathA_client.py (header checks, LZ77 packer, patched
variant, four hwsim runs through the real mbsend program).
Found: client.bin passes every multiboot header/size rule unchanged and crosses intact (CRC matches,
BIOS boots it). Because it never answers the library's final handshake, mbsend ends with error 0x71 even
though the program is running - expected. The 4-byte-patched variant crosses the same way. Over path A
the R/S cartridge must already be in, with START+SELECT held at power-on.
Files: tools/gcdisc/pathA_client.py; extracted/colosseum_bonus_usa/pokedownload/client.skip_handshake.bin,
pathA_sim.txt.
Plan for the next few runs:
- Emulate client.bin itself (unicorn, Thumb, with HLE for SWI 01h/11h/05h, VBlank IRQ, a Flash 1M model and a test North-American Ruby save from tests/fixtures.py): confirm the unchanged program loops at 0x020139DC and the patched one reaches 0x020134B4, gives Jirachi and writes a valid save (checksums).
- GameCube side: find the GBA/SI calls in
__main.dol(PowerPC) that do the "PKEG" exchange and read the result word; record the TV messages. - Box's gbarom.arc (RARC unpack) and Channel's pokechan.bin main flow; then the packing of colbtl/maxbtl/maxcng. Next step: 1.
2026-11-22 07:22 GMT - client.bin emulated (Fred present, "keep working along the plan")
Done: wrote tools/gcdisc/emu_client.py (GBA emulator for multiboot programs: high-level BIOS, IRQ,
DMA, JOY bus registers, Flash 1M) and tools/gcdisc/wishmaker_check.py; ran client.bin and the patched
variant against Fred's US Ruby ROM and copies of his saves (#2599, #2610). Fixed a JOYCNT modelling slip
found on the way (noted under Findings).
Found: unchanged client.bin waits for ever at the GameCube handshake; the patched variant gives
Jirachi (OT WISHMKR, ID 20043, Lv 5; PID/IVs from a 16-bit seed like a genuine one), writes a valid new
save copy, and with a full party writes nothing and reports "party full".
Files: extracted/colosseum_bonus_usa/pokedownload/emu/ (unchanged_run.txt, patched_run.txt,
patched_partyfull_run.txt, after_patched.sav, wishmaker_check.txt, other_runs.txt - the last is the
pre-fix run, superseded).
Plan for the next few runs:
- GameCube side: find the GBA/SI calls in
__main.dol(PowerPC) that do the "PKEG" exchange and read the result word; record the TV messages (to document path C, and confirm nothing else is sent). - Box's gbarom.arc (RARC unpack), then Channel's pokechan.bin; run each through emu_client.py the same way (what it needs from the GameCube, what it gives).
- The packing of colbtl/maxbtl/maxcng (Colosseum/XD) and the .fsys archives. Next step: 1 (and Fred's decision on the Bonus Disc hardware test, listed above).
2026-11-22 07:54 GMT - the GameCube side of the Bonus Disc
Done: reconnected the folder; reinstalled capstone; wrote tools/gcdisc/dol.py (DOL reader, xrefs,
SDA), tools/gcdisc/gc_joyboot.py (annotated PowerPC listing) and tools/gcdisc/gcmb_model.py
(word-level model: disc side vs pret's libgcnmultiboot); fetched pret's libgcnmultiboot.s for reference
(kept outside the project).
Found: the disc boots client.bin through the cartridge's own libgcnmultiboot with SDK GBARead/
GBAWrite (not GBAJoyBoot); after boot it only does the "PKEG" exchange and reads one result word, which
it maps to its TV screens (table under Findings). Both ends agree in the model, 200/200 runs, image
byte-for-byte. Nothing new is needed from Fred for this; the Bonus Disc decision above still stands.
Files: extracted/colosseum_bonus_usa/pokedownload/disasm/gc_joyboot.txt, .../gcmb_model.txt.
Plan for the next few runs:
- Box R&S: unpack
gbarom.arc(RARC) and look at the program at +0xC0 (header, size, entry); check howBox's DOL sends it (GBAJoyBoot = BIOS-style, which path A could mirror, or GCMB like the Bonus Disc) using the same dol.py/xref method. - Channel's
pokechan.bin: same questions (who sends it, how, what it needs back), and emulate it with emu_client.py if it is a gift program. - Colosseum/XD: identify the packing of colbtl/maxbtl/maxcng and which DOL code sends them. Next step: 1.
2026-11-22 07:30 GMT - Fred's decision
Fred chose the 4-byte variant for the Bonus Disc's Jirachi. Hardware steps written under "Waiting for you"; he runs them on his PC. Other discs' work continues per the plan above.
2026-11-22 08:55 GMT - Box R&S unpacked; every disc's boot method identified
Done: reconnected the folder; reinstalled capstone; wrote tools/gcdisc/rarc.py, tools/gcdisc/getdol.py
and tools/gcdisc/mbcheck.py; gbadis.py now carries on past literal pools. Unpacked Box's two archives,
disassembled agbbin.bin, read Box's GCMB boot code, copied the DOLs of Colosseum, XD and Channel and
read their link-related strings; ran the DUO's header checks over all 23 candidate files.
Found: Box's gbarom.arc/gbaromD.arc hold the same agbbin.bin, a JOY bus save-access server driven
entirely by Box (no gift, nothing to do alone). All five discs boot their program through the cartridge's
libgcnmultiboot (KeyC protocol), none through the BIOS JOY boot - which is why several carry "TEST" and a
wrong header checksum. The DUO tool accepts the Bonus Disc, Box and pkjb_test programs and refuses the
"TEST" ones on 0xBD. Details under Findings "08:55 run". Nothing new needed from Fred; the Bonus Disc
hardware test is still his to run.
Files: extracted/box_eur/gbarom*/…/agbbin.bin, extracted/box_eur/disasm/agbbin_thumb.txt,
extracted/box_eur/main.dol, extracted/{Channel,Pokemon_Colosseum__USA_,XD}.main.dol, extracted/mbcheck.txt.
Plan for the next few runs:
- Channel's
pokechan.bin(not packed): disassemble its main flow and JOY handler; if it is Channel's Jirachi gift, emulate it withemu_client.pyagainst Fred's European Ruby ROM and a save copy (what it needs from the GameCube, what it gives), and find what Channel'sPKJoyBootcode says to it after boot. - Colosseum
colbtl.binand XDmaxbtl/maxcng: follow the crt0 at 0xC0 to the unpacker and identify the packing; then confirm what they are (battle / trade servers like Box's, or more). Also look atpkjb_test.bin(6,948 bytes, identical on both discs). - The 0xBD question for path A: look up in GBATEK whether the BIOS's link-cable multiboot checks the header checksum; if it does not say, note that only hardware can tell, and consider a copy with 0xBD corrected (one byte, programs checked for reading their own header first). Next step: 1.
2026-11-22 09:11 GMT - public resource page; WISHMKR seed rule (Fred present)
Done: at Fred's request, wrote docs/GAMECUBE_MULTIBOOT.md: status of every disc's programs, how the
discs boot them (cartridge libgcnmultiboot, not the BIOS), the Jirachi details and variant, related
projects with links (TCRF, Project Pokemon, Bulbapedia, pret pokeemerald/colosseum-mb, TeamOrre
xd-decomp, StarsMmd, FIX94's sender, Dolphin Integrated GBA, libjoybus, afska gba-link-connection,
AlexApps99, GBATEK), similarities/differences, what is new here, open questions, how to reproduce.
Added a "see also" line to docs/MULTIBOOT.md. Goal note added at the top of this file.
Found: (1) the WISHMKR seed is slot A's section-0 checksum (two emulated runs, slots swapped; Findings
corrected). (2) TCRF's FRLG/Japanese re-enable patch addresses 0x020134CC/0x020134D4 are the two
version-check branches at the top of our gift function (checked with capstone: both go to code 11
"not compatible"). (3) Project Pokemon's white screen when sending the prototype from a Wii fits a
program waiting at the GameCube gate (interpretation, noted as such).
Files: docs/GAMECUBE_MULTIBOOT.md; extracted/.../emu/patched_swapped_run.txt,
after_patched_swapped.sav, test_2599_slots_swapped.sav.
Plan for the next few runs: (unchanged from 08:55, plus the page)
- Channel's
pokechan.bin: main flow, JOY handler, emulate against Fred's European Ruby ROM if he has one (else US ROM, noting it) and a save copy; what Channel's PKJoyBoot says after boot. - colbtl/maxbtl/maxcng packing; compare colbtl with pret/colosseum-mb and the Glitch City report
(FR/LG/E swap in their own copy for US Colosseum's image);
pkjb_test.bin. - GBATEK on 0xBD for BIOS link multiboot. Each run: update docs/GAMECUBE_MULTIBOOT.md. Next step: 1.
2026-11-22 09:54 GMT - Channel's pokechan.bin read
Done: reconnected the folder; reinstalled capstone (and unicorn) with pip install --user;
disassembled pokechan.bin whole and read its entry, main flow, JOY bus command server and watchdog.
Found: pokechan.bin is a receiver: commands 0x77/0xAA/0x99/0x88; the GameCube sends two pictures
and, with 0x99, a 4-byte header + a full 100-byte party Pokemon, which the program copies into the first
free party slot, marks in the Pokedex, saves, and answers 0x88 (ok) / 0xFFFFFF88. It refuses with a full
party (0xAA status byte) and soft-resets after ~254 frames with no JOY traffic. So Channel's Jirachi data
lives on the GameCube side, unlike the Bonus Disc. Details under Findings "09:54 run".
Files: extracted/channel_eur/disasm/pokechan_thumb.txt.
Plan for the next few runs:
- Channel's DOL (
extracted/Channel.main.dol, PPC, capstone): find the code behindJirachiStart/PKJoyBootthat writes 0x99 and the 0x68 bytes - where the Pokemon comes from (file on disc, fixed table in the DOL, or built with an RNG) and what pictures/modes it sends. Look for a file in the FST (1,968 entries) if the DOL reads one. - If the 0x68 bytes are fixed (or can be built faithfully), prepare - not send - a standalone
pokechanvariant (embedded block, watchdog and picture/A-B gates handled), and run it in an emulator against a copy of Fred's European Ruby save (adaptemu_client.py). - colbtl/maxbtl/maxcng packing and purpose; GBATEK on 0xBD; update
docs/GAMECUBE_MULTIBOOT.md. Next step: 1.
2026-11-22 10:20 GMT - Fred's GBA ROMs; Channel emulated (Fred present)
Done: checked Fred's roms/ folder at his request; ran the Bonus Disc variant against English-Europe
and French Ruby; emulated Channel's pokechan.bin with no GameCube (in parallel with the 09:54 run's
reading - merged, duplicates removed); emu_client.py gained SoftReset and basic-block logging; resource
page updated (regions, Channel emulation).
Found: English Ruby is one ROM for US and Europe, so the Bonus Disc's region check is a language check
(French refused, nothing written). Channel's program gives up after 256 frames with no GameCube and
restarts the cartridge (SoftReset to 0x08000000). Findings "10:20".
Files: extracted/channel_eur/emu/, extracted/colosseum_bonus_usa/pokedownload/emu/other_roms.txt.
Plan for the next few runs: as the 09:54 entry (Channel's DOL: where the 0x68 bytes come from; then a
prepared standalone variant if it can be faithful; then colbtl/maxbtl/maxcng and 0xBD), plus: if Channel's
data is built at run time, make emu_client.py play the GameCube's side (inject JOY commands) to run
pokechan.bin end to end in emulation. Keep docs/GAMECUBE_MULTIBOOT.md current.
Next step: Channel's DOL.
2026-11-22 10:46 GMT - Channel's Jirachi maker run from the disc (Fred present; schedule stopped)
Fred stopped the hourly schedule (it had split across chats); this conversation carries on alone.
Done: found Channel's script bindings (JirachiStart etc.) and the maker 0x8008EC50; wrote
tools/gcdisc/channel_jirachi.py (runs the disc's PowerPC code in unicorn, decodes the result); checked it
against Project Pokemon's four CHANNEL Jirachi files; made an English one from a clock seed.
Found: Channel's code reproduces all four gallery files byte for byte; the RNG is the Colosseum/XD
LCRNG; the seed is the script's or the clock's. Findings "10:46".
Files: tools/gcdisc/channel_jirachi.py; extracted/channel_eur/disasm/jirachi_make.txt,
channel_gc_link.txt; extracted/channel_eur/jirachi/ (gallery_compare.txt, the English .pk3s).
Next: Fred's choice for Channel (listed); meanwhile colbtl/maxbtl/maxcng packing and purpose,
pkjb_test.bin, the 0xBD question; keep docs/GAMECUBE_MULTIBOOT.md current.
2026-11-22 12:12 GMT - Channel's Jirachi: trade route and standalone pokechan both prepared (Fred present)
Done: tools/gcdisc/sim_trade_pk3.py (trade a .pk3 in hwsim) and tools/gcdisc/make_pokechan_variant.py
(stub + Jirachi + Channel's pictures into pokechan.bin); read the GameCube's after-boot sequence in the DOL;
emulated the variant (success, party full, French cartridge) and sent it through path A in hwsim.
Found: both routes work in simulation; the variant writes the Jirachi byte for byte, sets the Pokedex
and saves validly, and refuses a full party without writing. Findings "12:12".
Files: the two scripts; extracted/channel_eur/pokechan.standalone_en.bin; extracted/channel_eur/emu/
(standalone_run.txt, after_standalone.sav, standalone_partyfull.txt, standalone_french.txt,
pathA_sim_standalone.txt); extracted/channel_eur/jirachi/sim_trade.txt.
Next: hardware tests are Fred's (listed). Meanwhile: colbtl/maxbtl/maxcng packing and purpose,
pkjb_test.bin, the 0xBD question; keep docs/GAMECUBE_MULTIBOOT.md current.
2026-11-22 15:38 GMT - Colosseum/XD programs emulated; DUO resources measured (Fred present)
Connection to Fred's computer dropped and came back; work resumed.
Done: tools/duo_memory_map.py + docs/DUO_RESOURCES.md (what of the DUO is used, measured); ran
colbtl, maxbtl_english, maxcng_english and pkjb_test in emu_client.py; emu_client tolerates bad LZ77 calls.
Found: colbtl/maxbtl/maxcng unpack themselves and become JOY bus servers like Channel's and Box's -
GameCube-driven, nothing to give alone; pkjb_test is a test viewer. Findings "15:38".
Next: Fred's choices: (a) build the faster mbsend load path (DUO_RESOURCES.md, recommendation 1;
simulator first), (b) hardware tests (listed). Open: GBATEK on 0xBD; Channel's console seed source.
2026-11-22 16:00 GMT - DUO: faster and bigger multiboot load (Fred: "go ahead with all suggestions")
Done: mbsend.c: buffer moved to 0x02000400-0x02037BFF (227,280-byte files), fast load POLL 22 (raw 8-byte packets, optional LZ77 unpacked by SWI 11h); rebuilt with clang 18.1.3 in the cloud workspace (old source rebuilt byte-identical to the embedded copy first) and re-embedded (only mbsend); duo_events.py: lz77_pack, lz77_unpack_in_place (overrun-safe replay), load_image_fast, used by multiboot_session; tests/hwsim.py: SWI 11h model; tests/test_v4.py: two new tests. Prepared lab/jobs/flash_free_check.json (read-only, not run). Found: all multiboot tests pass (4 old, 2 new); the Channel variant goes packed 116 KB -> 69 KB and arrives intact. Details in docs/DUO_RESOURCES.md "What was done". Next: hardware tests are Fred's; open items: GBATEK on 0xBD; Channel's console seed source.
2026-11-22 16:57 GMT - unused Bonus Disc programs work too; 0xBD and Channel seed closed (Fred present)
Fred chose the clock-seed Channel Jirachi (seed 0x2dd9e1b, already prepared) and asked for a commit:
committed on a new branch gamecube-multiboot (2316aa0; main untouched; docs/README.md, refs/, videos/
left untracked as they were). Done: tools/gcdisc/skip_handshake.py; emulated the 2003 prototype and
sample0519, unchanged and skipped; read GBATEK on 0xBD; traced Channel's seed to the time base.
Found: prototype = METEOR Jirachi (English), sample0519 = Japanese Negaiboshi Jirachi (Japanese
cartridges only), both behind the same handshake. Findings "16:57".
Next: resource-page quick start; hardware results from Fred. (sample0519's seed: traced to the RTC, see Findings.)
2026-11-22 17:14 GMT - regression check after the mbsend/hwsim changes
Done: ran the quick tier of tests/check.py (all 25 prefixes, 33 tests) and every multiboot test
(8), in batches (the shell here stops background jobs between calls). All pass. One first failure was
the environment, not the code: pyusb missing in this VM (pip install --user pyusb). Not run: the
planted-bug (mutation) tier for mbsend, which rebuilds the program and needs clang 18 on this machine;
the build itself was verified reproducible in the cloud workspace.
2026-11-22 17:50 GMT - all five discs swept, including inside compressed archives (Fred present)
Done: tools/gcdisc/gcscan.c, tools/gcdisc/sweep_gba.py; swept every file of the five discs (raw,
Yaz0, 13,602 LZSS blobs) and again with the media streams; followed up Colosseum's bg*thumbcode.bin and
XD's pkx_gba models. Checked which other discs would add programs (Bulbapedia, see the reply).
Found: no multiboot programs beyond the 22 known; the list for these discs is complete. Findings "17:50".
2026-11-22 18:35 GMT - reading the GBA BIOS: prepared and simulator-tested (Fred: "go bios reading")
Done: firmware/programs/biosdump.c (16 KB through SWI 1Fh MidiKey2Freq with GBATEK's formula
a = (MidiKey2Freq(i - (((i AND 3) + 1) OR 3), 168, 0) * 2) SHR 24; buffer in mbsend's EWRAM; POLL 1 reads
and answers the CRC, POLL 2|n<<8 answers word n); built with clang 18.1.3, embedded as "biosdump";
duo_events.py bios (fetch 4,096 words, CRC check, save to bios/, compare with the published checksum);
.gitignore bios/; hwsim models SWI 1Fh (key 168, fine 0) over a made-up 16 KB BIOS with the ARM7's
rotation of unaligned reads; new test "BIOS read" passes (every byte arrives), and the v4.2 program
tests still pass. One ad-hoc batch run showed the 19 November multiboot test failing after the "upload
answer held up" test in the same process; alone it passes (twice) - a test-order effect of that batch
runner, not of the change (run_each.py runs tests in separate processes for this reason).
Next: Fred runs python duo_events.py bios when convenient; then: read the BIOS's multiboot receive
code (the 0xBD question), and optionally let emu_client.py/hwsim run the real BIOS from bios/.
2026-11-22 18:55 GMT - merged the other session's plan; second sweep finds coupon.bin
Done: merged origin/main (COLOSSEUM_BONUS_DISC.md, gamecube_disc.py) into gamecube-multiboot; gcscan.c also finds blank-logo images; re-swept all five discs; emulated coupon.bin with US and Japanese Ruby; status note added at the top of COLOSSEUM_BONUS_DISC.md. Found: coupon.bin (Colosseum and XD, identical, unused, Japanese-only GameCube-driven server); nothing else. Findings "18:55".
2026-11-22 19:00 GMT - BIOS read on hardware; 0xBD settled
Fred ran python duo_events.py bios: the copy matches the retail GBA BIOS. Its header check (0x06E8) is
used by the multiboot receiver for both the JOY bus and the link cable, logo and complement byte
included: a wrong 0xBD is refused. Findings "19:00". Open item closed.
Next: optionally let emu_client.py use the real BIOS from bios/ for its SWIs (and run the receiving
GBA's whole BIOS boot in the simulator); hardware Jirachi tests are Fred's.
2026-11-22 23:50 GMT - hardware boot confirmed; real BIOS in the emulator; Berry Fix programs found
Fred asked for an hourly check-in in this conversation (scheduled with send_later: each check-in plans the next hour, works, logs, and schedules the next) and to "elevate" the project toward all multiboots from the ROMs. Findings "23:50". Plan for the next hours:
- Fix
berry_fix_from_romfor real ROMs (every language, Emerald and FireRed/LeafGreen), with a test built from the real layout; extract all six Berry Fix programs (kept in extracted/) and emulate each against a Ruby/Sapphire of its language (with the real BIOS). - The Colosseum image in FR/LG/E (TEST): compare with colbtl.bin and pret's colosseum-mb; when the game swaps it in (pret intro.c); what it does alone.
- The e-Reader image pokeemerald puts first in multiboot_data: find it (probably compressed) and identify it.
- Bigger: a two-GBA simulation with the real BIOS on the receiving side (hwsim's DUO + mbsend sending, emu_client's GBA booting from BIOS over the link cable), so a whole path A send is tested with Nintendo's code on both ends.
2026-11-23 00:26 GMT - hourly check-in: Berry Fix
Plan this hour: fix berry_fix_from_rom for real ROMs; extract every Berry Fix; first emulator runs.
Done: all three. Findings "00:26". Next check-in scheduled (send_later, 60 min).
Also this hour (00:30): emu_client.py --link-master plays the sender's last step after the BIOS
transfer: the library's MultiBootHandShake (pret multiboot.c:375, transcribed from mbsend.c), one link
transfer at a time, reading the slave's SIOMLT_SEND. With the English Berry Fix (real BIOS, US Ruby, copy
of #2599): 8 transfers, no restarts, handshake complete (probe 0xE9) - the Berry Fix answers it as
the DUO's mbsend expects, so the tool should say "Done" on hardware. The program then unpacks itself
(SWI 11h/12h) and sits in its interface, waiting; A presses changed nothing and nothing was written.
Likely reason (to test next): it was booted with no cartridge and waits for one to be inserted, whereas
the emulator has the cartridge in from the start.
Plan for the next hour: (1) cartridge hot-plug in emu_client (ROM and save absent until a given frame,
Game Pak IRQ on insertion) and run the Berry Fix through to its result with a save whose clock needs
fixing and one that doesn't; (2) the other six Berry Fix versions with matching-language R/S ROMs;
(3) start on the Colosseum image (TEST) in FR/LG/E.
Later this hour (00:36):
- emu_client: the real BIOS's IntrWait now stops exactly after its HALTCNT store (hooks found in the BIOS by their instruction pattern, at 0x1B0 and 0x344) and is woken by the next VBlank: one program frame per emulated frame (it had been about one in four), still giving the same results.
--insert-cart FRAME: no cartridge (open bus, save reads 0xFF) until that frame, then the cartridge and a Game Pak interrupt.-
Berry Fix (English) traced: after the handshake its state machine (state word 0x03001204, jump table 0x02010338) waits 180 frames, then 0x020102E8 identifies the cartridge: maker "01", 0x96, then the title and language against its table with a minimum revision per language. For US Ruby v1.1 it answers 3 ("Ruby, a revision that needs the fix"; 5 would mean a revision that doesn't). State 1 then talks to the cartridge's real-time clock through the GPIO pins at 0x080000C4-C9 (931 accesses in one frame). The emulator has no clock chip, so the Berry Fix ends in state 11 (its error path). Nothing was written. Next (01:23 check-in): an S-3511A RTC model on the GPIO pins (GBATEK "GBA Cart Real-Time Clock"), so the Berry Fix can run to its end; it also lets the Negaiboshi sender's clock seed be exercised properly. 00:39 - an RTC model, and the Berry Fix runs to its end.
emu_client.pynow has an S-3511A model (class RtcS3511) on the GPIO port: command byte (low nibble 6; checked against the Berry Fix's own traffic: 0xC6 status read, 0x46 status write, 0x06 reset, 0xA6 date/time read, 0xE6 time read), data least significant bit first, the chip putting each bit out on the rising SCK edge (pokeruby-style reads after it). Default clock 2026-11-23 12:00, 24-hour mode. English Berry Fix, US Ruby v1.1, copy of #2599, real BIOS, link master: handshake done, then states 0 -> 1 (clock checked, no error flags) -> 2 -> 3 -> 4 -> 9 -> 8 -> 6, and nothing written. State 6 is reached when no fix was applied (the fix flags at 0x03001190 stay 0); it shows the program's screen 3, presumably "no update needed" - to be confirmed by looking at the screen. Next hour: (1) render the emulated screen to an image (BG mode, tiles, palette from VRAM) so the programs' screens can be read; (2) a clock date / save that does need the fix, to see the Berry Fix write; (3) the other Berry Fix languages. 00:40 - screenshots.tools/gcdisc/gba_screen.pydraws the emulated screen (GBATEK LCD rules: text BGs, bitmap modes 3/4, regular sprites; not affine/windows/blending), andemu_client.py --shots F1,F2saves PNGs. The English Berry Fix, as above: frame 60 "The Berry Program Update will now begin..."; frame 215 onwards "There is no need to update your Berry Program. Please turn off the power of your Game Boy Advance system and unplug the Game Link cable." (extracted/berry_fix/shots/). So state 6 is confirmed by the program's own words, and the emulator can now show what each program says. 01:25-01:45 - the screens Fred saw, and the Berry Fix doing its job. -
Jirachi screens (WISHMKR 4-byte variant, real BIOS): a run with room in the party shows "communicating with the Nintendo GameCube" and, at the bottom, "You don't need to update your Berry Program."; Jirachi is written. With the Pokédex flag cleared (FLAG_SYS_POKEDEX_GET, SaveBlock1+0x1320 bit 1) it shows "Error / You don't have a POKéDEX…"; on its own output save (flag at +0x3131 set) "Error / You already have been given JIRACHI as a gift…". Neither writes. These are exactly Fred's two hardware results, so hardware and emulator agree on both refusals. New helper
tools/gcdisc/save_edit.pysets or clears a SaveBlock1 bit in a copy and fixes the checksum. - The Bonus Disc program carries the Berry Fix: with the clock at 2000-01-02 it set the clock to 2001-01-02 and showed "Your Berry Program was updated." (even while refusing the Jirachi).
- Berry Fix logic checked against pret/berry-fix (payload/src/main.c, rtc.c, event_data.c): the clock moves only when it reads 2000 (diff >= 0) or 2001 (diff < 0). Fred's save has LocalTimeOffset 0 d 7:15 and LastBerryTreeUpdate day 0 16:45, so the game had never seen a day pass.
emu_client.py --rtc 'YYYY-MM-DD HH:MM'; the clock model now takes date writes (cmd 2) and reports "clock set to ...".- Six languages end to end (
extracted/berry_fix/glitch/matrix.sh, resultsmatrix.txt, screensmatrix_grid.png): each Emerald Berry Fix on the same-language Ruby and Sapphire. Updated where the header revision is below pret's minimum (E 2, others 1): US/EU English, German Ruby (debug, rev 0), Italian Sapphire (rev 0), both Japanese; "no need" for the rev-1 German, French, Italian, Spanish. Leap day: 2000-03-15 -> 2001-03-16. Nothing written to flash in any run. Next: the Pacifidlog TM path (a save write), the FR/LG Berry Fix copies (expected identical in behaviour), and the Colosseum image (TEST) inside FR/LG/E. 01:50 - the Colosseum image in FR/LG/E is a later build of colbtl.bin. The TEST image after the Berry Fix is 0x169DC bytes and the same in all 15 non-Japanese FR/LG/E ROMs (Emerald and FR/LG differ only after that length). pret intro.c: when the loaded header's code is "Gc6e" (0x65366347) the game copies in its own image. Against colbtl.bin (92,412): header and crt0 equal, packed body different from 0x238; unpacked EWRAM after 240 frames (real BIOS;extracted/colo_in_gba/) 93% word-identical once aligned (difflib on words: 45,654/49,152). The changes are concentrated in the first 0x800 bytes of the main program. The libraries (FLASH1M_V103, SIIRTC_V001) and R/S tables (AXV/AXP x5, a "pokemon ruby version" address table) are shared; there is no FR/LG/E code. So it is a revised build of the same program. Open: what changed, and whether the disc stamps "Gc6e" before sending.
23 November 2026 (02:26, hourly check-in) - the e-Reader applications
Plan: (1) find the e-Reader image that the logo search missed; (2) look wider for the same kind of
program on the discs; (3) the Pacifidlog TM path of the Berry Fix if time allows.
Found: pret's mb_ereader.gba (Emerald) is not a GBA header image. It starts with a 0x36-byte header
holding the Shift-JIS title "ポケモンエメラルド カードe+", then Nintendo's vpk0 compression. Wrote
tools/gcdisc/vpk0.py (my own decoder, from the format as the tehzz/vpk0 crate's decode.rs and format.rs
describe it; I read the crate's source, but compiling and running the downloaded crate was refused here,
so I didn't use it). A search for 'vpk0' gives:
- Emerald, six languages, identical: 12,428 -> 51,764 bytes ("Card e+").
- FireRed/LeafGreen, twelve ROMs, identical: "ポケモンFR・LG カードe+", 14,101 -> 71,524.
- Colosseum (USA) and XD (Europe), raw .ciso search then mapped to files:
bg0/1/2thumbcode.bin(2-byte prefix + vpk0; 64,956 / 64,944 / 67,856 bytes unpacked), identical on both discs, Japanese UI text inside. Box, Channel and the Bonus Disc have none (raw search). All five unpack cleanly, the used length matching the header, to an ARM stub that jumps to Thumb code in EWRAM (0x0200000D / 0x02000245): e-Reader native GBA applications. They are sent to an e-Reader with pret's EReaderHandleTransfer protocol, not SWI 25h. Saved inextracted/ereader/.gcscan.cnow also reports vpk0 blobs. Not runnable without an e-Reader; documented in GAMECUBE_MULTIBOOT.md. Berry Fix, the save-writing path:save_edit.pynow also writes a u16 (u16 OFFSET VALUE). Copy of
2599 with VAR_PACIFIDLOG_TM_RECEIVED_DAY (0x40C2, SaveBlock1+0x14C4; it was 0) set to 0xFFFF, English
Berry Fix, clock 2026: CHECK_TIME ok, year 26 -> CHECK_PACIFIDLOG_TM fails -> reset to 1 and save. New save #2600 in slot A, all sections valid. A section-by-section diff against the input shows only section 2 bytes 0x544-0x545 (= SaveBlock1+0x14C4). Screen: "Your Berry Program has been updated." Next hour: the FR/LG Berry Fix copies (expected to behave the same; check one), disassemble the start of the two Colosseum GBA builds to see what changed, and refresh the public page's status table and the "what is new" list with the Berry Fix and e-Reader findings.
23 November 2026 (03:27, hourly check-in) - FireRed's Berry Fix; what changed in Colosseum's GBA program
Plan: (1) check one FR/LG Berry Fix copy end to end; (2) find the first real change between colbtl.bin and the FR/LG/E build; (3) keep the public page in step.
- FireRed English Berry Fix on US Ruby, clock 2000-01-02, save with the TM day at 0xFFFF: it moved the clock to 2001-01-02 and reset the TM day in one run, giving a new save #2600 with valid sections. D/F/I/J FireRed copies are byte-identical to Emerald's. Spanish: the two copies (16,664 / 16,672 bytes) differ in their packed data. Run on the Spanish Ruby with the real BIOS, their screens at frames 60 and 290 are pixel-identical. After 250 frames VRAM differs in one byte (0x0600EACB, tile graphics); the EWRAM differences are the packed copy itself.
- Colosseum GBA program, first change: main (0x020002B4) in colbtl.bin always loops on 0x0200E37C
until 5/6/7/0xB. The FR/LG/E build adds
if ([[0x020251E8]+4] == 2)around that loop, otherwise mode 0. The rest is the same code at shifted addresses (the same "TE"/"Gc6e" check of 0x020000AC in 0x0200D7E4/0x0200D924). The meaning of the state word is still to be traced.
23 November 2026 (04:29, hourly check-in) - the Colosseum program's state word is the language
Plan: (1) trace [[0x020251E8]+4]; (2) bring the public page's "what is new" list up to date; (3) log.
- A write hook on 0x02020734.. shows the IWRAM unpacker writing it at frame 11: it is static data, the record
{2, 2, "pokemon ruby version", ROM pointers}. Both builds carry four such records (Ruby x2: 2/2, Sapphire
x2: 1/2). The format is pret's GFRomHeader (rom_header_gf.c: version, language, gameName[32], pointers,
offsets), which FR/LG/E and the later European R/S have at 0x08000100 (US Emerald 3/2, US FireRed 4/2,
German Ruby debug 2/5, German Emerald 3/5); US/JP R/S have code there. With a US Emerald cartridge the
pointer is 0x08000100. So the new test is
language == 2(English): the FR/LG/E build runs main's first wait loop only for English games. The wait-loop call (0x0200030E) ran 7 times with US Ruby and once with US Emerald in 240 frames, in both builds. -
GAMECUBE_MULTIBOOT.md: the record explained; "what is new" now lists the GBA-ROM programs and the emulator's abilities. Next: read what the first wait loop (0x0200E37C/0x0200E4BC) waits for, and run a German cartridge through both builds to see the difference in behaviour; or start on XD's maxbtl/maxcng against the GFRomHeader idea.
-
Confirmed in behaviour (real BIOS, 240 frames, calls of the wait loop): German Ruby (debug) — FR/LG/E build 0, colbtl 7; German Emerald — FR/LG/E build 0, colbtl 1. English cartridges: both builds run it.
23 November 2026 (05:31, hourly check-in) - what the skipped loop does; XD's records
Plan: (1) read the wait loop's function; (2) look for GFRomHeader records in XD's programs; (3) log.
- colbtl 0x0200E37C: a 12-entry jump table state machine. 0x0200E338 checks the cartridge (0x080000B0 '0', 0xB1 '1', 0xB2 0x96, else 6) then 0x0200E24C; the other states write WAITCNT (0x04000204, &0xFFFC) and call 0x0200FC30/FC34 (flash). So it is the cartridge and save check, which the FR/LG/E build skips at start-up for non-English games.
- maxbtl_english / maxcng_english unpacked EWRAM: 14 records each (R/S x {1, 2, 2, 5, 3, 7, 4} languages; Colosseum's programs had only the four English ones). This matches pret's LANGUAGE_* numbering (1 JP, 2 EN, 3 FR, 4 IT, 5 DE, 7 ES).
23 November 2026 (06:32, hourly check-in) - a public catalogue of every program, by hash
Plan: (1) one place that lists every GBA program found, with hashes so others can check their dumps; (2) link it from the public page; (3) log.
tools/gcdisc/catalogue.py: walksextracted/, skips variants and emulator outputs, groups files by MD5 and prints bytes, CRC-32, MD5, header code, 0xBD complement validity and logo (present / blank). Resultdocs/MULTIBOOT_CATALOGUE.md: 33 distinct programs. Disc programs: client, client.2003 (METEOR), sample0519, coupon, colbtl, pkjb_test (Colosseum and XD identical), pokechan, Box agbbin.bin (gbarom and gbaromD identical), maxbtl x6, maxcng x6. Also 7 Berry Fixes, the FR/LG/E Colosseum build, 3 bg*thumbcode e-Reader apps (identical on Colosseum and XD) and 2 GBA-game e-Reader apps. Only hashes are published.- From the table: every "TEST" image (colbtl, coupon, pokechan, maxbtl, maxcng, the FR/LG/E Colosseum build) has an invalid 0xBD, which is why none can go over the link cable unchanged. client, sample0519, pkjb_test, Box's agbbin and the Berry Fixes are valid.
23 November 2026 (07:34, hourly check-in) - every sendable gift in one command
Plan: (1) one command that builds every link-cable-sendable gift from the ROMs folder; (2) check the results against the variants already tested; (3) document.
tools/gcdisc/make_gifts.py ROMS_DIR [OUT]: discs found by game ID (PC6E01: the three Bonus Disc programs from tgc/pokedownload.tgc through skip_handshake.py; GPAP01: pokechan.bin + main.dol -> channel_jirachi.py (seed 0x2dd9e1b, --lang 0 = English) -> make_pokechan_variant.py), cartridges by code (BPE/BPR/BPG: berry_fix_from_rom, one per language). Writesextracted/ready/+ README.txt (which cartridge, how to send, back up first). On Fred's ROMs: 10 programs.- MD5 checks: WISHMKR 1e3114bb..., METEOR 01457d32..., Negaiboshi 9a3e1679..., Channel standalone
b84d647b..., Channel .pk3 2c7767c4... are all identical to the files tested earlier (the first run used
Channel's language 1 by mistake; corrected to 0). All 10 pass
duo_events.multiboot_imageand fit mbsend's buffer (largest: Channel, 116,080). - Note made in the tool: WISHMKR and METEOR are for North American R/S only (the program refuses others).
23 November 2026 (08:35, hourly check-in) - the real GBA BIOS receives a program from the simulated DUO
Plan: (1) power on the emulated GBA from the BIOS reset vector with no cartridge; (2) link it to hwsim (firmware v4.2, the real mbsend, hwsim's SWI 25h master model) as the receiving GBA; (3) see whether Nintendo's own receiver accepts what the model sends.
emu_client.py: run() can be resumed (keeps PC),start_pc = 0powers on from the BIOS (SVC mode; maps the IWRAM mirror at 0x03008000 and the cartridge wait-state mirrors 0x0A000000-0x0DFFFFFF, which the BIOS reads at power-on). With no cartridge the BIOS shows its logo, tries the JOY bus (RCNT C000h) and normal 32-bit mode (SIOCNT 5088h) for a few frames, then from about frame 50 waits in MultiPlay (SIOCNT 6003h/2003h, IE 0081h).- New
tools/gcdisc/realbios_mb.py PROGRAM: the emulated GBA is hwsim's MultiPlay player 1 (each master transfer: SIOMULTI0-3 = master word / its SIOMLT_SEND / FFFF / FFFF, busy cleared, serial IRQ; then about a transfer's worth of instructions; its next SIOMLT_SEND is its answer). Two slips found and fixed on the way: answering one transfer late, and writing PC with bit 0 clear before an IRQ (unicorn then drops Thumb mode). - English Berry Fix, result: the real BIOS answered the whole pret handshake (7202, 60..01 countdown, 0002, 73cc, 73rr, then C0h + 2n during data), took the 15,168-byte block, and the CRC exchange succeeded (SWI 25h ok). So the model's two open choices are confirmed against Nintendo's receiver: dword(pp,cc,cc,cc)/dword(hh,rr,rr,rr) lowest byte first, and the lower 16-bit half first in MultiPlay. Also seen: the BIOS stores the block encrypted as it arrives (EWRAM held the raw words) and decrypts it later; it answers 0074 to the 0065 polls until its logo code gets round to that. The received program matched the file except 0xC4 = 03 and 0xC5 = 01 (boot mode MultiPlay, slave number 1) and byte 0 = 2Eh instead of 3Eh (the entry branch made "b 0xC0"). The BIOS jumped to 0x020000C0 at frame 385, after its logo.
- Not yet: the Berry Fix then waits for the master's MultiBootHandShake, but in this time-compressed run the DUO's handshake had already timed out ("went away"), so the screen stays black. Next: give the simulated master real-time pacing (or a longer handshake window) and run the Berry Fix and the Jirachi variants through to their screens. Also: the 0065 phase needed a frame per poll (STEP_65).
- Then end to end (09:05): two fixes in realbios_mb.py. (a) After the BIOS transfer the DUO's program polls once a frame, so each transfer then gives the receiving GBA a frame of time. (b) Each transfer shows SIOCNT busy for a moment before it completes, since the Berry Fix's handshake loop at 0x02000120 waits to see busy go 1 then 0. Result: "Done: the program went across and the handshake after it matched", from the simulated DUO (real mbsend) to Nintendo's real BIOS and the Berry Fix's own handshake code. The Berry Fix's screen then reads "Unable to update the Berry Program.", which is right: the emulated receiver has no cartridge in. Next: power on with the Ruby cartridge in and START+SELECT held (as Fred does), so the Berry Fix finds the cartridge.
23 November 2026 (09:36, hourly check-in) - the cartridge in, START+SELECT held: full chain
Plan: (1) power on with the Ruby cartridge and START+SELECT held; (2) Berry Fix and WISHMKR through the real BIOS to their results; (3) the public page.
- realbios_mb.py:
--rom,--save(a copy),--rtc,--out(the emulated flash afterwards). - English Berry Fix → US Ruby v1.1 + copy of #2599, clock 2000-01-02: CRC accepted, booted at frame 386, handshake matched ("Done"), clock set to 2001-01-02, screen "Your Berry Program has been updated.", no flash writes.
- WISHMKR variant, same: booted at frame 434. The tool says "the transfer started but didn't
finish" (error 113, handshake), the same text as Fred's hardware log. The GBA wrote save #2600 with Jirachi
PID 6433A76F (seed 0x5790), byte-identical to the stand-in run (
extracted/shots/wishmkr_long.sav). Screen: "communicating with the Nintendo GameCube… You don't need to update your Berry Program." - Channel's standalone variant (116 KB, about 58,000 transfers) doesn't fit in one 3-minute shell call at this pace; to do with a resumable run or faster stepping.
23 November 2026 (10:38, hourly check-in) - Channel through the real BIOS: a bug found and fixed
Plan: (1) make the 116 KB Channel variant fit the run (faster stepping); (2) run it through the real BIOS with the Ruby cartridge in; (3) fix whatever it shows.
- MB_STEP=800 instructions per transfer gives the same WISHMKR result (save identical) in 31 s.
- The DUO tool could give up during a long BIOS send: the hwsim run timed out in
program_poll(3 polls x 5 s) while the DUO's GBA was inside SWI 25h for 58,000 transfers. On hardware the send of a 116 KB program takes several seconds too, soduo_events.multiboot_sessionnow allows 40 polls while the state is "ready" or "sending the program". - A real bug in the Channel variant: the real BIOS writes the boot mode and slave number (03 01) into
0xC4/0xC5 before it jumps to 0xC0. Nintendo's link-cable images begin with a branch over those bytes,
but pokechan.bin was built for the GameCube's loader and has its crt0 right at 0xC0 (0xC4 =
msr cpsr_fc, r0). So the old variant crashed at once ("Invalid instruction at 0x020000C4"). The stand-in emulator never wrote 0xC4, which is why it didn't show. Fix in make_pokechan_variant.py: 0xC0 becomesb entry; the ARM entry appended to the image writes the two original words back and jumps to 0xC0. Rebuilt: 116,112 bytes. - Result: booted, Channel's Jirachi picture on screen, save #2600 with Jirachi (OT CHANNEL, PID 35C168DB) in party slot 6. The save is byte-identical to the earlier stand-in runs (after_standalone.sav, after_standalone_realbios.sav). The DUO tool says "didn't finish" (expected: the program never answers the last check).
- The other ready programs are fine: WISHMKR, METEOR and Negaiboshi begin with
b(1F 00 00 EA) and zeros at 0xC4, and the Berry Fixes have zeros (no-ops) from 0xC0. - The old file is kept as
pokechan.standalone_en.OLD-breaks-on-link-cable.bin(not deleted).
23 November 2026 (11:39, hourly check-in) - METEOR through the real BIOS; a guard against the 0xC4 trap
Plan: (1) METEOR through the real BIOS; (2) make the 0xC4/0xC5 lesson a check that can't be forgotten; (3) publish it.
- METEOR variant, US Ruby + copy of #2599, real BIOS: booted at frame 386, Jirachi OT METEOR PID 6433A76F
in slot 6, save #2600 byte-identical to the direct-start emulator run (
--bios, 600 frames). The tool says "didn't finish", as expected. catalogue.py: a new column "Entry at 0xC0" (branch / zeros = safe, otherwise "needs an entry fix");/ready/skipped. Needing a fix: all TEST images, plus Box's agbbin.bin and pkjb_test.bin (19 rows).make_gifts.pynow refuses any output whose entry wouldn't survive; all 10 current outputs pass.- GAMECUBE_MULTIBOOT.md: METEOR row; the 0xC4/0xC5 rule for anyone replaying GameCube-era programs.
23 November 2026 (12:41, hourly check-in) - Negaiboshi through the real BIOS; EWRAM mirrors; a test
Plan: (1) Negaiboshi through the real BIOS (Japanese Ruby; no Japanese save here, so a blank one); (2) fix what that shows; (3) a regression test for the 0xC4/0xC5 trap.
- First run: booted at frame 438, then crashed reading 0x020A6A78. On hardware EWRAM repeats every
256 KB, so that is 0x02026A78.
emu_client.pynow maps EWRAM at 0x02000000-0x020FFFFF as four mirrors of one buffer. Rerun: the program's own screen, "セーブデータがみつかりません" (no save data found), the right answer with a blank save. WISHMKR and the Berry Fix TM-reset runs give byte-identical saves after the change. - tests/test_v4.py: "Multiboot (23 November): a program survives the link-cable BIOS writing 0xC4/0xC5…" (synthetic headers: a branch and zeros are safe, crt0 at 0xC0 is not; make_gifts keeps its guard). Passes.
- All three Jirachi programs and the Berry Fix have now been through the real BIOS; Channel is fixed. What's left for hardware is in "Waiting for you".
23 November 2026 (13:44, hourly check-in) - a correction: what bg*thumbcode.bin are
Plan: check today's "e-Reader app" label for Colosseum/XD's bg0-2thumbcode.bin against the earlier DOL finding, then correct the public page.
- The earlier finding (22 Nov, "the named files, followed up"): the DOL picks one of the three at random (0x8007B114, table 0x802EE608) and queues it as a message to the running colbtl.bin. My 02:26 entry labelled them e-Reader apps on format alone, which overstated it.
- New checks: neither colbtl.bin nor its unpacked EWRAM image contains 'vpk0' (as bytes, or as a compared word), so colbtl doesn't unpack them itself. The e-Reader's own BIOS does unpack vpk0, and the start stub matches Emerald's app. Searching for pret's e-Reader constants (CCD0, B9A0, FDA7) gave only unaligned, chance hits in colbtl; Emerald's app has B9A0 at an aligned offset (0x185C).
- Corrected wording (GAMECUBE_MULTIBOOT.md, both places): vpk0-packed GBA code sent to colbtl.bin, same format as the e-Reader apps, probably relayed to an e-Reader for the Japanese e-Reader+ feature, not confirmed. The Emerald and FR/LG apps stay as e-Reader apps (pret names Emerald's gMultiBootProgram_EReader and sends it from ereader_screen.c).
23 November 2026 (14:45, hourly check-in) - a real-BIOS regression test; how long each send takes
Plan: (1) keep the real-BIOS result from silently breaking; (2) estimate the link time of each gift on hardware, now that the PC tool waits during the send; (3) log.
- tests/test_v4.py: "Multiboot against the real GBA BIOS (23 November…)" runs realbios_mb.py on the English Berry Fix (taken from the first English FR/LG/E ROM in roms/). It checks SWI 25h ok, the boot and "Done". It skips without the owner's bios/gba_bios.bin or a ROM. Passes in 23 s.
- Link time of the BIOS send (hwsim's lab-measured transfer, about 5 scanlines, plus the BIOS's ~36 us between transfers, about 0.40 ms per 16-bit half): Berry Fix (EN) ~3 s, METEOR ~5 s, WISHMKR ~5.5 s, Negaiboshi ~14 s, Channel ~23 s. During that time the DUO's GBA is inside SWI 25h and can't answer USB. The old patience (3 polls x 5 s, about 16 s) would probably have failed Channel on hardware, and Negaiboshi only just passed. The 40-poll patience added at 10:38 covers both. WISHMKR on Fred's hardware (5.5 s) fits the old limit, which matches his log.
23 November 2026 (15:46, hourly check-in) - two more languages through the real BIOS; checks
Plan: (1) the Japanese and German Berry Fixes through the real BIOS on their own Rubies; (2) make sure today's changes haven't broken the toolkit's other features; (3) log.
- Japanese Berry Fix → Japanese Ruby, and German Berry Fix → German Ruby (debug build), copy of #2599, clock 2000-01-02: both booted at frame 386, handshake matched ("Done"), clock set to 2001-01-02. (The same result as the direct-start emulator, now through Nintendo's receiver.)
- Test runs after today's duo_events change: all 9 "e-Reader" tests and the "BIOS read" test pass; the "Multiboot" group passed at 10:38 and 12:41 (plus the two new 23 Nov tests).
23 November 2026 (16:10, Fred present) - review, and the goals from here
Fred reviewed and agreed the goals, with the hourly planning kept. He can't test on hardware for now. Goals, in order (each hourly check-in picks the next step):
- Hardware confirmation: waits for Fred; everything is prepared under "Waiting for you".
- Usable by others: started now (below). Still to do: a short troubleshooting section, the test suite run in full, and a final read of the public pages.
- The DUO playing the GameCube's side: make the GameCube-driven programs (Box agbbin, colbtl, maxbtl/maxcng, coupon) run over the link cable, as was done for Channel. First step: read what each GameCube sends them (from the DOLs), starting with Box's save-command server.
-
Open research: the newer Colosseum build's skipped loop, whether bg*thumbcode reach an e-Reader, and a Japanese save for Negaiboshi. Done this session (goal 2):
-
python duo_events.py gifts: makes the gifts from roms/ (viamake_gifts.build) and numbers them;gifts N|name --sendbecomesmultiboot FILE --send. Test "gifts (23 November…)" (skips without roms/) passes, sending gift 1 (Channel, 116 KB) intact through the model slave. docs/GIFTS.md: a step-by-step guide; README section "The GameCube discs' Jirachi, without a GameCube"; a link from GAMECUBE_MULTIBOOT.md.- Trainer name removed from these notes ("[trainer] #2599" → "save #2599"). Note for Fred: older commits still contain it in git history. Rewriting history would need a force-push, so that is your call before making the repository public.
23 November 2026 (16:47, hourly check-in) - goal 2: troubleshooting; the full test run (part 1)
Plan: (1) a troubleshooting table in GIFTS.md; (2) run the whole test suite (257 tests) in 3-minute pieces to be sure nothing is broken before others use it; (3) then start goal 3.
- GIFTS.md: "If something goes wrong" (wrong cable end, no START+SELECT, "didn't finish", each refusal screen, the long send, the DUO not answering).
- Test run so far, tests 0-132: all pass except:
- 69, 115, 116: skipped (clang, playwright not installed in this shell);
- 74 (find serial --deep): over 3 minutes, can't run in one call here;
- 12-14 (stream) failed when run after others but pass alone (a timing race under load, also seen before);
- 109 (ROM copy for the workshop): USB timeout after 153 s, to be rerun alone. Continuing from 133 next hour (results kept outside the repository in the shell's home).
23 November 2026 (17:49, hourly check-in) - full test run, part 2
- Tests 133-239: all pass, except 164 (skipped: needs clang to locate program symbols). Remaining: 240-256, then rerun 109 alone (ROM copy for the workshop, a USB timeout in part 1).
23 November 2026 (18:51, hourly check-in) - full test run done; goal 3 begins with coupon.bin
Plan: (1) finish the test run; (2) choose the first GameCube-driven program for goal 3; (3) map its commands.
- Full suite (257 tests): 212 pass, 6 skipped (no clang or playwright in this shell). 2 are over 3 minutes (74, find serial --deep; 111, ROM copy of the whole cartridge). 109 (ROM copy for the workshop) timed out in the batch, but run alone it reaches its end and skips only for want of playwright. 12-14 (stream) fail after other tests, pass alone. Nothing points at today's changes.
- Goal 3, which program first: Fred parked Box's Eggs (he wants distributions, not trading with the GameCube games), and colbtl/maxbtl/maxcng are link-battle helpers. coupon.bin is the one that looks like a distribution: the Japanese Bonus Disc's gift receiver, left on Colosseum and XD. So it goes first.
- coupon.bin with Japanese Ruby (real BIOS, 120 frames;
coupon.ewram_after120.bin): unpacked image with FLASH1M_V103, Japanese R/S GFRomHeader records, codes AXPJ/AXVJ. JOY handler at 0x02005B70: commands (low byte) 0x00, 0x02, 0x22, 0x55, 0x66, 0x77, 0x88, 0xAA. That is a larger set than pokechan's (AA/99/88). 0x88 receives a stream of 32-bit words into a buffer ([S]+offset up to [S+4]), then calls 0x02005420(1); 0x77 stores two bytes at S'+0x618/0x619 and a flag at +0x630 (S' = 0x020150B0). - Next: follow what main does with the 0x88 buffer (party write? item? coupons?) to learn the payload's shape. Then decide whether a standalone variant can give something genuine without the Japanese disc's data.
- coupon.bin, more of the command map (handler 0x02005B70, state struct S = 0x02015710, data S' = 0x020150B0). In state 0: 0xAA answers the status word ([0x02013848] << 16 | 0xAA). 0x99 sets the buffer to 0x020148E0 with length 0x278 (632 bytes), but only if 0x02005540 reports bit 1. 0x88 sets 0x02014B60 with length 0x540 (6 x 224 bytes) and clears the "received" flag. 0x77 takes two bytes for S'+0x618/0x619. 0x66 sets S' itself with length 0x24 (36 bytes). The words then arrive 4 bytes at a time (0x02005D44) until the length is reached; then the handler sets the flag at 0x020150A0 and JOYSTAT back to 0. 0x22/0x55/0x02/0x00 belong to a second state. Main reads the flag at 0x02000A66. No code outside the handler names the two buffers' addresses, so they are reached through a pointer.
- Next hour: a GameCube (JOY bus master) model in emu_client that feeds coupon.bin these commands with marked test data, to watch where the data goes (party, items, save?) and what the screen says. That decides whether a standalone variant could give something without the Japanese disc.
- First conversation with coupon.bin (emulated GameCube): new
tools/gcdisc/joy_master.pyplays the JOY bus master at register level (reset; read takes JOY_TRANS; write fills JOY_RECV; JOYCNT flags and the serial IRQ).tools/gcdisc/coupon_probe.pydrives Japanese Ruby with a blank save. Found: - The JOY server is up at about frame 120 (JOYCNT 40h).
- A reset makes the GBA offer "TEST" (0x54534554); the GameCube must write back "TEST" (key at S+0x2C) or "test" (S+0x28), and each command needs this reset/read/key sequence first.
- 0xAA answers 0x000000AA. 0x66 then accepts 9 words, stored little-endian at S' (36 bytes). After that the program moves on at once: its pointer becomes 0x020150D4, length 0x5B8, so it is ready for a 1,464-byte block. The screen is plain green, so it is waiting.
- Next: follow that 1,464-byte stage and the 0x99/0x88 blocks, and find which bytes reach the save.
23 November 2026 (19:50, Fred present) - FIRST HARDWARE GIFT: Channel's Jirachi received; text box fixed
Fred's hardware results (Ruby AXVE revision 2, a new game "Arthur", saves #340 before / #341 after):
- Channel standalone: Jirachi received. It showed Channel's Jirachi picture and a garbled text box, then the Ruby restarted. Save #341: party Treecko + JIRACHI, OT CHANNEL, PID 35C168DB, OTID AFDD9CBA, the same Pokemon as every emulated run. Only one save was written (#340 -> #341). The DUO tool said "didn't finish", as expected.
- WISHMKR: refused, because the cartridge already had a Jirachi gift. Save #341 has the flag at SaveBlock1+0x3131 set, and Channel's program set it (the emulated Channel saves have it too). So the "already received" flag belongs to the game and is shared by both GameCube Jirachi, not a Bonus Disc flag: one GameCube Jirachi per cartridge, whichever disc. (GIFTS.md updated.)
- Berry Fix: "no need to update" and the tool said Done, a complete send and handshake on hardware.
-
One quirk: one run printed "isn't on the master end" mid-way. It was a transient the tool recovered from (the 20 s check during the header retries). The garbled text box, found and fixed in emulation:
-
gba_screen.py didn't draw sprites in bitmap modes, which is why the emulator never showed the box. Channel's screen is mode 3 plus seven 32x32 sprites at y=120 (tiles 0x200, OBJ VRAM 0x06014000). Fixed: sprites now drawn over modes 3/4. The emulator then showed the same garbled box as Fred's GBA.
- The DOL table at 0x801CCF28 is five languages x three 224x32 text images (0xE00 each): "Your Berry
Program was updated." / "Nintendo GameCube transmitting…" / "You got JIRACHI! Please take good care of
it." (rendered:
extracted/shots/channel_text_tiles.png). I had taken the last two for "pictures"; the Jirachi picture is the program's own. - Why garbled: the variant kept the messages right after the Pokemon (0x0201A968), and a BIOS unpack at frame 20 (real BIOS) writes 0x0201A9A8-0x0201E466, over them. The program also uses 0x0201E470-0x0202ABA3. My earlier "nothing writes there" measurement was wrong. The Pokemon (below 0x0201A9A8) was never touched, so the gift was always right.
- Fix (make_pokechan_variant.py): all three messages (0x2A00) now go at 0x0202AC00, above everything the
program uses (measured: no writes above 0x0202ABA4 through the save and the reset), and are copied to
S+0x38. Variant now 185,904 bytes. Emulated: "Nintendo GameCube transmitting. Don't turn off the power
or unplug the GCN-GBA cable." then "You got JIRACHI! Please take good care of it." (
chm4_grid.png), the same Jirachi. Through the real BIOS: SWI 25h ok, booted, Jirachi saved. - Side note: with Arthur's save and our ROM file (v1.1), the emulator's check answers 0xBB (cartridge), but Fred's cartridge is revision 2, and on hardware the check passed. To look at with a rev-2 ROM if one turns up.