Skip to navigation

Elite on the BBC Micro and NES

Copy protection: swine

[BBC Micro cassette version, Loader]

Name: swine [Show more] Type: Subroutine Category: Copy protection Summary: Resets the machine if the copy protection detects a problem
Context: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * Elite loader (Part 4 of 6) calls swine
.swine LDA #%01111111 \ Set 6522 System VIA interrupt enable register IER STA &FE4E \ (SHEILA &4E) bits 0-6 (i.e. disable all hardware \ interrupts from the System VIA) JMP (&FFFC) \ Jump to the address in &FFFC to reset the machine