SHARE
TWEET

Untitled

a guest Aug 22nd, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //===========================================
  2.   CheckSound:
  3. //
  4. // Input: None
  5. // Modifies: A
  6. //===========================================
  7.         // Check sound 1
  8.         lda Sound1Counter
  9.         beq s2
  10.         dec Sound1Counter
  11.         bne s2
  12.         jsr Sound1Off
  13.         // Check sound 2
  14. s2:     lda Sound2Counter
  15.         beq s3
  16.         dec Sound2Counter
  17.         bne s3
  18.         jsr Sound2Off
  19.         // Check sound 3
  20. s3:     lda Sound3Counter
  21.         beq noSound
  22.         dec Sound3Counter
  23.         bne noSound
  24.         jsr Sound3Off
  25.  
  26. noSound:        rts
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