Advertisement
LuigiBlood

BIOSUpdate_flash_get_id

Jul 15th, 2012
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;BS-X BIOS
  2. ;flash_get_id update from bsx16.srm (BS-X SRAMS Dumps 6-26-01)
  3. ;Disassembled by LuigiBlood
  4.  
  5. PHP
  6. SEP #$30
  7. LDA #$38
  8. STA $C00000
  9. LDA #$D0
  10. STA $C00000
  11. PHA
  12. PLA
  13. PHA
  14. PLA
  15. PHA
  16. PLA
  17. LDA #$71
  18. STA $C00000
  19. Loop:
  20. LDA $C00004 ;reads C00004 (GSR) instead of C00002 (BSR) in the BIOS
  21. BPL Loop
  22. JML $80C1E6 ;Continue with the BIOS code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement