LSP 1st: Difference between revisions
Jump to navigation
Jump to search
m (2 revisions: Import from wikkii) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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 | |||
This [[system ROM]] call performs the following operations: | |||
*All shrinking values are set to max (all [[sprites|SCB2]] to $0FFF) | |||
*All heights | * All [[Sprite_shrinking|shrinking]] values are set to max (all [[sprites|SCB2]] is set to $0FFF) | ||
*All X positions are set to 380 (all [[sprites|SCB4]] to $BE00) | * 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]] |
Latest revision as of 03:34, 27 April 2018
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: