daily pastebin goal
3%
SHARE
TWEET

Axe Sound Routine Optimised?

Zeda Dec 24th, 2011 158 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. p_FreqOut:
  3.         xor     a
  4. __FreqOutLoop1:
  5.         push    bc
  6.         xor     %00000011
  7.         ld      e,a
  8. __FreqOutLoop2:
  9.         ld      a,h
  10.         or      l
  11.         jr      z,__FreqOutDone
  12.         cpd
  13.         ld      a,e
  14.         scf
  15.         jp      pe,__FreqOutLoop2
  16. __FreqOutDone:
  17.         pop     bc
  18.         out     ($00),a
  19.         ret     nc
  20.         jr      __FreqOutLoop1
  21. __FreqOutEnd:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top