home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
4th_dim_col.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
1KB
|
55 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 $111,$222,$333,$444,$555,$666,$777,$888,$999,$aaa,$bbb
dc.w $aaa,$999,$888,$777,$666,$555,$444,$333,$222,$111
dc.w $0000,$1100,$2200,$3300,$4400,$5500,$6600,$7700,$8800
dc.w $9900,$aa00,$bb00,$cc00,$bb00,$aa00,$9900,$8800,$7700
dc.w $6600,$5500,$4400,$3300,$2200,$1100,$0000
dc.w $1,$2,$3,$4,$5,$6,$7,$8,$9,$a,$b,$c,$b,$a,$9,$8,$7,$6,$5,$4
dc.w $3,$2,$1
dc.w $0000,$1100,$2200,$3300,$4400,$5500,$6600,$7700,$8800
dc.w $9900,$aa00,$bb00,$cc00,$bb00,$aa00,$9900,$8800,$7700
dc.w $6600,$5500,$4400,$3300,$2200,$1100,$0000
dc.w $111,$222,$333,$444,$555,$666,$777,$888,$999,$aaa,$bbb
dc.w $aaa,$999,$888,$777,$666,$555,$444,$333,$222,$111
endtab:
even
farve:
dc.w $0
even
tjekk:
dc.b $00
even
s5:
rts