daily pastebin goal
44%
SHARE
TWEET

BIOSUpdate_file_start_hook

LuigiBlood Aug 25th, 2016 (edited) 126 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;BS-X BIOS
  2. ;file_start_hook update from bsx18.srm (BS-X SRAMS Dumps 6-26-01)
  3. ;Disassembled by LuigiBlood
  4.  
  5. ;$115276
  6. file_start_hook:
  7. LDA #$1152
  8. STA $AD
  9. LDA #$5281
  10. STA $AC    ;$AC = $115281 (change PC of BS-X script interpreter)
  11. RTL
  12.  
  13. ;$115281
  14. file_start_hook_script:
  15. {SoundApuMessage00h_nnh ({var_imm}+$81)} ;Stop music
  16. {MasterBrightnessFadeOut $0020, $0020}
  17. {KillAllOtherThreads}
  18. {ControlSubThread {ctlsub_kill}}
  19. {SetForcedBlankAndSleepOnce}
  20. {CallMachineCodeFunction $95819E}
  21. {CallPeekMemory16bit ({var_prv}+$19DA), $7E99CF}
  22. {MathsAnd ({var_prv}+$19DA), ({var_imm}+$80)}
  23. {SignedCompareWithConditionalGoto ({var_prv}+$19DA), {cmp_notequ}, ({var_imm}+0), $9560AD}
  24. {CallMachineCodeFunction $9581AD}
  25. {CallGetTextLayerVramBase}
  26. {CallSetGuiBorderScheme $949BF1, $9499E1}
  27. {CallSetGuiColorScheme $94A431}
  28. {CallClearBg3TextLayer}
  29. {CallSetTextWindowBoundaries $0000, $02, $0B, $1C, $0A}
  30. {CallSelectTextColor $0000, $01, $00, $00}
  31. {CallSelectWindowBorder $0000, $00FF}
  32. {DrawMessageBoxAllAtOnce ({var_imm}+0), ({var_imm}+0), ({var_imm}+0), ({var_imm}+0), file_start_hook_text}
  33. {ClearForcedBlankAndSleepOnce}
  34. {SoundApuUpload $00, $9FFFF3} ;Upload Music Bank
  35. {Sleep $0001}
  36. {SoundApuMessage00h_nnh ({var_imm}+$12)} ;Play Music $12
  37. {Sleep $0002}
  38. {ClearForcedBlankAndFadeIn $0020, $0020}
  39. {Sleep $0020}
  40. {SoundApuMessage01h_nnnh ({var_imm}+1), $03, $03} ;Play SFX
  41. {Sleep $0040}
  42. {Goto $9580CB} ;???
  43.  
  44. file_start_hook_text:
  45. ;$11531E
  46. "       JO23-BS-TDM1\n            St.GIGA\n\n これからお送りします情報を無断で他に\n 複製することを禁止します。"
RAW Paste Data
Top