GSCats/spritebank.s

23 lines
649 B
ArmAsm
Raw Normal View History

; Autogenerated by Mr. Sprite. Do not modify
2017-10-01 22:40:29 +00:00
DrawSpriteBank :
2017-10-23 19:56:12 +00:00
ASL ; A=Sprite Number ($0000-$0006)
TAX ; Y=Target Screen Address ($2000-$9D00)
LDA SpriteBankNum,X ; Relative Sprite Number Table
JMP (SpriteBankBank,X) ; Bank Number Table
SpriteBankNum :
.dbyt $0000,$0500,$0400,$0100,$0200,$0600,$0300
SpriteBankBank :
2017-10-23 19:56:12 +00:00
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
SpriteBankBank00 :
JSL $AA0000
PHK
PLB
RTS
;----------