220 lines
7.8 KiB
Plaintext
220 lines
7.8 KiB
Plaintext
|
/* $NetBSD: siop_script.out,v 1.1 1999/02/20 00:12:00 scw Exp $ */
|
||
|
|
||
|
/*
|
||
|
* NOTE:
|
||
|
*
|
||
|
* Support for 17 DMA chain elements added by "hand-hacking" this
|
||
|
* file.
|
||
|
*
|
||
|
* This file was _not_ generated from siop_script.ss.
|
||
|
* However, siop_script.ss *has* been updated such that it will
|
||
|
* generate the same object code, minus my comments.
|
||
|
* And all because the man lacked a script compiler...
|
||
|
*/
|
||
|
|
||
|
unsigned long scripts[] = {
|
||
|
/* switch */
|
||
|
0x47000000, 0x00000118, /* 000 - 0 */
|
||
|
0x878b0000, 0x00000030, /* 008 - 8 */
|
||
|
0x868a0000, 0x00000168, /* 010 - 16 */
|
||
|
0x828a0000, 0x00000170, /* 018 - 24 */
|
||
|
0x808a0000, 0x00000180, /* 020 - 32 */
|
||
|
0x818a0000, 0x00000288, /* 028 - 40 */
|
||
|
0x838a0000, 0x00000390, /* 030 - 48 */
|
||
|
0x98080000, 0x0000ff05, /* 038 - 56 */
|
||
|
|
||
|
/* msgin */
|
||
|
0x1f000024, 0x00000024, /* 040 - 64 */
|
||
|
0x808c0001, 0x00000040, /* 048 - 72 */
|
||
|
0x808c0004, 0x00000078, /* 050 - 80 */
|
||
|
0x808c0002, 0x00000088, /* 058 - 88 */
|
||
|
0x808c0007, 0x00000010, /* 060 - 96 */
|
||
|
0x808c0003, 0x00000008, /* 068 - 104 */
|
||
|
0x98080000, 0x0000ff06, /* 070 - 112 */
|
||
|
|
||
|
/* msg_rdp */
|
||
|
/* msg_rej */
|
||
|
0x60000040, 0x00000000, /* 078 - 120 */
|
||
|
0x60000008, 0x00000000, /* 080 - 128 */
|
||
|
0x80880000, 0xffffff78, /* 088 - 136 */
|
||
|
|
||
|
/* ext_msg */
|
||
|
0x60000040, 0x00000000, /* 090 - 144 */
|
||
|
0x1f00002c, 0x0000002c, /* 098 - 152 */
|
||
|
0x808c0003, 0x00000008, /* 0a0 - 160 */
|
||
|
0x98080000, 0x0000ff07, /* 0a8 - 168 */
|
||
|
|
||
|
/* sync_msg */
|
||
|
0x60000040, 0x00000000, /* 0b0 - 176 */
|
||
|
0x1f000034, 0x00000034, /* 0b8 - 184 */
|
||
|
0x60000040, 0x00000000, /* 0c0 - 192 */
|
||
|
0x80880000, 0xffffff38, /* 0c8 - 200 */
|
||
|
|
||
|
/* disc */
|
||
|
0x60000040, 0x00000000, /* 0d0 - 208 */
|
||
|
0x48000000, 0x00000000, /* 0d8 - 216 */
|
||
|
0x98080000, 0x0000ff02, /* 0e0 - 224 */
|
||
|
|
||
|
/* msg_sdp */
|
||
|
0x60000040, 0x00000000, /* 0e8 - 232 */
|
||
|
0x87830000, 0xffffff10, /* 0f0 - 240 */
|
||
|
0x1f00002c, 0x0000002c, /* 0f8 - 248 */
|
||
|
0x98040004, 0x0000ff08, /* 100 - 256 */
|
||
|
0x60000040, 0x00000000, /* 108 - 264 */
|
||
|
0x48000000, 0x00000000, /* 110 - 272 */
|
||
|
0x98080000, 0x0000ff01, /* 118 - 280 */
|
||
|
|
||
|
/* wait_reselect */
|
||
|
0x54000000, 0x00000038, /* 120 - 288 */
|
||
|
0x72230000, 0x00000000, /* 128 - 296 */
|
||
|
0x6a340000, 0x00000000, /* 130 - 304 */
|
||
|
0x9f030000, 0x0000ff09, /* 138 - 312 */
|
||
|
0x1f00001c, 0x0000001c, /* 140 - 320 */
|
||
|
0x98080000, 0x0000ff03, /* 148 - 328 */
|
||
|
0x60000040, 0x00000000, /* 150 - 336 */
|
||
|
0x80880000, 0xfffffea8, /* 158 - 344 */
|
||
|
|
||
|
/* select_adr */
|
||
|
0x74011000, 0x00000000, /* 160 - 352 */
|
||
|
0x980c0000, 0x0000ff04, /* 168 - 360 */
|
||
|
0x74164000, 0x00000000, /* 170 - 368 */
|
||
|
0x80880000, 0xffffffa0, /* 178 - 376 */
|
||
|
|
||
|
/* msgout */
|
||
|
0x1e000004, 0x00000004, /* 180 - 384 */
|
||
|
0x80880000, 0xfffffe78, /* 188 - 392 */
|
||
|
|
||
|
/* command_phase */
|
||
|
0x60000008, 0x00000000, /* 190 - 400 */
|
||
|
0x1a00000c, 0x0000000c, /* 198 - 408 */
|
||
|
0x80880000, 0xfffffe60, /* 1a0 - 416 */
|
||
|
|
||
|
/* dataout */
|
||
|
0x1800003c, 0x0000003c, /* 1a8 - 424 */ /* ds_Data1 */
|
||
|
0x88830000, 0xfffffe50, /* 1b0 - 432 */
|
||
|
0x18000044, 0x00000044, /* 1b8 - 440 */ /* ds_Data2 */
|
||
|
0x88830000, 0xfffffe40, /* 1c0 - 448 */
|
||
|
0x1800004c, 0x0000004c, /* 1c8 - 456 */ /* ds_Data3 */
|
||
|
0x88830000, 0xfffffe30, /* 1d0 - 464 */
|
||
|
0x18000054, 0x00000054, /* 1d8 - 472 */ /* ds_Data4 */
|
||
|
0x88830000, 0xfffffe20, /* 1e0 - 480 */
|
||
|
0x1800005c, 0x0000005c, /* 1e8 - 488 */ /* ds_Data5 */
|
||
|
0x88830000, 0xfffffe10, /* 1f0 - 496 */
|
||
|
0x18000064, 0x00000064, /* 1f8 - 504 */ /* ds_Data6 */
|
||
|
0x88830000, 0xfffffe00, /* 200 - 512 */
|
||
|
0x1800006c, 0x0000006c, /* 208 - 520 */ /* ds_Data7 */
|
||
|
0x88830000, 0xfffffdf0, /* 210 - 528 */
|
||
|
0x18000074, 0x00000074, /* 218 - 536 */ /* ds_Data8 */
|
||
|
0x88830000, 0xfffffde0, /* 220 - 544 */
|
||
|
0x1800007c, 0x0000007c, /* 228 - 552 */ /* ds_Data9 */
|
||
|
0x88830000, 0xfffffdd0, /* 230 - 560 */
|
||
|
|
||
|
0x18000084, 0x00000084, /* 238 */ /* ds_Data10 */
|
||
|
0x88830000, 0xfffffdc0, /* 240 */
|
||
|
0x1800008c, 0x0000008c, /* 248 */ /* ds_Data11 */
|
||
|
0x88830000, 0xfffffdb0, /* 250 */
|
||
|
0x18000094, 0x00000094, /* 258 */ /* ds_Data12 */
|
||
|
0x88830000, 0xfffffda0, /* 260 */
|
||
|
0x1800009c, 0x0000009c, /* 268 */ /* ds_Data13 */
|
||
|
0x88830000, 0xfffffd90, /* 270 */
|
||
|
0x180000a4, 0x000000a4, /* 278 */ /* ds_Data14 */
|
||
|
0x88830000, 0xfffffd80, /* 280 */
|
||
|
0x180000ac, 0x000000ac, /* 288 */ /* ds_Data15 */
|
||
|
0x88830000, 0xfffffd70, /* 290 */
|
||
|
0x180000b4, 0x000000b4, /* 298 */ /* ds_Data16 */
|
||
|
0x88830000, 0xfffffd60, /* 2a0 */
|
||
|
0x180000bc, 0x000000bc, /* 2a8 */ /* ds_Data17 */
|
||
|
0x88880000, 0xfffffd50, /* 2b0 */
|
||
|
|
||
|
/* datain */
|
||
|
0x1900003c, 0x0000003c, /* 2b8 */ /* ds_Data1 */
|
||
|
0x89830000, 0xfffffd40, /* 2c0 */
|
||
|
0x19000044, 0x00000044, /* 2c8 */ /* ds_Data2 */
|
||
|
0x89830000, 0xfffffd30, /* 2d0 */
|
||
|
0x1900004c, 0x0000004c, /* 2d8 */ /* ds_Data3 */
|
||
|
0x89830000, 0xfffffd20, /* 2e0 */
|
||
|
0x19000054, 0x00000054, /* 2e8 */ /* ds_Data4 */
|
||
|
0x89830000, 0xfffffd10, /* 2f0 */
|
||
|
0x1900005c, 0x0000005c, /* 2f8 */ /* ds_Data5 */
|
||
|
0x89830000, 0xfffffd00, /* 300 */
|
||
|
0x19000064, 0x00000064, /* 308 */ /* ds_Data6 */
|
||
|
0x89830000, 0xfffffcf0, /* 310 */
|
||
|
0x1900006c, 0x0000006c, /* 318 */ /* ds_Data7 */
|
||
|
0x89830000, 0xfffffce0, /* 320 */
|
||
|
0x19000074, 0x00000074, /* 328 */ /* ds_Data8 */
|
||
|
0x89830000, 0xfffffcd0, /* 330 */
|
||
|
0x1900007c, 0x0000007c, /* 338 */ /* ds_Data9 */
|
||
|
0x89830000, 0xfffffcc0, /* 340 */
|
||
|
|
||
|
0x19000084, 0x00000084, /* 348 */ /* ds_Data10 */
|
||
|
0x89830000, 0xfffffcb0, /* 350 */
|
||
|
0x1900008c, 0x0000008c, /* 358 */ /* ds_Data11 */
|
||
|
0x89830000, 0xfffffca0, /* 360 */
|
||
|
0x19000094, 0x00000094, /* 368 */ /* ds_Data12 */
|
||
|
0x89830000, 0xfffffc90, /* 370 */
|
||
|
0x1900009c, 0x0000009c, /* 378 */ /* ds_Data13 */
|
||
|
0x89830000, 0xfffffc80, /* 380 */
|
||
|
0x190000a4, 0x000000a4, /* 388 */ /* ds_Data14 */
|
||
|
0x89830000, 0xfffffc70, /* 390 */
|
||
|
0x190000ac, 0x000000ac, /* 398 */ /* ds_Data15 */
|
||
|
0x89830000, 0xfffffc60, /* 3a0 */
|
||
|
0x190000b4, 0x000000b4, /* 3a8 */ /* ds_Data16 */
|
||
|
0x89830000, 0xfffffc50, /* 3b0 */
|
||
|
0x190000bc, 0x000000bc, /* 3b8 */ /* ds_Data17 */
|
||
|
0x88880000, 0xfffffc40, /* 3c0 */
|
||
|
|
||
|
/* end */
|
||
|
0x1b000014, 0x00000014, /* 3c8 */
|
||
|
0x9f030000, 0x0000ff0a, /* 3d0 */
|
||
|
0x1f00001c, 0x0000001c, /* 3d8 */
|
||
|
0x60000040, 0x00000000, /* 3e0 */
|
||
|
0x48000000, 0x00000000, /* 3e8 */
|
||
|
0x98080000, 0x0000ff00, /* 3f0 */
|
||
|
0x80880000, 0xfffffd20, /* 3f8 */
|
||
|
};
|
||
|
|
||
|
#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_ds_Data10 0x00000084
|
||
|
#define A_ds_Data11 0x0000008c
|
||
|
#define A_ds_Data12 0x00000094
|
||
|
#define A_ds_Data13 0x0000009c
|
||
|
#define A_ds_Data14 0x000000a4
|
||
|
#define A_ds_Data15 0x000000ac
|
||
|
#define A_ds_Data16 0x000000b4
|
||
|
#define A_ds_Data17 0x000000bc
|
||
|
#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 0x00000120
|
||
|
#define Ent_dataout 0x000001a8
|
||
|
#define Ent_datain 0x000002b8
|
||
|
|
||
|
unsigned long INSTRUCTIONS = 0x00000080;
|
||
|
unsigned long PATCHES = 0x00000000;
|