unsigned long scripts[] = { 0x47000000, 0x00000118, 0x878B0000, 0x00000030, 0x868A0000, 0x00000160, 0x828A0000, 0x00000168, 0x808A0000, 0x00000178, 0x818A0000, 0x00000200, 0x838A0000, 0x00000288, 0x98080000, 0x0000FF05, 0x1F000024, 0x00000024, 0x808C0001, 0x00000040, 0x808C0004, 0x00000078, 0x808C0002, 0x00000088, 0x808C0007, 0x00000010, 0x808C0003, 0x00000008, 0x98080000, 0x0000FF06, 0x60000040, 0x00000000, 0x60000008, 0x00000000, 0x80880000, 0xFFFFFF78, 0x60000040, 0x00000000, 0x1F00002C, 0x0000002C, 0x808C0003, 0x00000008, 0x98080000, 0x0000FF07, 0x60000040, 0x00000000, 0x1F000034, 0x00000034, 0x60000040, 0x00000000, 0x80880000, 0xFFFFFF38, 0x60000040, 0x00000000, 0x48000000, 0x00000000, 0x98080000, 0x0000FF02, 0x60000040, 0x00000000, 0x87830000, 0xFFFFFF10, 0x1F00002C, 0x0000002C, 0x98040004, 0x0000FF08, 0x60000040, 0x00000000, 0x48000000, 0x00000000, 0x98080000, 0x0000FF01, 0x54000000, 0x00000030, 0x72230000, 0x00000000, 0x6A340000, 0x00000000, 0x9F030000, 0x0000FF09, 0x1F00001C, 0x0000001C, 0x60000040, 0x00000000, 0x98080000, 0x0000FF03, 0x74212800, 0x00000000, 0x78160000, 0x00000000, 0x980C0020, 0x0000FF04, 0x80880000, 0xFFFFFFA8, 0x1E000004, 0x00000004, 0x80880000, 0xFFFFFE80, 0x60000008, 0x00000000, 0x1A00000C, 0x0000000C, 0x80880000, 0xFFFFFE68, 0x1800003C, 0x0000003C, 0x88830000, 0xFFFFFE58, 0x18000044, 0x00000044, 0x88830000, 0xFFFFFE48, 0x1800004C, 0x0000004C, 0x88830000, 0xFFFFFE38, 0x18000054, 0x00000054, 0x88830000, 0xFFFFFE28, 0x1800005C, 0x0000005C, 0x88830000, 0xFFFFFE18, 0x18000064, 0x00000064, 0x88830000, 0xFFFFFE08, 0x1800006C, 0x0000006C, 0x88830000, 0xFFFFFDF8, 0x18000074, 0x00000074, 0x88830000, 0xFFFFFDE8, 0x1800007C, 0x0000007C, 0x88880000, 0xFFFFFDD8, 0x1900003C, 0x0000003C, 0x89830000, 0xFFFFFDC8, 0x19000044, 0x00000044, 0x89830000, 0xFFFFFDB8, 0x1900004C, 0x0000004C, 0x89830000, 0xFFFFFDA8, 0x19000054, 0x00000054, 0x89830000, 0xFFFFFD98, 0x1900005C, 0x0000005C, 0x89830000, 0xFFFFFD88, 0x19000064, 0x00000064, 0x89830000, 0xFFFFFD78, 0x1900006C, 0x0000006C, 0x89830000, 0xFFFFFD68, 0x19000074, 0x00000074, 0x89830000, 0xFFFFFD58, 0x1900007C, 0x0000007C, 0x88880000, 0xFFFFFD48, 0x1B000014, 0x00000014, 0x9F030000, 0x0000FF0A, 0x1F00001C, 0x0000001C, 0x60000040, 0x00000000, 0x48000000, 0x00000000, 0x98080000, 0x0000FF00 }; #define Ent_scripts 0x00000000 #define Ent_switch 0x00000008 #define Ent_wait_reselect 0x00000120 #define Ent_dataout 0x000001a0 #define Ent_datain 0x00000230 unsigned long INSTRUCTIONS = 0x0000005e; unsigned long PATCHES = 0x00000000;