Skip to navigation


Start and end: TT170

[Elite-A, Docked]

Name: TT170 [Show more] Type: Subroutine Category: Start and end Summary: Main entry point for the Elite game code Deep dive: Program flow of the main game loop
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * INBAY calls TT170

This is the main entry point for the main game code.
.TT170 LDX #&FF \ Set the stack pointer to &01FF, which is the standard TXS \ location for the 6502 stack, so this instruction \ effectively resets the stack \ Fall through into BR1 to start the game