LSP 1st: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
=LSP_1ST ($C004C8): Clear sprites= | |||
'''Warning:''' | '''Warning:''' | ||
* Register contents aren't preserved ! (Uses D0, D1, and A0) | |||
* VRAM address is modified | |||
*All shrinking values are set to max (all [[sprites|SCB2]] to $0FFF) | This [[system ROM]] call performs the following operations: | ||
*All heights set to 0 and Y positions set to 496 (all [[sprites|SCB3]] to $0000) | |||
*All X positions are set to 380 (all [[sprites|SCB4]] to $BE00) | * All [[sprite scaling|shrinking]] values are set to max (all [[sprites|SCB2]] is set to $0FFF) | ||
*The map of sprite #0 is set to tiles # $FF ([[sprites|SCB1]] $0000~$0040 to $00FF,$0000) | * All sprite heights are set to 0 and Y positions set to 496 (all [[sprites|SCB3]] is set to $0000) | ||
* All sprite X positions are set to 380 (all [[sprites|SCB4]] is set to $BE00) | |||
* The map of sprite #0 is set to tiles # $FF ([[sprites|SCB1]] $0000~$0040 to $00FF,$0000) | |||
[[Category:BIOS calls]] | [[Category:BIOS calls]] |
Revision as of 23:57, 12 June 2017
LSP_1ST ($C004C8): Clear sprites
Warning:
- Register contents aren't preserved ! (Uses D0, D1, and A0)
- VRAM address is modified
This system ROM call performs the following operations: