Rev 1329 | Rev 2288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1329 | Rev 1496 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | ;; ;; |
14 | ;; ;; |
15 | ;; Note: playnote.txt ;; |
15 | ;; Note: playnote.txt ;; |
16 | ;; ;; |
16 | ;; ;; |
17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 18... | Line 18... | ||
18 | 18 | ||
Line 19... | Line 19... | ||
19 | $Revision: 1329 $ |
19 | $Revision: 1496 $ |
20 | 20 | ||
Line 21... | Line 21... | ||
21 | align 4 |
21 | align 4 |
22 | sound_interface: |
22 | sound_interface: |
Line 23... | Line 23... | ||
23 | 23 | ||
24 | cmp eax, edi ; this is subfunction #55 ? |
24 | cmp eax,ebx ; this is subfunction #55 ? |
Line 25... | Line 25... | ||
25 | jne retFunc55 ; if no then return. |
25 | jne retFunc55 ; if no then return. |
26 | 26 | ||
27 | cmp byte [sound_flag],0 |
27 | cmp byte [sound_flag],0 |
Line 28... | Line 28... | ||
28 | jne retFunc55 |
28 | jne retFunc55 |
29 | 29 | ||
30 | movzx eax, byte [countDelayNote] |
30 | movzx eax, byte [countDelayNote] |
31 | or al, al ; player is busy ? |
31 | or al, al ; player is busy ? |
32 | jnz retFunc55 ; return counter delay Note |
32 | jnz retFunc55 ; return counter delay Note |
33 | 33 | ||
34 | mov [memAdrNote],edx |
34 | mov [memAdrNote],esi;edx |
Line 35... | Line 35... | ||
35 | call get_pid |
35 | call get_pid |
36 | mov [pidProcessNote],eax |
36 | mov [pidProcessNote],eax |
37 | xor eax, eax ; Ok! EAX = 0 |
37 | xor eax, eax ; Ok! EAX = 0 |