home *** CD-ROM | disk | FTP | other *** search
-
- j
- lea LstPtr(pc),a3
- move.l #list,(A3)
- or.w #5,ddd+2
- MOVE.W #$7FFF,$DFF09A
- move.w #$8210,$dff096
- lea $dff000,a0
- lea $bfd100,a1
- MOVE.B #$7D,$bfd100
- NOP
- move.b #$7D,d1
- bclr #3,d1
- MOVE.B d1,$bfd100
- bset #1,$bfd100
- move.w #$7f00,$dff09e
- move.w #$9500,$dff09e
- move.w #$4489,$dff07e
- move.w #$2,$dff09c
- .w btst #4,$bfe001
- beq.s .ok
- bclr #0,$bfd100
- nop
- bset #0,$bfd100
- move.w #$1000,d0
- .r dbf d0,.r
- bra.s .w
- .ok bclr #1,$bfd100
- MOVE.L #$300000,$3FC
-
- MOVE.l #0,D0
- bsr asa
- .r3 move.l d0,-(A7)
- BSR.L C18C
- move.l (A7)+,d0
- btst #6,$bfe001
- beq.s .exe
- addq.w #1,d0
- btst #0,d0
- bne.s .nopw
- bclr #1,$bfd100
- bclr #0,$bfd100
- nop
- nop
- bset #0,$bfd100
- move.w #$1000,d1
- .r132 dbf d1,.r132
- .nopw
- cmp.w #160,d0
- bne.s .r3
- .exe move.w #$e02c,$dff09a
- moveq #0,d0
- rts
-
- asa move.l d0,-(a7)
- tst.w d0
- beq .nopw1
- .a btst #0,d0
- bne.s .nopw
- bclr #1,$bfd100
-
- bclr #0,$bfd100
- nop
- nop
- bset #0,$bfd100
- move.w #$1000,d1
- .r132 dbf d1,.r132
- .nopw subq.w #1,d0
- bne.s .a
-
- .nopw1 move.l (A7)+,d0
- rts
-
- C176 MOVE.L (A3)+,D0
- AND.L D3,D0
- ADD.L D0,D0
- MOVE.L (A5)+,D1
- AND.L D3,D1
- OR.L D1,D0
- MOVE.L D0,(A4)+
- ADD.L D0,D2
- DBRA D4,C176
- RTS
- C18C MOVE.B D0,$3EB
- MOVEQ #0,D1
- BTST #0,D0
- BNE.L C19C
- MOVEQ #4,D1
- C19C MOVE.B (A1),D2
- EOR.B D2,D1
- AND.B #4,D1
- BEQ.L C1EA
- BCHG #2,(A1)
- MOVE.B $BFEE01,D0
- AND.B #$C0,D0
- OR.B #8,D0
- MOVE.B D0,$BFEE01
- MOVE.B #1,$BFED01
- MOVE.B #$CB,$BFE401
- MOVE.B #2,$BFE501
- BSET #0,$BFEE01
- C1E0 BTST #0,$BFEE01
- BNE.S C1E0
- C1EA MOVEQ #0,D5
- moveq #0,d4
- clr.w ee11+4
- clr.w retry+2
- move.w #8,Retry
- bra c1eac
- C1eab add.w #8,a7
- c1eac ANDI.B #$7F,(A1)
- c1f4 MOVEA.L #$70000,A2
- clr.l (A2)
- CLR.W 10(A2)
- MOVE.L A2,$20(A0)
- MOVE.W #$A200,D0
- MOVE.W #$1002,$9C(A0)
- MOVE.W #$4000,$24(A0)
- MOVE.W #$4000,$24(A0)
- MOVE.W D0,$24(A0)
- MOVE.W D0,$24(A0)
- C21C btst #6,$bfe001
- beq.w exit
- TST.W 10(A2)
- BEQ.S C21C
- MOVE.L 4(A2),D0
- AND.L #$55555555,D0
- ADD.L D0,D0
- MOVE.L 8(A2),D1
- AND.L #$55555555,D1
- OR.L D1,D0
- AND.L #$FF00FF00,D0
- ee11 CMP.L #$FF000000,D0
- BEQ.S C248
- addq.w #1,retry+2
- cmp.w #9,retry+2
- beq c248a
- MOVE.W #$1002,$9C(A0)
- MOVE.W #$4000,$24(A0)
- MOVE.W #$4000,$24(A0)
- bra c1f4
-
- C248 MOVE.W $1E(A0),D2
- AND.W #2,D2
- BEQ.S C248
- c248a clr.w retry+2
- MOVE.W #$1002,$9C(A0)
- MOVE.W #0,$24(A0)
- MOVE.W #0,$24(A0)
- MOVE.L #$55555555,D3
- MOVEA.L #$70000,A3
- lea 4(a3),a3
- sct0 move.w d5,$100.w
- move.w $3ea,$102.w
- movem.l d5/a3,-(A7)
- move.l d5,d6
- .raa move.l a3,-(A7)
- bsr C306
- move.l (A7)+,a3
- tst.w d0
- beq .e
- add.w #$cb2,a3
- cmp.l #$70000+[$cb2*7],a3
- blt.s .raa
- subq.w #1,retry
- bne c1eab
- move.w #8,Retry
- bsr errorSector
-
- .e movem.l (a7)+,d5/a3
- btst #6,$bfe001
- beq c278
- addq.w #1,d5
- move.w d5,d6
- rol.w #8,d6
- move.w d6,ee11+4
- cmp.w #4,d5
- bne sct0
-
- move.l $3fc,a4
- add.l #$1900,a4
- C278 MOVE.L A4,$3FC
- rts
- exit MOVE.W #$1002,$9C(A0)
- MOVE.W #$4000,$24(A0)
- MOVE.W #$4000,$24(A0)
- RTS
-
- errorSector
- move.l LstPtr(pc),a4
- move.l $100,d0
- swap d0
- move.l d0,(A4)+
- move.l #-1,(A4)
- move.l a4,LstPtr
- rts
- retry dc.w 5,0
- lstptr dc.l list
-
- list dc.l -1
- blk.l 400,0
-
-
- C306 MOVE.L (A3)+,D0
- AND.L D3,D0
- ADD.L D0,D0
- MOVE.L (A3)+,D1
- AND.L D3,D1
- OR.L D1,D0
- MOVE.L D0,D2
- cmp.w #2,retry
- blt.s .r11
- CMP.B $3EB,D0
- BNE.L C380
- .r11 LSR.W #8,D0
- cmp.b d0,d5
- bne c380
- .re move.b d5,d0
- and.w #$f,d0
- move.w d0,d1
- ext.l d1
- mulu #$640,d1
- MOVEA.L $3FC,A4
- add.l d1,a4
- SWAP D0
- ddd cmp.w #2,retry
- blt.s .re
- CMP.W #$FF00,D0
- BNE.L C380
- .re MOVE.L (A3)+,D0
- AND.L D3,D0
- ADD.L D0,D0
- MOVE.L (A3)+,D1
- AND.L D3,D1
- OR.L D1,D0
- ADD.L D0,D2
- cmp.w #2,retry
- blt .re1
- EORI.L #$FFFFFFFF,D2
- BNE.L C380
- .re1 moveq #0,d2
- MOVEA.L A3,A5
- ADDA.W #$640,A5
- MOVE.W #$18F,D4
- BSR.L C176
- MOVEA.L A5,A3
- MOVE.L (A3)+,D0
- AND.L D3,D0
- ADD.L D0,D0
- MOVE.L (A3)+,D1
- AND.L D3,D1
- OR.L D1,D0
- CMP.L D0,D2
- BNE.L C380
- cmp.w #2,retry
- bge.s .r
- move.w #$f,$dff180
- .r MOVE.L (A3)+,D0
- AND.L D3,D0
- ADD.L D0,D0
- MOVE.L (A3)+,D1
- AND.L D3,D1
- OR.L D1,D0
- ;CMP.L #$53444446,D0
- ;BNE.L C380
- MOVEQ #0,D0
- rts
- C380 moveq #-1,d0
- RTS
-