Advertisement
luckytyphlosion

Connection Copier Documented Setup.

Jun 18th, 2018
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. [AABB] = pointer to source data
  2. [CCDD] = pointer to target
  3. [EE] = number of bytes to copy
  4.  
  5. memory
  6. $D367 = >$7F (i.e. bit 7 set) (IF USING 10F, S+Q need not apply)
  7. $D369 = $FA
  8.  
  9. using north connection
  10. $D371 = non-$FF, preferably same as mapID
  11. $D372 = [BB]
  12. $D373 = [AA]
  13. $D374 = [DD]
  14. $D375 = [CC]
  15. $D376 = [EE]
  16. $D377 = $00
  17.  
  18. using south connection
  19. $D37C = non-$FF, preferably same as mapID
  20. $D37D = [BB]
  21. $D37E = [AA]
  22. $D37F = [DD]
  23. $D380 = [CC]
  24. $D381 = [EE]
  25. $D382 = $00
  26.  
  27. use 10F to do the copy, or S+Q
  28. note that 10F can stack overflow so S+Q every x times (todo what is x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement