Skip to navigation


Save and load: BRKBK

[Commodore 64 version]

Name: BRKBK [Show more] Type: Subroutine Category: Save and load Summary: Set the standard BRKV handler for the game
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file

This routine is unused in this version of Elite (it is left over from the 6502 Second Processor version).
.BRKBK LDA #LO(BRBR) ; Set BRKV to point to the BRBR routine, disabling SEI ; interrupts while we make the change and re-enabling STA BRKV ; them once we are done LDA #HI(BRBR) STA BRKV+1 CLI RTS ; Return from the subroutine