home *** CD-ROM | disk | FTP | other *** search
- section code,code_c
- start:
- dc.b 'DOS',0
- check: dc.l 0
- root: dc.l $370
-
- movem.l d0-d7/a0-a6,-(a7)
- move.l #10*$200,$24(a1)
- move.l #$70000,$28(a1)
- move.l #$200,$2c(a1)
- jsr -$1c8(a6)
- jsr $70000
- movem.l (a7)+,d0-d7/a0-a6
-
- lea dosname(pc),a1
- jsr -$60(a6)
- move.l d0,a0
- move.l $16(a0),a0
- moveq #0,d0
- rts
- dosname: dc.b 'dos.library',0
- even
- dc.b ' CODING BY DIRECT-LOGO BY ORION-FONT BY VIPER'
- blk.b 379,0
- dc.b -1
- e:
- lea ende(pc),A0
- lea $00060000,A1 ;decrunched datas
- move.l -(A0),A2
- add.l A1,A2
- move.l -(A0),D0
- jumpstart:
- moveq #$03,D1
- bsr jump1
- tst.b D2
- beq.s jump2
- cmpi.w #$0007,D2
- bne.s jump3
- lsr.l #1,D0
- bne.s jump4
- bsr jump5
- jump4: bcc.s jump6
- moveq #$0A,D1
- bsr jump1
- tst.w D2
- bne.s jump3
- moveq #$12,D1
- bsr jump1
- bra.s jump3
- jump6:
- moveq #$04,D1
- bsr jump1
- addq.w #7,D2
- jump3:
- subq.w #1,D2
- loop3:
- moveq #$07,D1
- loop2:
- lsr.l #1,D0
- beq.s jump7
- roxl.l #1,D3
- dbf D1,loop2
- move.b D3,-(A2)
- dbf D2,loop3
- bra.s jump2
- jump7:
- move.l -(A0),D0
- move #$0010,CCR
- roxr.l #1,D0
- roxl.l #1,D3
- dbf D1,loop2
- move.b D3,-(A2)
- dbf D2,loop3
- jump2:
- cmp.l A2,A1
- bge.s enddecrunch
- moveq #$02,D1
- bsr jump1
- moveq #$02,D3
- moveq #$08,D1
- tst.w D2
- beq.s jump8
- moveq #$04,D3
- cmpi.w #$0002,D2
- beq.s jump9
- moveq #$03,D3
- cmpi.w #$0001,D2
- beq.s jump10
- moveq #$02,D1
- bsr.s jump1
- cmpi.w #$0003,D2
- beq.s jump11
- cmpi.w #$0002,D2
- beq.s jump12
- addq.w #5,D2
- move.w D2,D3
- bra.s jump9
- jump12:
- moveq #$02,D1
- bsr.s jump1
- addq.w #7,D2
- move.w D2,D3
- bra.s jump9
- jump11:
- moveq #$08,D1
- bsr.s jump1
- move.w D2,D3
- bra.s jump9
- jump10:
- moveq #$08,D1
- lsr.l #1,D0
- bne.s jump13
- bsr.s jump5
- jump13:
- bcs.s jump8
- moveq #$0E,D1
- bra.s jump8
- jump9:
- moveq #$10,D1
- lsr.l #1,D0
- bne.s jump14
- bsr.s jump5
- jump14:
- bcc.s jump8
- moveq #$08,D1
- lsr.l #1,D0
- bne.s jump15
- bsr.s jump5
- jump15:
- bcs.s jump8
- moveq #$0C,D1
- jump8:
- bsr.s jump1
- subq.w #1,D3
- loop4: move.b -$01(A2,D2.l),-(A2)
- dbf D3,loop4
- bra jumpstart
- enddecrunch:
- jmp $00060000 ;******
- jump5:
- move.l -(A0),D0
- move #$0010,CCR
- roxr.l #1,D0
- rts
- jump1:
- subq.w #1,D1
- moveq #0,d2
- loop1: lsr.l #1,D0
- beq.s jumploop
- roxl.l #1,D2
- dbf D1,loop1
- rts
- jumploop:
- move.l -(A0),D0
- move.w #$10,CCR
- roxr.l #1,D0
- roxl.l #1,D2
- dbf D1,loop1
- rts
-
- data: incbin'sys:test'
- ende:
-