8-Bit Software Online Conversion
:2.$.TTD_I - Listing
5MODE0
10REM Protection Overide
20REM By Rafael Jay
30REM (C) Fast Access 1990
40:
50FOR PASS=0 TO 2 STEP 2
60P%=&900:[OPT PASS
70LDA&220:LDX&221
80CMP#newvec MOD&100:BNEsetvec
90CPX#newvec DIV&100:BEQvecset
100.setvec STA&8E:STX&8F
110LDA#newvec MOD&100:STA&220
120LDA#newvec DIV&100:STA&221
130.vecset
140LDA#&0E:LDX#&04:JSR&FFF4
150RTS
160.newvec CMP#&04:BEQok:JMP(&8E)
170.ok PHP:PHA:TXA:PHA:TYA:PHA
180LDA&3CA:AND#&01:CMP#&01:BNEexit
190LDA&3CA:AND#&FE:STA&3CA
200LDA#&07:JSR&FFEE:.exit
210PLA:TAY:PLA:TAX:PLA:PLP:JMP(&8E)
220]:NEXT
230CALL&900