LuigiBlood

BIOSUpdate_detect_receiver_and_do_downloads

Jul 15th, 2012
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;BS-X BIOS
  2. ;detect_receiver_and_do_downloads update from bsx16.srm (BS-X SRAMS Dumps 6-26-01)
  3. ;Disassembled by LuigiBlood
  4.  
  5. SEP #$20
  6. REP #$10
  7. JSL $105B84 ;flush_old_download
  8. JSL $10598C ;detect_receiver
  9. BEQ receiver_found
  10. LDA #$01
  11. BRA receiver_not_found
  12. receiver_found:
  13. JSR $105994 ;port_2196_test_bit1
  14. BEQ 2196_test_correct
  15. LDA #$02
  16. receiver_not_found:
  17. JML $80F461
  18. 2196_test_correct:
  19. LDX #$0122
  20. JML $80F397
Add Comment
Please, Sign In to add comment