LSP 1st

From NeoGeo Development Wiki
Jump to: navigation, search

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:

  • All shrinking values are set to max (all SCB2 is set to $0FFF)
  • All sprite heights are set to 0 and Y positions set to 496 (all SCB3 is set to $0000)
  • All sprite X positions are set to 380 (all SCB4 is set to $BE00)
  • The map of sprite #0 is set to tiles # $FF (SCB1 $0000~$0040 to $00FF,$0000)