# homebrew_32x_bios Freeware homebrew bios files for the Sega 32x have been available for a long time here: https://devster.monkeeh.com/segapage.html [Direct link](https://devster.monkeeh.com/sega/32x/poormans_sega_32x_bios.zip) ## Issues There seems to be an issue with the 32X SH2 MASTER bios, when using SegaCd32x software only, ie. the sw doesn't boot. Referring to the source code included, the file ```bios32xm.sh2``` needs to be modified like so: ~~~ ; FIX: load VBR from the correct memory address MOV.L @(16, R8), R11 ; R11 = [0x24000028] New vector base address ;MOV.L @(12, R8), R11 ; R11 = [0x24000024] New vector base address ~~~ The following binary file should then be modified: ```36fff23be35bb51051afd755befa14811d877e3e BIOS32XM.BIN``` (sha1 hash) - by applying the IPS patch file: [patch](patch.ips) - or manually hex editing the binary: replace the two bytes ```5Bh 83h``` at location ```236h``` with ```5Bh 84h``` The resulting file should have the following sha1 hash: ```765846097097900c607205c27618e763a70dd7d8 BIOS32XM.fix.BIN``` ## Brief explanation The issue only affects SegaCd-32x titles as they use a different code path compared to vanilla Sega 32x titles. The 32X BIOS detects the absence of a cart and tries to boot the 32x using data stored in the CD-ROM; the instruction shown above ends up copying the wrong piece of information when setting the SH2 VBR register.