/
How to retrieve sprite data from BANK4?

How to retrieve sprite data from BANK4?

Here’s a snippet of eleven source code from the xanadu demo that accomplishes this:

#declare SPRPTRBNK = $d06e #declare SPRPTRADR = $d06c ... ' enforce sprites into BANK4 and SPRPTR16 bit turned on poke SPRPTRBNK, 4+128 wpoke SPRPTRADR, 0

NOTE: That +128 is the turning on of bit7 (SPRPTR16).

(the full source can be perused here)

 

Related content

Dabbling with sprites in BASIC and the Sprite Editor
Dabbling with sprites in BASIC and the Sprite Editor
More like this
QSPI Flash Information
QSPI Flash Information
More like this
"viciv.vhdl" studies
"viciv.vhdl" studies
More like this
System Partition details
System Partition details
More like this
Deciphering Uart Monitor's register details
Deciphering Uart Monitor's register details
More like this
MEGA65 Style Cartridge (Work in Progress)
MEGA65 Style Cartridge (Work in Progress)
More like this