Advertisement
luckytyphlosion

Quick OAM Code

Jul 8th, 2015
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DoOAMDMA:
  2.     ld a,$xx
  3.     ld c,rDMA & $ff
  4.     ld b,$29 ; 1 extra dec necessary
  5.     jp FastOAM
  6.  
  7. FastOAM:
  8.     ld (c),a
  9. .loop
  10.     dec b
  11.     jr nz,.loop
  12.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement