[7bf3856] | 1 | .globl _DB_In
|
---|
| 2 | .comm _DB_In,2
|
---|
| 3 | .globl _DB_Out
|
---|
| 4 | .comm _DB_Out,2
|
---|
| 5 | .globl _DB_Flag
|
---|
| 6 | .comm _DB_Flag,2
|
---|
| 7 | .globl _DB_Levl
|
---|
| 8 | .comm _DB_Levl,4
|
---|
| 9 | .globl _DB_Last
|
---|
| 10 | .comm _DB_Last,4
|
---|
| 11 | .globl _DB_Ents
|
---|
| 12 | .comm _DB_Ents,1536
|
---|
| 13 | .globl _DB_Type
|
---|
| 14 | .data
|
---|
| 15 | _DB_Type:
|
---|
| 16 | *line 61
|
---|
| 17 | .dc.l L1
|
---|
| 18 | *line 62
|
---|
| 19 | .dc.l L2
|
---|
| 20 | *line 64
|
---|
| 21 | .dc.l L3
|
---|
| 22 | .globl _DB_Entr
|
---|
| 23 | .text
|
---|
| 24 | _DB_Entr:
|
---|
| 25 | ~~DB_Entr:
|
---|
| 26 | ~str=8
|
---|
| 27 | link R14,#-4
|
---|
| 28 | *line 78
|
---|
| 29 | move _DB_In,R0
|
---|
| 30 | muls #6,R0
|
---|
| 31 | add.l #_DB_Ents,R0
|
---|
| 32 | move.l R0,R8
|
---|
| 33 | clr 4(R8)
|
---|
| 34 | *line 79
|
---|
| 35 | move _DB_In,R0
|
---|
| 36 | muls #6,R0
|
---|
| 37 | add.l #_DB_Ents,R0
|
---|
| 38 | move.l R0,R8
|
---|
| 39 | move.l 8(R14),(R8)
|
---|
| 40 | *line 81
|
---|
| 41 | move.l 8(R14),_DB_Last
|
---|
| 42 | *line 83
|
---|
| 43 | add.l #$1,_DB_Levl
|
---|
| 44 | *line 85
|
---|
| 45 | *line 86
|
---|
| 46 | add #1,_DB_In
|
---|
| 47 | move _DB_In,R0
|
---|
| 48 | cmp #256,R0
|
---|
| 49 | blt L5
|
---|
| 50 | *line 86
|
---|
| 51 | clr _DB_In
|
---|
| 52 | *line 87
|
---|
| 53 | L5:
|
---|
| 54 | *line 88
|
---|
| 55 | *line 88
|
---|
| 56 | move _DB_In,R0
|
---|
| 57 | cmp _DB_Out,R0
|
---|
| 58 | bne L6
|
---|
| 59 | *line 89
|
---|
| 60 | *line 90
|
---|
| 61 | *line 91
|
---|
| 62 | add #1,_DB_Out
|
---|
| 63 | move _DB_Out,R0
|
---|
| 64 | cmp #256,R0
|
---|
| 65 | blt L7
|
---|
| 66 | *line 91
|
---|
| 67 | clr _DB_Out
|
---|
| 68 | L7:
|
---|
| 69 | *line 92
|
---|
| 70 | L6:L4:unlk R14
|
---|
| 71 | rts
|
---|
| 72 | .globl _DB_Exit
|
---|
| 73 | .text
|
---|
| 74 | _DB_Exit:
|
---|
| 75 | ~~DB_Exit:
|
---|
| 76 | ~str=8
|
---|
| 77 | link R14,#-4
|
---|
| 78 | *line 107
|
---|
| 79 | move _DB_In,R0
|
---|
| 80 | muls #6,R0
|
---|
| 81 | add.l #_DB_Ents,R0
|
---|
| 82 | move.l R0,R8
|
---|
| 83 | move #1,4(R8)
|
---|
| 84 | *line 108
|
---|
| 85 | move _DB_In,R0
|
---|
| 86 | muls #6,R0
|
---|
| 87 | add.l #_DB_Ents,R0
|
---|
| 88 | move.l R0,R8
|
---|
| 89 | move.l 8(R14),(R8)
|
---|
| 90 | *line 110
|
---|
| 91 | move.l 8(R14),_DB_Last
|
---|
| 92 | *line 112
|
---|
| 93 | *line 113
|
---|
| 94 | tst.l _DB_Levl
|
---|
| 95 | ble L9
|
---|
| 96 | *line 113
|
---|
| 97 | sub.l #$1,_DB_Levl
|
---|
| 98 | *line 114
|
---|
| 99 | bra L10
|
---|
| 100 | L9:
|
---|
| 101 | *line 115
|
---|
| 102 | clr.l _DB_Levl
|
---|
| 103 | L10:
|
---|
| 104 | *line 117
|
---|
| 105 | *line 118
|
---|
| 106 | add #1,_DB_In
|
---|
| 107 | move _DB_In,R0
|
---|
| 108 | cmp #256,R0
|
---|
| 109 | blt L11
|
---|
| 110 | *line 118
|
---|
| 111 | clr _DB_In
|
---|
| 112 | *line 119
|
---|
| 113 | L11:
|
---|
| 114 | *line 120
|
---|
| 115 | *line 120
|
---|
| 116 | move _DB_In,R0
|
---|
| 117 | cmp _DB_Out,R0
|
---|
| 118 | bne L12
|
---|
| 119 | *line 121
|
---|
| 120 | *line 122
|
---|
| 121 | *line 123
|
---|
| 122 | add #1,_DB_Out
|
---|
| 123 | move _DB_Out,R0
|
---|
| 124 | cmp #256,R0
|
---|
| 125 | blt L13
|
---|
| 126 | *line 123
|
---|
| 127 | clr _DB_Out
|
---|
| 128 | L13:
|
---|
| 129 | *line 124
|
---|
| 130 | L12:L8:unlk R14
|
---|
| 131 | rts
|
---|
| 132 | .globl _DB_Cmnt
|
---|
| 133 | .text
|
---|
| 134 | _DB_Cmnt:
|
---|
| 135 | ~~DB_Cmnt:
|
---|
| 136 | ~str=8
|
---|
| 137 | link R14,#-4
|
---|
| 138 | *line 139
|
---|
| 139 | move _DB_In,R0
|
---|
| 140 | muls #6,R0
|
---|
| 141 | add.l #_DB_Ents,R0
|
---|
| 142 | move.l R0,R8
|
---|
| 143 | move #2,4(R8)
|
---|
| 144 | *line 140
|
---|
| 145 | move _DB_In,R0
|
---|
| 146 | muls #6,R0
|
---|
| 147 | add.l #_DB_Ents,R0
|
---|
| 148 | move.l R0,R8
|
---|
| 149 | move.l 8(R14),(R8)
|
---|
| 150 | *line 142
|
---|
| 151 | move.l 8(R14),_DB_Last
|
---|
| 152 | *line 144
|
---|
| 153 | *line 145
|
---|
| 154 | add #1,_DB_In
|
---|
| 155 | move _DB_In,R0
|
---|
| 156 | cmp #256,R0
|
---|
| 157 | blt L15
|
---|
| 158 | *line 145
|
---|
| 159 | clr _DB_In
|
---|
| 160 | *line 146
|
---|
| 161 | L15:
|
---|
| 162 | *line 147
|
---|
| 163 | *line 147
|
---|
| 164 | move _DB_In,R0
|
---|
| 165 | cmp _DB_Out,R0
|
---|
| 166 | bne L16
|
---|
| 167 | *line 148
|
---|
| 168 | *line 149
|
---|
| 169 | *line 150
|
---|
| 170 | add #1,_DB_Out
|
---|
| 171 | move _DB_Out,R0
|
---|
| 172 | cmp #256,R0
|
---|
| 173 | blt L17
|
---|
| 174 | *line 150
|
---|
| 175 | clr _DB_Out
|
---|
| 176 | L17:
|
---|
| 177 | *line 151
|
---|
| 178 | L16:L14:unlk R14
|
---|
| 179 | rts
|
---|
| 180 | .globl _DB_Clr
|
---|
| 181 | .text
|
---|
| 182 | _DB_Clr:
|
---|
| 183 | ~~DB_Clr:
|
---|
| 184 | link R14,#0
|
---|
| 185 | movem.l R6-R7,-(sp)
|
---|
| 186 | ~i=R7
|
---|
| 187 | *line 167
|
---|
| 188 | clr _DB_In
|
---|
| 189 | *line 168
|
---|
| 190 | clr _DB_Out
|
---|
| 191 | *line 170
|
---|
| 192 | clr R7
|
---|
| 193 | bra L21
|
---|
| 194 | L22:
|
---|
| 195 | *line 171
|
---|
| 196 | *line 172
|
---|
| 197 | move R7,R0
|
---|
| 198 | muls #6,R0
|
---|
| 199 | add.l #_DB_Ents,R0
|
---|
| 200 | move.l R0,R8
|
---|
| 201 | clr 4(R8)
|
---|
| 202 | *line 173
|
---|
| 203 | move R7,R0
|
---|
| 204 | muls #6,R0
|
---|
| 205 | add.l #_DB_Ents,R0
|
---|
| 206 | move.l R0,R8
|
---|
| 207 | move.l #$0,(R8)
|
---|
| 208 | L20:
|
---|
| 209 | *line 170
|
---|
| 210 | add #1,R7
|
---|
| 211 | L21:
|
---|
| 212 | *line 170
|
---|
| 213 | cmp #256,R7
|
---|
| 214 | blt L22
|
---|
| 215 | L19:
|
---|
| 216 | *line 176
|
---|
| 217 | clr.l _DB_Levl
|
---|
| 218 | *line 177
|
---|
| 219 | clr.l _DB_Last
|
---|
| 220 | L18:tst.l (sp)+
|
---|
| 221 | movem.l (sp)+,R7-R7
|
---|
| 222 | unlk R14
|
---|
| 223 | rts
|
---|
| 224 | .globl _DB_Dump
|
---|
| 225 | .text
|
---|
| 226 | _DB_Dump:
|
---|
| 227 | ~~DB_Dump:
|
---|
| 228 | link R14,#0
|
---|
| 229 | movem.l R4-R7,-(sp)
|
---|
| 230 | ~tag=R7
|
---|
| 231 | ~i=R6
|
---|
| 232 | ~lev=R5
|
---|
| 233 | *line 194
|
---|
| 234 | *line 194
|
---|
| 235 | cmp #256,_DB_In
|
---|
| 236 | bge L10000
|
---|
| 237 | tst _DB_In
|
---|
| 238 | bge L24
|
---|
| 239 | L10000:*line 195
|
---|
| 240 | *line 196
|
---|
| 241 | move _DB_In,(sp)
|
---|
| 242 | move.l #L25,-(sp)
|
---|
| 243 | jsr _printf
|
---|
| 244 | addq.l #4,sp
|
---|
| 245 | *line 197
|
---|
| 246 | *line 198
|
---|
| 247 | jsr _xtrap15
|
---|
| 248 | *line 199
|
---|
| 249 | *line 200
|
---|
| 250 | jsr _DB_Clr
|
---|
| 251 | bra L23
|
---|
| 252 | *line 201
|
---|
| 253 | *line 202
|
---|
| 254 | *line 203
|
---|
| 255 | L24:
|
---|
| 256 | *line 204
|
---|
| 257 | *line 204
|
---|
| 258 | cmp #256,_DB_Out
|
---|
| 259 | bge L10001
|
---|
| 260 | tst _DB_Out
|
---|
| 261 | bge L26
|
---|
| 262 | L10001:*line 205
|
---|
| 263 | *line 206
|
---|
| 264 | move _DB_Out,(sp)
|
---|
| 265 | move.l #L27,-(sp)
|
---|
| 266 | jsr _printf
|
---|
| 267 | addq.l #4,sp
|
---|
| 268 | *line 207
|
---|
| 269 | *line 208
|
---|
| 270 | jsr _xtrap15
|
---|
| 271 | *line 209
|
---|
| 272 | *line 210
|
---|
| 273 | jsr _DB_Clr
|
---|
| 274 | bra L23
|
---|
| 275 | *line 211
|
---|
| 276 | *line 212
|
---|
| 277 | *line 213
|
---|
| 278 | L26:
|
---|
| 279 | *line 214
|
---|
| 280 | *line 214
|
---|
| 281 | move _DB_In,R0
|
---|
| 282 | cmp _DB_Out,R0
|
---|
| 283 | bne L28
|
---|
| 284 | *line 215
|
---|
| 285 | *line 216
|
---|
| 286 | move _DB_In,(sp)
|
---|
| 287 | move.l #L29,-(sp)
|
---|
| 288 | jsr _printf
|
---|
| 289 | addq.l #4,sp
|
---|
| 290 | *line 217
|
---|
| 291 | *line 218
|
---|
| 292 | *line 219
|
---|
| 293 | tst.l _DB_Levl
|
---|
| 294 | beq L30
|
---|
| 295 | *line 219
|
---|
| 296 | move.l _DB_Levl,(sp)
|
---|
| 297 | move.l #L31,-(sp)
|
---|
| 298 | jsr _printf
|
---|
| 299 | addq.l #4,sp
|
---|
| 300 | *line 220
|
---|
| 301 | L30:
|
---|
| 302 | *line 221
|
---|
| 303 | *line 222
|
---|
| 304 | tst.l _DB_Last
|
---|
| 305 | beq L32
|
---|
| 306 | *line 222
|
---|
| 307 | move.l _DB_Last,(sp)
|
---|
| 308 | move.l #L33,-(sp)
|
---|
| 309 | jsr _printf
|
---|
| 310 | addq.l #4,sp
|
---|
| 311 | *line 223
|
---|
| 312 | L32:
|
---|
| 313 | *line 224
|
---|
| 314 | *line 225
|
---|
| 315 | tst _DB_Flag
|
---|
| 316 | bne L34
|
---|
| 317 | *line 225
|
---|
| 318 | jsr _xtrap15
|
---|
| 319 | *line 226
|
---|
| 320 | L34:
|
---|
| 321 | *line 227
|
---|
| 322 | jsr _DB_Clr
|
---|
| 323 | bra L23
|
---|
| 324 | *line 228
|
---|
| 325 | *line 229
|
---|
| 326 | *line 230
|
---|
| 327 | *line 231
|
---|
| 328 | L28:
|
---|
| 329 | *line 232
|
---|
| 330 | move.l _DB_Levl,(sp)
|
---|
| 331 | move.l #L35,-(sp)
|
---|
| 332 | jsr _printf
|
---|
| 333 | addq.l #4,sp
|
---|
| 334 | *line 234
|
---|
| 335 | clr.l R5
|
---|
| 336 | *line 236
|
---|
| 337 | bra L38
|
---|
| 338 | L37:
|
---|
| 339 | *line 237
|
---|
| 340 | *line 238
|
---|
| 341 | clr.l R6
|
---|
| 342 | bra L41
|
---|
| 343 | L42:
|
---|
| 344 | *line 239
|
---|
| 345 | move.l #L43,(sp)
|
---|
| 346 | jsr _printf
|
---|
| 347 | L40:
|
---|
| 348 | *line 238
|
---|
| 349 | add.l #$1,R6
|
---|
| 350 | L41:
|
---|
| 351 | *line 238
|
---|
| 352 | cmp.l R5,R6
|
---|
| 353 | blt L42
|
---|
| 354 | L39:
|
---|
| 355 | *line 239
|
---|
| 356 | *line 240
|
---|
| 357 | *line 241
|
---|
| 358 | move _DB_Out,R0
|
---|
| 359 | muls #6,R0
|
---|
| 360 | add.l #_DB_Ents,R0
|
---|
| 361 | move.l R0,R8
|
---|
| 362 | move 4(R8),R7
|
---|
| 363 | *line 242
|
---|
| 364 | *line 243
|
---|
| 365 | move _DB_Out,R0
|
---|
| 366 | muls #6,R0
|
---|
| 367 | move.l R0,R8
|
---|
| 368 | move.l #_DB_Ents,R9
|
---|
| 369 | move.l 0(R8,R9.l),(sp)
|
---|
| 370 | move R7,R8
|
---|
| 371 | add.l R8,R8
|
---|
| 372 | add.l R8,R8
|
---|
| 373 | move.l #_DB_Type,R9
|
---|
| 374 | move.l 0(R8,R9.l),-(sp)
|
---|
| 375 | move.l #L44,-(sp)
|
---|
| 376 | jsr _printf
|
---|
| 377 | addq.l #8,sp
|
---|
| 378 | *line 244
|
---|
| 379 | *line 245
|
---|
| 380 | move R7,R0
|
---|
| 381 | bra L46
|
---|
| 382 | *line 246
|
---|
| 383 | L47:
|
---|
| 384 | *line 247
|
---|
| 385 | *line 248
|
---|
| 386 | *line 249
|
---|
| 387 | add.l #$1,R5
|
---|
| 388 | bra L45
|
---|
| 389 | *line 250
|
---|
| 390 | *line 251
|
---|
| 391 | L48:
|
---|
| 392 | *line 252
|
---|
| 393 | *line 253
|
---|
| 394 | *line 254
|
---|
| 395 | *line 254
|
---|
| 396 | sub.l #$1,R5
|
---|
| 397 | bge L49
|
---|
| 398 | *line 255
|
---|
| 399 | *line 256
|
---|
| 400 | clr.l R5
|
---|
| 401 | *line 257
|
---|
| 402 | move.l #L50,(sp)
|
---|
| 403 | jsr _printf
|
---|
| 404 | *line 258
|
---|
| 405 | *line 259
|
---|
| 406 | L49:bra L45
|
---|
| 407 | *line 260
|
---|
| 408 | bra L45
|
---|
| 409 | L46:tst R0
|
---|
| 410 | beq L47
|
---|
| 411 | cmp #1,R0
|
---|
| 412 | beq L48
|
---|
| 413 | bra L45
|
---|
| 414 | L45:
|
---|
| 415 | *line 261
|
---|
| 416 | *line 262
|
---|
| 417 | *line 263
|
---|
| 418 | *line 264
|
---|
| 419 | add #1,_DB_Out
|
---|
| 420 | move _DB_Out,R0
|
---|
| 421 | cmp #256,R0
|
---|
| 422 | blt L51
|
---|
| 423 | *line 264
|
---|
| 424 | clr _DB_Out
|
---|
| 425 | L51:L38:
|
---|
| 426 | *line 265
|
---|
| 427 | move _DB_Out,R0
|
---|
| 428 | cmp _DB_In,R0
|
---|
| 429 | bne L37
|
---|
| 430 | L36:
|
---|
| 431 | *line 267
|
---|
| 432 | move.l #L52,(sp)
|
---|
| 433 | jsr _printf
|
---|
| 434 | *line 269
|
---|
| 435 | jsr _DB_Clr
|
---|
| 436 | *line 271
|
---|
| 437 | *line 272
|
---|
| 438 | tst _DB_Flag
|
---|
| 439 | bne L53
|
---|
| 440 | *line 272
|
---|
| 441 | jsr _xtrap15
|
---|
| 442 | *line 273
|
---|
| 443 | L53:bra L23
|
---|
| 444 | L23:tst.l (sp)+
|
---|
| 445 | movem.l (sp)+,R5-R7
|
---|
| 446 | unlk R14
|
---|
| 447 | rts
|
---|
| 448 | .data
|
---|
| 449 | L1:.dc.b $2D,$2D,$3E,$3E,$0
|
---|
| 450 | L2:.dc.b $3C,$3C,$2D,$2D,$0
|
---|
| 451 | L3:.dc.b $4E,$6F,$74,$65,$0
|
---|
| 452 | L25:.dc.b $44,$42,$5F,$49,$6E,$20,$77,$61,$73,$20,$63,$6F,$72,$72,$75,$70,$74,$3A,$20,$20,$25,$64,$A,$0
|
---|
| 453 | L27:.dc.b $44,$42,$5F,$4F,$75,$74,$20,$77,$61,$73,$20,$63,$6F,$72,$72,$75,$70,$74,$3A,$20,$20,$25,$64,$A,$0
|
---|
| 454 | L29:.dc.b $44,$65,$62,$75,$67,$20,$62,$75,$66,$66,$65,$72,$20,$69,$73,$20,$65,$6D,$70,$74,$79,$3A,$20,$20,$49,$6E,$20,$3D,$20,$4F
|
---|
| 455 | .dc.b $75,$74,$20,$3D,$20,$25,$64,$A,$0
|
---|
| 456 | L31:.dc.b $44,$65,$62,$75,$67,$20,$74,$72,$61,$63,$65,$20,$6C,$65,$76,$65,$6C,$20,$3D,$20,$25,$6C,$64,$A,$0
|
---|
| 457 | L33:.dc.b $4C,$61,$74,$65,$73,$74,$20,$65,$6E,$74,$72,$79,$20,$3D,$20,$22,$25,$73,$22,$A,$0
|
---|
| 458 | L35:.dc.b $44,$65,$62,$75,$67,$20,$74,$72,$61,$63,$65,$20,$6C,$65,$76,$65,$6C,$20,$3D,$20,$25,$6C,$64,$A,$A,$0
|
---|
| 459 | L43:.dc.b $7C,$0
|
---|
| 460 | L44:.dc.b $25,$73,$3A,$20,$20,$25,$73,$A,$0
|
---|
| 461 | L50:.dc.b $A,$0
|
---|
| 462 | L52:.dc.b $A,$2D,$2D,$2D,$2D,$2D,$20,$45,$6E,$64,$20,$6F,$66,$20,$64,$65,$62,$75,$67,$20,$62,$75,$66,$66,$65,$72,$20,$2D,$2D,$2D
|
---|
| 463 | .dc.b $2D,$2D,$A,$A,$0
|
---|