mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-22 06:31:48 +00:00
25 lines
865 B
ArmAsm
25 lines
865 B
ArmAsm
; Autogenerated by Mr. Sprite. Do not modify
|
|
|
|
|
|
DrawSpriteBank :
|
|
ASL ; A=Sprite Number ($0000-$000E)
|
|
TAX ; Y=Target Screen Address ($2000-$9D00)
|
|
LDA SpriteBankNum,X ; Relative Sprite Number Table
|
|
JMP (SpriteBankBank,X) ; Bank Number Table
|
|
|
|
SpriteBankNum :
|
|
.dbyt $0100,$0000,$0A00,$0500,$0600,$0900,$0D00,$0C00
|
|
.dbyt $0800,$0700,$0B00,$0E00,$0200,$0300,$0400
|
|
|
|
SpriteBankBank :
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
|
|
SpriteBankBank00 :
|
|
JSL $AA0000
|
|
PHK
|
|
PLB
|
|
RTS
|
|
|
|
;----------
|