IF _SRAM_DISC .PROT4 LDA #172 \ Call OSBYTE 172 to read the address of the MOS LDX #0 \ keyboard translation table into (Y X) LDY #255 JSR OSBYTE STX TRTB% \ Store the address of the keyboard translation table in STY TRTB%+1 \ TRTB%(1 0) JMP PROT1 \ Call PROT1 to calculate checksums into CHKSM, \ returning from the subroutine using a tail call ENDIFName: PROT4 [Show more] Type: Subroutine Category: Loader Summary: Fetch the address of the keyboard translation table before carrying on with the copy protectionContext: See this subroutine in context in the source code References: This subroutine is called as follows: * Elite loader (Part 1 of 3) calls PROT4
[X]
Configuration variable OSBYTE = &FFF4
The address for the OSBYTE routine
[X]
Subroutine PROT1 (category: Copy protection)
Part of the CHKSM copy protection checksum calculation