Advertisement
Guest User

HDMAFix, by Kaijyuu

a guest
Jul 28th, 2010
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ; works
  2.  
  3. header
  4. lorom
  5.  
  6. ORG $05B296
  7. DB $0C ; change STA to TSB, hence not clearing the HDMA channel enable byte when using message boxes
  8.  
  9. ORG $05B129 ;
  10. JSL MSG_BOX_FIX ; stops message boxes from clearing HDMA channel enable byte
  11. NOP ;
  12.  
  13.  
  14. ;point this to frickin freespace
  15. ORG $308000
  16.  
  17. MSG_BOX_FIX:
  18.  
  19. LDA #$80 ; clear 8th bit
  20. TRB $0D9F ;
  21. LDA #$02 ; restore old code
  22. RTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement