home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
up_scroll.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
4KB
|
158 lines
start:
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
clr.l d0
move.l #1,d1
clr.l d2
move.l #1,d3
move.l #336,d4
move.l #210,d5
jsr -396(a6)
sub.b #$01,rows
bne.s exit
move.b #10,rows
lea rastport,a1
move.l #8,d0
move.l #95,d1
jsr -240(a6)
lea rastport,a1
move.l taller,a0
move.l #38,d0
jsr -60(a6)
add.l #38,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 $008e,$1c11,$0090,$41f0,$0092,$0038,$0094,$00d0
dc.w $0102,$0000,$0104,$0000,$0108,$0002,$010a,$0002
dc.w $0100,$1200,$0180,$0000,$0182,$0fff
dc.w $00e0,$0006,$00e2,$0000
dc.w $1511,$fffe,$182,$000
dc.w $2011,$fffe,$182,$111
dc.w $2211,$fffe,$182,$222
dc.w $2411,$fffe,$182,$333
dc.w $2611,$fffe,$182,$444
dc.w $2811,$fffe,$182,$555
dc.w $2a11,$fffe,$182,$666
dc.w $2c11,$fffe,$182,$777
dc.w $2e11,$fffe,$182,$888
dc.w $3011,$fffe,$182,$999
dc.w $3211,$fffe,$182,$aaa
dc.w $3411,$fffe,$182,$bbb
dc.w $3611,$fffe,$182,$ccc
dc.w $3811,$fffe,$182,$ddd
dc.w $5611,$fffe,$182,$ddd
dc.w $5811,$fffe,$182,$ccc
dc.w $5a11,$fffe,$182,$bbb
dc.w $5c11,$fffe,$182,$aaa
dc.w $5e11,$fffe,$182,$999
dc.w $6011,$fffe,$182,$888
dc.w $6211,$fffe,$182,$777
dc.w $6411,$fffe,$182,$666
dc.w $6611,$fffe,$182,$555
dc.w $6811,$fffe,$182,$444
dc.w $6a11,$fffe,$182,$333
dc.w $6c11,$fffe,$182,$222
dc.w $6e11,$fffe,$182,$111
dc.w $7011,$fffe,$180,$111
dc.w $7111,$fffe,$180,$222,$182,$222
dc.w $7211,$fffe,$180,$333,$182,$333
dc.w $7311,$fffe,$180,$444,$182,$444
dc.w $7411,$fffe,$180,$555,$182,$555
dc.w $7511,$fffe,$180,$666,$182,$666
dc.w $7611,$fffe,$180,$777,$182,$777
dc.w $7711,$fffe,$180,$888,$182,$888
dc.w $7811,$fffe,$180,$999,$182,$999
dc.w $7911,$fffe,$180,$aaa,$182,$aaa
dc.w $7a11,$fffe,$180,$999,$182,$999
dc.w $7b11,$fffe,$180,$888,$182,$888
dc.w $7c11,$fffe,$180,$777,$182,$777
dc.w $7d11,$fffe,$180,$666,$182,$666
dc.w $7e11,$fffe,$180,$555,$182,$555
dc.w $7f11,$fffe,$180,$444,$182,$444
dc.w $8011,$fffe,$180,$333,$182,$333
dc.w $8111,$fffe,$180,$222,$182,$222
dc.w $8211,$fffe,$180,$111,$182,$111
dc.w $8311,$fffe,$180,$000
dc.w $ffff,$fffe
text:
dc.b " THE DANISH DEMO DUO 1987 "
dc.b " "
dc.b "THE DANISH DEMO sadfssafsfdsdafsdaND T"
dc.b " "
dc.b "THE DANISH DsadfdsafsdafsadsafsdffND T"
dc.b " "
dc.b " "
dc.b " "
dc.b " "
dc.b " "
dc.b " "
end:
even
taller:
dc.l 0
taller1:
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