unsigned long scripts[] = { 0x47000000, 0x00000280, /* 000 - 0 */ 0x878b0000, 0x00000030, /* 008 - 8 */ 0x868a0000, 0x000000f0, /* 010 - 16 */ 0x828a0000, 0x000000f8, /* 018 - 24 */ 0x808a0000, 0x00000108, /* 020 - 32 */ 0x818a0000, 0x00000190, /* 028 - 40 */ 0x838a0000, 0x00000218, /* 030 - 48 */ 0x98080000, 0x0000ff01, /* 038 - 56 */ 0x1f000024, 0x00000024, /* 040 - 64 */ 0x60000040, 0x00000000, /* 048 - 72 */ 0x808c0001, 0x00000038, /* 050 - 80 */ 0x808c0004, 0x00000068, /* 058 - 88 */ 0x808c0002, 0xffffffa0, /* 060 - 96 */ 0x808c0007, 0x00000010, /* 068 - 104 */ 0x808c0003, 0xffffff90, /* 070 - 112 */ 0x98080000, 0x0000ff02, /* 078 - 120 */ 0x60000008, 0x00000000, /* 080 - 128 */ 0x80880000, 0xffffff78, /* 088 - 136 */ 0x1f00002c, 0x0000002c, /* 090 - 144 */ 0x808c0003, 0x00000008, /* 098 - 152 */ 0x98080000, 0x0000ff03, /* 0a0 - 160 */ 0x60000040, 0x00000000, /* 0a8 - 168 */ 0x1f000034, 0x00000034, /* 0b0 - 176 */ 0x60000040, 0x00000000, /* 0b8 - 184 */ 0x80880000, 0xffffff40, /* 0c0 - 192 */ 0x48000000, 0x00000000, /* 0c8 - 200 */ 0x98080000, 0x0000ff0a, /* 0d0 - 208 */ 0x54000000, 0x000001d8, /* 0d8 - 216 */ 0x9f030000, 0x0000ff04, /* 0e0 - 224 */ 0x1f00001c, 0x0000001c, /* 0e8 - 232 */ 0x60000040, 0x00000000, /* 0f0 - 240 */ 0x98080000, 0x0000ff09, /* 0f8 - 248 */ 0x80880000, 0xffffff00, /* 100 - 256 */ 0x1e000004, 0x00000004, /* 108 - 264 */ 0x80880000, 0xfffffef0, /* 110 - 272 */ 0x60000008, 0x00000000, /* 118 - 280 */ 0x1a00000c, 0x0000000c, /* 120 - 288 */ 0x80880000, 0xfffffed8, /* 128 - 296 */ 0x1800003c, 0x0000003c, /* 130 - 304 */ 0x88830000, 0xfffffec8, /* 138 - 312 */ 0x18000044, 0x00000044, /* 140 - 320 */ 0x88830000, 0xfffffeb8, /* 148 - 328 */ 0x1800004c, 0x0000004c, /* 150 - 336 */ 0x88830000, 0xfffffea8, /* 158 - 344 */ 0x18000054, 0x00000054, /* 160 - 352 */ 0x88830000, 0xfffffe98, /* 168 - 360 */ 0x1800005c, 0x0000005c, /* 170 - 368 */ 0x88830000, 0xfffffe88, /* 178 - 376 */ 0x18000064, 0x00000064, /* 180 - 384 */ 0x88830000, 0xfffffe78, /* 188 - 392 */ 0x1800006c, 0x0000006c, /* 190 - 400 */ 0x88830000, 0xfffffe68, /* 198 - 408 */ 0x18000074, 0x00000074, /* 1a0 - 416 */ 0x88830000, 0xfffffe58, /* 1a8 - 424 */ 0x1800007c, 0x0000007c, /* 1b0 - 432 */ 0x88880000, 0xfffffe48, /* 1b8 - 440 */ 0x1900003c, 0x0000003c, /* 1c0 - 448 */ 0x89830000, 0xfffffe38, /* 1c8 - 456 */ 0x19000044, 0x00000044, /* 1d0 - 464 */ 0x89830000, 0xfffffe28, /* 1d8 - 472 */ 0x1900004c, 0x0000004c, /* 1e0 - 480 */ 0x89830000, 0xfffffe18, /* 1e8 - 488 */ 0x19000054, 0x00000054, /* 1f0 - 496 */ 0x89830000, 0xfffffe08, /* 1f8 - 504 */ 0x1900005c, 0x0000005c, /* 200 - 512 */ 0x89830000, 0xfffffdf8, /* 208 - 520 */ 0x19000064, 0x00000064, /* 210 - 528 */ 0x89830000, 0xfffffde8, /* 218 - 536 */ 0x1900006c, 0x0000006c, /* 220 - 544 */ 0x89830000, 0xfffffdd8, /* 228 - 552 */ 0x19000074, 0x00000074, /* 230 - 560 */ 0x89830000, 0xfffffdc8, /* 238 - 568 */ 0x1900007c, 0x0000007c, /* 240 - 576 */ 0x88880000, 0xfffffdb8, /* 248 - 584 */ 0x1b000014, 0x00000014, /* 250 - 592 */ 0x9f030000, 0x0000ff05, /* 258 - 600 */ 0x1f00001c, 0x0000001c, /* 260 - 608 */ 0x60000040, 0x00000000, /* 268 - 616 */ 0x48000000, 0x00000000, /* 270 - 624 */ 0x98080000, 0x0000ff00, /* 278 - 632 */ 0x80880000, 0xfffffe50, /* 280 - 640 */ 0x54000000, 0x00000028, /* 288 - 648 */ 0x98080000, 0x0000ff06, /* 290 - 656 */ 0x9f030000, 0x0000ff04, /* 298 - 664 */ 0x1f00001c, 0x0000001c, /* 2a0 - 672 */ 0x60000040, 0x00000000, /* 2a8 - 680 */ 0x80880000, 0xfffffd50, /* 2b0 - 688 */ 0x74164000, 0x00000000, /* 2b8 - 696 */ 0x98080000, 0x0000ff07, /* 2c0 - 704 */ 0x80880000, 0xfffffd30, /* 2c8 - 712 */ }; #define A_ds_Device 0x00000000 #define A_ds_MsgOut 0x00000004 #define A_ds_Cmd 0x0000000c #define A_ds_Status 0x00000014 #define A_ds_Msg 0x0000001c #define A_ds_MsgIn 0x00000024 #define A_ds_ExtMsg 0x0000002c #define A_ds_SyncMsg 0x00000034 #define A_ds_Data1 0x0000003c #define A_ds_Data2 0x00000044 #define A_ds_Data3 0x0000004c #define A_ds_Data4 0x00000054 #define A_ds_Data5 0x0000005c #define A_ds_Data6 0x00000064 #define A_ds_Data7 0x0000006c #define A_ds_Data8 0x00000074 #define A_ds_Data9 0x0000007c #define A_ok 0x0000ff00 #define A_err1 0x0000ff01 #define A_err2 0x0000ff02 #define A_err3 0x0000ff03 #define A_err4 0x0000ff04 #define A_err5 0x0000ff05 #define A_err6 0x0000ff06 #define A_err7 0x0000ff07 #define A_err8 0x0000ff08 #define A_err9 0x0000ff09 #define A_err10 0x0000ff0a #define Ent_scripts 0x00000000 #define Ent_switch 0x00000008 #define Ent_wait_reselect 0x000000d8 unsigned long INSTRUCTIONS = 0x0000005a; unsigned long PATCHES = 0x00000000;