Last change
on this file since 87361de was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
3.9 KB
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _ebflag
|
---|
| 2 | .globl _ebuf
|
---|
| 3 | .globl _curfet
|
---|
| 4 | .globl _cfetp
|
---|
| 5 | .globl _infetp
|
---|
| 6 | .globl _trkonly
|
---|
| 7 | .data
|
---|
| 8 | _trkonly:
|
---|
| 9 | .dc.w $0
|
---|
| 10 | .globl _curmove
|
---|
| 11 | .globl _curtype
|
---|
| 12 | .globl _cx_key
|
---|
| 13 | .globl _cx_upd
|
---|
| 14 | .globl _cy_key
|
---|
| 15 | .globl _cy_upd
|
---|
| 16 | .globl _d_key
|
---|
| 17 | .globl _e_key
|
---|
| 18 | .globl _m_key
|
---|
| 19 | .globl _not_fld
|
---|
| 20 | .globl _premove
|
---|
| 21 | .globl _pstmove
|
---|
| 22 | .globl _x_key
|
---|
| 23 | .globl _xy_dn
|
---|
| 24 | .globl _xy_up
|
---|
| 25 | .globl _cratex
|
---|
| 26 | .globl _cratey
|
---|
| 27 | .globl _chtime
|
---|
| 28 | .globl _chwait
|
---|
| 29 | .globl _cmfirst
|
---|
| 30 | .globl _cmtype
|
---|
| 31 | .globl _curhold
|
---|
| 32 | .globl _curslim
|
---|
| 33 | .globl _cvtime
|
---|
| 34 | .globl _cvwait
|
---|
| 35 | .globl _cxval
|
---|
| 36 | .globl _cyval
|
---|
| 37 | .globl _hcwval
|
---|
| 38 | .globl _nchwait
|
---|
| 39 | .globl _ncvwait
|
---|
| 40 | .globl _stccol
|
---|
| 41 | .globl _stcrow
|
---|
| 42 | .globl _submenu
|
---|
| 43 | .globl _syrate
|
---|
| 44 | .globl _thcwval
|
---|
| 45 | .globl _tvcwval
|
---|
| 46 | .globl _vcwval
|
---|
| 47 | .globl _infetp
|
---|
| 48 | .globl _cfetp
|
---|
| 49 | .globl _curfet
|
---|
| 50 | .globl _csbp
|
---|
| 51 | .globl _stdctp0
|
---|
| 52 | .text
|
---|
| 53 | _stdctp0:
|
---|
| 54 | ~~stdctp0:
|
---|
| 55 | link R14,#-4
|
---|
| 56 | *line 139
|
---|
| 57 | tst _submenu
|
---|
| 58 | beq L10000
|
---|
| 59 | move #2,R0
|
---|
| 60 | bra L10002
|
---|
| 61 | L10000:move #1,R0
|
---|
| 62 | L10002:bra L1
|
---|
| 63 | L1:unlk R14
|
---|
| 64 | rts
|
---|
| 65 | .globl _stdctp1
|
---|
| 66 | .text
|
---|
| 67 | _stdctp1:
|
---|
| 68 | ~~stdctp1:
|
---|
| 69 | link R14,#-4
|
---|
| 70 | *line 151
|
---|
| 71 | *line 152
|
---|
| 72 | tst _submenu
|
---|
| 73 | beq L3
|
---|
| 74 | *line 152
|
---|
| 75 | move #2,R0
|
---|
| 76 | bra L2
|
---|
| 77 | *line 153
|
---|
| 78 | L3:
|
---|
| 79 | *line 154
|
---|
| 80 | move _cyval,R0
|
---|
| 81 | cmp _curslim,R0
|
---|
| 82 | ble L10003
|
---|
| 83 | move #1,R0
|
---|
| 84 | bra L10005
|
---|
| 85 | L10003:clr R0
|
---|
| 86 | L10005:bra L2
|
---|
| 87 | L2:unlk R14
|
---|
| 88 | rts
|
---|
| 89 | .globl _stdctp2
|
---|
| 90 | .text
|
---|
| 91 | _stdctp2:
|
---|
| 92 | ~~stdctp2:
|
---|
| 93 | link R14,#-4
|
---|
| 94 | *line 166
|
---|
| 95 | clr R0
|
---|
| 96 | bra L4
|
---|
| 97 | L4:unlk R14
|
---|
| 98 | rts
|
---|
| 99 | .globl _stdctp3
|
---|
| 100 | .text
|
---|
| 101 | _stdctp3:
|
---|
| 102 | ~~stdctp3:
|
---|
| 103 | link R14,#-4
|
---|
| 104 | *line 181
|
---|
| 105 | *line 182
|
---|
| 106 | tst _submenu
|
---|
| 107 | beq L6
|
---|
| 108 | *line 182
|
---|
| 109 | move #2,R0
|
---|
| 110 | bra L5
|
---|
| 111 | *line 183
|
---|
| 112 | L6:
|
---|
| 113 | *line 184
|
---|
| 114 | cmp #14,_cyval
|
---|
| 115 | blt L10007
|
---|
| 116 | cmp #237,_cyval
|
---|
| 117 | ble L10006
|
---|
| 118 | L10007:move #3,R0
|
---|
| 119 | bra L10009
|
---|
| 120 | L10006:clr R0
|
---|
| 121 | L10009:bra L5
|
---|
| 122 | L5:unlk R14
|
---|
| 123 | rts
|
---|
| 124 | .globl _stdctp4
|
---|
| 125 | .text
|
---|
| 126 | _stdctp4:
|
---|
| 127 | ~~stdctp4:
|
---|
| 128 | link R14,#-4
|
---|
| 129 | *line 196
|
---|
| 130 | *line 197
|
---|
| 131 | tst _submenu
|
---|
| 132 | beq L8
|
---|
| 133 | *line 197
|
---|
| 134 | move #2,R0
|
---|
| 135 | bra L7
|
---|
| 136 | *line 198
|
---|
| 137 | L8:
|
---|
| 138 | *line 199
|
---|
| 139 | move _cyval,R0
|
---|
| 140 | cmp _curslim,R0
|
---|
| 141 | bge L10010
|
---|
| 142 | move #1,R0
|
---|
| 143 | bra L10012
|
---|
| 144 | L10010:clr R0
|
---|
| 145 | L10012:bra L7
|
---|
| 146 | L7:unlk R14
|
---|
| 147 | rts
|
---|
| 148 | .globl _stdctp5
|
---|
| 149 | .text
|
---|
| 150 | _stdctp5:
|
---|
| 151 | ~~stdctp5:
|
---|
| 152 | link R14,#-4
|
---|
| 153 | *line 211
|
---|
| 154 | tst _submenu
|
---|
| 155 | beq L10013
|
---|
| 156 | move #5,R0
|
---|
| 157 | bra L10015
|
---|
| 158 | L10013:move #4,R0
|
---|
| 159 | L10015:bra L9
|
---|
| 160 | L9:unlk R14
|
---|
| 161 | rts
|
---|
| 162 | .globl _curset
|
---|
| 163 | .text
|
---|
| 164 | _curset:
|
---|
| 165 | ~~curset:
|
---|
| 166 | ~s=R13
|
---|
| 167 | link R14,#0
|
---|
| 168 | movem.l R7-R7/R13-R13,-(sp)
|
---|
| 169 | *line 231
|
---|
| 170 | move.l 8(R14),R13
|
---|
| 171 | *line 231
|
---|
| 172 | move.l (R13),_curtype
|
---|
| 173 | *line 232
|
---|
| 174 | move.l 4(R13),_premove
|
---|
| 175 | *line 233
|
---|
| 176 | move.l 8(R13),_pstmove
|
---|
| 177 | *line 235
|
---|
| 178 | move.l #_cmvgen,_curmove
|
---|
| 179 | *line 237
|
---|
| 180 | *line 237
|
---|
| 181 | tst _trkonly
|
---|
| 182 | beq L11
|
---|
| 183 | *line 238
|
---|
| 184 | *line 239
|
---|
| 185 | move.l #_txstd,_cx_key
|
---|
| 186 | *line 240
|
---|
| 187 | move.l #_tystd,_cy_key
|
---|
| 188 | *line 241
|
---|
| 189 | bra L12
|
---|
| 190 | L11:
|
---|
| 191 | *line 242
|
---|
| 192 | *line 243
|
---|
| 193 | *line 244
|
---|
| 194 | move.l 12(R13),_cx_key
|
---|
| 195 | *line 245
|
---|
| 196 | move.l 16(R13),_cy_key
|
---|
| 197 | L12:
|
---|
| 198 | *line 248
|
---|
| 199 | move.l 20(R13),_cx_upd
|
---|
| 200 | *line 249
|
---|
| 201 | move.l 24(R13),_cy_upd
|
---|
| 202 | *line 250
|
---|
| 203 | move.l 28(R13),_xy_up
|
---|
| 204 | *line 251
|
---|
| 205 | move.l 32(R13),_xy_dn
|
---|
| 206 | *line 252
|
---|
| 207 | move.l 36(R13),_x_key
|
---|
| 208 | *line 253
|
---|
| 209 | move.l 40(R13),_e_key
|
---|
| 210 | *line 254
|
---|
| 211 | move.l 44(R13),_m_key
|
---|
| 212 | *line 255
|
---|
| 213 | move.l 48(R13),_d_key
|
---|
| 214 | *line 256
|
---|
| 215 | move.l 52(R13),_not_fld
|
---|
| 216 | *line 257
|
---|
| 217 | move.l 56(R13),_curfet
|
---|
| 218 | *line 258
|
---|
| 219 | move.l 60(R13),_csbp
|
---|
| 220 | *line 259
|
---|
| 221 | move.l 64(R13),_cratex
|
---|
| 222 | *line 260
|
---|
| 223 | move.l 68(R13),_cratey
|
---|
| 224 | *line 261
|
---|
| 225 | move 72(R13),_cmtype
|
---|
| 226 | *line 262
|
---|
| 227 | move 74(R13),_cxval
|
---|
| 228 | *line 263
|
---|
| 229 | move 76(R13),_cyval
|
---|
| 230 | *line 272
|
---|
| 231 | *line 272
|
---|
| 232 | tst _cmtype
|
---|
| 233 | bne L13
|
---|
| 234 | *line 273
|
---|
| 235 | *line 274
|
---|
| 236 | move _hcwval,_chtime
|
---|
| 237 | *line 275
|
---|
| 238 | move _vcwval,_cvtime
|
---|
| 239 | *line 276
|
---|
| 240 | bra L14
|
---|
| 241 | L13:
|
---|
| 242 | *line 277
|
---|
| 243 | *line 278
|
---|
| 244 | *line 279
|
---|
| 245 | move _thcwval,_chtime
|
---|
| 246 | *line 280
|
---|
| 247 | cmp #4,_cmtype
|
---|
| 248 | bne L10016
|
---|
| 249 | move _syrate,R0
|
---|
| 250 | bra L10018
|
---|
| 251 | L10016:move _tvcwval,R0
|
---|
| 252 | L10018:move R0,_cvtime
|
---|
| 253 | L14:
|
---|
| 254 | *line 283
|
---|
| 255 | move _cxval,R0
|
---|
| 256 | asr #3,R0
|
---|
| 257 | move R0,_stccol
|
---|
| 258 | *line 284
|
---|
| 259 | move _cyval,R0
|
---|
| 260 | ext.l R0
|
---|
| 261 | divs #14,R0
|
---|
| 262 | move R0,_stcrow
|
---|
| 263 | *line 286
|
---|
| 264 | move _chtime,_chwait
|
---|
| 265 | *line 287
|
---|
| 266 | move _cvtime,_cvwait
|
---|
| 267 | *line 289
|
---|
| 268 | move _curhold,_nchwait
|
---|
| 269 | *line 290
|
---|
| 270 | move _curhold,_ncvwait
|
---|
| 271 | *line 292
|
---|
| 272 | move #1,_cmfirst
|
---|
| 273 | *line 294
|
---|
| 274 | clr _ebflag
|
---|
| 275 | *line 295
|
---|
| 276 | move #81,(sp)
|
---|
| 277 | clr -(sp)
|
---|
| 278 | move.l #_ebuf,-(sp)
|
---|
| 279 | jsr _memset
|
---|
| 280 | addq.l #6,sp
|
---|
| 281 | *line 297
|
---|
| 282 | clr.l _cfetp
|
---|
| 283 | *line 298
|
---|
| 284 | clr.l _infetp
|
---|
| 285 | L10:tst.l (sp)+
|
---|
| 286 | movem.l (sp)+,R13-R13
|
---|
| 287 | unlk R14
|
---|
| 288 | rts
|
---|
| 289 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.