Skip to navigation

Elite on the BBC Micro and NES

Missions: BRIS_b0

[NES version, Bank 0]

Name: BRIS_b0 [Show more] Type: Subroutine Category: Missions Summary: Clear the screen, display "INCOMING MESSAGE" and wait for 2 seconds
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BRIEF calls BRIS_b0
.BRIS_b0 LDA #216 ; Print extended token 216 ("{clear screen}{tab 6}{move JSR DETOK_b2 ; to row 10, white, lower case}{white}{all caps}INCOMING ; MESSAGE" JSR UpdateViewWithFade ; Update the view, fading the screen to black first if ; required LDY #100 ; Delay for 100 vertical syncs (100/50 = 2 seconds) and JMP DELAY ; return from the subroutine using a tail call