Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. proc music_setting
  2.   mov si, 0
  3.   mov al, 0b6h
  4.   out command_reg, al
  5.   ret
  6. endp
  7.  
  8.  
  9. proc speaker_activation
  10.   in al, port_b
  11.   or al, 00000011b
  12.   out port_b, al
  13.   ret
  14. endp
  15.  
  16.  
  17. proc speaker_disactivation
  18.   in al, port_b
  19.   and al, 0fch
  20.   out 61h, al
  21.   ret
  22. endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement