LSP 1st: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (2 revisions: Import from wikkii)
mNo edit summary
Line 1: Line 1:
== [[BIOSF_CLEARSPR]] ($C004C8): Clear sprites ==
== BIOSF_LSP_1ST ($C004C8): Clear sprites ==


'''Warning:''' register contents aren't preserved ! (Uses D0, D1, and A0)
'''Warning:''' register contents aren't preserved ! (Uses D0, D1, and A0)


*All maps are cleared with tile # $FF, no special attributes (all [[sprites|SCB1]] to $00FF,$0000)
*All shrinking values are set to max (all [[sprites|SCB2]] to $0FFF)
*All shrinking values are set to max (all [[sprites|SCB2]] to $0FFF)
*All heights cleared to 0 (all [[sprites|SCB3]] to $0000)
*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 X positions are set to 380 (all [[sprites|SCB4]] 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 03:08, 12 July 2011

BIOSF_LSP_1ST ($C004C8): Clear sprites

Warning: register contents aren't preserved ! (Uses D0, D1, and A0)

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