From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Dreamcast IP.BIN" |
|---|
| claim | "Flycast's HLE BIOS (reios) reads the 16 IP.BIN sectors at the disc base FAD (45150 for a GD-ROM, the last session start for a CD) into 0x8C008000, finds the boot file named at IP.BIN offset 0x60 in the ISO9660 root, loads it to 0x8C010000 and descrambles it only when the disc is not a GD-ROM (self-boot CD); GD-ROM boot files are stored unscrambled. If the Windows CE flag is '1' on a CD, the first 2048 bytes go to 0x8CE01000 and the rest is loaded." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Dreamcast IP.BIN" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "HLE boot of a disc image" |
|---|
| effect | "scrambled boot file expected on CD-R / MIL-CD, plain on GD-ROM" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "base_fad, descrambl = disc->type != GdRom, IP read, WinCE branch, load" |
|---|
| repo | "flyinghead/flycast" |
|---|
| commit | "6bb0fc3e18dac4b01694f488c7a71f5930e8a648" |
|---|
| path | "core/reios/reios.cpp" |
|---|
| lines | "50-60, 74, 93-111" |
|---|
|
| type | "source" |
|---|
| detail | "GetBaseFAD returns 45150 for GdRom" |
|---|
| repo | "flyinghead/flycast" |
|---|
| commit | "6bb0fc3e18dac4b01694f488c7a71f5930e8a648" |
|---|
| path | "core/imgread/common.h" |
|---|
| lines | "199-208" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "When flycast descrambles the boot file" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T00:08:08.148Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T04:03:43.093Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read reios.cpp 40-130 and 660-672 and imgread/common.h GetBaseFAD at the cited commit: descrambl = disc->type != GdRom, IP read of 16 sectors at base_fad into 0x8c008000, WinCE branch only when ip_meta.wince=='1' && !descrambl, load to 0x8c010000." |
|---|
|
|
|---|