Advertisement
Telinc1

Untitled

Jan 15th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if read1($00FFD5) == $23
  2.     sa1rom
  3.     !addr = $6000
  4.     !bank = $000000
  5. else
  6.     lorom
  7.     !addr = $0000
  8.     !bank = $800000
  9. endif
  10.  
  11. org $00FFE6|!bank
  12.     dw $F9F5
  13.  
  14. org $00F9F5|!bank
  15.     LDA #$FF
  16.     STA $0100|!addr
  17.     LDA #$0F
  18. -   STA $2100
  19.     EOR #$0F
  20.     LDX $0100|!addr
  21.     BMI -
  22.     RTI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement