This is the retail MSN TV 2 BIOS with eMac's patches, plus a few more of our own. It lets the box take larger CompactFlash cards and FAT32 / LBA partitions, gets recovery files from msntv2.webtv.onl (much faster over Ethernet), and checks signatures again: it boots software signed by Microsoft or by the WebTV NXT key.
| eMac's modifications (thanks, eMac!) | ||
| Address | Change | |
| 81AB50 81ACC4 81AD68 |
RSA signature checks (files, buffers, box challenge) always pass. BOOT.SIG, NK.BIN and other signed files no longer need Microsoft's key. | |
| 8016EB 830A38 |
BIOS image self-checks (POST error 0x87) skipped, so the BIOS itself can be patched. | |
| 82F3C8 | RAM march test skipped (faster power-on). | |
| 8AA0CE | Service / recovery host (DEFHOST): headwaiter.msntv.msn.com → msntv2.ooguy.com | |
| zefie's modifications | |
| Address | Change |
| 828E58 | Large cards: the CompactFlash size is capped at 2000 MB. The stock BIOS stored the size as a signed 32-bit number, so any card of 2 GB or more failed with "FlashSize ... invalid" (POST error 131). The BIOS now uses the first 2000 MB; the rest of the card stays free for a large partition 4, used by NXT. |
| 80E61E | Same 2000 MB cap for hard disks that are sized by probing. |
| 80F201 80F29D 80F32F |
Partition types 0Ch (FAT32 LBA) and 0Eh (FAT16 LBA) are accepted along with 04h / 06h. The stock BIOS rebuilt the partition table (and wiped BOOT) on any other type. Note: the stock MSN TV software cannot read FAT32; this is for NXT and Linux. |
| 8AA0CE | Service / recovery host (DEFHOST): msntv2.ooguy.com → msntv2.webtv.onl |
| 81AB50 81ACC4 81AAB4 8AB6E2 |
(disabled in the unsigned version) Signing is back, with two keys: eMac's file and buffer RSA checks are undone, and the unused factory key slot (HAN_FAC) now holds the WebTV NXT key and is always tried. BOOT.SIG must be signed by Microsoft (stock software still boots) or by WebTV NXT; an unsigned (zeroed) BOOT.SIG is refused and the box goes into recovery. eMac's box-challenge patch (81AD68) is kept. |
| 84E8E1 84E90E 84EB10 84EC10 |
Ethernet receive ring: the stock network driver had room for only one incoming packet, so any packet that arrived before the last one was read overwrote it. It now has 32 receive buffers (in low memory at 1000h-D000h). |
| 8C3D54 81B944 |
Faster downloads: the TCP receive window starts at 32,160 bytes instead of 536, so the server no longer waits for an acknowledgement after every small packet. The stock BIOS only opened it up on slow links, and later closed it again; that logic is turned off. Recovery downloads over Ethernet are much faster. Dial-up is unchanged. |
| Files | |
| bios-retail.bin | md5 4e88c7feb625cb15faa9598c95016d4a |
| bios-emac.bin | md5 12a8599b4f949c66fd041aadf59b94e2 |
| bios-zefie.bin | md5 31c018b5c7e38fac84a0041c65b584d5 |
| bios-zefie-unsigned.bin | md5 6eab30f4a68ac5a7ae749d43db87796a |
bios-zefie.bin is built from bios-emac.bin by MsnTv2BiosPatch.py, which checks every original byte before it changes anything. Addresses are where the code runs (file offset + 7FEE40h).
Recovery: when the box has no working system it fetches http://msntv2.webtv.onl/syncserver/dr.sync?file=PKG.DIR and then the PARTnnn.DAT files listed there. MsnTv2RecoveryPkg.py builds that package from an NK.BIN (and other files, such as APPROM.BIN).
Warning: flashing a BIOS can brick your box. A box that will not POST can only be recovered with a flash programmer. Use at your own risk.