home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
vidar.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
1KB
|
57 lines
run:
s:
move.b #$80,lab1+3
lea tabel,a0
s1:
andi.b #64,$bfe001
beq s5
lab1:
cmp.b #$80,$dff006
bne s1
s2:
move.w farve,$dff180
add.b #1,lab1+3
move.w (a0)+,farve
cmp.l #endtab,a0
bne s1
cmp.b #$01,tjekk
beq spe2
spe1:
add.b #1,s+3
cmp.b #$e0,s+3
bne s
move.b #$01,tjekk
bra s
spe2:
sub.b #1,s+3
cmp.b #$50,s+3
bne s
move.b #$00,tjekk
bra s
even
tabel:
dc.w $200,$400,$600,$800,$a00,$c00,$e00,$e00,$e00,$c00,$a00
dc.w $800,$600,$400,$200
dc.w $000,$111,$333,$555,$666,$888,$999,$aaa,$bbb,$ccc,$ddd
dc.w $ddd,$ccc,$bbb,$aaa,$999,$888,$666,$555,$333,$111,$000
dc.w $004,$004,$006,$008,$00a,$00c,$00e,$00e,$00e,$00c,$00a
dc.w $008,$006,$004,$003,$002
dc.w $020,$040,$060,$080,$0a0,$0c0,$0e0,$0f0,$0e0,$0c0,$0a0
dc.w $080,$060,$040,$020
dc.w $000,$110,$220,$440,$660,$880,$aa0,$cc0,$ee0,$ff0,$ee0
dc.w $cc0,$aa0,$880,$660,$440,$220,$110,$000
dc.w $011,$022,$044,$066,$088,$0aa,$0cc,$0ee,$0ff,$0ee,$0cc
dc.w $0aa,$088,$066,$044,$022,$011
dc.w $000,$101,$202,$404,$606,$808,$a0a,$c0c,$e0e,$f0f,$e0e
dc.w $c0c,$a0a,$808,$606,$404,$202,$101
endtab:
even
farve:
dc.w $5
even
tjekk:
dc.b $00
even
s5:
rts