home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
blev.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
3KB
|
145 lines
s:
move.l #$50100,$dff0a0
move.w #[37560/2],$dff0a4
move.w #360,$dff0a6
move.w #64,$dff0a8
move.w #$8201,$dff096
move.l $04,a6
lea gfxname,a1
jsr -408(a6)
move.l d0,gfxbase
move.l d0,a0
move.l 50(a0),oldclist
move.l #newclist,50(a0)
move.l gfxbase,a6
lea bitmap,a0
move.l #$01,d0
move.l #336,d1
move.l #200,d2
jsr -390(a6)
move.l #$60000,plane1
lea rastport,a1
jsr -198(a6)
move.l #bitmap,r_bitmap
lea rastport,a1
;jsr -48(a6)
move.l #text,taller
move.l $6c,oldirq+2
move.l #newirq,$6c
wait:
btst #6,$bfe001
bne wait
jmp slut
newirq:
movem.l d0-d7/a0-a6,-(sp)
move.l gfxbase,a6
lea rastport,a1
move.l #$01,d0
clr.l d1
clr.l d2
move.l #100,d3
move.l #336,d4
move.l #200,d5
jsr -396(a6)
sub.b #$01,rows
bne.s exit
move.b #$8,rows
lea rastport,a1
move.l #320,d0
move.l #108,d1
jsr -240(a6)
lea rastport,a1
move.l taller,a0
move.l #$01,d0
jsr -60(a6)
addq.l #$01,taller
cmp.l #end,taller
blt.s exit
move.l #text,taller
exit:
movem.l (sp)+,d0-d7/a0-a6
oldirq:
jmp $00000000
slut:
move.w #$0001,$dff096
move.l oldirq+2,$6c
move.l gfxbase,a0
move.l oldclist,50(a0)
move.l $04,a6
jmp -414(a6)
newclist:
dc.w $8e,$1c81,$90,$f4c1,$92,$38,$94,$d0
dc.w $102,$0,$104,$0,$108,$0,$10a,$0
dc.w $0100,$4200,$182,$0fff,$180,$0
dc.w $3011,$fffe,$00e0,$0006,$00e2,$0000
dc.w $3111,$fffe,$e2,$28,$e6,$28,$ea,$28,$ee,$28
dc.w $3231,$fffe,$e2,$50,$e6,$50,$ea,$50,$ee,$50
dc.w $3351,$fffe,$e2,$78,$e6,$78,$ea,$78,$ee,$78
dc.w $3413,$fffe,$e2,$a0,$e6,$a0,$ea,$a0,$ee,$a0
dc.w $3515,$fffe,$e2,$c8,$e6,$c8,$ea,$c8,$ee,$c8
dc.w $3617,$fffe,$e2,$f0,$e6,$f0,$ea,$f0,$ee,$f0
dc.w $3719,$fffe,$e2,$118,$e6,$118,$ea,$118,$ee,$118
dc.w $381b,$fffe,$e2,$140,$e6,$140,$ea,$140,$ee,$140
dc.w $391d,$fffe,$e2,$168,$e6,$168,$ea,$168,$ee,$168
dc.w $3a1f,$fffe,$e2,$190,$e6,$190,$ea,$190,$ee,$190
dc.w $3b1d,$fffe,$e2,$1b8,$e6,$1b8,$ea,$1b8,$ee,$1b8
dc.w $3c1b,$fffe,$e2,$1e0,$e6,$1e0,$ea,$1e0,$ee,$1e0
dc.w $3d39,$fffe,$e2,$208,$e6,$208,$ea,$208,$ee,$208
dc.w $3e47,$fffe,$e2,$230,$e6,$230,$ea,$230,$ee,$230
dc.w $3f55,$fffe,$e2,$258
dc.w $4011,$fffe,$e2,$280
dc.w $4113,$fffe,$e2,$2a8
dc.w $4215,$fffe,$e2,$2d0
dc.w $4317,$fffe,$e2,$2f8
dc.w $4419,$fffe,$e2,$320
dc.w $451b,$fffe,$e2,$348
dc.w $461d,$fffe,$e2,$370
dc.w $471f,$fffe,$e2,$398
dc.w $481d,$fffe,$e2,$3c0
dc.w $491b,$fffe,$e2,$3e8
dc.w $4a19,$fffe,$e2,$410
dc.w $4b17,$fffe,$e2,$438
dc.w $4c15,$fffe,$e2,$460
dc.w $4d13,$fffe,$e2,$488
dc.w $4e11,$fffe,$e2,$4b0
dc.w $108,$2,$10a,$2,$100,$1200
dc.w $a011,$fffe,$108,$0,$10a,$0,$100,4200,$e0,$6,$e2,$0
dc.w $a111,$fffe,$92,$3d,$94,$d5
dc.w $a211,$fffe,$92,$3c,$94,$d4
dc.w $a311,$fffe,$92,$3b,$94,$d3
dc.w $a411,$fffe,$92,$3a,$94,$d2
dc.w $a511,$fffe,$92,$39,$94,$d1
dc.w $a611,$fffe,$92,$38,$94,$d0
dc.w $a711,$fffe,$92,$37,$94,$cf
dc.w $a811,$fffe,$92,$36,$94,$ce
dc.w $a911,$fffe,$92,$35,$94,$cd
dc.w $aa11,$fffe,$92,$34,$94,$cc
dc.w $ab11,$fffe,$92,$33,$94,$cb
dc.w $ac11,$fffe,$92,$32,$94,$ca
dc.w $ad11,$fffe,$92,$31,$94,$c9
dc.w $ae11,$fffe,$92,$38,$94,$d0
dc.w $ffff,$fffe
text:
dc.b "REFLEX CRACKING SQUAD "
end:
even
taller:
dc.l 0
oldclist:
dc.l 0
gfxbase:
dc.l 0
gfxname:
dc.b "graphics.library",0
even
bitmap:
blk.w 4,0
plane1:
blk.l 20,0
rastport:
dc.l 0
r_bitmap:
blk.l 30,0
rows:
dc.b 2