[7bf3856] | 1 | .globl _Cbuffs
|
---|
| 2 | .globl _Stdbufs
|
---|
| 3 | .globl _Stdbuf
|
---|
| 4 | .globl _stmptr
|
---|
| 5 | .globl _defptr
|
---|
| 6 | .globl _patches
|
---|
| 7 | .globl _defents
|
---|
| 8 | .globl _seqtab
|
---|
| 9 | .globl _seqflag
|
---|
| 10 | .globl _seqline
|
---|
| 11 | .globl _seqstim
|
---|
| 12 | .globl _seqtime
|
---|
| 13 | .globl _sregval
|
---|
| 14 | .globl _trstate
|
---|
| 15 | .globl _filecat
|
---|
| 16 | .globl _errno
|
---|
| 17 | .globl _sqioerr
|
---|
| 18 | .text
|
---|
| 19 | _sqioerr:
|
---|
| 20 | ~~sqioerr:
|
---|
| 21 | link R14,#-44
|
---|
| 22 | ~erms=-40
|
---|
| 23 | *line 30
|
---|
| 24 | jsr _clrlsel
|
---|
| 25 | *line 32
|
---|
| 26 | move _errno,(sp)
|
---|
| 27 | move.l #L2,-(sp)
|
---|
| 28 | move.l R14,-(sp)
|
---|
| 29 | add.l #-40,(sp)
|
---|
| 30 | jsr _sprintf
|
---|
| 31 | addq.l #8,sp
|
---|
| 32 | *line 34
|
---|
| 33 | *line 35
|
---|
| 34 | move #9,(sp)
|
---|
| 35 | move #14,-(sp)
|
---|
| 36 | move.l R14,-(sp)
|
---|
| 37 | add.l #-40,(sp)
|
---|
| 38 | move.l #L4,-(sp)
|
---|
| 39 | move.l #L3,-(sp)
|
---|
| 40 | jsr _ldermsg
|
---|
| 41 | adda.l #14,sp
|
---|
| 42 | L1:unlk R14
|
---|
| 43 | rts
|
---|
| 44 | .globl _sqread
|
---|
| 45 | .text
|
---|
| 46 | _sqread:
|
---|
| 47 | ~~sqread:
|
---|
| 48 | ~fp=R13
|
---|
| 49 | link R14,#-4
|
---|
| 50 | movem.l R7-R7/R13-R13,-(sp)
|
---|
| 51 | ~cb=-2
|
---|
| 52 | ~seq=-4
|
---|
| 53 | *line 54
|
---|
| 54 | move.l 8(R14),R13
|
---|
| 55 | *line 55
|
---|
| 56 | move #9,(sp)
|
---|
| 57 | move #12,-(sp)
|
---|
| 58 | move.l #L7,-(sp)
|
---|
| 59 | clr.l -(sp)
|
---|
| 60 | move.l #L6,-(sp)
|
---|
| 61 | jsr _ldwmsg
|
---|
| 62 | adda.l #14,sp
|
---|
| 63 | L10:
|
---|
| 64 | *line 57
|
---|
| 65 | *line 58
|
---|
| 66 | *line 59
|
---|
| 67 | *line 59
|
---|
| 68 | move.l #$1,(sp)
|
---|
| 69 | move.l R14,-(sp)
|
---|
| 70 | sub.l #2,(sp)
|
---|
| 71 | move.l R13,-(sp)
|
---|
| 72 | jsr _rd_ec
|
---|
| 73 | addq.l #8,sp
|
---|
| 74 | tst R0
|
---|
| 75 | beq L11
|
---|
| 76 | *line 60
|
---|
| 77 | *line 61
|
---|
| 78 | jsr _sqioerr
|
---|
| 79 | *line 62
|
---|
| 80 | move #-1,R0
|
---|
| 81 | bra L5
|
---|
| 82 | *line 63
|
---|
| 83 | *line 64
|
---|
| 84 | L11:
|
---|
| 85 | *line 65
|
---|
| 86 | *line 66
|
---|
| 87 | tst.b -2(R14)
|
---|
| 88 | bne L12
|
---|
| 89 | *line 66
|
---|
| 90 | clr R0
|
---|
| 91 | bra L5
|
---|
| 92 | *line 67
|
---|
| 93 | L12:
|
---|
| 94 | *line 68
|
---|
| 95 | *line 68
|
---|
| 96 | move.l #$2,(sp)
|
---|
| 97 | move.l R14,-(sp)
|
---|
| 98 | sub.l #4,(sp)
|
---|
| 99 | move.l R13,-(sp)
|
---|
| 100 | jsr _rd_ec
|
---|
| 101 | addq.l #8,sp
|
---|
| 102 | tst R0
|
---|
| 103 | beq L13
|
---|
| 104 | *line 69
|
---|
| 105 | *line 70
|
---|
| 106 | jsr _sqioerr
|
---|
| 107 | *line 71
|
---|
| 108 | move #-1,R0
|
---|
| 109 | bra L5
|
---|
| 110 | *line 72
|
---|
| 111 | *line 73
|
---|
| 112 | L13:
|
---|
| 113 | *line 74
|
---|
| 114 | *line 74
|
---|
| 115 | btst #3,-2(R14)
|
---|
| 116 | beq L14
|
---|
| 117 | *line 75
|
---|
| 118 | *line 76
|
---|
| 119 | *line 76
|
---|
| 120 | move.l #$2,(sp)
|
---|
| 121 | move -4(R14),R0
|
---|
| 122 | muls #14,R0
|
---|
| 123 | add.l #_seqtab,R0
|
---|
| 124 | move.l R0,-(sp)
|
---|
| 125 | move.l R13,-(sp)
|
---|
| 126 | jsr _rd_ec
|
---|
| 127 | addq.l #8,sp
|
---|
| 128 | tst R0
|
---|
| 129 | beq L15
|
---|
| 130 | *line 77
|
---|
| 131 | *line 78
|
---|
| 132 | jsr _sqioerr
|
---|
| 133 | *line 79
|
---|
| 134 | move #-1,R0
|
---|
| 135 | bra L5
|
---|
| 136 | *line 80
|
---|
| 137 | L15:
|
---|
| 138 | *line 81
|
---|
| 139 | *line 82
|
---|
| 140 | *line 83
|
---|
| 141 | L14:
|
---|
| 142 | *line 84
|
---|
| 143 | *line 84
|
---|
| 144 | btst #2,-2(R14)
|
---|
| 145 | beq L16
|
---|
| 146 | *line 85
|
---|
| 147 | *line 86
|
---|
| 148 | *line 86
|
---|
| 149 | move.l #$4,(sp)
|
---|
| 150 | move -4(R14),R0
|
---|
| 151 | muls #14,R0
|
---|
| 152 | add.l #_seqtab,R0
|
---|
| 153 | move.l R0,-(sp)
|
---|
| 154 | add.l #2,(sp)
|
---|
| 155 | move.l R13,-(sp)
|
---|
| 156 | jsr _rd_ec
|
---|
| 157 | addq.l #8,sp
|
---|
| 158 | tst R0
|
---|
| 159 | beq L17
|
---|
| 160 | *line 87
|
---|
| 161 | *line 88
|
---|
| 162 | jsr _sqioerr
|
---|
| 163 | *line 89
|
---|
| 164 | move #-1,R0
|
---|
| 165 | bra L5
|
---|
| 166 | *line 90
|
---|
| 167 | L17:
|
---|
| 168 | *line 91
|
---|
| 169 | *line 92
|
---|
| 170 | L16:
|
---|
| 171 | *line 93
|
---|
| 172 | *line 93
|
---|
| 173 | btst #1,-2(R14)
|
---|
| 174 | beq L18
|
---|
| 175 | *line 94
|
---|
| 176 | *line 95
|
---|
| 177 | *line 95
|
---|
| 178 | move.l #$4,(sp)
|
---|
| 179 | move -4(R14),R0
|
---|
| 180 | muls #14,R0
|
---|
| 181 | add.l #_seqtab,R0
|
---|
| 182 | move.l R0,-(sp)
|
---|
| 183 | add.l #6,(sp)
|
---|
| 184 | move.l R13,-(sp)
|
---|
| 185 | jsr _rd_ec
|
---|
| 186 | addq.l #8,sp
|
---|
| 187 | tst R0
|
---|
| 188 | beq L19
|
---|
| 189 | *line 96
|
---|
| 190 | *line 97
|
---|
| 191 | jsr _sqioerr
|
---|
| 192 | *line 98
|
---|
| 193 | move #-1,R0
|
---|
| 194 | bra L5
|
---|
| 195 | *line 99
|
---|
| 196 | L19:
|
---|
| 197 | *line 100
|
---|
| 198 | *line 101
|
---|
| 199 | L18:
|
---|
| 200 | *line 102
|
---|
| 201 | *line 102
|
---|
| 202 | btst #0,-2(R14)
|
---|
| 203 | beq L20
|
---|
| 204 | *line 103
|
---|
| 205 | *line 104
|
---|
| 206 | *line 104
|
---|
| 207 | move.l #$4,(sp)
|
---|
| 208 | move -4(R14),R0
|
---|
| 209 | muls #14,R0
|
---|
| 210 | add.l #_seqtab,R0
|
---|
| 211 | move.l R0,-(sp)
|
---|
| 212 | add.l #10,(sp)
|
---|
| 213 | move.l R13,-(sp)
|
---|
| 214 | jsr _rd_ec
|
---|
| 215 | addq.l #8,sp
|
---|
| 216 | tst R0
|
---|
| 217 | beq L21
|
---|
| 218 | *line 105
|
---|
| 219 | *line 106
|
---|
| 220 | jsr _sqioerr
|
---|
| 221 | *line 107
|
---|
| 222 | move #-1,R0
|
---|
| 223 | bra L5
|
---|
| 224 | *line 108
|
---|
| 225 | L21:
|
---|
| 226 | *line 109
|
---|
| 227 | L20:L9:bra L10
|
---|
| 228 | L8:L5:tst.l (sp)+
|
---|
| 229 | movem.l (sp)+,R13-R13
|
---|
| 230 | unlk R14
|
---|
| 231 | rts
|
---|
| 232 | .data
|
---|
| 233 | L2:.dc.b $20,$20,$65,$72,$72,$6E,$6F,$20,$3D,$20,$25,$64,$0
|
---|
| 234 | L3:.dc.b $43,$6F,$75,$6C,$64,$6E,$27,$74,$20,$72,$65,$61,$64,$0
|
---|
| 235 | L4:.dc.b $20,$74,$68,$65,$20,$73,$65,$71,$75,$65,$6E,$63,$65,$20,$74,$61,$62,$6C,$65,$0
|
---|
| 236 | L6:.dc.b $20,$42,$75,$73,$79,$20,$2D,$2D,$20,$70,$6C,$65,$61,$73,$65,$20,$73,$74,$61,$6E,$64,$20,$62,$79,$0
|
---|
| 237 | L7:.dc.b $20,$20,$52,$65,$61,$64,$69,$6E,$67,$20,$73,$65,$71,$75,$65,$6E,$63,$65,$73,$0
|
---|