Skip to navigation

Elite on the BBC Micro and NES

Text: MT23

[NES version, Bank 2]

Name: MT23 [Show more] Type: Subroutine Category: Text Summary: Move to row 9 and switch to lower case when printing extended tokens Deep dive: Extended text tokens
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * JMTB calls MT23
.MT23 LDA #9 ; Set A = 9, so when we fall through into MT29, the ; text cursor gets moved to row 9 EQUB $2C ; Skip the next instruction by turning it into ; $2C $A9 $06, or BIT $06A9, which does nothing apart ; from affect the flags ; Fall through into MT29 to move to the row in A and ; switch to lower case