Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
621 B

  1. The file rdskboot.asm contains the program to be inserted into the
  2. boot sector of the emergency repair disk. There is also a message that needs
  3. to go in that sector -- the message is contained in setup.exe's resources,
  4. with resource id IDS_REPAIR_BOOTCODE_MSG.
  5. I build rdskboot.com by using the following commands:
  6. masm386 rdskboot,,nul,nul,,
  7. link_60 /tiny rdskboot,,nul,,,
  8. I then ran bin2c.exe (in sdktools, part of standard idw) over rdskboot.com
  9. using the following command:
  10. bin2c rdskboot.com 45 0 45 ..\rdskboot.c REPAIR_DISK_BOOTSECTOR
  11. This generated rdskboot.c in setup\src, which I checked in.