$80:8418: Difference between revisions

From ZAMN Hacking
Content added Content deleted
(Created page with "{{Infobox ROM address|length=0x25|type=Code|name=runOnVBlankEnd|description=Creates a VBlank end listener |args=Y+A = [pointer32] Listener subroutine<br/>Returns X = [uint16] Listener ID |ret_type=RTL}} The given subroutine returns a value in the carry indicating if it should continue to run on the next frame. VBlank end listeners will be run after all VBlank listeners, and also after the controller input is processed. Category:ROM address")
 
No edit summary
Line 1: Line 1:
{{Infobox ROM address|length=0x25|type=Code|name=runOnVBlankEnd|description=Creates a VBlank end listener |args=Y+A = [pointer32] Listener subroutine<br/>Returns X = [uint16] Listener ID |ret_type=RTL}}
{{Infobox ROM address|length=0x25|type=Code|name=runOnVBLANKEnd|description=Creates a VBLANK end listener |args=Y+A = [pointer32] Listener subroutine<br/>Returns X = [uint16] Listener ID |ret_type=RTL}}


The given subroutine returns a value in the carry indicating if it should continue to run on the next frame.
The given subroutine returns a value in the carry indicating if it should continue to run on the next frame.


VBlank end listeners will be run after all VBlank listeners, and also after the controller input is processed.
VBLANK end listeners will be run after all VBLANK listeners, and also after the controller input is processed.


[[Category:ROM address]]
[[Category:ROM address]]

Revision as of 00:34, 17 June 2024

ROM address data
Length 0x25
Type Code
Name runOnVBLANKEnd
Description Creates a VBLANK end listener
Arguments/Return value Y+A = [pointer32] Listener subroutine
Returns X = [uint16] Listener ID
Return type RTL

The given subroutine returns a value in the carry indicating if it should continue to run on the next frame.

VBLANK end listeners will be run after all VBLANK listeners, and also after the controller input is processed.