Rev 139 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 139 | Rev 156 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | ; dd 0x0 ; address of buffer for parameters (not used) |
30 | ; dd 0x0 ; address of buffer for parameters (not used) |
31 | dd 0x0 ; reserved |
31 | dd 0x0 ; reserved |
Line 32... | Line 32... | ||
32 | 32 | ||
Line 33... | Line 33... | ||
33 | ;--------------------------------------------------------------------- |
33 | ;--------------------------------------------------------------------- |
34 | 34 | ||
35 | include "macros.inc" ; standart macros & constants |
35 | include "MACROS.INC" ; standart macros & constants |
36 | include "meosfunc.inc" ; MenuetOS API functions names |
36 | include "MEOSFUNC.INC" ; MenuetOS API functions names |
37 | include "debug.inc" ; printing to debug board |
37 | include "DEBUG.INC" ; printing to debug board |
38 | include "constant.inc" ; BIT?? constants |
38 | include "CONSTANT.INC" ; BIT?? constants |
39 | include "ac97.inc" ; AC'97 constants |
39 | include "AC97.INC" ; AC'97 constants |
40 | include "pci.inc" ; PCI interface |
40 | include "PCI.INC" ; PCI interface |
Line 41... | Line 41... | ||
41 | include "codec.inc" ; functions for configuring codec |
41 | include "CODEC.INC" ; functions for configuring codec |
Line 42... | Line 42... | ||
42 | include "frontend.inc" ; main window |
42 | include "FRONTEND.INC" ; main window |
Line 650... | Line 650... | ||
650 | ; div ebx |
650 | ; div ebx |
651 | ; cmp edx,5 |
651 | ; cmp edx,5 |
652 | ; jb temp_12_7 |
652 | ; jb temp_12_7 |
653 | ; inc ecx |
653 | ; inc ecx |
654 | ; temp_12_7: |
654 | ; temp_12_7: |
655 | cmp edx,0 |
655 | ; cmp edx,0 |
656 | je temp_12_7 |
656 | ; je temp_12_7 |
657 | inc ecx |
657 | ; inc ecx |
658 | temp_12_7: |
658 | ; temp_12_7: |
Line 659... | Line 659... | ||
659 | 659 | ||
660 | pop edx ebx |
660 | pop edx ebx |
- | 661 | mov eax,[esp+4] ;restore buffer index |
|
661 | mov eax,[esp+4] ;restore buffer index |
662 | and ecx, not 511 |
662 | add [fileinfo.first_byte], ecx ; +60Kb |
663 | add [fileinfo.first_byte], ecx ; +60Kb |
663 | call [convert + edx * 4] |
664 | call [convert + edx * 4] |
664 | ;start fix for MM (4) |
665 | ;start fix for MM (4) |
665 | mov eax,[esp+4] ;restore buffer index |
666 | mov eax,[esp+4] ;restore buffer index |