.EndGame MOV R0, #126 \ Call OS_Byte 126 to acknowledge the escape SWI OS_Byte \ condition caused by the player pressing \ Escape in the main loop MOV R0, #22 \ Change to screen mode 0 SWI OS_WriteC MOV R0, #0 SWI OS_WriteC MOV R0, #4 \ Call OS_Byte 4 to set the cursor keys to MOV R1, #0 \ move the cursor, so they work normally MOV R2, #0 \ again SWI OS_ByteName: EndGame [Show more] Type: Subroutine Category: Main loop Summary: Finish the gameContext: See this subroutine in context in the source code References: This subroutine is called as follows: * MainLoop calls EndGame
[X]
Configuration variable OS_Byte = &06
General-purpose operating system calls
[X]
Configuration variable OS_WriteC = &00
The operating system call to write a character to all the output streams