Skip to navigation

Elite on the BBC Micro

Text: DOYC (6502SP version)

Name: DOYC [View in context] Type: Subroutine [Compare versions] Category: Text Summary: Move the text cursor to a specified row by sending a #SETYC command to the I/O processor
Arguments: A The new row number
.DOYC STA YC \ Store A in YC, which sets the text cursor row number PHA \ Store the new row number on the stack LDA #SETYC \ Set A to #SETYC, ready to send to the I/O processor \ Fall through into label to send a #SETYC command \ to the I/O processor