org $81B2CB REP #$30 ; Set misc. starting values LDA #$0800 STA $09AA LDA #$0400 STA $09AC LDA #$0200 STA $09AE LDA #$0100 STA $09B0 LDA #$0040 STA $09B2 LDA #$0080 STA $09B4 LDA #$8000 STA $09B6 LDA #$4000 STA $09B8 LDA #$2000 STA $09BA LDA #$0020 STA $09BC LDA #$0010 STA $09BE LDA #$0063 STA $09C2 STA $09C4 LDA #$0001 STA $09E6 STA $09E8 ; Clear misc. starting values STZ $09A2 STZ $09A4 STZ $09A6 STZ $09A8 STZ $09C0 STZ $09EA ; Clear $09C6..$09E5 LDX #$09C6 - STZ $0000,x INX INX CPX #$09E6 BMI - ; Clear $7ED820..$7ED90F LDA #$0000 LDX #$D820 - STA $7E0000,x INX INX CPX #$D910 BMI - ; Clear $7ECD52..$7ED551 LDX #$CD52 - STA $7E0000,x INX INX CPX #$D552 BMI - RTS