Skip to navigation

Elite on the BBC Micro

Version analysis of INCYC

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: INCYC Type: Subroutine Category: Text Summary: Move the text cursor to the next row

Code variation 1 of 1Specific to an individual platform

Tap on a version to expand it, and tap it again to show to all variations.



INC YC \ Move the text cursor to the next row
PHA \ Store A on the stack so we can preserve it LDA YC \ Set A = YC + 1, so A is the number of the next row INA JSR DOYC \ Call DOYC to move the text cursor to the new row in A PLA \ Retrieve the original value of A from the stack
 RTS                    \ Return from the subroutine

RSS Feed