NT4/private/windows/diamond/dmftools/fcopy/bootsect.h
2020-09-30 17:12:29 +02:00

136 lines
9.6 KiB
C

UCHAR Nt31SetupBootSector[ 512 ] = {
0xEB, 0x3C, 0x90, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x35, 0x2E, 0x30, 0x00,
0x02, 0x01, 0x01, 0x00, 0x02, 0xE0, 0x00, 0x40, 0x0B, 0xF0, 0x09, 0x00,
0x12, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x4E, 0x4F, 0x20, 0x4E, 0x41,
0x4D, 0x45, 0x20, 0x20, 0x20, 0x20, 0x46, 0x41, 0x54, 0x31, 0x32, 0x20,
0x20, 0x20, 0x33, 0xC0, 0x8E, 0xD0, 0xBC, 0x00, 0x7C, 0x68, 0xC0, 0x07,
0x1F, 0xA0, 0x10, 0x00, 0xF7, 0x26, 0x16, 0x00, 0x03, 0x06, 0x0E, 0x00,
0x50, 0x91, 0xB8, 0x20, 0x00, 0xF7, 0x26, 0x11, 0x00, 0x8B, 0x1E, 0x0B,
0x00, 0x03, 0xC3, 0x48, 0xF7, 0xF3, 0x03, 0xC8, 0x89, 0x0E, 0x08, 0x02,
0x68, 0x00, 0x10, 0x07, 0x33, 0xDB, 0x8F, 0x06, 0x13, 0x02, 0x89, 0x1E,
0x15, 0x02, 0x0E, 0xE8, 0x90, 0x00, 0x72, 0x57, 0x33, 0xDB, 0x8B, 0x0E,
0x11, 0x00, 0x8B, 0xFB, 0x51, 0xB9, 0x0B, 0x00, 0xBE, 0xDC, 0x01, 0xF3,
0xA6, 0x59, 0x74, 0x05, 0x83, 0xC3, 0x20, 0xE2, 0xED, 0xE3, 0x37, 0x26,
0x8B, 0x57, 0x1A, 0x52, 0xB8, 0x01, 0x00, 0x68, 0x00, 0x20, 0x07, 0x33,
0xDB, 0x0E, 0xE8, 0x48, 0x00, 0x72, 0x28, 0x5B, 0x8D, 0x36, 0x0B, 0x00,
0x8D, 0x3E, 0x0B, 0x02, 0x1E, 0x8F, 0x45, 0x02, 0xC7, 0x05, 0xF5, 0x00,
0x1E, 0x8F, 0x45, 0x06, 0xC7, 0x45, 0x04, 0x0E, 0x01, 0x8A, 0x16, 0x24,
0x00, 0xEA, 0x03, 0x00, 0x00, 0x20, 0xBE, 0x86, 0x01, 0xEB, 0x03, 0xBE,
0xA2, 0x01, 0xE8, 0x09, 0x00, 0xBE, 0xC1, 0x01, 0xE8, 0x03, 0x00, 0xFB,
0xEB, 0xFE, 0xAC, 0x0A, 0xC0, 0x74, 0x09, 0xB4, 0x0E, 0xBB, 0x07, 0x00,
0xCD, 0x10, 0xEB, 0xF2, 0xC3, 0x50, 0x4A, 0x4A, 0xA0, 0x0D, 0x00, 0x32,
0xE4, 0xF7, 0xE2, 0x03, 0x06, 0x08, 0x02, 0x83, 0xD2, 0x00, 0xA3, 0x13,
0x02, 0x89, 0x16, 0x15, 0x02, 0x58, 0xA2, 0x07, 0x02, 0xA1, 0x13, 0x02,
0x8B, 0x16, 0x15, 0x02, 0x03, 0x06, 0x1C, 0x00, 0x13, 0x16, 0x1E, 0x00,
0xF7, 0x36, 0x18, 0x00, 0xFE, 0xC2, 0x88, 0x16, 0x06, 0x02, 0x33, 0xD2,
0xF7, 0x36, 0x1A, 0x00, 0x88, 0x16, 0x25, 0x00, 0xA3, 0x04, 0x02, 0xA1,
0x18, 0x00, 0x2A, 0x06, 0x06, 0x02, 0x40, 0x3A, 0x06, 0x07, 0x02, 0x76,
0x05, 0xA0, 0x07, 0x02, 0x32, 0xE4, 0x50, 0xB4, 0x02, 0x8B, 0x0E, 0x04,
0x02, 0xC0, 0xE5, 0x06, 0x0A, 0x2E, 0x06, 0x02, 0x86, 0xE9, 0x8B, 0x16,
0x24, 0x00, 0xCD, 0x13, 0x0F, 0x83, 0x05, 0x00, 0x83, 0xC4, 0x02, 0xF9,
0xCB, 0x58, 0x28, 0x06, 0x07, 0x02, 0x76, 0x11, 0x01, 0x06, 0x13, 0x02,
0x83, 0x16, 0x15, 0x02, 0x00, 0xF7, 0x26, 0x0B, 0x00, 0x03, 0xD8, 0xEB,
0x90, 0xA2, 0x07, 0x02, 0xF8, 0xCB, 0x42, 0x4F, 0x4F, 0x54, 0x3A, 0x20,
0x43, 0x6F, 0x75, 0x6C, 0x64, 0x6E, 0x27, 0x74, 0x20, 0x66, 0x69, 0x6E,
0x64, 0x20, 0x4E, 0x54, 0x4C, 0x44, 0x52, 0x0D, 0x0A, 0x00, 0x42, 0x4F,
0x4F, 0x54, 0x3A, 0x20, 0x49, 0x2F, 0x4F, 0x20, 0x65, 0x72, 0x72, 0x6F,
0x72, 0x20, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6E, 0x67, 0x20, 0x64, 0x69,
0x73, 0x6B, 0x0D, 0x0A, 0x00, 0x50, 0x6C, 0x65, 0x61, 0x73, 0x65, 0x20,
0x69, 0x6E, 0x73, 0x65, 0x72, 0x74, 0x20, 0x61, 0x6E, 0x6F, 0x74, 0x68,
0x65, 0x72, 0x20, 0x64, 0x69, 0x73, 0x6B, 0x00, 0x53, 0x45, 0x54, 0x55,
0x50, 0x4C, 0x44, 0x52, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA };
UCHAR Nt35SetupBootSector[ 512 ] = {
0xEB, 0x3C, 0x90, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x35, 0x2E, 0x30, 0x00,
0x02, 0x01, 0x01, 0x00, 0x02, 0xE0, 0x00, 0x40, 0x0B, 0xF0, 0x09, 0x00,
0x12, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x4E, 0x4F, 0x20, 0x4E, 0x41,
0x4D, 0x45, 0x20, 0x20, 0x20, 0x20, 0x46, 0x41, 0x54, 0x31, 0x32, 0x20,
0x20, 0x20, 0x33, 0xC0, 0x8E, 0xD0, 0xBC, 0x00, 0x7C, 0x68, 0xC0, 0x07,
0x1F, 0xA0, 0x10, 0x00, 0xF7, 0x26, 0x16, 0x00, 0x03, 0x06, 0x0E, 0x00,
0x50, 0x91, 0xB8, 0x20, 0x00, 0xF7, 0x26, 0x11, 0x00, 0x8B, 0x1E, 0x0B,
0x00, 0x03, 0xC3, 0x48, 0xF7, 0xF3, 0x03, 0xC8, 0x89, 0x0E, 0x08, 0x02,
0x68, 0x00, 0x10, 0x07, 0x33, 0xDB, 0x8F, 0x06, 0x13, 0x02, 0x89, 0x1E,
0x15, 0x02, 0x0E, 0xE8, 0x90, 0x00, 0x72, 0x57, 0x33, 0xDB, 0x8B, 0x0E,
0x11, 0x00, 0x8B, 0xFB, 0x51, 0xB9, 0x0B, 0x00, 0xBE, 0xDC, 0x01, 0xF3,
0xA6, 0x59, 0x74, 0x05, 0x83, 0xC3, 0x20, 0xE2, 0xED, 0xE3, 0x37, 0x26,
0x8B, 0x57, 0x1A, 0x52, 0xB8, 0x01, 0x00, 0x68, 0x00, 0x20, 0x07, 0x33,
0xDB, 0x0E, 0xE8, 0x48, 0x00, 0x72, 0x28, 0x5B, 0x8D, 0x36, 0x0B, 0x00,
0x8D, 0x3E, 0x0B, 0x02, 0x1E, 0x8F, 0x45, 0x02, 0xC7, 0x05, 0xF5, 0x00,
0x1E, 0x8F, 0x45, 0x06, 0xC7, 0x45, 0x04, 0x0E, 0x01, 0x8A, 0x16, 0x24,
0x00, 0xEA, 0x03, 0x00, 0x00, 0x20, 0xBE, 0x86, 0x01, 0xEB, 0x03, 0xBE,
0xA2, 0x01, 0xE8, 0x09, 0x00, 0xBE, 0xC1, 0x01, 0xE8, 0x03, 0x00, 0xFB,
0xEB, 0xFE, 0xAC, 0x0A, 0xC0, 0x74, 0x09, 0xB4, 0x0E, 0xBB, 0x07, 0x00,
0xCD, 0x10, 0xEB, 0xF2, 0xC3, 0x50, 0x4A, 0x4A, 0xA0, 0x0D, 0x00, 0x32,
0xE4, 0xF7, 0xE2, 0x03, 0x06, 0x08, 0x02, 0x83, 0xD2, 0x00, 0xA3, 0x13,
0x02, 0x89, 0x16, 0x15, 0x02, 0x58, 0xA2, 0x07, 0x02, 0xA1, 0x13, 0x02,
0x8B, 0x16, 0x15, 0x02, 0x03, 0x06, 0x1C, 0x00, 0x13, 0x16, 0x1E, 0x00,
0xF7, 0x36, 0x18, 0x00, 0xFE, 0xC2, 0x88, 0x16, 0x06, 0x02, 0x33, 0xD2,
0xF7, 0x36, 0x1A, 0x00, 0x88, 0x16, 0x25, 0x00, 0xA3, 0x04, 0x02, 0xA1,
0x18, 0x00, 0x2A, 0x06, 0x06, 0x02, 0x40, 0x3A, 0x06, 0x07, 0x02, 0x76,
0x05, 0xA0, 0x07, 0x02, 0x32, 0xE4, 0x50, 0xB4, 0x02, 0x8B, 0x0E, 0x04,
0x02, 0xC0, 0xE5, 0x06, 0x0A, 0x2E, 0x06, 0x02, 0x86, 0xE9, 0x8B, 0x16,
0x24, 0x00, 0xCD, 0x13, 0x0F, 0x83, 0x05, 0x00, 0x83, 0xC4, 0x02, 0xF9,
0xCB, 0x58, 0x28, 0x06, 0x07, 0x02, 0x76, 0x11, 0x01, 0x06, 0x13, 0x02,
0x83, 0x16, 0x15, 0x02, 0x00, 0xF7, 0x26, 0x0B, 0x00, 0x03, 0xD8, 0xEB,
0x90, 0xA2, 0x07, 0x02, 0xF8, 0xCB, 0x42, 0x4F, 0x4F, 0x54, 0x3A, 0x20,
0x43, 0x6F, 0x75, 0x6C, 0x64, 0x6E, 0x27, 0x74, 0x20, 0x66, 0x69, 0x6E,
0x64, 0x20, 0x4E, 0x54, 0x4C, 0x44, 0x52, 0x0D, 0x0A, 0x00, 0x42, 0x4F,
0x4F, 0x54, 0x3A, 0x20, 0x49, 0x2F, 0x4F, 0x20, 0x65, 0x72, 0x72, 0x6F,
0x72, 0x20, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6E, 0x67, 0x20, 0x64, 0x69,
0x73, 0x6B, 0x0D, 0x0A, 0x00, 0x50, 0x6C, 0x65, 0x61, 0x73, 0x65, 0x20,
0x69, 0x6E, 0x73, 0x65, 0x72, 0x74, 0x20, 0x61, 0x6E, 0x6F, 0x74, 0x68,
0x65, 0x72, 0x20, 0x64, 0x69, 0x73, 0x6B, 0x00, 0x53, 0x45, 0x54, 0x55,
0x50, 0x4C, 0x44, 0x52, 0x42, 0x49, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA };
UCHAR Dos5BootSector[ 512 ] = {
0xEB, 0x3C, 0x90, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x35, 0x2E, 0x30, 0x00,
0x02, 0x01, 0x01, 0x00, 0x02, 0xE0, 0x00, 0x40, 0x0B, 0xF0, 0x09, 0x00,
0x12, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x29, 0x00, 0x12, 0x61, 0x10, 0x4E, 0x4F, 0x20, 0x4E, 0x41,
0x4D, 0x45, 0x20, 0x20, 0x20, 0x20, 0x46, 0x41, 0x54, 0x31, 0x32, 0x20,
0x20, 0x20, 0xFA, 0x33, 0xC0, 0x8E, 0xD0, 0xBC, 0x00, 0x7C, 0x16, 0x07,
0xBB, 0x78, 0x00, 0x36, 0xC5, 0x37, 0x1E, 0x56, 0x16, 0x53, 0xBF, 0x3E,
0x7C, 0xB9, 0x0B, 0x00, 0xFC, 0xF3, 0xA4, 0x06, 0x1F, 0xC6, 0x45, 0xFE,
0x0F, 0x8B, 0x0E, 0x18, 0x7C, 0x88, 0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0x68, 0x65, 0x6E, 0x20, 0x72, 0x65,
0x61, 0x64, 0x79, 0x0D, 0x0A, 0x00, 0x49, 0x4F, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x53, 0x59, 0x53, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x20, 0x20,
0x20, 0x53, 0x59, 0x53, 0x00, 0x00, 0x55, 0xAA };