Skip to navigation

Elite on the BBC Micro and NES

Drawing the screen: cls

[6502 Second Processor version, I/O processor]

Name: cls [Show more] Type: Subroutine Category: Drawing the screen Summary: Clear the top part of the screen and draw a white border
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TT26 calls cls
.cls JSR TTX66 \ Call TTX66 to clear the top part of the screen and \ draw a white border JMP RR4 \ Jump to RR4 to restore X and Y from the stack and A \ from K3, and return from the subroutine using a tail \ call