home *** CD-ROM | disk | FTP | other *** search
-
-
-
- buf equ $281f80
- buf1 equ $277f3c
-
-
-
- AUTO jj\wb\a0\a1\a\
-
-
- org $40000
- load $40000
-
- j lea $300000,a0
- move.l #$10000,d0
- .h clr.l (a0)+
- subq.l #1,d0
- bne.s .h
- move.w #$4000,$dff09a
- bsr ja
- lea $300000,a0
- cmp.w #-1,err1
- bne.s .tf
- lea 1(a0),a1
- .tf
- lea buf,a3
- lea buf1,a4
- moveq #$20,d0
- .r clr.b (A3)+
- clr.b (A4)+
- dbf d0,.r
-
- lea namebuf(pc),a2
- lea buf,a3
- lea buf1,a4
- moveq #$20,d0
- .r2 move.b (a2),(A3)+
- move.b (a2)+,(A4)+
- bne.s .r2
-
- addq.w #1,$100.w
-
- cmp.w #$33,$100.w
- bne.s exit
- illegal
- exit move.w #$c000,$dff09a
- rts
- old dc.l 0
-
- namebuf blk.b 20,0
-
- ja LEA ggg(PC),A1
- MOVEQ #$64,D0
- lbC00005C
- CLR.L (A1)+
- DBRA D0,lbC00005C
- LEA ggg(PC),A5
- MOVE.L #$45000,0(A5)
- BSR lbC00026C
- MOVEQ #0,D0
- BSR lbC0001A4
- MOVEQ #2,D0
- BSR lbC0000D0
- MOVE.L 0(A5),A1
- LEA $34(A4),A0
- MOVE.W $100.w,D0
- MULU #$20,D0
- ADD.L D0,A0
-
- ; bra exit
-
-
- move.l a1,-(A7)
- lea namebuf(pc),a1
- moveq #$10,d0
- .t move.b (a0)+,(a1)+
- dbf d0,.t
- move.l (A7)+,a1
-
- LEA $34(A4),A0
- MOVE.W $100.w,D0
- MULU #$20,D0
- ADD.L D0,A0
-
-
- MOVE.B $1A(A0),12(A5)
- MOVE.B $1B(A0),$12(A5)
- MOVE.L $1C(A0),4(A5)
- ;MOVE.L $16(A0),8(A5)
- move.l #$300000,8(a5)
- MOVE.B #$FF,14(A5)
- lbC0000AE MOVE.B 12(A5),D0
- CMP.B 14(A5),D0
- BEQ.S lbC0000C0
- MOVE.B D0,14(A5)
- BSR lbC0000D0
- lbC0000C0 BSR lbC00032C
- BNE.S lbC0000AE
- BSR lbC0002AA
- rts
- lbC0000D0 BSR lbC0001A4
- MOVE.W #10,$2C(A5)
- lbC0000DA MOVE.L 0(A5),A4
- LEA 6(A4),A0
- MOVE.L #$3028,D1
- BSR lbC000122
- BSR lbC0003AC
- CMP.L #$534F5336,8(A4)
- BNE lbC000106
- CMP.L 12(A4),D0
- BNE lbC000106
- RTS
- lbC000106 SUBQ.W #1,$2C(A5)
- BNE.S lbC0000DA
- CMP.L #$534F5336,8(A4)
- BNE lbC0003EA
- CMP.L 12(A4),D0
- BNE lbC0003EA
- RTS
- lbC000122 BTST #5,$BFE001
- BNE.S lbC000122
- BSR lbC0002C4
- LEA $DFF000,A1
- MOVE.W #$A500,$9E(A1)
- MOVE.W #$5A00,$9E(A1)
- MOVE.W #$4489,$7E(A1)
- MOVE.W #$4000,$24(A1)
- MOVE.L A0,$20(A1)
- MOVE.W #$8210,$96(A1)
- LSR.W #1,D1
- OR.W #$8000,D1
- MOVE.W D1,$24(A1)
- MOVE.W D1,$24(A1)
- MOVE.W #2,$9C(A1)
- MOVEQ #$38,D1
- lbC00016E BSR lbC0002EC
- MOVE.W #3,$2A(A5)
- lbC000178 MOVE.W $1E(A1),D0
- AND.W #2,D0
- TST.W D0
- BNE.S lbC00019C
- BTST #0,$BFDD00
- BEQ.S lbC000178
- DBRA D1,lbC00016E
- MOVE.W #$4000,$24(A1)
- BRA lbC0003EA
- lbC00019C MOVE.W #$4000,$24(A1)
- RTS
- lbC0001A4 MOVE.W D0,$24(A5)
- AND.W #1,$24(A5)
- BSR lbC000238
- AND.W #$FF,D0
- LSR.W #1,D0
- CMP.W $20(A5),D0
- BNE.S lbC0001C0
- RTS
- lbC0001C0 TST.W D0
- BNE.S lbC0001EA
- MOVEQ #$64,D3
- lbC0001C6 BSR lbC0002D0
- BTST #4,$BFE001
- BEQ lbC0001E2
- BSR lbC000208
- DBRA D3,lbC0001C6
- BRA lbC0003EA
- lbC0001E2 MOVE.W #0,$20(A5)
- RTS
- lbC0001EA CMP.W $20(A5),D0
- BEQ.S lbC000206
- BCS.S lbC0001FC
- BSR lbC000210
- ADDQ.W #1,$20(A5)
- BRA.S lbC0001EA
- lbC0001FC BSR lbC000208
- SUBQ.W #1,$20(A5)
- BRA.S lbC0001EA
- lbC000206 RTS
- lbC000208 MOVE.W #1,D1
- BRA lbC000214
- lbC000210 MOVE.W #0,D1
- lbC000214 MOVE.W D1,$22(A5)
- BSR lbC000238
- CMP.W $28(A5),D1
- BNE.S lbC000228
- BSR lbC0002D0
- BRA.S lbC000230
- lbC000228 MOVE.W D1,$28(A5)
- BSR lbC0002C4
- lbC000230 BSR.S lbC000250
- BSR.S lbC000238
- BRA lbC0002EC
- lbC000238 MOVE.W $24(A5),D2
- ADD.W D2,D2
- OR.W $22(A5),D2
- ADD.W D2,D2
- OR.W $26(A5),D2
- MOVE.B D2,$BFD100
- RTS
- lbC000250 MOVE.W $24(A5),D2
- ASL.W #1,D2
- OR.W $22(A5),D2
- ASL.W #1,D2
- OR.W $26(A5),D2
- ADD.W #$FFFF,D2
- MOVE.B D2,$BFD100
- RTS
- lbC00026C MOVE.B #$FF,$BFD100
- MOVE.B #$87,$BFD100
- MOVE.B #$FF,$BFD100
- MOVE.B #$7F,$BFD100
- MOVE.W #$79,$26(A5)
- MOVE.W #0,D0
- ADDQ.W #3,D0
- BCLR D0,$27(A5)
- MOVE.W #$FFFF,$20(A5)
- BSR lbC0002EC
- BSR.S lbC000238
- RTS
- lbC0002AA MOVE.B #$FF,$BFD100
- MOVE.B #$87,$BFD100
- MOVE.B #$FF,$BFD100
- RTS
- lbC0002C4 BSR lbC0002DC
- BTST #0,D2
- BEQ.S lbC0002C4
- RTS
- lbC0002D0 BSR lbC0002DC
- BTST #1,D2
- BEQ.S lbC0002D0
- RTS
- lbC0002DC MOVE.B $BFDD00,D2
- OR.W $2A(A5),D2
- MOVE.W D2,$2A(A5)
- RTS
- lbC0002EC MOVE.B #8,$BFDE00
- MOVE.B #8,$BFDF00
- MOVE.B #$5D,$BFD400
- MOVE.B #$32,$BFD500
- MOVE.B #$64,$BFD600
- MOVE.B #8,$BFD700
- MOVE.B #3,$BFDD00
- MOVE.W #0,$2A(A5)
- RTS
- lbC00032C MOVE.L 8(A5),A1
- MOVE.L 4(A5),D0
- MOVE.L D0,D1
- CMP.L #$1FE,D1
- BMI.S lbC000344
- MOVE.L #$1FE,D1
- lbC000344 SUB.L D1,D0
- MOVE.B $12(A5),D2
- AND.W #$FF,D2
- MULU #$200,D2
- ADD.L #$14,D2
- MOVE.L D2,$14(A5)
- MOVE.L 0(A5),A3
- ADD.L D2,A3
- SUBQ.W #1,D1
- lbC000364 MOVE.B (A3)+,(A1)+
- DBRA D1,lbC000364
- MOVE.B (A3)+,12(A5)
- MOVE.B (A3)+,$12(A5)
- MOVE.L A1,8(A5)
- MOVE.L D0,4(A5)
- CMP.W #0,D0
- RTS
- MOVE.B $12(A5),D2
- AND.W #$FF,D2
- MULU #$200,D2
- ADD.L #$14,D2
- MOVE.L 0(A5),A3
- ADD.L D2,A3
- MOVE.B $1FE(A3),12(A5)
- MOVE.B $1FF(A3),$12(A5)
- TST.B 12
- RTS
- lbC0003AC LEA 8(A4),A0
- LEA $1814(A4),A1
- MOVE.L #$55555555,D2
- MOVE.W #2,D3
- lbC0003BE MOVE.L (A1)+,D1
- AND.L D2,D1
- ADD.L D1,D1
- AND.L D2,(A0)
- OR.L D1,(A0)+
- DBRA D3,lbC0003BE
- MOVE.L 8(A4),D0
- ADD.L $10(A4),D0
- MOVE.W #$5FF,D3
- lbC0003D8 MOVE.L (A1)+,D1
- AND.L D2,D1
- ADD.L D1,D1
- AND.L D2,(A0)
- OR.L D1,(A0)
- ADD.L (A0)+,D0
- DBRA D3,lbC0003D8
- RTS
-
- err1 dc.b 0
- err2 dc.b 0
-
- err
- lbC0003EA
- move.w #$fff,d0
- .t MOVE.W D0,$DFF180
- dbf d0,.t
- move.w err1(pc),d0
- rol.w #8,d0
- move.w d0,Err1
- st Err1
- ;eor.b #1,drv+1
- ;cmp.w #-1,err1
- ;bne.w ja
- move.l old(pc),a7
- rts
- ggg
-