New sprites and some palette work

This commit is contained in:
blondie7575 2018-06-06 13:23:00 -07:00
parent d5666cd3a6
commit 85dd7a6bfd
24 changed files with 439 additions and 398 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
Art/Assets/tandywalk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Binary file not shown.

BIN
Art/Cat_001.xcf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 195 B

BIN
Art/cat_001.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

After

Width:  |  Height:  |  Size: 145 B

View File

@ -16,7 +16,7 @@ ADDR=800
PGM=gscats
MRSPRITE=../MrSprite/mrsprite
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
REMOTESYMBOLS=-Wl $(shell ./ParseMapFile.py *.map)

Binary file not shown.

780
font.s
View File

@ -164,524 +164,524 @@ FontTable:
FontData:
s_Space:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
s_Exclaim:
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $00000000
qbyte7 $000FF000
qbyte $000FF000
qbyte $000FF000
qbyte $000FF000
qbyte $000FF000
qbyte $00000000
qbyte $000FF000
s_Quote:
qbyte7 $0FF00FF0
qbyte7 $00F000F0
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $0FF00FF0
qbyte $00F000F0
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
s_Number:
qbyte7 $00000000
qbyte7 $00F00F00
qbyte7 $0FFFFFF0
qbyte7 $00F00F00
qbyte7 $0FFFFFF0
qbyte7 $00F00F00
qbyte $00000000
qbyte $00F00F00
qbyte $0FFFFFF0
qbyte $00F00F00
qbyte $0FFFFFF0
qbyte $00F00F00
s_Dollar:
qbyte7 $000F0F00
qbyte7 $00FFFFF0
qbyte7 $0F0F0F00
qbyte7 $00FFFF00
qbyte7 $000F0FF0
qbyte7 $0FFFFF00
qbyte $000F0F00
qbyte $00FFFFF0
qbyte $0F0F0F00
qbyte $00FFFF00
qbyte $000F0FF0
qbyte $0FFFFF00
s_Percent:
qbyte7 $0FF000F0
qbyte7 $00000F00
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $00F00000
qbyte7 $0F000FF0
qbyte $0FF000F0
qbyte $00000F00
qbyte $0000F000
qbyte $000F0000
qbyte $00F00000
qbyte $0F000FF0
s_Amper:
qbyte7 $000FF000
qbyte7 $00F00F00
qbyte7 $0F00F000
qbyte7 $00F000F0
qbyte7 $0F0FFF00
qbyte7 $00F0F000
qbyte $000FF000
qbyte $00F00F00
qbyte $0F00F000
qbyte $00F000F0
qbyte $0F0FFF00
qbyte $00F0F000
s_Single:
qbyte7 $000FF000
qbyte7 $0000F000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $000FF000
qbyte $0000F000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
s_OpenParen:
qbyte7 $000FF000
qbyte7 $00FF0000
qbyte7 $0FF00000
qbyte7 $0FF00000
qbyte7 $00FF0000
qbyte7 $000FF000
qbyte $000FF000
qbyte $00FF0000
qbyte $0FF00000
qbyte $0FF00000
qbyte $00FF0000
qbyte $000FF000
s_CloseParen: ; Anger symbol
qbyte7 $0F0000F0
qbyte7 $00F00F00
qbyte7 $00000000
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $F000000F
qbyte $0F0000F0
qbyte $00F00F00
qbyte $00000000
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $F000000F
s_Asterix:
qbyte7 $00000000 ; Angle symbol
qbyte7 $00000FF0
qbyte7 $0000FF00
qbyte7 $000FF000
qbyte7 $00FFFFF0
qbyte7 $00000000
qbyte $00000000 ; Angle symbol
qbyte $00000FF0
qbyte $0000FF00
qbyte $000FF000
qbyte $00FFFFF0
qbyte $00000000
s_Plus: ; Power symbol
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $0FFFFF00
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $00000000
qbyte $000F0000
qbyte $000F0000
qbyte $0FFFFF00
qbyte $000F0000
qbyte $000F0000
qbyte $00000000
s_Comma:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $0000FF00
qbyte7 $0000F000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $0000FF00
qbyte $0000F000
s_Minus:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $0FFFFF00
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $00000000
qbyte $00000000
qbyte $0FFFFF00
qbyte $00000000
qbyte $00000000
qbyte $00000000
s_Period:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $0000FF00
qbyte7 $0000FF00
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $0000FF00
qbyte $0000FF00
s_Slash:
qbyte7 $000000F0
qbyte7 $00000F00
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $00F00000
qbyte7 $0F000000
qbyte $000000F0
qbyte $00000F00
qbyte $0000F000
qbyte $000F0000
qbyte $00F00000
qbyte $0F000000
s_N0:
qbyte7 $00FFFF00
qbyte7 $0F000FF0
qbyte7 $0F00F0F0
qbyte7 $0F0F00F0
qbyte7 $0FF000F0
qbyte7 $00FFFF00
qbyte $00FFFF00
qbyte $0F000FF0
qbyte $0F00F0F0
qbyte $0F0F00F0
qbyte $0FF000F0
qbyte $00FFFF00
s_N1:
qbyte7 $000F0000
qbyte7 $00FF0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $00FFF000
qbyte $000F0000
qbyte $00FF0000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $00FFF000
s_N2:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $00000F00
qbyte7 $000FF000
qbyte7 $00F00000
qbyte7 $0FFFFFF0
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $00000F00
qbyte $000FF000
qbyte $00F00000
qbyte $0FFFFFF0
s_N3:
qbyte7 $00FFFF00
qbyte7 $000000F0
qbyte7 $000FFF00
qbyte7 $000000F0
qbyte7 $000000F0
qbyte7 $00FFFF00
qbyte $00FFFF00
qbyte $000000F0
qbyte $000FFF00
qbyte $000000F0
qbyte $000000F0
qbyte $00FFFF00
s_N4:
qbyte7 $0000FF00
qbyte7 $000F0F00
qbyte7 $00F00F00
qbyte7 $0FFFFFF0
qbyte7 $00000F00
qbyte7 $00000F00
qbyte $0000FF00
qbyte $000F0F00
qbyte $00F00F00
qbyte $0FFFFFF0
qbyte $00000F00
qbyte $00000F00
s_N5:
qbyte7 $0FFFFFF0
qbyte7 $0F000000
qbyte7 $0FFFFF00
qbyte7 $000000F0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $0FFFFFF0
qbyte $0F000000
qbyte $0FFFFF00
qbyte $000000F0
qbyte $0F0000F0
qbyte $00FFFF00
s_N6:
qbyte7 $000FFF00
qbyte7 $00F00000
qbyte7 $0F000000
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $00FFFFF0
qbyte $000FFF00
qbyte $00F00000
qbyte $0F000000
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $00FFFFF0
s_N7:
qbyte7 $0FFFFFF0
qbyte7 $000000F0
qbyte7 $00000F00
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte $0FFFFFF0
qbyte $000000F0
qbyte $00000F00
qbyte $0000F000
qbyte $000F0000
qbyte $000F0000
s_N8:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $00FFFF00
s_N9:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $00F00000
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $00FFFF00
qbyte $0000F000
qbyte $000F0000
qbyte $00F00000
s_Colon:
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $00000000
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $00000000
qbyte $000FF000
qbyte $000FF000
qbyte $00000000
qbyte $000FF000
qbyte $000FF000
qbyte $00000000
s_Semi:
qbyte7 $00000000
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $00000000
qbyte7 $000FF000
qbyte7 $000F0000
qbyte $00000000
qbyte $000FF000
qbyte $000FF000
qbyte $00000000
qbyte $000FF000
qbyte $000F0000
s_LAngle:
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $00F00000
qbyte7 $000F0000
qbyte7 $0000F000
qbyte7 $00000000
qbyte $0000F000
qbyte $000F0000
qbyte $00F00000
qbyte $000F0000
qbyte $0000F000
qbyte $00000000
s_Equal:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $0FFFFF00
qbyte7 $00000000
qbyte7 $0FFFFF00
qbyte7 $00000000
qbyte $00000000
qbyte $00000000
qbyte $0FFFFF00
qbyte $00000000
qbyte $0FFFFF00
qbyte $00000000
s_RAngle:
qbyte7 $0000F000
qbyte7 $00000F00
qbyte7 $000000F0
qbyte7 $00000F00
qbyte7 $0000F000
qbyte7 $00000000
qbyte $0000F000
qbyte $00000F00
qbyte $000000F0
qbyte $00000F00
qbyte $0000F000
qbyte $00000000
s_Question:
qbyte7 $00FFF000
qbyte7 $0F000F00
qbyte7 $00000F00
qbyte7 $000FF000
qbyte7 $00000000
qbyte7 $000FF000
qbyte $00FFF000
qbyte $0F000F00
qbyte $00000F00
qbyte $000FF000
qbyte $00000000
qbyte $000FF000
s_At:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $0F00F0F0
qbyte7 $0FFFF0F0
qbyte7 $000000F0
qbyte7 $0FFFFF00
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $0F00F0F0
qbyte $0FFFF0F0
qbyte $000000F0
qbyte $0FFFFF00
s_A:
qbyte7 $000FF000
qbyte7 $00F00F00
qbyte7 $0F0000F0
qbyte7 $0FFFFFF0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte $000FF000
qbyte $00F00F00
qbyte $0F0000F0
qbyte $0FFFFFF0
qbyte $0F0000F0
qbyte $0F0000F0
s_B:
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0FFFFF00
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0FFFFF00
s_C:
qbyte7 $00FFFFF0
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $00FFFFF0
qbyte $00FFFFF0
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
qbyte $00FFFFF0
s_D:
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0FFFFF00
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0FFFFF00
s_E:
qbyte7 $0FFFFFF0
qbyte7 $0F000000
qbyte7 $0FFFF000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0FFFFFF0
qbyte $0FFFFFF0
qbyte $0F000000
qbyte $0FFFF000
qbyte $0F000000
qbyte $0F000000
qbyte $0FFFFFF0
s_F:
qbyte7 $0FFFFFF0
qbyte7 $0F000000
qbyte7 $0FFFF000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte $0FFFFFF0
qbyte $0F000000
qbyte $0FFFF000
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
s_G:
qbyte7 $00FFFFF0
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F00FFF0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $00FFFFF0
qbyte $0F000000
qbyte $0F000000
qbyte $0F00FFF0
qbyte $0F0000F0
qbyte $00FFFF00
s_H:
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0FFFFFF0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0FFFFFF0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
s_I:
qbyte7 $0FFFFF00
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $0FFFFF00
qbyte $0FFFFF00
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $0FFFFF00
s_J:
qbyte7 $000000F0
qbyte7 $000000F0
qbyte7 $000000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $000000F0
qbyte $000000F0
qbyte $000000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $00FFFF00
s_K:
qbyte7 $0F000F00
qbyte7 $0F00F000
qbyte7 $0FFF0000
qbyte7 $0F00F000
qbyte7 $0F000F00
qbyte7 $0F000F00
qbyte $0F000F00
qbyte $0F00F000
qbyte $0FFF0000
qbyte $0F00F000
qbyte $0F000F00
qbyte $0F000F00
s_L:
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0FFFFFF0
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
qbyte $0FFFFFF0
s_M:
qbyte7 $0F0000F0
qbyte7 $0FF00FF0
qbyte7 $0F0FF0F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte $0F0000F0
qbyte $0FF00FF0
qbyte $0F0FF0F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
s_N:
qbyte7 $0F0000F0
qbyte7 $0FF000F0
qbyte7 $0F0F00F0
qbyte7 $0F00F0F0
qbyte7 $0F000FF0
qbyte7 $0F0000F0
qbyte $0F0000F0
qbyte $0FF000F0
qbyte $0F0F00F0
qbyte $0F00F0F0
qbyte $0F000FF0
qbyte $0F0000F0
s_O:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $00FFFF00
s_P:
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $0FFFFF00
qbyte7 $0F000000
qbyte7 $0F000000
qbyte7 $0F000000
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $0FFFFF00
qbyte $0F000000
qbyte $0F000000
qbyte $0F000000
s_Q:
qbyte7 $00FFFF00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F00F0F0
qbyte7 $0F000FF0
qbyte7 $00FFFFF0
qbyte $00FFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F00F0F0
qbyte $0F000FF0
qbyte $00FFFFF0
s_R:
qbyte7 $0FFFFF00
qbyte7 $0F0000F0
qbyte7 $0FFFFF00
qbyte7 $0F000F00
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte $0FFFFF00
qbyte $0F0000F0
qbyte $0FFFFF00
qbyte $0F000F00
qbyte $0F0000F0
qbyte $0F0000F0
s_S:
qbyte7 $00FFFFF0
qbyte7 $0F000000
qbyte7 $00FFFF00
qbyte7 $000000F0
qbyte7 $000000F0
qbyte7 $0FFFFF00
qbyte $00FFFFF0
qbyte $0F000000
qbyte $00FFFF00
qbyte $000000F0
qbyte $000000F0
qbyte $0FFFFF00
s_T:
qbyte7 $0FFFFF00
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte $0FFFFF00
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
s_U:
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $00FFFF00
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $00FFFF00
s_V:
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $00F00F00
qbyte7 $000FF000
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $00F00F00
qbyte $000FF000
s_W:
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0000F0
qbyte7 $0F0FF0F0
qbyte7 $0FF00FF0
qbyte7 $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0000F0
qbyte $0F0FF0F0
qbyte $0FF00FF0
qbyte $0F0000F0
s_X:
qbyte7 $0F0000F0
qbyte7 $00F00F00
qbyte7 $000FF000
qbyte7 $000FF000
qbyte7 $00F00F00
qbyte7 $0F0000F0
qbyte $0F0000F0
qbyte $00F00F00
qbyte $000FF000
qbyte $000FF000
qbyte $00F00F00
qbyte $0F0000F0
s_Y:
qbyte7 $F00000F0
qbyte7 $0F000F00
qbyte7 $00F0F000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte $F00000F0
qbyte $0F000F00
qbyte $00F0F000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
s_Z:
qbyte7 $0FFFFFF0
qbyte7 $00000F00
qbyte7 $0000F000
qbyte7 $000F0000
qbyte7 $00F00000
qbyte7 $0FFFFFF0
qbyte $0FFFFFF0
qbyte $00000F00
qbyte $0000F000
qbyte $000F0000
qbyte $00F00000
qbyte $0FFFFFF0
s_LBracket:
qbyte7 $000FFF00
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000F0000
qbyte7 $000FFF00
qbyte $000FFF00
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $000F0000
qbyte $000FFF00
s_BackSlash:
qbyte7 $0F000000
qbyte7 $00F00000
qbyte7 $000F0000
qbyte7 $0000F000
qbyte7 $00000F00
qbyte7 $000000F0
qbyte $0F000000
qbyte $00F00000
qbyte $000F0000
qbyte $0000F000
qbyte $00000F00
qbyte $000000F0
s_RBracket:
qbyte7 $00FFF000
qbyte7 $0000F000
qbyte7 $0000F000
qbyte7 $0000F000
qbyte7 $0000F000
qbyte7 $00FFF000
qbyte $00FFF000
qbyte $0000F000
qbyte $0000F000
qbyte $0000F000
qbyte $0000F000
qbyte $00FFF000
s_Caret:
qbyte7 $0000F000
qbyte7 $000F0F00
qbyte7 $00F000F0
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $0000F000
qbyte $000F0F00
qbyte $00F000F0
qbyte $00000000
qbyte $00000000
qbyte $00000000
s_UnderLine:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $FFFFFFF0
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $FFFFFFF0
s_Template:
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte7 $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000
qbyte $00000000

