Last change
on this file since abd4109 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
2.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 _curtun
|
---|
| 10 | .globl _adbox
|
---|
| 11 | .globl _dspbuf
|
---|
| 12 | .globl _et_atun
|
---|
| 13 | .text
|
---|
| 14 | _et_atun:
|
---|
| 15 | ~~et_atun:
|
---|
| 16 | ~n=8
|
---|
| 17 | link R14,#-4
|
---|
| 18 | *line 39
|
---|
| 19 | move _curtun,(sp)
|
---|
| 20 | move.l #L2,-(sp)
|
---|
| 21 | move.l #_ebuf,-(sp)
|
---|
| 22 | jsr _sprintf
|
---|
| 23 | addq.l #8,sp
|
---|
| 24 | *line 40
|
---|
| 25 | move #1,_ebflag
|
---|
| 26 | *line 42
|
---|
| 27 | clr R0
|
---|
| 28 | bra L1
|
---|
| 29 | L1:unlk R14
|
---|
| 30 | rts
|
---|
| 31 | .globl _ef_atun
|
---|
| 32 | .text
|
---|
| 33 | _ef_atun:
|
---|
| 34 | ~~ef_atun:
|
---|
| 35 | ~n=8
|
---|
| 36 | link R14,#0
|
---|
| 37 | movem.l R6-R7,-(sp)
|
---|
| 38 | ~tmpval=R7
|
---|
| 39 | *line 57
|
---|
| 40 | clr.b 1+_ebuf
|
---|
| 41 | *line 58
|
---|
| 42 | clr _ebflag
|
---|
| 43 | *line 60
|
---|
| 44 | move.b _ebuf,R7
|
---|
| 45 | ext.w R7
|
---|
| 46 | add #-48,R7
|
---|
| 47 | *line 62
|
---|
| 48 | move R7,(sp)
|
---|
| 49 | jsr _gettun
|
---|
| 50 | *line 64
|
---|
| 51 | jsr _modasg
|
---|
| 52 | *line 65
|
---|
| 53 | clr R0
|
---|
| 54 | bra L3
|
---|
| 55 | L3:tst.l (sp)+
|
---|
| 56 | movem.l (sp)+,R7-R7
|
---|
| 57 | unlk R14
|
---|
| 58 | rts
|
---|
| 59 | .globl _rd_atun
|
---|
| 60 | .text
|
---|
| 61 | _rd_atun:
|
---|
| 62 | ~~rd_atun:
|
---|
| 63 | ~nn=8
|
---|
| 64 | link R14,#0
|
---|
| 65 | movem.l R6-R7,-(sp)
|
---|
| 66 | ~n=R7
|
---|
| 67 | *line 83
|
---|
| 68 | move 8(R14),R7
|
---|
| 69 | and #255,R7
|
---|
| 70 | *line 84
|
---|
| 71 | move _curtun,(sp)
|
---|
| 72 | move.l #L5,-(sp)
|
---|
| 73 | move.l #_dspbuf,-(sp)
|
---|
| 74 | jsr _sprintf
|
---|
| 75 | addq.l #8,sp
|
---|
| 76 | *line 86
|
---|
| 77 | clr (sp)
|
---|
| 78 | jsr _vbank
|
---|
| 79 | *line 87
|
---|
| 80 | *line 88
|
---|
| 81 | move #14,(sp)
|
---|
| 82 | move.l #_dspbuf,-(sp)
|
---|
| 83 | move R7,R0
|
---|
| 84 | asl #4,R0
|
---|
| 85 | ext.l R0
|
---|
| 86 | move.l R0,R8
|
---|
| 87 | move.l #_adbox,R9
|
---|
| 88 | move 14(R8,R9.l),-(sp)
|
---|
| 89 | move R7,R0
|
---|
| 90 | asl #4,R0
|
---|
| 91 | ext.l R0
|
---|
| 92 | move.l R0,R8
|
---|
| 93 | move.l #_adbox,R9
|
---|
| 94 | move 12(R8,R9.l),-(sp)
|
---|
| 95 | move R7,R0
|
---|
| 96 | asl #4,R0
|
---|
| 97 | ext.l R0
|
---|
| 98 | move.l R0,R8
|
---|
| 99 | move.l #_adbox,R9
|
---|
| 100 | move 10(R8,R9.l),-(sp)
|
---|
| 101 | move R7,R0
|
---|
| 102 | asl #4,R0
|
---|
| 103 | ext.l R0
|
---|
| 104 | move.l R0,R8
|
---|
| 105 | move.l #_adbox,R9
|
---|
| 106 | move 8(R8,R9.l),-(sp)
|
---|
| 107 | move #64,-(sp)
|
---|
| 108 | move.l _asgob,-(sp)
|
---|
| 109 | jsr _vcputsv
|
---|
| 110 | adda.l #18,sp
|
---|
| 111 | *line 90
|
---|
| 112 | clr R0
|
---|
| 113 | bra L4
|
---|
| 114 | L4:tst.l (sp)+
|
---|
| 115 | movem.l (sp)+,R7-R7
|
---|
| 116 | unlk R14
|
---|
| 117 | rts
|
---|
| 118 | .globl _nd_atun
|
---|
| 119 | .text
|
---|
| 120 | _nd_atun:
|
---|
| 121 | ~~nd_atun:
|
---|
| 122 | ~k=R7
|
---|
| 123 | ~nn=8
|
---|
| 124 | link R14,#0
|
---|
| 125 | movem.l R5-R7,-(sp)
|
---|
| 126 | ~n=R6
|
---|
| 127 | *line 106
|
---|
| 128 | move 10(R14),R7
|
---|
| 129 | *line 106
|
---|
| 130 | move 8(R14),R6
|
---|
| 131 | and #255,R6
|
---|
| 132 | *line 107
|
---|
| 133 | move R7,R0
|
---|
| 134 | add #48,R0
|
---|
| 135 | move.b R0,_ebuf
|
---|
| 136 | *line 108
|
---|
| 137 | clr.b 1+_ebuf
|
---|
| 138 | *line 110
|
---|
| 139 | move R7,R0
|
---|
| 140 | add #48,R0
|
---|
| 141 | move.b R0,_dspbuf
|
---|
| 142 | *line 111
|
---|
| 143 | clr.b 1+_dspbuf
|
---|
| 144 | *line 113
|
---|
| 145 | clr (sp)
|
---|
| 146 | jsr _vbank
|
---|
| 147 | *line 114
|
---|
| 148 | *line 115
|
---|
| 149 | move #14,(sp)
|
---|
| 150 | move.l #_dspbuf,-(sp)
|
---|
| 151 | move _stccol,-(sp)
|
---|
| 152 | move _stcrow,-(sp)
|
---|
| 153 | move R6,R0
|
---|
| 154 | asl #4,R0
|
---|
| 155 | ext.l R0
|
---|
| 156 | move.l R0,R8
|
---|
| 157 | move.l #_adbox,R9
|
---|
| 158 | move 10(R8,R9.l),-(sp)
|
---|
| 159 | move #12,-(sp)
|
---|
| 160 | move #64,-(sp)
|
---|
| 161 | move.l _asgob,-(sp)
|
---|
| 162 | jsr _vcputsv
|
---|
| 163 | adda.l #18,sp
|
---|
| 164 | *line 117
|
---|
| 165 | clr R0
|
---|
| 166 | bra L6
|
---|
| 167 | L6:tst.l (sp)+
|
---|
| 168 | movem.l (sp)+,R6-R7
|
---|
| 169 | unlk R14
|
---|
| 170 | rts
|
---|
| 171 | .data
|
---|
| 172 | L2:.dc.b $25,$30,$31,$2E,$31,$64,$0
|
---|
| 173 | L5:.dc.b $54,$75,$6E,$20,$25,$30,$31,$2E,$31,$64,$0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.