mirror of
https://github.com/jeremysrand/BuGS.git
synced 2025-04-04 02:29:53 +00:00
Change the way colour works to make it cheaper to overwrite any background colour with green which will make drawing centipede segments faster.
This commit is contained in:
parent
1b1506aac8
commit
3fce9d866a
214
BuGS/colour.s
214
BuGS/colour.s
@ -32,22 +32,22 @@ loop lda colour1,y
|
||||
|
||||
|
||||
colour1 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$00f0' ; Green ; Mushrooms ($1 to $3)
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00f0' ; Green ; Centipedes ($4 to $6)
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00f0' ; Green ; Spiders ($7 to $9)
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00f0' ; Green ; Fleas ($a to $c)
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00f0' ; Green ; Scorpions ($d to $f)
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0000' ; $0 - 0000 - Black
|
||||
dc i2'$00f0' ; $1 - 0001 - Green Mushrooms ($1 to $3)
|
||||
dc i2'$0f00' ; $2 - 0010 - Red
|
||||
dc i2'$0ffc' ; $3 - 0011 - Off-white
|
||||
dc i2'$0f00' ; $4 - 0100 - Red
|
||||
dc i2'$0f00' ; $5 - 0101 - Red
|
||||
dc i2'$0f00' ; $6 - 0110 - Red
|
||||
dc i2'$0f00' ; $7 - 0111 - Red
|
||||
dc i2'$0ffc' ; $8 - 1000 - Off-white
|
||||
dc i2'$0ffc' ; $9 - 1001 - Off-white
|
||||
dc i2'$0ffc' ; $a - 1010 - Off-white
|
||||
dc i2'$0ffc' ; $b - 1011 - Off-white
|
||||
dc i2'$00f0' ; $c - 1100 - Green
|
||||
dc i2'$00f0' ; $d - 1101 - Green
|
||||
dc i2'$00f0' ; $e - 1110 - Green
|
||||
dc i2'$00f0' ; $f - 1111 - Green
|
||||
|
||||
|
||||
colour2 anop
|
||||
@ -55,18 +55,18 @@ colour2 anop
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
|
||||
|
||||
colour3 anop
|
||||
@ -74,18 +74,18 @@ colour3 anop
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
|
||||
|
||||
colour4 anop
|
||||
@ -93,18 +93,18 @@ colour4 anop
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
dc i2'$0f0c' ; Light Violet
|
||||
|
||||
|
||||
colour5 anop
|
||||
@ -112,179 +112,179 @@ colour5 anop
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
|
||||
colour6 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
|
||||
colour7 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
|
||||
colour8 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
|
||||
colour9 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
|
||||
colour10 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
|
||||
colour11 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0ffc' ; Off-white
|
||||
dc i2'$0ffc' ; Off-white
|
||||
|
||||
colour12 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$000f' ; Blue
|
||||
dc i2'$00fc' ; Light Tourquiose
|
||||
dc i2'$0fc0' ; Orange
|
||||
dc i2'$0fc0' ; Orange
|
||||
anop
|
||||
colour13 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0ff0' ; Yellow
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
dc i2'$00ff' ; Tourquiose
|
||||
|
||||
colour14 anop
|
||||
dc i2'$0000' ; Black
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$0f0f' ; Violet
|
||||
dc i2'$0f00' ; Red
|
||||
dc i2'$00f0' ; Green
|
||||
dc i2'$00f0' ; Green
|
||||
|
||||
end
|
||||
|
704
BuGS/sprites.s
704
BuGS/sprites.s
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user