Last change
on this file since 0170798 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
3.3 KB
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _ebflag
|
---|
| 2 | .globl _ebuf
|
---|
| 3 | .globl _curfet
|
---|
| 4 | .globl _cfetp
|
---|
| 5 | .globl _infetp
|
---|
| 6 | .globl _asgob
|
---|
| 7 | .globl _stcrow
|
---|
| 8 | .globl _stccol
|
---|
| 9 | .globl _dspbuf
|
---|
| 10 | .globl _gprep
|
---|
| 11 | .globl _key2grp
|
---|
| 12 | .globl _adbox
|
---|
| 13 | .globl _grp2prt
|
---|
| 14 | .globl _et_agpt
|
---|
| 15 | .text
|
---|
| 16 | _et_agpt:
|
---|
| 17 | ~~et_agpt:
|
---|
| 18 | ~n=8
|
---|
| 19 | link R14,#0
|
---|
| 20 | movem.l R6-R7,-(sp)
|
---|
| 21 | ~grp=R7
|
---|
| 22 | *line 48
|
---|
| 23 | move 8(R14),R7
|
---|
| 24 | asr #8,R7
|
---|
| 25 | and #255,R7
|
---|
| 26 | *line 50
|
---|
| 27 | move R7,R8
|
---|
| 28 | add.l R8,R8
|
---|
| 29 | add.l R8,R8
|
---|
| 30 | move.l #_grp2prt,R9
|
---|
| 31 | move 0(R8,R9.l),R0
|
---|
| 32 | move.b R0,_ebuf
|
---|
| 33 | *line 51
|
---|
| 34 | clr.b 1+_ebuf
|
---|
| 35 | *line 53
|
---|
| 36 | move #1,_ebflag
|
---|
| 37 | *line 55
|
---|
| 38 | clr R0
|
---|
| 39 | bra L1
|
---|
| 40 | L1:tst.l (sp)+
|
---|
| 41 | movem.l (sp)+,R7-R7
|
---|
| 42 | unlk R14
|
---|
| 43 | rts
|
---|
| 44 | .globl _ef_agpt
|
---|
| 45 | .text
|
---|
| 46 | _ef_agpt:
|
---|
| 47 | ~~ef_agpt:
|
---|
| 48 | ~n=8
|
---|
| 49 | link R14,#0
|
---|
| 50 | movem.l R4-R7,-(sp)
|
---|
| 51 | ~tmpval=R7
|
---|
| 52 | ~grp=R6
|
---|
| 53 | ~i=R5
|
---|
| 54 | *line 70
|
---|
| 55 | move 8(R14),R6
|
---|
| 56 | asr #8,R6
|
---|
| 57 | and #255,R6
|
---|
| 58 | *line 72
|
---|
| 59 | clr.b 1+_ebuf
|
---|
| 60 | *line 73
|
---|
| 61 | clr _ebflag
|
---|
| 62 | *line 75
|
---|
| 63 | move.b _ebuf,R0
|
---|
| 64 | ext.w R0
|
---|
| 65 | move R6,R9
|
---|
| 66 | add.l R9,R9
|
---|
| 67 | add.l R9,R9
|
---|
| 68 | add.l #_grp2prt,R9
|
---|
| 69 | move R0,(R9)
|
---|
| 70 | *line 77
|
---|
| 71 | *line 78
|
---|
| 72 | move R6,R8
|
---|
| 73 | add.l R8,R8
|
---|
| 74 | add.l R8,R8
|
---|
| 75 | add.l #_grp2prt,R8
|
---|
| 76 | cmp #1,(R8)
|
---|
| 77 | beq L3
|
---|
| 78 | *line 78
|
---|
| 79 | clr R5
|
---|
| 80 | bra L6
|
---|
| 81 | L7:
|
---|
| 82 | *line 79
|
---|
| 83 | move #1,R0
|
---|
| 84 | move R6,R1
|
---|
| 85 | asl R1,R0
|
---|
| 86 | not R0
|
---|
| 87 | move R5,R9
|
---|
| 88 | add.l R9,R9
|
---|
| 89 | add.l #_key2grp,R9
|
---|
| 90 | and R0,(R9)
|
---|
| 91 | L5:
|
---|
| 92 | *line 78
|
---|
| 93 | add #1,R5
|
---|
| 94 | L6:
|
---|
| 95 | *line 78
|
---|
| 96 | cmp #88,R5
|
---|
| 97 | blt L7
|
---|
| 98 | L4:
|
---|
| 99 | *line 79
|
---|
| 100 | *line 80
|
---|
| 101 | L3:
|
---|
| 102 | *line 81
|
---|
| 103 | move R6,(sp)
|
---|
| 104 | jsr _drawk2g
|
---|
| 105 | *line 83
|
---|
| 106 | jsr _modasg
|
---|
| 107 | *line 84
|
---|
| 108 | clr R0
|
---|
| 109 | bra L2
|
---|
| 110 | L2:tst.l (sp)+
|
---|
| 111 | movem.l (sp)+,R5-R7
|
---|
| 112 | unlk R14
|
---|
| 113 | rts
|
---|
| 114 | .globl _rd_agpt
|
---|
| 115 | .text
|
---|
| 116 | _rd_agpt:
|
---|
| 117 | ~~rd_agpt:
|
---|
| 118 | ~nn=8
|
---|
| 119 | link R14,#0
|
---|
| 120 | movem.l R5-R7,-(sp)
|
---|
| 121 | ~n=R7
|
---|
| 122 | ~grp=R6
|
---|
| 123 | *line 102
|
---|
| 124 | move 8(R14),R7
|
---|
| 125 | and #255,R7
|
---|
| 126 | *line 103
|
---|
| 127 | move 8(R14),R6
|
---|
| 128 | asr #8,R6
|
---|
| 129 | and #255,R6
|
---|
| 130 | *line 105
|
---|
| 131 | clr (sp)
|
---|
| 132 | jsr _vbank
|
---|
| 133 | *line 106
|
---|
| 134 | *line 107
|
---|
| 135 | move #14,(sp)
|
---|
| 136 | move R6,R8
|
---|
| 137 | add.l R8,R8
|
---|
| 138 | add.l R8,R8
|
---|
| 139 | move.l #_grp2prt,R9
|
---|
| 140 | move 0(R8,R9.l),R8
|
---|
| 141 | add.l R8,R8
|
---|
| 142 | add.l R8,R8
|
---|
| 143 | move.l #_gprep,R9
|
---|
| 144 | move.l 0(R8,R9.l),-(sp)
|
---|
| 145 | move.l _cfetp,R8
|
---|
| 146 | move 2(R8),-(sp)
|
---|
| 147 | move.l _cfetp,R8
|
---|
| 148 | move (R8),-(sp)
|
---|
| 149 | move R7,R0
|
---|
| 150 | asl #4,R0
|
---|
| 151 | ext.l R0
|
---|
| 152 | move.l R0,R8
|
---|
| 153 | move.l #_adbox,R9
|
---|
| 154 | move 10(R8,R9.l),-(sp)
|
---|
| 155 | move R7,R0
|
---|
| 156 | asl #4,R0
|
---|
| 157 | ext.l R0
|
---|
| 158 | move.l R0,R8
|
---|
| 159 | move.l #_adbox,R9
|
---|
| 160 | move 8(R8,R9.l),-(sp)
|
---|
| 161 | move #64,-(sp)
|
---|
| 162 | move.l _asgob,-(sp)
|
---|
| 163 | jsr _vcputsv
|
---|
| 164 | adda.l #18,sp
|
---|
| 165 | *line 109
|
---|
| 166 | clr R0
|
---|
| 167 | bra L8
|
---|
| 168 | L8:tst.l (sp)+
|
---|
| 169 | movem.l (sp)+,R6-R7
|
---|
| 170 | unlk R14
|
---|
| 171 | rts
|
---|
| 172 | .globl _nd_agpt
|
---|
| 173 | .text
|
---|
| 174 | _nd_agpt:
|
---|
| 175 | ~~nd_agpt:
|
---|
| 176 | ~k=R7
|
---|
| 177 | ~nn=8
|
---|
| 178 | link R14,#0
|
---|
| 179 | movem.l R5-R7,-(sp)
|
---|
| 180 | ~n=R6
|
---|
| 181 | *line 125
|
---|
| 182 | move 10(R14),R7
|
---|
| 183 | *line 125
|
---|
| 184 | move 8(R14),R6
|
---|
| 185 | and #255,R6
|
---|
| 186 | *line 127
|
---|
| 187 | *line 127
|
---|
| 188 | cmp #8,R7
|
---|
| 189 | bne L10
|
---|
| 190 | *line 128
|
---|
| 191 | *line 129
|
---|
| 192 | *line 130
|
---|
| 193 | sub.b #1,_ebuf
|
---|
| 194 | bge L11
|
---|
| 195 | *line 130
|
---|
| 196 | move.b #3,_ebuf
|
---|
| 197 | *line 131
|
---|
| 198 | L11:bra L12
|
---|
| 199 | L10:
|
---|
| 200 | *line 132
|
---|
| 201 | *line 132
|
---|
| 202 | cmp #9,R7
|
---|
| 203 | bne L13
|
---|
| 204 | *line 133
|
---|
| 205 | *line 134
|
---|
| 206 | *line 135
|
---|
| 207 | move.b _ebuf,R0
|
---|
| 208 | ext.w R0
|
---|
| 209 | add #1,R0
|
---|
| 210 | move.b R0,_ebuf
|
---|
| 211 | cmp #3,R0
|
---|
| 212 | ble L14
|
---|
| 213 | *line 135
|
---|
| 214 | clr.b _ebuf
|
---|
| 215 | *line 136
|
---|
| 216 | L14:bra L15
|
---|
| 217 | L13:
|
---|
| 218 | *line 137
|
---|
| 219 | *line 138
|
---|
| 220 | *line 139
|
---|
| 221 | move #-1,R0
|
---|
| 222 | bra L9
|
---|
| 223 | L15:L12:
|
---|
| 224 | *line 142
|
---|
| 225 | move.b _ebuf,R0
|
---|
| 226 | ext.w R0
|
---|
| 227 | move R0,R8
|
---|
| 228 | add.l R8,R8
|
---|
| 229 | add.l R8,R8
|
---|
| 230 | move.l #_gprep,R9
|
---|
| 231 | move.l 0(R8,R9.l),R8
|
---|
| 232 | move.b (R8),_dspbuf
|
---|
| 233 | *line 143
|
---|
| 234 | clr.b 1+_dspbuf
|
---|
| 235 | *line 145
|
---|
| 236 | clr (sp)
|
---|
| 237 | jsr _vbank
|
---|
| 238 | *line 146
|
---|
| 239 | move #14,(sp)
|
---|
| 240 | move.l #_dspbuf,-(sp)
|
---|
| 241 | move _stccol,-(sp)
|
---|
| 242 | move _stcrow,-(sp)
|
---|
| 243 | move R6,R0
|
---|
| 244 | asl #4,R0
|
---|
| 245 | ext.l R0
|
---|
| 246 | move.l R0,R8
|
---|
| 247 | move.l #_adbox,R9
|
---|
| 248 | move 10(R8,R9.l),-(sp)
|
---|
| 249 | move #12,-(sp)
|
---|
| 250 | move #64,-(sp)
|
---|
| 251 | move.l _asgob,-(sp)
|
---|
| 252 | jsr _vcputsv
|
---|
| 253 | adda.l #18,sp
|
---|
| 254 | *line 148
|
---|
| 255 | clr R0
|
---|
| 256 | bra L9
|
---|
| 257 | L9:tst.l (sp)+
|
---|
| 258 | movem.l (sp)+,R6-R7
|
---|
| 259 | unlk R14
|
---|
| 260 | rts
|
---|
| 261 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.