Ink Blot welcomes you to Lance's Web Site!

I've decided to resurrect my web site on a limited basis; mainly to discuss FAT32X, but also to test a new site build process. LC

(best viewed at 800x600 full screen!)


Home
Boot Sectors
FAT32X
Utility Programs
Site Map

Boot Sectors

Windows 95B Boot Records

Due to the introduction of FAT32 in Windows 95B, there are now two possible partition boot records. There is a boot record for FAT12/FAT16, and a boot record for FAT32.

These boot records boot Windows 95B (DOS 7.10) from a FAT12/FAT16 or FAT32 partition. The boot record is located in the first sector of a physical primary DOS partition on a hard disk drive, or the first sector of a floppy drive (FAT16 only).

W95BPBR.ZIP

This is a ZIP archive that contains the Win 95 boot record source code and some batch files to construct the boot record.

This contents of this ZIP archive are:
  • W95B16.ASM - Win 95 B boot record source code for FAT16 (see below)
  • W95B32.ASM - Win 95 B boot record source code for FAT32 (see below)
  • MAKE16.BAT - Batch file to assemble/link/extract
  • MAKE32.BAT - Batch file to assemble/link/extract
  • VER16.BAT - Batch file to verify the code
  • VER32.BAT - Batch file to verify the code
  • RAW16.BAT - Batch file to extract and dasm the boot code using DEBUG
  • RAW16.CMD - DEBUG commands used by RAW16.BAT
  • RAW32.BAT - Batch file to extract and dasm the boot code using DEBUG
  • RAW32.CMD - DEBUG commands used by RAW32.BAT

W95B16.ASM

This source file can be assembled, linked, extracted, and written to your hard drive as real working boot code. Click on the heading to view the file.

W95B32.ASM

This source file can be assembled, linked, extracted, and written to your hard drive as real working boot code. Click on the heading to view the file.

There was an oddity with this code. At 7CDE there is a CMP AL,0D8h instruction. This compares the lower 8 bits of the IOSYS address. I could not get that to assemble correctly. I'm sure its just a syntax problem - maybe I should read the manual (if I had one)!

MAKE16.BAT, MAKE32.BAT

These batch files assemble, link, and extract the boot code. W95B##.ASM is assembled with MASM version 6.11d into W95B##.OBJ. W95B##.OBJ is linked with LINK version 5.31 into W95B##.EXE, W95B##.EXE is processed by the BOOTEXE utility into W95B##.BIN.

VER16.BAT, VER32.BAT

These batch file verify the new boot code with what's in the actual boot record, or what's in a file. Customize to your preference. Note that not all assemblers work the same - some add slack bytes (nop's), other's don't.

RAW16.BAT, RAW16.CMD, RAW32.BAT, RAW32.CMD

These batch files use DEBUG to disassemble the raw boot code. The DEBUG commands are in the file RAW##.CMD. The DEBUG output is then processed by the DBLFIX utility to clean it up.

Utility Programs

Utility programs used by this archive are: You can get more info on these utilities and others by following the above links.

See Also

Lance Costanzo, [email protected]