2017-10-07 22:00:40 +00:00
|
|
|
; Autogenerated by Mr. Sprite. Do not modify
|
2017-10-01 22:40:29 +00:00
|
|
|
|
|
|
|
|
2017-10-07 22:00:40 +00:00
|
|
|
DrawSpriteBank :
|
2018-08-06 20:00:13 +00:00
|
|
|
ASL ; A=Sprite Number ($0000-$000D)
|
2017-10-07 22:00:40 +00:00
|
|
|
TAX ; Y=Target Screen Address ($2000-$9D00)
|
|
|
|
LDA SpriteBankNum,X ; Relative Sprite Number Table
|
|
|
|
JMP (SpriteBankBank,X) ; Bank Number Table
|
|
|
|
|
|
|
|
SpriteBankNum :
|
2018-08-06 20:00:13 +00:00
|
|
|
.dbyt $0100,$0000,$0900,$0400,$0500,$0800,$0C00,$0B00
|
|
|
|
.dbyt $0700,$0600,$0A00,$0D00,$0200,$0300
|
2017-10-07 22:00:40 +00:00
|
|
|
|
|
|
|
SpriteBankBank :
|
2018-06-10 19:00:05 +00:00
|
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
2018-08-06 20:00:13 +00:00
|
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
2017-10-07 22:00:40 +00:00
|
|
|
|
|
|
|
SpriteBankBank00 :
|
|
|
|
JSL $AA0000
|
|
|
|
PHK
|
|
|
|
PLB
|
|
|
|
RTS
|
|
|
|
|
|
|
|
;----------
|