Skip to navigation

Lander on the Acorn Archimedes

Player: ResetMousePosition

Name: ResetMousePosition [Show more] Type: Subroutine Category: Player Summary: Reset the mouse position to (511, 511), ready for the game
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * PlacePlayerOnLaunchpad calls ResetMousePosition
.ResetMousePosition LDR R1, mouseParametersAddr \ Call OS_Word 21,3 to reset the mouse MOV R0, #21 \ position to (511, 511) SWI OS_Word MOV PC, R14 \ Return from the subroutine