home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
scrolliac.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
4KB
|
166 lines
s:
move.l #$50000,$dff0a0
move.w #36000,$dff0a4
move.w #300,$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 #$4ff00,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 #4,d0
move.l #1,d1
move.l #120,d2
move.l #10,d3
move.l #336,d4
move.l #200,d5
jsr -396(a6)
sub.b #1,rows
bne.s exit
move.b #2,rows
lea rastport,a1
move.l #320,d0
move.l #100,d1
jsr -240(a6)
lea rastport,a1
move.l taller,a0
move.l #1,d0
jsr -60(a6)
addq.l #1,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 #3,$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,$2c81,$0090,$f4c1,$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,$0004,$00e2,$ff00,$2e01,$ff00
dc.w $0182,$0000,$0180,$0666,$3001,$ff00
dc.w $0182,$0f00,$0180,$0333,$3601,$ff00
dc.w $0182,$0f80,$3c01,$ff00,$0182,$0000
dc.w $0180,$0888,$3e01,$ff00,$0182,$0000
dc.w $0180,$0000,$3f01,$ff00,$0182,$0333
dc.w $0180,$0f01,$00e0,$0004,$00e2,$ff00
dc.w $4201,$ff00,$0182,$0000,$0180,$0c00
dc.w $4901,$ff00,$0182,$0bbb
dc.w $4f01,$ff00,$0182,$0000,$0180,$0410
dc.w $5201,$ff00,$0100,$1200,$0180,$0000
dc.w $5a01,$ff00,$0182,$0000,$0180,$023a
dc.w $5b01,$ff00,$0182,$0000,$0180,$0239
dc.w $5c01,$ff00,$0182,$0000,$0180,$0238
dc.w $5e01,$ff00,$0182,$0000,$0180,$0237
dc.w $5f01,$ff00,$0182,$0000,$0180,$0236
dc.w $6001,$ff00,$0182,$0000,$0180,$0235
dc.w $6101,$ff00,$0182,$0000,$0180,$0234
dc.w $6201,$ff00,$0182,$0000,$0180,$0233
dc.w $6301,$ff00,$0182,$0000,$0180,$0234
dc.w $6401,$ff00,$0182,$0000,$0180,$0235
dc.w $6501,$ff00,$0182,$0000,$0180,$0236
dc.w $6601,$ff00,$0182,$0000,$0180,$0237
dc.w $6701,$ff00,$0182,$0000,$0180,$0238
dc.w $6801,$ff00,$0182,$0000,$0180,$0239
dc.w $6901,$ff00,$0182,$0000,$0180,$023a
dc.w $6a01,$ff00,$0182,$0000,$0180,$0000
dc.w $7001,$ff00,$0182,$0000,$0180,$0100
dc.w $7101,$ff00,$0182,$0000,$0180,$0111
dc.w $7201,$ff00,$0182,$0000,$0180,$0222
dc.w $7301,$ff00,$0182,$0000,$0180,$0333
dc.w $7401,$ff00,$0182,$0000,$0180,$0444
dc.w $7501,$ff00,$0182,$0000,$0180,$0555
dc.w $7601,$ff00,$0182,$0000,$0180,$0666
dc.w $7701,$ff00,$0182,$0000,$0180,$0777
dc.w $7801,$ff00,$0182,$0000,$0180,$0888
dc.w $7901,$ff00,$0182,$0000,$0180,$0999
dc.w $7a01,$ff00,$0182,$0000,$0180,$0aaa
dc.w $7b01,$ff00,$0182,$0000,$0180,$0bbb
dc.w $7c01,$ff00,$0182,$0000,$0180,$0ccc
dc.w $7d01,$ff00,$0182,$0000,$0180,$0ddd
dc.w $7e01,$ff00,$0182,$0000,$0180,$0eee
dc.w $9001,$ff00,$0182,$0000,$0180,$0ddd
dc.w $9101,$ff00,$0182,$0000,$0180,$0ccc
dc.w $9201,$ff00,$0182,$0000,$0180,$0bbb
dc.w $9301,$ff00,$0182,$0000,$0180,$0aaa
dc.w $9401,$ff00,$0182,$0000,$0180,$0999
dc.w $9501,$ff00,$0182,$0000,$0180,$0888
dc.w $9601,$ff00,$0182,$0000,$0180,$0777
dc.w $9701,$ff00,$0182,$0000,$0180,$0666
dc.w $9801,$ff00,$0182,$0000,$0180,$0555
dc.w $9901,$ff00,$0182,$0000,$0180,$0444
dc.w $9a01,$ff00,$0182,$0000,$0180,$0333
dc.w $9b01,$ff00,$0182,$0000,$0180,$0222
dc.w $9c01,$ff00,$0182,$0000,$0180,$0111
dc.w $9d01,$ff00,$0182,$0000,$0180,$0000
dc.w $ae01,$ff00,$0182,$0000,$0180,$0666
dc.w $b001,$ff00,$0182,$0000,$0180,$0444
dc.w $b501,$ff00,$00e0,$0004,$00e2,$ff00
dc.w $c501,$ff00,$0182,$0888
dc.w $00e0,$0004,$00e2,$ff00
dc.w $d501,$ff00,$0182,$0666
dc.w $00e0,$0004,$00e2,$ff00
dc.w $e501,$ff00,$0182,$0222
dc.w $00e0,$0004,$00e2,$ff00
dc.w $fd01,$ff00,$0182,$0000,$0180,$0333
dc.w $ff01,$ff00,$0182,$0000,$0180,$0000
dc.w $ffff,$fffe
text:
dc.b "THE DANISH DEMO DUO ARE VERY GOOD JUST LOOK AT THIS ISN'T "
dc.b "IT THEREFORE PET GOT THIS GREAT AMIGA !!!! EHH 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 3