mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-26 12:05:36 +01:00
76 lines
3.3 KiB
C
76 lines
3.3 KiB
C
|
/*
|
||
|
* include/clover_boot0ss_mbr.h
|
||
|
* MBR boot code (Apple Mac OS X via Clover/Chameleon)
|
||
|
*
|
||
|
* The boot code in this file was taken from Clover boot0ss (first 440B).
|
||
|
*/
|
||
|
|
||
|
#ifndef __CLOVER_BOOT0SS_MBR_H__
|
||
|
#define __CLOVER_BOOT0SS_MBR_H__ 1
|
||
|
|
||
|
#define MBR_BOOTCODE_SIZE (440)
|
||
|
|
||
|
#define CLOVER_BOOT0SS_MBR_SIZE (440)
|
||
|
|
||
|
static UINT8 clover_boot0ss_mbr[CLOVER_BOOT0SS_MBR_SIZE] = {
|
||
|
0xfa, 0x31, 0xc0, 0x8e, 0xd0, 0xbc, 0xf0, 0xff,
|
||
|
0xfb, 0x8e, 0xc0, 0x8e, 0xd8, 0xbe, 0x00, 0x7c,
|
||
|
0xbf, 0x00, 0xe0, 0xfc, 0xb9, 0x00, 0x01, 0xf2,
|
||
|
0xa5, 0xea, 0x1e, 0xe0, 0x00, 0x00, 0x66, 0x31,
|
||
|
0xc0, 0x66, 0xa3, 0x00, 0xe4, 0xb0, 0x02, 0xbb,
|
||
|
0x00, 0x10, 0xe8, 0x19, 0x01, 0x72, 0x06, 0xbe,
|
||
|
0xbe, 0x11, 0xe8, 0x09, 0x00, 0xbf, 0x97, 0xe1,
|
||
|
0xe8, 0x3e, 0x01, 0xf4, 0xeb, 0xfd, 0x81, 0x7c,
|
||
|
0x40, 0x55, 0xaa, 0x75, 0x58, 0x31, 0xdb, 0xfe,
|
||
|
0xc7, 0xb9, 0x04, 0x00, 0x66, 0x8b, 0x44, 0x08,
|
||
|
0x66, 0xa3, 0x00, 0xe4, 0x80, 0x7c, 0x04, 0x00,
|
||
|
0x74, 0x30, 0x80, 0x7c, 0x04, 0xee, 0x75, 0x05,
|
||
|
0xc6, 0x04, 0x00, 0xb3, 0x01, 0x80, 0xff, 0x01,
|
||
|
0x75, 0x02, 0xeb, 0x09, 0x80, 0x3c, 0x80, 0x75,
|
||
|
0x19, 0x30, 0xf6, 0xeb, 0x0e, 0xb6, 0x01, 0x80,
|
||
|
0x7c, 0x04, 0xaf, 0x74, 0x06, 0x80, 0x7c, 0x04,
|
||
|
0x0c, 0x75, 0x07, 0xe8, 0x90, 0x00, 0x75, 0x02,
|
||
|
0xeb, 0x14, 0x83, 0xc6, 0x10, 0xe2, 0xbd, 0xfe,
|
||
|
0xcb, 0x75, 0x03, 0xe8, 0x0b, 0x00, 0xfe, 0xcf,
|
||
|
0xbe, 0xbe, 0x11, 0x74, 0xac, 0xc3, 0xe9, 0x5f,
|
||
|
0x9b, 0x53, 0xbf, 0x00, 0x12, 0x66, 0x81, 0x3d,
|
||
|
0x45, 0x46, 0x49, 0x20, 0x75, 0x66, 0x66, 0x81,
|
||
|
0x7d, 0x04, 0x50, 0x41, 0x52, 0x54, 0x75, 0x5c,
|
||
|
0x89, 0xfe, 0x66, 0x8b, 0x44, 0x48, 0x66, 0xa3,
|
||
|
0x00, 0xe4, 0x8b, 0x4c, 0x50, 0x8b, 0x5c, 0x54,
|
||
|
0x53, 0xb0, 0x20, 0xbb, 0x00, 0x14, 0x53, 0xe8,
|
||
|
0x74, 0x00, 0x5e, 0x5b, 0x0f, 0x82, 0x5d, 0xff,
|
||
|
0x66, 0x8b, 0x44, 0x0c, 0x66, 0x3d, 0x65, 0x43,
|
||
|
0xec, 0xac, 0x74, 0x10, 0x66, 0x3d, 0xc9, 0x3e,
|
||
|
0xc9, 0x3b, 0x74, 0x08, 0x66, 0x3d, 0xb7, 0x26,
|
||
|
0x99, 0xc7, 0x75, 0x1c, 0x66, 0x8b, 0x44, 0x20,
|
||
|
0x66, 0xa3, 0x00, 0xe4, 0xb6, 0x01, 0xe8, 0x15,
|
||
|
0x00, 0x75, 0x0d, 0xbe, 0xbe, 0x11, 0x66, 0x89,
|
||
|
0x44, 0x08, 0xc6, 0x44, 0x04, 0xaf, 0xeb, 0x8e,
|
||
|
0x01, 0xde, 0xe2, 0xc4, 0x5b, 0xc3, 0x60, 0xb0,
|
||
|
0x03, 0xbb, 0x00, 0x7c, 0xe8, 0x27, 0x00, 0x0f,
|
||
|
0x82, 0x12, 0xff, 0x08, 0xf6, 0x74, 0x15, 0xa1,
|
||
|
0x00, 0x80, 0x3d, 0x48, 0x2b, 0x74, 0x0d, 0x3d,
|
||
|
0x48, 0x58, 0x74, 0x08, 0xa1, 0x5a, 0x7c, 0x3d,
|
||
|
0x42, 0x4f, 0x75, 0x08, 0x89, 0xdf, 0x81, 0xbd,
|
||
|
0xfe, 0x01, 0x55, 0xaa, 0x61, 0xc3, 0x51, 0xb9,
|
||
|
0x05, 0x00, 0xe8, 0x06, 0x00, 0x73, 0x02, 0xe2,
|
||
|
0xf9, 0x59, 0xc3, 0x66, 0x60, 0x89, 0xe5, 0x1e,
|
||
|
0x1e, 0x66, 0x8b, 0x0e, 0x00, 0xe4, 0x66, 0x51,
|
||
|
0x06, 0x53, 0x30, 0xe4, 0x50, 0x6a, 0x10, 0x89,
|
||
|
0xe6, 0xb4, 0x42, 0xcd, 0x13, 0x73, 0x05, 0x31,
|
||
|
0xc0, 0xcd, 0x13, 0xf9, 0x89, 0xec, 0x66, 0x61,
|
||
|
0xc3, 0x60, 0x57, 0xbe, 0xac, 0xe1, 0xe8, 0x06,
|
||
|
0x00, 0x5e, 0xe8, 0x02, 0x00, 0x61, 0xc3, 0xbb,
|
||
|
0x01, 0x00, 0xfc, 0xac, 0x3c, 0x00, 0x74, 0x06,
|
||
|
0xb4, 0x0e, 0xcd, 0x10, 0xeb, 0xf5, 0xc3, 0x65,
|
||
|
0x72, 0x72, 0x6f, 0x72, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x0a, 0x0d, 0x62, 0x6f,
|
||
|
0x6f, 0x74, 0x30, 0x73, 0x73, 0x3a, 0x20, 0x00
|
||
|
};
|
||
|
|
||
|
#endif /* __CLOVER_BOOT0SS_MBR_H__ */
|
||
|
|
||
|
/* EOF */
|