home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
hires_dscroll.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
2KB
|
104 lines
start:
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 #400,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 #0,d0
move.l #-1,d1
move.l #0,d3
move.l #0,d2
move.l #336,d4
move.l #400,d5
jsr -396(a6)
sub.b #1,rows
bne.s exit
move.b #8,rows
lea rastport,a1
move.l #0,d0
move.l #7,d1
jsr -240(a6)
lea rastport,a1
move.l taller,a0
move.l #40,d0
jsr -60(a6)
add.l #40,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,$2c81,$90,$41ff,$92,$3c,$94,$d4
dc.w $102,$0,$104,$24,$108,$4,$10a,$4
dc.w $100,$9200,$180,$0,$0182,$0
dc.w $2411,$fffe
dc.w $00e0,$0006,$00e2,$0000
dc.w $5711,$fffe,$182,$0fff
dc.w $e811,$fffe,$182,$0,180,$0,$ffff,$fffe
text:
dc.b "THE DANISH DEMO DUO 1987 ARE PET & TOX !"
dc.b "PETER OLSEN M0LLEAGER 14 2640 HEDEHUSENE"
dc.b "THE DANISH DEMO DUO 1987 ARE PET & TOX !"
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
even
sine:
dc.w $2c91,$2d91,$2f91,$3391,$3791,$4091,$3791,$3391,$2f91
dc.w $2d91,$2c91
endsine:
even