Fix for syscall_cdaudio (unable to compile kernel)
git-svn-id: svn://kolibrios.org@591 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3e7d2e5267
commit
e954751c46
@ -4986,10 +4986,10 @@ syscall_cdaudio: ; CD
|
|||||||
shr eax, 1
|
shr eax, 1
|
||||||
and eax, 1
|
and eax, 1
|
||||||
inc eax
|
inc eax
|
||||||
mov [ChannelNumber], eax
|
mov [ChannelNumber], ax
|
||||||
mov eax, ebx
|
mov eax, ebx
|
||||||
and eax, 1
|
and eax, 1
|
||||||
mov [DiskNumber], eax
|
mov [DiskNumber], al
|
||||||
call reserve_cd_channel
|
call reserve_cd_channel
|
||||||
and ebx, 3
|
and ebx, 3
|
||||||
inc ebx
|
inc ebx
|
||||||
|
Loading…
Reference in New Issue
Block a user