dma50.s
50.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
/************************************************************************
DMA RANDOM TESTS: File #0
************************************************************************/
.word 0x05537AB9
.word 0x3AE829A6
.word 0x2C8943C7
.word 0x21211F68
.word 0x31DF494B
.word 0x51623098
.word 0x617C5162
.word 0x3137211B
.word 0x5FA54C0F
.word 0x60A664BF
.word 0x6FA36DB2
.word 0x48F71417
.word 0x3D73754A
.word 0x4C46531A
.word 0x16301A6A
.word 0x61C9057A
.word 0x3B415EFC
.word 0x2AE26CC6
.word 0x3C4240B9
.word 0x4CE40C3E
.word 0x03B30664
.word 0x1BA56E7A
.word 0x026324C9
.word 0x60C828B9
.word 0x259A7779
.word 0x4BC7380A
.word 0x04094942
.word 0x56C2141D
.word 0x6D726871
.word 0x2C0B13E6
.word 0x491742C7
.word 0x586E7FF7
.word 0x6EE4453B
.word 0x56416E9A
.word 0x675C7B75
.word 0x3D2E45B1
.word 0x3E442B07
.word 0x22C37E4F
.word 0x54106669
.word 0x77B60612
.word 0x5A1153BB
.word 0x6DF95A46
.word 0x655C2339
.word 0x338238BB
.word 0x447A717D
.word 0x0DD80262
.word 0x03D11178
.word 0x225C2BAA
.word 0x4CD57A2F
.word 0x775D569D
.word 0x0BEE5435
.word 0x79D972B9
.word 0x092862EC
.word 0x14147E8F
.word 0x5F9D457A
.word 0x20DB471D
.word 0x7FA24B8D
.word 0x479540EC
.word 0x27B459CF
.word 0x0D0E56EA
.word 0x00201A28
.word 0x25034B05
.word 0x457673B7
.word 0x506D048C
.word 0x2DAB068E
.word 0x548E6845
.word 0x7411272F
.word 0x56BD164D
.word 0x37F715CA
.word 0x28F029B3
.word 0x1A1F6D34
.word 0x530E55D3
.word 0x44E405A7
.word 0x64F27D74
.word 0x4B28473C
.word 0x5D3F1FA1
.word 0x09FF2829
.word 0x30E63648
.word 0x791D52BA
.word 0x3F786294
.word 0x16002F11
.word 0x402C030A
.word 0x55DC4C9D
.word 0x73B00F65
.word 0x4A4B675B
.word 0x26B05632
.word 0x64B104CF
.word 0x5127782B
.word 0x047064C1
.word 0x5E683D55
.word 0x3BD141B8
.word 0x69EB1FD8
.word 0x77AD1D38
.word 0x7CD828A2
.word 0x75DF13BA
.word 0x185579BA
.word 0x366A746F
.word 0x18902264
.word 0x536918B5
.word 0x3C8B18FA
.word 0x6BBA3756
.word 0x5EAB7685
.word 0x0C692F83
.word 0x29FE501E
.word 0x44DE0793
.word 0x584F4A07
.word 0x51C71B7B
.word 0x44EC4088
.word 0x0AC3370C
.word 0x6032228B
.word 0x7ED317F0
.word 0x4FDD59F7
.word 0x6B811362
.word 0x48115DCC
.word 0x7ACE5BB0
.word 0x69274A03
.word 0x73DD2172
.word 0x2E391923
.word 0x4A600C88
.word 0x386C5BA3
.word 0x38C648D5
.word 0x03000903
.word 0x512122BD
.word 0x4C1946A9
.word 0x30D96F5F
.word 0x3E4A407C
.word 0x43133C92
.word 0x26E66F42
.word 0x3DDF04A1
.word 0x450768BA
.word 0x462361C7
.word 0x7D5B1579
.word 0x664B7D69
.word 0x7EB26885
.word 0x43AE3715
.word 0x234874B3
.word 0x3EBF3F3E
.word 0x1AD27BC0
.word 0x69F821B5
.word 0x294A5332
.word 0x03867BE7
.word 0x067A3AEC
.word 0x5DB55AD9
.word 0x2A4A0194
.word 0x621A7CE4
.word 0x11CA12A5
.word 0x1B827330
.word 0x48FF4A53
.word 0x729D5EF1
.word 0x456E2B22
.word 0x096A4664
.word 0x5D6A5144
.word 0x61623D88
.word 0x681C3FB7
.word 0x38645E9D
.word 0x5257631B
.word 0x48634E5E
.word 0x34196654
.word 0x55D147FD
.word 0x32E034E4
.word 0x38CA6CE2
.word 0x3CB34705
.word 0x4D015424
.word 0x67EB1389
.word 0x746B15C3
.word 0x03C64372
.word 0x18AD4DAC
.word 0x25AA0351
.word 0x5746526A
.word 0x3F390E5F
.word 0x447C1BAB
.word 0x09184F5D
.word 0x7108147A
.word 0x4E7F332B
.word 0x1E815536
.word 0x6580092A
.word 0x4E890155
.word 0x60180D53
.word 0x18B944DB
.word 0x41F87814
.word 0x734D2D98
.word 0x47102FEE
.word 0x5A8F5C24
.word 0x06E078D0
.word 0x0304489B
.word 0x007E3D30
.word 0x02591719
.word 0x5B664CEF
.word 0x1B0C37F4
.word 0x69042DEA
.word 0x16DB4FBC
.word 0x33035A5F
.word 0x5BED22F3
.word 0x22530906
.word 0x28C1018D
.word 0x0AFD5AEB
.word 0x22DA6E26
.word 0x28A60B0D
.word 0x24277D05
.word 0x57E47BB9
.word 0x733426D5
.word 0x18443DA3
.word 0x52130B1D
.word 0x23176CC9
.word 0x10085E84
.word 0x23017F08
.word 0x09F700C7
.word 0x583F607B
.word 0x458E7676
.word 0x35BB7997
.word 0x13324272
.word 0x42D17B07
.word 0x62AB5B26
.word 0x4DDF0B48
.word 0x368E3788
.word 0x3B8F3204
.word 0x626E2FCE
.word 0x7EE41D30
.word 0x7FC22DF1
.word 0x06051BE4
.word 0x459469E3
.word 0x27CC6AFD
.word 0x2EEF2D8F
.word 0x5E0E2F75
.word 0x1C065C94
.word 0x58A93A7D
.word 0x5A243BC1
.word 0x354E735F
.word 0x3E573450
.word 0x68130317
.word 0x3EDC0EE3
.word 0x20B81DAB
.word 0x37496240
.word 0x38B5054E
.word 0x437D31CB
.word 0x76082338
.word 0x5D4777C7
.word 0x2EBF5242
.word 0x28D9174C
.word 0x19473745
.word 0x1BEB7207
.word 0x55734331
.word 0x6BAF1DB4
.word 0x7A4C3AEC
.word 0x6D78755C
.word 0x349B60F0
.word 0x5628024F
.word 0x42371CA3
.word 0x045E78E1
.word 0x560F3B75
.word 0x415D44E4
.word 0x30F627BC
.word 0x24BB61E9
.word 0x7B31314F
.word 0x06CE7B35
.word 0x2AC243E4
.word 0x2DD60F85
.word 0x0272272A
.word 0x21EA1482
.word 0x75A124A5
.word 0x53A45602
.word 0x7CCE2F4D
.word 0x018B0D05
.word 0x26E468E6
.word 0x08456A6A
.word 0x734A211E
.word 0x09791174
.word 0x40A82A68
.word 0x15853E01
.word 0x5C7B209B
.word 0x43E51284
.word 0x7F577D49
.word 0x665E49C7
.word 0x41FF15E0
.word 0x42EE4863
.word 0x57275F83
.word 0x007349FA
.word 0x160314A6
.word 0x321D263B
.word 0x2197186B
.word 0x2D956993
.word 0x38BE33C0
.word 0x17EA3DB3
.word 0x7AF70835
.word 0x55405DC7
.word 0x2DF3549E
.word 0x47371270
.word 0x4FDF676D
.word 0x061C7185
.word 0x02715ACC
.word 0x00D25D8E
.word 0x1AB4767D
.word 0x2F7F00FC
.word 0x61945372
.word 0x44F6412A
.word 0x51291D2B
.word 0x0AE76514
.word 0x5AC40CD3
.word 0x54C86BD9
.word 0x01BA7A1A
.word 0x35824EF2
.word 0x56F31DD1
.word 0x63DC2C30
.word 0x21316247
.word 0x79A81377
.word 0x3E205D65
.word 0x79AF743D
.word 0x0822508B
.word 0x485E66C0
.word 0x4CD94A29
.word 0x032D4D0A
.word 0x2071451E
.word 0x62D307A5
.word 0x19B261D0
.word 0x142B3A1E
.word 0x42C91510
.word 0x33E45B3C
.word 0x4AD168AB
.word 0x58EC0CFE
.word 0x442429CF
.word 0x599A7855
.word 0x7B652124
.word 0x379D28A6
.word 0x334930A6
.word 0x5EA822FE
.word 0x51287344
.word 0x21DB3513
.word 0x46473A3A
.word 0x23F037FE
.word 0x41E2042F
.word 0x162A42BA
.word 0x77FC4A0E
.word 0x79FE085C
.word 0x08E73DA4
.word 0x517E5E10
.word 0x559355FE
.word 0x6A8924D7
.word 0x4C964580
.word 0x30B41302
.word 0x7BFF35C5
.word 0x31F7196E
.word 0x73DA653A
.word 0x4217607D
.word 0x4583027A
.word 0x68D718D7
.word 0x2BAB6167
.word 0x06DE1BE5
.word 0x272C660C
.word 0x5D67180A
.word 0x1C8C4135
.word 0x64AB449F
.word 0x3E535ACC
.word 0x1D0E59B5
.word 0x500D05F2
.word 0x470B478A
.word 0x0E1E5AE1
.word 0x2DE169C7
.word 0x46485284
.word 0x70FB327F
.word 0x6CFD7FD3
.word 0x782008E8
.word 0x3B6602F0
.word 0x7E5F57D7
.word 0x222F1203
.word 0x5FB807FD
.word 0x1D1933D6
.word 0x158A61E4
.word 0x333D082F
.word 0x0DC113A7
.word 0x302139F1
.word 0x48BB5674
.word 0x617C76F1
.word 0x69FF6FC3
.word 0x65C90999
.word 0x279D0A53
.word 0x578E703F
.word 0x446222E9
.word 0x61690E43
.word 0x00C404C8
.word 0x06DF52EB
.word 0x2E8811EF
.word 0x2DE471FE
.word 0x53355315
.word 0x352A0A22
.word 0x05390B65
.word 0x232A54F5
.word 0x6FDC4BF9
.word 0x39F33CEE
.word 0x29E84318
.word 0x7BB574F2
.word 0x4B154330
.word 0x6C0C6DB6
.word 0x6C373D92
.word 0x1A0E44D7
.word 0x7E262CEF
.word 0x3F1309BA
.word 0x23712B96
.word 0x7E477425
.word 0x78C1316B
.word 0x10F1689A
.word 0x780F35A7
.word 0x6B806677
.word 0x62853051
.word 0x275A3BCF
.word 0x5D353780
.word 0x3D651B06
.word 0x2C7C344D
.word 0x5D516E2F
.word 0x3A346B9A
.word 0x6DAC0425
.word 0x529D5686
.word 0x00A3736B
.word 0x440906AC
.word 0x49994EC4
.word 0x4D49121E
.word 0x5F6A0791
.word 0x06DA4324
.word 0x577C19EF
.word 0x32D007B4
.word 0x058A5E8D
.word 0x1F7E5CB1
.word 0x6C2F1E4D
.word 0x08EA30E4
.word 0x2A3443A2
.word 0x24F47BBB
.word 0x709B45A4
.word 0x464003C4
.word 0x4D6828F3
.word 0x41E810E7
.word 0x57323252
.word 0x03E30666
.word 0x056D26FF
.word 0x7E342096
.word 0x417436D4
.word 0x5ED2525A
.word 0x7C596C1E
.word 0x385B7E64
.word 0x556D3D40
.word 0x0977082B
.word 0x1D8E1C08
.word 0x4F0D78AC
.word 0x43331ECC
.word 0x0D2832E0
.word 0x73381F4D
.word 0x7AA87400
.word 0x7A6A6B48
.word 0x3BA91B7B
.word 0x33D262DB
.word 0x56B376B3
.word 0x0FC2209E
.word 0x50A60C7B
.word 0x7FA1077D
.word 0x1B632452
.word 0x52765257
.word 0x433B055C
.word 0x4E350158
.word 0x07182924
.word 0x11CC4116
.word 0x476D5E13
.word 0x0BED276E
.word 0x77DF15AF
.word 0x129A621D
.word 0x7FB05A95
.word 0x6772331D
.word 0x34F02A35
.word 0x34BD56C5
.word 0x5E622E4F
.word 0x4F392FA0
.word 0x682F1231
.word 0x48A25409
.word 0x374D6FAD
.word 0x1F03598B
.word 0x47AD0FDC
.word 0x14BF79FA
.word 0x01277B96
.word 0x7D5E6E50
.word 0x6F2617AD
.word 0x0B181B49
.word 0x471348EC
.word 0x69236BBE
.word 0x69825BD2
.word 0x2EBD74C3
.word 0x4A1F2C0E
.word 0x76F93F7F
.word 0x6A5647BA
.word 0x294954CE
.word 0x52C50A58
.word 0x3ECF6698
.word 0x37636B8D
.word 0x106332EF
.word 0x326D7D9F
.word 0x79637CEB
.word 0x421457B0
.word 0x5B3E3745
.word 0x74E867B8
.word 0x4DBF3CB6
.word 0x71026843
.word 0x081B320D
.word 0x41F475F0
.word 0x4EB96E13
.word 0x197200A5
.word 0x71C3031E
.word 0x6EBD1493
.word 0x28714677
.word 0x28D336ED
.word 0x5510716D
.word 0x3F585267
.word 0x7DD43836
.word 0x7E426F71
.word 0x06637289
.word 0x58473430
.word 0x761E31FB
.word 0x74086841
.word 0x572D621D
.word 0x5FFA782D
.word 0x7A514E53
.word 0x191934AA
.word 0x2B692973
.word 0x504B4997
.word 0x22C17321
.word 0x1A9428B5
.word 0x3F1E56ED
.word 0x77FF6427
.word 0x548A6129
.word 0x5D4834A8
.word 0x1BDF258B
.word 0x2C4A278E
.word 0x0F163388
.word 0x472B3082
.word 0x3E4D746B
.word 0x2A491AFC
.word 0x699A4F37
.word 0x38E31781
.word 0x6B922E42
.word 0x2888609C
.word 0x4097428E
.word 0x3740339E
.word 0x36E520E6
.word 0x187B1915
.word 0x135C14BD
.word 0x44BD390D
.word 0x370B44C6
.word 0x18073709
.word 0x11800552
.word 0x6B0551BF
.word 0x6BD2746D
.word 0x12F94297
.word 0x586B3BB8
.word 0x746A18E2
.word 0x53961405
.word 0x148B0CDA
.word 0x60CC66B4
.word 0x556D065E
.word 0x30BE28D0
.word 0x48E4536A
.word 0x1C224BE9
.word 0x463B4A57
.word 0x7F3D60AF
.word 0x2E9753D8
.word 0x42354753
.word 0x0C2B18B0
.word 0x1A14099E
.word 0x78214F34
.word 0x4E9C3ACE
.word 0x73446485
.word 0x10CD7933
.word 0x1D6D7D89
.word 0x2E376D8E
.word 0x77B40BAE
.word 0x2D006424
.word 0x1D52715E
.word 0x1CB45BA5
.word 0x1F587240
.word 0x27CF25C0
.word 0x6F116B35
.word 0x320C7583
.word 0x03380E0D
.word 0x0F6B7774
.word 0x23DA1D0D
.word 0x20054F6F
.word 0x09096221
.word 0x5C8F1845
.word 0x38465DE1
.word 0x1FB04111
.word 0x4CAC6A46
.word 0x3802645A
.word 0x15DC4D29
.word 0x0EEA74EB
.word 0x39AC767F
.word 0x70185C71
.word 0x448F6656
.word 0x3DDD67D9
.word 0x54C2768E
.word 0x1E301D67
.word 0x4C3C0458
.word 0x6C7E5896
.word 0x35533570
.word 0x7C3547B3
.word 0x462E551A
.word 0x780F2738
.word 0x2EEE04DE
.word 0x6A1F56E9
.word 0x1E9B3D02
.word 0x389C24B0
.word 0x2AD058CC
.word 0x23706939
.word 0x06272A74
.word 0x0E80524D
.word 0x316252EB
.word 0x24BA76EF
.word 0x135E594E
.word 0x1FE01139
.word 0x23B83E29
.word 0x411679F3
.word 0x143C066C
.word 0x462C41F8
.word 0x25127A2D
.word 0x67AC0549
.word 0x0FA71323
.word 0x2BA353EE
.word 0x345C56DE
.word 0x19304C91
.word 0x76F118C8
.word 0x18CE44D8
.word 0x75B05FDC
.word 0x0D601B85
.word 0x07596C28
.word 0x72011050
.word 0x2BD11803
.word 0x088A3D80
.word 0x5B89110F
.word 0x64E00F4B
.word 0x61AF24ED
.word 0x610254F3
.word 0x2D171DC3
.word 0x45D6479C
.word 0x43E86A6F
.word 0x34AE22EF
.word 0x46060E88
.word 0x1D9D2B71
.word 0x2A431619
.word 0x4E7D3EA1
.word 0x2245091C
.word 0x66BB48D3
.word 0x51351AB8
.word 0x3BE93CCF
.word 0x412D103A
.word 0x7B016929
.word 0x435E1BD5
.word 0x127A475E
.word 0x2704271A
.word 0x310D20B3
.word 0x730B4935
.word 0x654424CE
.word 0x0E7E64ED
.word 0x29C74E11
.word 0x03B42A59
.word 0x6A662FBA
.word 0x4A397863
.word 0x4DE509BB
.word 0x437D59FE
.word 0x508B3E5A
.word 0x563F1B27
.word 0x7B690589
.word 0x54B7319D
.word 0x446B7A03
.word 0x1986755F
.word 0x63205C2B
.word 0x075E64EA
.word 0x264926A4
.word 0x5771712F
.word 0x162350AF
.word 0x629B0D56
.word 0x6F745A48
.word 0x514E7E35
.word 0x43587E00
.word 0x5E41258F
.word 0x47C92499
.word 0x17D8450C
.word 0x24EF7663
.word 0x4C5274FC
.word 0x4B2D2659
.word 0x0CB44ACC
.word 0x1DE752FA
.word 0x72796B44
.word 0x7F1518E9
.word 0x13F60486
.word 0x07893344
.word 0x538F6BC7
.word 0x780045C4
.word 0x759C5ACA
.word 0x2EEA2C99
.word 0x29190921
.word 0x2EF96E03
.word 0x6F101D23
.word 0x026C29B0
.word 0x0CC630AC
.word 0x071821D8
.word 0x74A86597
.word 0x6F3B3A1A
.word 0x51F345FC
.word 0x03000815
.word 0x23266C2A
.word 0x6ED251C7
.word 0x0F292E63
.word 0x2A6115A5
.word 0x613A4A5A
.word 0x4475787E
.word 0x579C4C6D
.word 0x1F753510
.word 0x30FE2EA2
.word 0x6AB66967
.word 0x24AC6B63
.word 0x64855DF9
.word 0x31777FFA
.word 0x30F32283
.word 0x6F651ACB
.word 0x51631CA1
.word 0x50197153
.word 0x08D46430
.word 0x7A0179E4
.word 0x38EF0964
.word 0x2A42051D
.word 0x03D020A8
.word 0x4963732B
.word 0x3E943039
.word 0x1EBB00C3
.word 0x00A75B81
.word 0x4E9B67DB
.word 0x5BCA6834
.word 0x0F3C502B
.word 0x08E7792C
.word 0x40674B67
.word 0x15941B05
.word 0x51E75939
.word 0x5E697E78
.word 0x24AE2F00
.word 0x62027C78
.word 0x52C93F4B
.word 0x38D3400E
.word 0x0A053D13
.word 0x3DAE31F5
.word 0x655F16BC
.word 0x331501F5
.word 0x712D24CA
.word 0x71416A00
.word 0x460D0863
.word 0x68EF070E
.word 0x66917589
.word 0x06ED63B8
.word 0x4BA76514
.word 0x44681096
.word 0x4BC96A70
.word 0x6FF2665A
.word 0x48EA291C
.word 0x7B564DA9
.word 0x511C25DE
.word 0x5A1C28BD
.word 0x1E016FC6
.word 0x3CDB3ABB
.word 0x1EF85CE9
.word 0x354128D5
.word 0x7A0356DB
.word 0x0EE3711F
.word 0x2F7A72E9
.word 0x68C57332
.word 0x4C71521B
.word 0x5BA96683
.word 0x57EA04ED
.word 0x39185A81
.word 0x66BB6EC7
.word 0x2F311C70
.word 0x023E6542
.word 0x5D341F08
.word 0x4DBA0719
.word 0x24CE3FCC
.word 0x169406F1
.word 0x4422062C
.word 0x3B3565C9
.word 0x049C385A
.word 0x14BA593F
.word 0x0A7461EC
.word 0x4F5F5988
.word 0x11042836
.word 0x5DA9132D
.word 0x1FCB0865
.word 0x72553886
.word 0x043D5B5C
.word 0x2D036EF7
.word 0x1C503B4E
.word 0x65A253EE
.word 0x3DC72720
.word 0x429B5598
.word 0x463D7F7C
.word 0x05BD5B66
.word 0x1FF039B5
.word 0x3BEB7A43
.word 0x4753645D
.word 0x3B873091
.word 0x1D5259A8
.word 0x1D9D65E9
.word 0x12633B7F
.word 0x1DD02A8F
.word 0x76511564
.word 0x0D0572B7
.word 0x78C74008
.word 0x42D1497B
.word 0x269F62AE
.word 0x39A33797
.word 0x6FE82E3D
.word 0x41B159EA
.word 0x02B92E28
.word 0x76A363AD
.word 0x06B84AFE
.word 0x64020870
.word 0x05695AD0
.word 0x045F09D9
.word 0x0B385B46
.word 0x0743651C
.word 0x4D453180
.word 0x09DA5C39
.word 0x5FF10BAE
.word 0x2E5E56F9
.word 0x4A2C406E
.word 0x3E4457A6
.word 0x017D47E8
.word 0x43297F8D
.word 0x1ACE2AAB
.word 0x427B5F34
.word 0x3BFD0246
.word 0x07E70E5B
.word 0x1A2367A6
.word 0x2A8647B5
.word 0x10A26B33
.word 0x38C70463
.word 0x1CF172A9
.word 0x371A5335
.word 0x4B2718B7
.word 0x5D6267A0
.word 0x5F486A59
.word 0x3F181C7D
.word 0x47531DF5
.word 0x4A3E6687
.word 0x22072037
.word 0x490B7292
.word 0x667912AE
.word 0x52506B8C
.word 0x78571823
.word 0x54AC2435
.word 0x34FA0ABD
.word 0x2873209E
.word 0x452D77D6
.word 0x545F3B63
.word 0x3FBF7D9B
.word 0x70F462A7
.word 0x68CB6666
.word 0x56B528D4
.word 0x19C21DDB
.word 0x03082510
.word 0x1E3D5BC4
.word 0x5FEA5F7E
.word 0x118420AD
.word 0x5A524539
.word 0x08DD603F
.word 0x73666011
.word 0x1696755D
.word 0x38614E03
.word 0x71D23C00
.word 0x4D3F347A
.word 0x4F136CD3
.word 0x762D2B48
.word 0x358B168D
.word 0x4BB45B63
.word 0x5D225112
.word 0x059F4D5F
.word 0x61470649
.word 0x08B123AF
.word 0x54776CBB
.word 0x23083C9B
.word 0x008E0FF1
.word 0x234F7801
.word 0x5FD0028A
.word 0x36A71CCB
.word 0x1AB6161E
.word 0x39531A34
.word 0x167A34D6
.word 0x662520BA
.word 0x606138C7
.word 0x10AC4EE2
.word 0x01CC5D13
.word 0x561A6DAE
.word 0x08FC24BE
.word 0x70F778DF
.word 0x52A85351
.word 0x1B886EEB
.word 0x60415331
.word 0x2CFD24BC
.word 0x46FF25BC
.word 0x5D5D192F
.word 0x03B33929
.word 0x5C320447
.word 0x3F4C401C
.word 0x25F41E35
.word 0x5026670C
.word 0x44365A08
.word 0x04160355
.word 0x64921034
.word 0x7F36181C
.word 0x725654C4
.word 0x3B714CE6
.word 0x1EEB755F
.word 0x74CD31F8
.word 0x05095AFC
.word 0x0E7C6E6C
.word 0x529D4B65
.word 0x3CA03418
.word 0x2575466D
.word 0x7EE1151E
.word 0x06B17AF0
.word 0x37B11753
.word 0x30EA0F8F
.word 0x6C5A2151
.word 0x0D1F3B28
.word 0x79CD1D5A
.word 0x12646918
.word 0x4A296DF3
.word 0x74496530
.word 0x570C103D
.word 0x4C0B4B78
.word 0x049D0812
.word 0x287D37A6
.word 0x215671E3
.word 0x30B4705C
.word 0x16925654
.word 0x45750A25
.word 0x15DA1B94
.word 0x4D5F3E2E
.word 0x4EEF307E
.word 0x17D970C4
.word 0x7A974D71
.word 0x02B92391
.word 0x462866EF
.word 0x4EB94F96
.word 0x6BD52DF8
.word 0x4E9A62E7
.word 0x03BC3A24
.word 0x5D165E2A
.word 0x59AB3983
.word 0x45874DCD
.word 0x53B64235
.word 0x0B581B0A
.word 0x357921C8
.word 0x3C2F709C
.word 0x4C2D4654
.word 0x38D72F3E
.word 0x4F6D1D58
.word 0x20EF2DE8
.word 0x02C60453
.word 0x4D5441C9
.word 0x64012722
.word 0x054F4A03
.word 0x722F681D
.word 0x5A7F3B29
.word 0x59792DF0
.word 0x57856679
.word 0x0FA53339
.word 0x6D7178D9
.word 0x2D6733E6
.word 0x4BF06D93
.word 0x106D144C
.word 0x103270D0
.word 0x12285E08
.word 0x769C6DD6
.word 0x5F5C2E96
.word 0x7B324501
.word 0x3C6673B3
.word 0x14C26582
.word 0x42501172
.word 0x76D146DB
.word 0x60974E20
.word 0x06477E16
.word 0x2FB71FD9
.word 0x6CD96AC8
.word 0x607A37E7
.word 0x773A37C9
.word 0x540567DE
.word 0x2A012BB0
.word 0x289F3C78
.word 0x39590511
.word 0x47406A31
.word 0x4F6A5E76
.word 0x3DDE67A2
.word 0x4D8B561E
.word 0x7277519E
.word 0x74247577
.word 0x7ADD750E
.word 0x1D64145D
.word 0x25441A8C
.word 0x76A83410
.word 0x7D8C6FC2
.word 0x64A60DF7
.word 0x5B4F2A81
.word 0x7E5D5217
.word 0x44AA41A0
.word 0x4ABD5152
.word 0x31CC579B
.word 0x2D160F5F
.word 0x7D4032E7
.word 0x2C41788D
.word 0x0CFA6016
.word 0x00903737
.word 0x002359AF
.word 0x14766506
.word 0x6DA451CB
.word 0x63F613EA
.word 0x7F74796F
.word 0x66CC6AD6
.word 0x76A261AD
.word 0x715E523E
.word 0x64225279
.word 0x38616C51
.word 0x2257334C
.word 0x634B54F6
.word 0x5B64617B
/****************************************************************
DMA TEST #0.1
****************************************************************/
/****************************************************************
DMA TEST #0.1
****************************************************************/
ori $1, $0, 0x0001 /* R1 = TEST ID */
Wait1: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait1
ori $10, $0, 0x04F8 /* DMA read #6 */
lui $11, 0x0000
ori $11, $11, 0x24F8
ori $12, $0, 0x00A7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.2
****************************************************************/
ori $1, $0, 0x0002 /* R1 = TEST ID */
Wait2: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait2
ori $10, $0, 0x0850 /* DMA read #21 */
lui $11, 0x0000
ori $11, $11, 0x2850
ori $12, $0, 0x0057
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.3
****************************************************************/
ori $1, $0, 0x0003 /* R1 = TEST ID */
Wait3: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait3
ori $10, $0, 0x0BB8 /* DMA read #28 */
lui $11, 0x0000
ori $11, $11, 0x2BB8
ori $12, $0, 0x00BF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.4
****************************************************************/
ori $1, $0, 0x0004 /* R1 = TEST ID */
Wait4: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait4
ori $10, $0, 0x08A0 /* DMA read #22 */
lui $11, 0x0000
ori $11, $11, 0x28A0
ori $12, $0, 0x005F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.5
****************************************************************/
ori $1, $0, 0x0005 /* R1 = TEST ID */
Wait5: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait5
ori $10, $0, 0x0620 /* DMA read #8 */
lui $11, 0x0000
ori $11, $11, 0x2620
ori $12, $0, 0x0087
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.6
****************************************************************/
ori $1, $0, 0x0006 /* R1 = TEST ID */
Wait6: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait6
ori $10, $0, 0x07D0 /* DMA read #13 */
lui $11, 0x0000
ori $11, $11, 0x27D0
ori $12, $0, 0x001F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.7
****************************************************************/
ori $1, $0, 0x0007 /* R1 = TEST ID */
Wait7: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait7
ori $10, $0, 0x0390 /* DMA read #4 */
lui $11, 0x0000
ori $11, $11, 0x2390
ori $12, $0, 0x00C7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.8
****************************************************************/
ori $1, $0, 0x0008 /* R1 = TEST ID */
Wait8: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait8
ori $10, $0, 0x06A0 /* DMA read #9 */
lui $11, 0x0000
ori $11, $11, 0x26A0
ori $12, $0, 0x006F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.9
****************************************************************/
ori $1, $0, 0x0009 /* R1 = TEST ID */
Wait9: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait9
ori $10, $0, 0x0E18 /* DMA read #31 */
lui $11, 0x0000
ori $11, $11, 0x2E18
ori $12, $0, 0x00F7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.10
****************************************************************/
ori $1, $0, 0x000A /* R1 = TEST ID */
Wait10: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait10
ori $10, $0, 0x0390 /* DMA write #4 */
lui $11, 0x0000
ori $11, $11, 0x2390
lui $13, 0x0000
ori $13, $13, 0x00C7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.11
****************************************************************/
ori $1, $0, 0x000B /* R1 = TEST ID */
Wait11: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait11
ori $10, $0, 0x02C8 /* DMA read #3 */
lui $11, 0x0000
ori $11, $11, 0x22C8
ori $12, $0, 0x00CF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.12
****************************************************************/
ori $1, $0, 0x000C /* R1 = TEST ID */
Wait12: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait12
ori $10, $0, 0x0808 /* DMA read #18 */
lui $11, 0x0000
ori $11, $11, 0x2808
ori $12, $0, 0x0017
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.13
****************************************************************/
ori $1, $0, 0x000D /* R1 = TEST ID */
Wait13: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait13
ori $10, $0, 0x0708 /* DMA read #10 */
lui $11, 0x0000
ori $11, $11, 0x2708
ori $12, $0, 0x0067
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.14
****************************************************************/
ori $1, $0, 0x000E /* R1 = TEST ID */
Wait14: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait14
ori $10, $0, 0x0808 /* DMA write #18 */
lui $11, 0x0000
ori $11, $11, 0x2808
lui $13, 0x0000
ori $13, $13, 0x0017
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.15
****************************************************************/
ori $1, $0, 0x000F /* R1 = TEST ID */
Wait15: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait15
ori $10, $0, 0x07F8 /* DMA read #15 */
lui $11, 0x0000
ori $11, $11, 0x27F8
ori $12, $0, 0x000F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.16
****************************************************************/
ori $1, $0, 0x0010 /* R1 = TEST ID */
Wait16: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait16
ori $10, $0, 0x02C8 /* DMA write #3 */
lui $11, 0x0000
ori $11, $11, 0x22C8
lui $13, 0x0000
ori $13, $13, 0x00CF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.17
****************************************************************/
ori $1, $0, 0x0011 /* R1 = TEST ID */
Wait17: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait17
ori $10, $0, 0x0000 /* DMA read #0 */
lui $11, 0x0000
ori $11, $11, 0x2000
ori $12, $0, 0x0107
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.18
****************************************************************/
ori $1, $0, 0x0012 /* R1 = TEST ID */
Wait18: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait18
ori $10, $0, 0x0968 /* DMA read #24 */
lui $11, 0x0000
ori $11, $11, 0x2968
ori $12, $0, 0x007F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.19
****************************************************************/
ori $1, $0, 0x0013 /* R1 = TEST ID */
Wait19: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait19
ori $10, $0, 0x04F8 /* DMA write #6 */
lui $11, 0x0000
ori $11, $11, 0x24F8
lui $13, 0x0000
ori $13, $13, 0x00A7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.20
****************************************************************/
ori $1, $0, 0x0014 /* R1 = TEST ID */
Wait20: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait20
ori $10, $0, 0x0830 /* DMA read #20 */
lui $11, 0x0000
ori $11, $11, 0x2830
ori $12, $0, 0x0027
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.21
****************************************************************/
ori $1, $0, 0x0015 /* R1 = TEST ID */
Wait21: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait21
ori $10, $0, 0x0BB8 /* DMA write #28 */
lui $11, 0x0000
ori $11, $11, 0x2BB8
lui $13, 0x0000
ori $13, $13, 0x00BF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.22
****************************************************************/
ori $1, $0, 0x0016 /* R1 = TEST ID */
Wait22: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait22
ori $10, $0, 0x0800 /* DMA read #17 */
lui $11, 0x0000
ori $11, $11, 0x2800
ori $12, $0, 0x000F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.23
****************************************************************/
ori $1, $0, 0x0017 /* R1 = TEST ID */
Wait23: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait23
ori $10, $0, 0x07D0 /* DMA write #13 */
lui $11, 0x0000
ori $11, $11, 0x27D0
lui $13, 0x0000
ori $13, $13, 0x001F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.24
****************************************************************/
ori $1, $0, 0x0018 /* R1 = TEST ID */
Wait24: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait24
ori $10, $0, 0x0708 /* DMA write #10 */
lui $11, 0x0000
ori $11, $11, 0x2708
lui $13, 0x0000
ori $13, $13, 0x0067
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.25
****************************************************************/
ori $1, $0, 0x0019 /* R1 = TEST ID */
Wait25: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait25
ori $10, $0, 0x0818 /* DMA read #19 */
lui $11, 0x0000
ori $11, $11, 0x2818
ori $12, $0, 0x001F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.26
****************************************************************/
ori $1, $0, 0x001A /* R1 = TEST ID */
Wait26: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait26
ori $10, $0, 0x09E0 /* DMA read #25 */
lui $11, 0x0000
ori $11, $11, 0x29E0
ori $12, $0, 0x0097
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.27
****************************************************************/
ori $1, $0, 0x001B /* R1 = TEST ID */
Wait27: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait27
ori $10, $0, 0x0100 /* DMA read #1 */
lui $11, 0x0000
ori $11, $11, 0x2100
ori $12, $0, 0x00EF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.28
****************************************************************/
ori $1, $0, 0x001C /* R1 = TEST ID */
Wait28: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait28
ori $10, $0, 0x0598 /* DMA read #7 */
lui $11, 0x0000
ori $11, $11, 0x2598
ori $12, $0, 0x008F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.29
****************************************************************/
ori $1, $0, 0x001D /* R1 = TEST ID */
Wait29: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait29
ori $10, $0, 0x06A0 /* DMA write #9 */
lui $11, 0x0000
ori $11, $11, 0x26A0
lui $13, 0x0000
ori $13, $13, 0x006F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.30
****************************************************************/
ori $1, $0, 0x001E /* R1 = TEST ID */
Wait30: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait30
ori $10, $0, 0x0000 /* DMA write #0 */
lui $11, 0x0000
ori $11, $11, 0x2000
lui $13, 0x0000
ori $13, $13, 0x0107
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.31
****************************************************************/
ori $1, $0, 0x001F /* R1 = TEST ID */
Wait31: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait31
ori $10, $0, 0x0598 /* DMA write #7 */
lui $11, 0x0000
ori $11, $11, 0x2598
lui $13, 0x0000
ori $13, $13, 0x008F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.32
****************************************************************/
ori $1, $0, 0x0020 /* R1 = TEST ID */
Wait32: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait32
ori $10, $0, 0x0A70 /* DMA read #26 */
lui $11, 0x0000
ori $11, $11, 0x2A70
ori $12, $0, 0x009F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.33
****************************************************************/
ori $1, $0, 0x0021 /* R1 = TEST ID */
Wait33: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait33
ori $10, $0, 0x0B08 /* DMA read #27 */
lui $11, 0x0000
ori $11, $11, 0x2B08
ori $12, $0, 0x00B7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.34
****************************************************************/
ori $1, $0, 0x0022 /* R1 = TEST ID */
Wait34: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait34
ori $10, $0, 0x0F00 /* DMA read #32 */
lui $11, 0x0000
ori $11, $11, 0x2F00
ori $12, $0, 0x00FF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.35
****************************************************************/
ori $1, $0, 0x0023 /* R1 = TEST ID */
Wait35: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait35
ori $10, $0, 0x07F8 /* DMA write #15 */
lui $11, 0x0000
ori $11, $11, 0x27F8
lui $13, 0x0000
ori $13, $13, 0x000F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.36
****************************************************************/
ori $1, $0, 0x0024 /* R1 = TEST ID */
Wait36: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait36
ori $10, $0, 0x0100 /* DMA write #1 */
lui $11, 0x0000
ori $11, $11, 0x2100
lui $13, 0x0000
ori $13, $13, 0x00EF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.37
****************************************************************/
ori $1, $0, 0x0025 /* R1 = TEST ID */
Wait37: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait37
ori $10, $0, 0x08A0 /* DMA write #22 */
lui $11, 0x0000
ori $11, $11, 0x28A0
lui $13, 0x0000
ori $13, $13, 0x005F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.38
****************************************************************/
ori $1, $0, 0x0026 /* R1 = TEST ID */
Wait38: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait38
ori $10, $0, 0x01E8 /* DMA read #2 */
lui $11, 0x0000
ori $11, $11, 0x21E8
ori $12, $0, 0x00E7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.39
****************************************************************/
ori $1, $0, 0x0027 /* R1 = TEST ID */
Wait39: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait39
ori $10, $0, 0x0450 /* DMA read #5 */
lui $11, 0x0000
ori $11, $11, 0x2450
ori $12, $0, 0x00AF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.40
****************************************************************/
ori $1, $0, 0x0028 /* R1 = TEST ID */
Wait40: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait40
ori $10, $0, 0x0E18 /* DMA write #31 */
lui $11, 0x0000
ori $11, $11, 0x2E18
lui $13, 0x0000
ori $13, $13, 0x00F7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.41
****************************************************************/
ori $1, $0, 0x0029 /* R1 = TEST ID */
Wait41: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait41
ori $10, $0, 0x0768 /* DMA read #11 */
lui $11, 0x0000
ori $11, $11, 0x2768
ori $12, $0, 0x004F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.42
****************************************************************/
ori $1, $0, 0x002A /* R1 = TEST ID */
Wait42: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait42
ori $10, $0, 0x0B08 /* DMA write #27 */
lui $11, 0x0000
ori $11, $11, 0x2B08
lui $13, 0x0000
ori $13, $13, 0x00B7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.43
****************************************************************/
ori $1, $0, 0x002B /* R1 = TEST ID */
Wait43: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait43
ori $10, $0, 0x0800 /* DMA write #17 */
lui $11, 0x0000
ori $11, $11, 0x2800
lui $13, 0x0000
ori $13, $13, 0x000F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.44
****************************************************************/
ori $1, $0, 0x002C /* R1 = TEST ID */
Wait44: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait44
ori $10, $0, 0x0968 /* DMA write #24 */
lui $11, 0x0000
ori $11, $11, 0x2968
lui $13, 0x0000
ori $13, $13, 0x007F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.45
****************************************************************/
ori $1, $0, 0x002D /* R1 = TEST ID */
Wait45: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait45
ori $10, $0, 0x09E0 /* DMA write #25 */
lui $11, 0x0000
ori $11, $11, 0x29E0
lui $13, 0x0000
ori $13, $13, 0x0097
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.46
****************************************************************/
ori $1, $0, 0x002E /* R1 = TEST ID */
Wait46: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait46
ori $10, $0, 0x0F00 /* DMA write #32 */
lui $11, 0x0000
ori $11, $11, 0x2F00
lui $13, 0x0000
ori $13, $13, 0x00FF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.47
****************************************************************/
ori $1, $0, 0x002F /* R1 = TEST ID */
Wait47: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait47
ori $10, $0, 0x07B0 /* DMA read #12 */
lui $11, 0x0000
ori $11, $11, 0x27B0
ori $12, $0, 0x0027
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.48
****************************************************************/
ori $1, $0, 0x0030 /* R1 = TEST ID */
Wait48: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait48
ori $10, $0, 0x0620 /* DMA write #8 */
lui $11, 0x0000
ori $11, $11, 0x2620
lui $13, 0x0000
ori $13, $13, 0x0087
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.49
****************************************************************/
ori $1, $0, 0x0031 /* R1 = TEST ID */
Wait49: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait49
ori $10, $0, 0x0768 /* DMA write #11 */
lui $11, 0x0000
ori $11, $11, 0x2768
lui $13, 0x0000
ori $13, $13, 0x004F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.50
****************************************************************/
ori $1, $0, 0x0032 /* R1 = TEST ID */
Wait50: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait50
ori $10, $0, 0x07B0 /* DMA write #12 */
lui $11, 0x0000
ori $11, $11, 0x27B0
lui $13, 0x0000
ori $13, $13, 0x0027
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.51
****************************************************************/
ori $1, $0, 0x0033 /* R1 = TEST ID */
Wait51: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait51
ori $10, $0, 0x08F8 /* DMA read #23 */
lui $11, 0x0000
ori $11, $11, 0x28F8
ori $12, $0, 0x0077
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.52
****************************************************************/
ori $1, $0, 0x0034 /* R1 = TEST ID */
Wait52: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait52
ori $10, $0, 0x0818 /* DMA write #19 */
lui $11, 0x0000
ori $11, $11, 0x2818
lui $13, 0x0000
ori $13, $13, 0x001F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.53
****************************************************************/
ori $1, $0, 0x0035 /* R1 = TEST ID */
Wait53: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait53
ori $10, $0, 0x0C70 /* DMA read #29 */
lui $11, 0x0000
ori $11, $11, 0x2C70
ori $12, $0, 0x00D7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.54
****************************************************************/
ori $1, $0, 0x0036 /* R1 = TEST ID */
Wait54: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait54
ori $10, $0, 0x0800 /* DMA read #16 */
lui $11, 0x0000
ori $11, $11, 0x2800
ori $12, $0, 0x0007
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.55
****************************************************************/
ori $1, $0, 0x0037 /* R1 = TEST ID */
Wait55: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait55
ori $10, $0, 0x0830 /* DMA write #20 */
lui $11, 0x0000
ori $11, $11, 0x2830
lui $13, 0x0000
ori $13, $13, 0x0027
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.56
****************************************************************/
ori $1, $0, 0x0038 /* R1 = TEST ID */
Wait56: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait56
ori $10, $0, 0x01E8 /* DMA write #2 */
lui $11, 0x0000
ori $11, $11, 0x21E8
lui $13, 0x0000
ori $13, $13, 0x00E7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.57
****************************************************************/
ori $1, $0, 0x0039 /* R1 = TEST ID */
Wait57: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait57
ori $10, $0, 0x07E8 /* DMA read #14 */
lui $11, 0x0000
ori $11, $11, 0x27E8
ori $12, $0, 0x0017
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.58
****************************************************************/
ori $1, $0, 0x003A /* R1 = TEST ID */
Wait58: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait58
ori $10, $0, 0x0C70 /* DMA write #29 */
lui $11, 0x0000
ori $11, $11, 0x2C70
lui $13, 0x0000
ori $13, $13, 0x00D7
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.59
****************************************************************/
ori $1, $0, 0x003B /* R1 = TEST ID */
Wait59: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait59
ori $10, $0, 0x0A70 /* DMA write #26 */
lui $11, 0x0000
ori $11, $11, 0x2A70
lui $13, 0x0000
ori $13, $13, 0x009F
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.60
****************************************************************/
ori $1, $0, 0x003C /* R1 = TEST ID */
Wait60: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait60
ori $10, $0, 0x0D40 /* DMA read #30 */
lui $11, 0x0000
ori $11, $11, 0x2D40
ori $12, $0, 0x00DF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
/****************************************************************
DMA TEST #0.61
****************************************************************/
ori $1, $0, 0x003D /* R1 = TEST ID */
Wait61: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait61
ori $10, $0, 0x08F8 /* DMA write #23 */
lui $11, 0x0000
ori $11, $11, 0x28F8
lui $13, 0x0000
ori $13, $13, 0x0077
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.62
****************************************************************/
ori $1, $0, 0x003E /* R1 = TEST ID */
Wait62: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait62
ori $10, $0, 0x0800 /* DMA write #16 */
lui $11, 0x0000
ori $11, $11, 0x2800
lui $13, 0x0000
ori $13, $13, 0x0007
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.63
****************************************************************/
ori $1, $0, 0x003F /* R1 = TEST ID */
Wait63: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait63
ori $10, $0, 0x07E8 /* DMA write #14 */
lui $11, 0x0000
ori $11, $11, 0x27E8
lui $13, 0x0000
ori $13, $13, 0x0017
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.64
****************************************************************/
ori $1, $0, 0x0040 /* R1 = TEST ID */
Wait64: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait64
ori $10, $0, 0x0D40 /* DMA write #30 */
lui $11, 0x0000
ori $11, $11, 0x2D40
lui $13, 0x0000
ori $13, $13, 0x00DF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.65
****************************************************************/
ori $1, $0, 0x0041 /* R1 = TEST ID */
Wait65: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait65
ori $10, $0, 0x0450 /* DMA write #5 */
lui $11, 0x0000
ori $11, $11, 0x2450
lui $13, 0x0000
ori $13, $13, 0x00AF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.66
****************************************************************/
ori $1, $0, 0x0042 /* R1 = TEST ID */
Wait66: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait66
ori $10, $0, 0x0850 /* DMA write #21 */
lui $11, 0x0000
ori $11, $11, 0x2850
lui $13, 0x0000
ori $13, $13, 0x0057
mtc0 $10, $0
mtc0 $11, $1
mtc0 $13, $3
/****************************************************************
DMA TEST #0.67
****************************************************************/
ori $1, $0, 0x0043 /* R1 = TEST ID */
Wait67: mfc0 $14, $4 /* check if DMA full */
andi $15, $14, 0x0008
bne $15, $0, Wait67
Flush67: mfc0 $14, $4 /* check if DMA done */
andi $15, $14, 0x0004
bne $15, $0, Flush67
ori $2, $0, 0x0004 /* Chk resulting DMEM */
ori $4, $0, 0x2FFC /* R4 = expected data */
ori $6, $0, 0x0FFC /* R6 = DMEM chk addr */
Chk67: lw $5, 0x0000 ($6)
bne $5, $4, Fail
sub $6, $6, $2
bne $6, $0, Chk67
sub $4, $4, $2
ori $10, $0, 0x0000 /* Check RDRAM */
lui $11, 0x0000
ori $11, $11, 0x2000
ori $12, $0, 0x0FFF
mtc0 $10, $0
mtc0 $11, $1
mtc0 $12, $2
Dram67: mfc0 $14, $4 /* check if DMA done */
andi $15, $14, 0x0004
bne $15, $0, Dram67
ori $4, $0, 0x2FFC
ori $6, $0, 0x0FFC
Chk267: lw $5, 0x0000 ($6)
bne $5, $4, Fail
sub $6, $6, $2
bne $6, $0, Chk267
sub $4, $4, $2
/****************************************************************
Wrap up ...
****************************************************************/
nop
Done: ori $1, $0, 0xFEED /* Test passed */
break
Time: ori $1, $0, 0xDEAD /* Timed-out from DMA */
break
Fail: break