mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-12-28 18:29:33 +00:00
smaller code
This commit is contained in:
parent
d000c45f0e
commit
3e84dc619b
11
src/anti-m.a
11
src/anti-m.a
@ -107,15 +107,14 @@ Tracer
|
||||
; duplicate bootloader from $0300 to $2300
|
||||
ldx #$00
|
||||
- lda $0300,x
|
||||
sta $2300,x
|
||||
sta $0200,x
|
||||
inx
|
||||
bne -
|
||||
; patch bootloader so it reads the pristine copy at $2300
|
||||
lda #$23
|
||||
sta $030A
|
||||
sta $0310
|
||||
sta $0316
|
||||
sta $031C
|
||||
dec $030A
|
||||
dec $0310
|
||||
dec $0316
|
||||
dec $031C
|
||||
; patch bootloader to regain control after it decrypts itself into $0100
|
||||
lda #$4C
|
||||
sta $0325
|
||||
|
Loading…
Reference in New Issue
Block a user