View File

@ -16,6 +16,18 @@ beginGameplay:
lda #0
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
BITS8
lda #3
@ -320,7 +332,9 @@ fire:
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

View File

@ -80,6 +80,29 @@ initSCBsLoop:
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
; Enables fill mode for a given scanline
@ -144,7 +167,7 @@ setPaletteColor:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; setPalette
; Set a single color in a palette
; Set all colors in a palette from memory
; PARAML0 = Pointer to 32 color bytes
; A = Palette index
;
@ -156,13 +179,17 @@ setPalette:
asl
asl
asl
tax
BITS8A
sta setPaletteLoop_SMC+1
BITS16
ldx #0
ldy #0
setPaletteLoop:
lda (PARAML0),y
sta $e19e00,x
setPaletteLoop_SMC:
sta $e19e00,x ; Self-modifying code!
iny
iny
inx

Binary file not shown.

View File

@ -49,7 +49,7 @@ renderInventoryItem:
phy
phx
lda #1
lda #2
clc
jsr DrawSpriteBank

View File

@ -8,7 +8,7 @@ DrawSpriteBank :
JMP (SpriteBankBank,X) ; Bank Number Table
SpriteBankNum :
.dbyt $0000,$0400,$0500,$0100,$0200,$0600,$0300
.dbyt $0200,$0100,$0500,$0000,$0300,$0600,$0400
SpriteBankBank :
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00