Qbus hard disk controller

From: der Mouse <mouse_at_Rodents.Montreal.QC.CA>
Date: Sun Jun 13 22:04:26 2004

> Here is the MSCP boot code from the System Release Notes of V05.00
> page 4-9 in Chapter 4: [...]

> If really interested, we can provide the equivalent instructions in
> MACRO-11.

076000: clr r0 [005000]
076002: mov #172150,r1 [012701 172150]
076006: mov #076156,r4 [012704 076156]
076012: mov #004000,r5 [012705 004000]
076016: mov r1,r2 [010102]
076020: mov r0,(r2)+ [010022]
076022: tst (r2) [005712]
076024: bmi 076006 [100770]
076026: bit (r2),r5 [031205]
076030: br 076034 [000401]
076032: bic (r1)+,(r5)+ [042125]
076034: beq 076022 [001772]
076036: mov -(r4),(r2) [014412]
076040: asl r5 [006305]
076042: bpl 076022 [100367]
076044: tstb -(r4) [105744]
076046: bne 076054 [001002]
076050: mov pc,r4 [010704]
076052: clr pc [005007]
076054: clr r2 [005002]
076056: clr (r2)+ [005022]
076060: cmp r2,#017204 [020227 017204]
076064: blo 076056 [103774]
076066: incb _at_#017101 [105237 017101]
076072: mov r0,_at_#017110 [010037 017110]
076076: movb (r4),_at_#017114 [111437 017114]
076102: movb -(r4),_at_#017121 [114437 017121]
076106: mov #017004,(r2)+ [012722 017004]
076112: mov r5,(r2)+ [010522]
076114: mov #017104,(r2)+ [012722 017104]
076120: mov r5,(r2) [010512]
076122: cmp -(r2),-(r2) [024242]
076124: tst (r1) [005711]
076126: tst (r2) [005712]
076130: bmi 076126 [100776]
076132: tst _at_#017016 [005737 017016]
076136: beq 076044 [001742]
076140: halt [000000]
076142: cmp r4,r2 [020402]
076144: jsr r4,r0 [004400]
076146: wait [000001]
076150: halt [000000]
076152: mov _at_100000(r2),r4 [017204 100000]

Of course, this is assuming the transcription given was correct.

/~\ The ASCII der Mouse
\ / Ribbon Campaign
 X Against HTML mouse_at_rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Received on Sun Jun 13 2004 - 22:04:26 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:57 BST