Subversion Repositories Kolibri OS

Rev

Rev 281 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 281 Rev 285
Line 455... Line 455...
455
           mov ecx, 0x10000/4
455
           mov ecx, 0x10000/4
456
           xor eax, eax
456
           xor eax, eax
457
           rep stosd
457
           rep stosd
458
 
458
 
Line 459... Line 459...
459
           stdcall GetPgAddr, [ctrl.buffer]
459
           mov eax, [ctrl.buffer]
-
 
460
           call GetPgAddr
Line 460... Line 461...
460
 
461
 
461
           mov ebx, 0xC0004000
462
           mov ebx, 0xC0004000
462
           mov ecx, 4
463
           mov ecx, 4
463
           mov edi, pcmout_bdl
464
           mov edi, pcmout_bdl
Line 499... Line 500...
499
           add eax, 0x4000
500
           add eax, 0x4000
500
           add edi, 4
501
           add edi, 4
501
           loop @B
502
           loop @B
Line 502... Line 503...
502
 
503
 
-
 
504
           mov eax, pcmout_bdl
503
           mov ecx, pcmout_bdl
505
           mov ebx, eax
504
           stdcall GetPgAddr, ecx
506
           call GetPgAddr     ;eax
505
           and ecx, 0xFFF
507
           and ebx, 0xFFF
Line 506... Line 508...
506
           add eax, ecx
508
           add eax, ebx
507
 
509
 
Line 508... Line 510...
508
           mov edx, PCM_OUT_BDL
510
           mov edx, PCM_OUT_BDL
Line 1128... Line 1130...
1128
align 4
1130
align 4
1129
devices dd (CTRL_SIS  shl 16)+VID_SIS,msg_AC, set_SIS
1131
devices dd (CTRL_SIS  shl 16)+VID_SIS,msg_AC, set_SIS
1130
        dd 0
1132
        dd 0
Line 1131... Line 1133...
1131
 
1133
 
Line 1132... Line 1134...
1132
version      dd 0x00020002
1134
version      dd 0x00030003
1133
 
1135
 
Line 1134... Line 1136...
1134
msg_AC       db '7012 AC97 controller',13,10, 0
1136
msg_AC       db '7012 AC97 controller',13,10, 0