Advertisement
Telinc1

Untitled

Jul 4th, 2017
367
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. else
  5.     lorom
  6.     !addr = $0000
  7. endif
  8.  
  9. org $009E17
  10. LDA #$80
  11. STA $1DFB|!addr
  12. LDX $010A|!addr
  13. JSR $9DB5
  14. SEP #$11
  15. BEQ +
  16. ROR $0DB5|!addr
  17. LDX $0DB2|!addr
  18. LDA #$04
  19. -
  20. STA $0DB4|!addr,x
  21. DEX : BPL -
  22. STA $0DBE|!addr
  23. STZ $0DBF|!addr
  24. STZ $19
  25. REP #$20
  26. STZ $0DB6|!addr
  27. STZ $0DB8|!addr
  28. STZ $0DBA|!addr
  29. STZ $0F48|!addr
  30. STZ $0F34|!addr
  31. STZ $0F36|!addr
  32. STZ $0F38|!addr
  33. +
  34. STZ $0DC1|!addr
  35. SEP #$20
  36. STZ $13C9|!addr
  37. STZ $0DD5|!addr
  38. STZ $0DB3|!addr
  39. NOP
  40.  
  41. warnpc $009E62
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement