Advertisement
Arnethegreat

LDA long method

Apr 22nd, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #18 -- alignment stuff
  2. 00 ?? xx xx - depends on what you
  3.  
  4. #17 -- LDA Long (taking advantage of empty 00)
  5. 00 AF 2D 01
  6. 00 AF 2D 01
  7. ; reads whatever is stored at 7E:012D which happens to be a level header
  8. ; which happens to be $16
  9.  
  10. #16 -- STA stuff
  11.  
  12. 00 99 4C 00 <- EZ (if Y remains the same)
  13. or 00 8D 18 01
  14. or 00 9D 18 01
  15. or 00 8F 18 01 - #15 needs to be 6B for subpixels if doing this
  16. or 00 9F 18 01 - #15 needs to be 6B for subpixels if doing this
  17.  
  18. #15 -- normal RTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement