Rev 214 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 214 | Rev 224 | ||
---|---|---|---|
Line 332... | Line 332... | ||
332 | xor eax, eax |
332 | xor eax, eax |
333 | ret |
333 | ret |
334 | .stop: |
334 | .stop: |
335 | call stop |
335 | call stop |
336 | mov [ctrl.user_callback], 0 |
336 | mov ax, 0x1c |
- | 337 | mov edx, PCM_OUT_SR_REG |
|
- | 338 | call [ctrl.ctrl_write16] |
|
- | 339 | mov [ctrl.user_callback], 0 |
|
337 | ret |
340 | ret |
338 | endp |
341 | endp |
339 | 342 | ||
Line 340... | Line 343... | ||
340 | handle equ IOCTL.handle |
343 | handle equ IOCTL.handle |
Line 889... | Line 892... | ||
889 | mov eax, 16 |
892 | mov eax, 16 |
890 | mov [ctrl.lvi_reg], eax |
893 | mov [ctrl.lvi_reg], eax |
891 | mov edx, PCM_OUT_LVI_REG |
894 | mov edx, PCM_OUT_LVI_REG |
892 | call [ctrl.ctrl_write8] |
895 | call [ctrl.ctrl_write8] |
893 | - | ||
894 | ret |
896 | ret |
895 | endp |
897 | endp |
Line 896... | Line 898... | ||
896 | 898 | ||
897 | align 4 |
899 | align 4 |