New sprites and some palette work
BIN
Art/Assets/16d59bd2ff00f204ad368d2fc2812fc4.jpg
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
Art/Assets/7a45e5cea8e85fba634f7a1cbfe72f00.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
Art/Assets/cat_sprite_sheet_by_inkybiscuits-da4qnkv.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
Art/Assets/tandywalk.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
Art/Cat_000.xcf
BIN
Art/Cat_001.xcf
Normal file
Before Width: | Height: | Size: 104 B |
BIN
Art/cat_000.gif
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 195 B |
BIN
Art/cat_001.gif
Normal file
After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 145 B |
2
Makefile
@ -16,7 +16,7 @@ ADDR=800
|
|||||||
PGM=gscats
|
PGM=gscats
|
||||||
MRSPRITE=../MrSprite/mrsprite
|
MRSPRITE=../MrSprite/mrsprite
|
||||||
CHROMA=00ff00
|
CHROMA=00ff00
|
||||||
PALETTE=a4dffb a4dffb 008800 886611 cc9933 eebb44 dd6666 ff99aa 0e7db1 000000 ffff00 ffff00 ffff00 ffff00 ffff00 ffffff
|
PALETTE=a4dffb a4dffb 008800 886611 cc9933 eebb44 dd6666 ff99aa 00ff00 ffffff b7b7b7 dddddd 0e7db1 000000 ffff00 ffff00
|
||||||
SPRITES=SpriteBank
|
SPRITES=SpriteBank
|
||||||
REMOTESYMBOLS=-Wl $(shell ./ParseMapFile.py *.map)
|
REMOTESYMBOLS=-Wl $(shell ./ParseMapFile.py *.map)
|
||||||
|
|
||||||
|
BIN
SpriteBank00.bin
780
font.s
@ -164,524 +164,524 @@ FontTable:
|
|||||||
|
|
||||||
FontData:
|
FontData:
|
||||||
s_Space:
|
s_Space:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Exclaim:
|
s_Exclaim:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
|
|
||||||
s_Quote:
|
s_Quote:
|
||||||
qbyte7 $0FF00FF0
|
qbyte $0FF00FF0
|
||||||
qbyte7 $00F000F0
|
qbyte $00F000F0
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Number:
|
s_Number:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
|
|
||||||
s_Dollar:
|
s_Dollar:
|
||||||
qbyte7 $000F0F00
|
qbyte $000F0F00
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
qbyte7 $0F0F0F00
|
qbyte $0F0F0F00
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $000F0FF0
|
qbyte $000F0FF0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_Percent:
|
s_Percent:
|
||||||
qbyte7 $0FF000F0
|
qbyte $0FF000F0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $0F000FF0
|
qbyte $0F000FF0
|
||||||
|
|
||||||
s_Amper:
|
s_Amper:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0F00F000
|
qbyte $0F00F000
|
||||||
qbyte7 $00F000F0
|
qbyte $00F000F0
|
||||||
qbyte7 $0F0FFF00
|
qbyte $0F0FFF00
|
||||||
qbyte7 $00F0F000
|
qbyte $00F0F000
|
||||||
|
|
||||||
s_Single:
|
s_Single:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_OpenParen:
|
s_OpenParen:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00FF0000
|
qbyte $00FF0000
|
||||||
qbyte7 $0FF00000
|
qbyte $0FF00000
|
||||||
qbyte7 $0FF00000
|
qbyte $0FF00000
|
||||||
qbyte7 $00FF0000
|
qbyte $00FF0000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
|
|
||||||
s_CloseParen: ; Anger symbol
|
s_CloseParen: ; Anger symbol
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $F000000F
|
qbyte $F000000F
|
||||||
|
|
||||||
|
|
||||||
s_Asterix:
|
s_Asterix:
|
||||||
qbyte7 $00000000 ; Angle symbol
|
qbyte $00000000 ; Angle symbol
|
||||||
qbyte7 $00000FF0
|
qbyte $00000FF0
|
||||||
qbyte7 $0000FF00
|
qbyte $0000FF00
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Plus: ; Power symbol
|
s_Plus: ; Power symbol
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Comma:
|
s_Comma:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $0000FF00
|
qbyte $0000FF00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
|
|
||||||
s_Minus:
|
s_Minus:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
|
|
||||||
s_Period:
|
s_Period:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $0000FF00
|
qbyte $0000FF00
|
||||||
qbyte7 $0000FF00
|
qbyte $0000FF00
|
||||||
|
|
||||||
s_Slash:
|
s_Slash:
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
|
|
||||||
s_N0:
|
s_N0:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F000FF0
|
qbyte $0F000FF0
|
||||||
qbyte7 $0F00F0F0
|
qbyte $0F00F0F0
|
||||||
qbyte7 $0F0F00F0
|
qbyte $0F0F00F0
|
||||||
qbyte7 $0FF000F0
|
qbyte $0FF000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_N1:
|
s_N1:
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00FF0000
|
qbyte $00FF0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00FFF000
|
qbyte $00FFF000
|
||||||
|
|
||||||
s_N2:
|
s_N2:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
|
|
||||||
s_N3:
|
s_N3:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $000FFF00
|
qbyte $000FFF00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_N4:
|
s_N4:
|
||||||
qbyte7 $0000FF00
|
qbyte $0000FF00
|
||||||
qbyte7 $000F0F00
|
qbyte $000F0F00
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
|
|
||||||
s_N5:
|
s_N5:
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_N6:
|
s_N6:
|
||||||
qbyte7 $000FFF00
|
qbyte $000FFF00
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
|
|
||||||
s_N7:
|
s_N7:
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
|
|
||||||
s_N8:
|
s_N8:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_N9:
|
s_N9:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
|
|
||||||
s_Colon:
|
s_Colon:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Semi:
|
s_Semi:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
|
|
||||||
s_LAngle:
|
s_LAngle:
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Equal:
|
s_Equal:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_RAngle:
|
s_RAngle:
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_Question:
|
s_Question:
|
||||||
qbyte7 $00FFF000
|
qbyte $00FFF000
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
|
|
||||||
s_At:
|
s_At:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F00F0F0
|
qbyte $0F00F0F0
|
||||||
qbyte7 $0FFFF0F0
|
qbyte $0FFFF0F0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_A:
|
s_A:
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_B:
|
s_B:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_C:
|
s_C:
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
|
|
||||||
s_D:
|
s_D:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_E:
|
s_E:
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFF000
|
qbyte $0FFFF000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
|
|
||||||
s_F:
|
s_F:
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFF000
|
qbyte $0FFFF000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
|
|
||||||
s_G:
|
s_G:
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F00FFF0
|
qbyte $0F00FFF0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_H:
|
s_H:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_I:
|
s_I:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_J:
|
s_J:
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_K:
|
s_K:
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
qbyte7 $0F00F000
|
qbyte $0F00F000
|
||||||
qbyte7 $0FFF0000
|
qbyte $0FFF0000
|
||||||
qbyte7 $0F00F000
|
qbyte $0F00F000
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
|
|
||||||
s_L:
|
s_L:
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
|
|
||||||
s_M:
|
s_M:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FF00FF0
|
qbyte $0FF00FF0
|
||||||
qbyte7 $0F0FF0F0
|
qbyte $0F0FF0F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_N:
|
s_N:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FF000F0
|
qbyte $0FF000F0
|
||||||
qbyte7 $0F0F00F0
|
qbyte $0F0F00F0
|
||||||
qbyte7 $0F00F0F0
|
qbyte $0F00F0F0
|
||||||
qbyte7 $0F000FF0
|
qbyte $0F000FF0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_O:
|
s_O:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_P:
|
s_P:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
|
|
||||||
s_Q:
|
s_Q:
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F00F0F0
|
qbyte $0F00F0F0
|
||||||
qbyte7 $0F000FF0
|
qbyte $0F000FF0
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
|
|
||||||
s_R:
|
s_R:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_S:
|
s_S:
|
||||||
qbyte7 $00FFFFF0
|
qbyte $00FFFFF0
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
|
|
||||||
s_T:
|
s_T:
|
||||||
qbyte7 $0FFFFF00
|
qbyte $0FFFFF00
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
|
|
||||||
s_U:
|
s_U:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00FFFF00
|
qbyte $00FFFF00
|
||||||
|
|
||||||
s_V:
|
s_V:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
|
|
||||||
s_W:
|
s_W:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $0F0FF0F0
|
qbyte $0F0FF0F0
|
||||||
qbyte7 $0FF00FF0
|
qbyte $0FF00FF0
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_X:
|
s_X:
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $000FF000
|
qbyte $000FF000
|
||||||
qbyte7 $00F00F00
|
qbyte $00F00F00
|
||||||
qbyte7 $0F0000F0
|
qbyte $0F0000F0
|
||||||
|
|
||||||
s_Y:
|
s_Y:
|
||||||
qbyte7 $F00000F0
|
qbyte $F00000F0
|
||||||
qbyte7 $0F000F00
|
qbyte $0F000F00
|
||||||
qbyte7 $00F0F000
|
qbyte $00F0F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
|
|
||||||
s_Z:
|
s_Z:
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $0FFFFFF0
|
qbyte $0FFFFFF0
|
||||||
|
|
||||||
s_LBracket:
|
s_LBracket:
|
||||||
qbyte7 $000FFF00
|
qbyte $000FFF00
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $000FFF00
|
qbyte $000FFF00
|
||||||
|
|
||||||
s_BackSlash:
|
s_BackSlash:
|
||||||
qbyte7 $0F000000
|
qbyte $0F000000
|
||||||
qbyte7 $00F00000
|
qbyte $00F00000
|
||||||
qbyte7 $000F0000
|
qbyte $000F0000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00000F00
|
qbyte $00000F00
|
||||||
qbyte7 $000000F0
|
qbyte $000000F0
|
||||||
|
|
||||||
s_RBracket:
|
s_RBracket:
|
||||||
qbyte7 $00FFF000
|
qbyte $00FFF000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $00FFF000
|
qbyte $00FFF000
|
||||||
|
|
||||||
s_Caret:
|
s_Caret:
|
||||||
qbyte7 $0000F000
|
qbyte $0000F000
|
||||||
qbyte7 $000F0F00
|
qbyte $000F0F00
|
||||||
qbyte7 $00F000F0
|
qbyte $00F000F0
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
s_UnderLine:
|
s_UnderLine:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $FFFFFFF0
|
qbyte $FFFFFFF0
|
||||||
|
|
||||||
s_Template:
|
s_Template:
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
qbyte7 $00000000
|
qbyte $00000000
|
||||||
|
|
||||||
|
@ -16,6 +16,18 @@ beginGameplay:
|
|||||||
lda #0
|
lda #0
|
||||||
jsr setPalette
|
jsr setPalette
|
||||||
|
|
||||||
|
; Set up palette for status bar
|
||||||
|
lda #statusBarPalette
|
||||||
|
sta PARAML0
|
||||||
|
lda #1
|
||||||
|
jsr setPalette
|
||||||
|
|
||||||
|
lda #1
|
||||||
|
sta PARAML0
|
||||||
|
ldx #0
|
||||||
|
ldy #10
|
||||||
|
jsr setScanlinePalette
|
||||||
|
|
||||||
; Set up sprite rendering
|
; Set up sprite rendering
|
||||||
BITS8
|
BITS8
|
||||||
lda #3
|
lda #3
|
||||||
@ -320,7 +332,9 @@ fire:
|
|||||||
|
|
||||||
|
|
||||||
basePalette:
|
basePalette:
|
||||||
.word $0aef,$0aef,$0080,$0861,$0c93,$0eb4,$0d66,$0f9a,$007b,$0000,$0000,$0000,$0000,$0000,$0000,$0FFF
|
.word $0aef,$0aef,$0080,$0861,$0c93,$0eb4,$0d66,$0f9a,$00f0,$0fff,$0bbb,$ddd,$007b,$0000,$0ff0,$0fff
|
||||||
|
statusBarPalette:
|
||||||
|
.word $0888,$0aef,$0F00,$0861,$0c93,$0eb4,$0d66,$0f9a,$00f0,$0fff,$0bbb,$ddd,$007b,$0000,$0ff0,$0fff
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
35
graphics.s
@ -80,6 +80,29 @@ initSCBsLoop:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
; setScanlinePalette
|
||||||
|
; Set the palette for a given scan line
|
||||||
|
;
|
||||||
|
; PARAML0 = Palette index
|
||||||
|
; X = Start scan line
|
||||||
|
; Y = Count
|
||||||
|
|
||||||
|
setScanlinePalette:
|
||||||
|
pha
|
||||||
|
|
||||||
|
setScanlinePaletteLoop:
|
||||||
|
lda $e19d00,x
|
||||||
|
ora PARAML0
|
||||||
|
sta $e19d00,x
|
||||||
|
inx
|
||||||
|
dey
|
||||||
|
bne setScanlinePaletteLoop
|
||||||
|
|
||||||
|
pla
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; enableFillMode
|
; enableFillMode
|
||||||
; Enables fill mode for a given scanline
|
; Enables fill mode for a given scanline
|
||||||
@ -144,7 +167,7 @@ setPaletteColor:
|
|||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; setPalette
|
; setPalette
|
||||||
; Set a single color in a palette
|
; Set all colors in a palette from memory
|
||||||
; PARAML0 = Pointer to 32 color bytes
|
; PARAML0 = Pointer to 32 color bytes
|
||||||
; A = Palette index
|
; A = Palette index
|
||||||
;
|
;
|
||||||
@ -156,13 +179,17 @@ setPalette:
|
|||||||
asl
|
asl
|
||||||
asl
|
asl
|
||||||
asl
|
asl
|
||||||
tax
|
BITS8A
|
||||||
|
sta setPaletteLoop_SMC+1
|
||||||
|
BITS16
|
||||||
|
ldx #0
|
||||||
ldy #0
|
ldy #0
|
||||||
|
|
||||||
setPaletteLoop:
|
setPaletteLoop:
|
||||||
|
|
||||||
lda (PARAML0),y
|
lda (PARAML0),y
|
||||||
sta $e19e00,x
|
setPaletteLoop_SMC:
|
||||||
|
sta $e19e00,x ; Self-modifying code!
|
||||||
|
|
||||||
iny
|
iny
|
||||||
iny
|
iny
|
||||||
inx
|
inx
|
||||||
|
BIN
gscats.2mg
@ -49,7 +49,7 @@ renderInventoryItem:
|
|||||||
|
|
||||||
phy
|
phy
|
||||||
phx
|
phx
|
||||||
lda #1
|
lda #2
|
||||||
clc
|
clc
|
||||||
jsr DrawSpriteBank
|
jsr DrawSpriteBank
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ DrawSpriteBank :
|
|||||||
JMP (SpriteBankBank,X) ; Bank Number Table
|
JMP (SpriteBankBank,X) ; Bank Number Table
|
||||||
|
|
||||||
SpriteBankNum :
|
SpriteBankNum :
|
||||||
.dbyt $0000,$0400,$0500,$0100,$0200,$0600,$0300
|
.dbyt $0200,$0100,$0500,$0000,$0300,$0600,$0400
|
||||||
|
|
||||||
SpriteBankBank :
|
SpriteBankBank :
|
||||||
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
||||||
|