Skip to navigation


Sound: startat

[Commodore 64 version]

Name: startat [Show more] Type: Subroutine Category: Sound Summary: Start playing the title music, if configured
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BR1 (Part 1 of 2) calls startat * startbd calls startat
IF _GMA_RELEASE .startat LDA #LO(THEME-1) ; Set (A X) to THEME-1, which is the address before LDX #HI(THEME-1) ; the start of the title music at THEME BNE startat2 ; Jump to startat2 to play the title music (this BNE is ; effectively a JMP as X is never zero) ENDIF