.LOAD JSR p2 \ Call p2 below JMP load3 \ Jump to load3 to load and run the next part of the \ loader LDA #2 \ Set PARAMS1+8 = 2, which is the track number in the STA PARAMS1+8 \ OSWORD parameter block LDA #127 \ Call OSWORD with A = 127 and (Y X) = PARAMS1 to seek LDX #LO(PARAMS1) \ disc track 2 LDY #HI(PARAMS1) JMP OSWORD .p2 STA PARAMS2+7 \ Set PARAMS2+7 = A, which is the track number in the \ OSWORD parameter block LDA #127 \ Call OSWORD with A = 127 and (Y X) = PARAMS2 to seek LDX #LO(PARAMS2) \ the disc track given in A LDY #HI(PARAMS2) JMP OSWORDName: LOAD [Show more] Type: Subroutine Category: Copy protection Summary: Load a hidden file from disc (not used in this version as disc protection is disabled)Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
[X]
Configuration variable OSWORD = &FFF1
The address for the OSWORD routine
[X]
Variable PARAMS1 (category: Copy protection)
OSWORD parameter block for accessing a specific track on the disc (not used in this version as disc protection is disabled)
[X]
Variable PARAMS2 (category: Copy protection)
OSWORD parameter block for accessing a specific track on the disc (not used in this version as disc protection is disabled)
[X]
Entry point load3 in subroutine Elite loader (category: Loader)
Load and run the next part of the loader in the ELITE3 binary
[X]
Label p2 is local to this routine