very small change.

git-svn-id: svn://kolibrios.org@1264 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2009-11-10 19:32:15 +00:00
parent e71825c2b1
commit e08a40c760
2 changed files with 7 additions and 7 deletions

View File

@ -42,7 +42,7 @@ printplain:
@@: @@:
call putchar call putchar
lodsb lodsb
cmp al, 0 test al,al
jnz @b jnz @b
popa popa
ret ret

View File

@ -175,8 +175,8 @@ checkVga_N13:
cld cld
m13pix: m13pix:
lodsd lodsd
cmp eax,0 test eax,eax
je .save_pixel jz .save_pixel
push eax push eax
mov ebx,eax mov ebx,eax
and eax,(128+64+32) ; blue and eax,(128+64+32) ; blue
@ -259,8 +259,8 @@ VGA_draw_32_pixels:
mov cl,8 mov cl,8
.convert_pixels_to_VGA: .convert_pixels_to_VGA:
lodsd ; eax = 24bit colour lodsd ; eax = 24bit colour
cmp eax,0 test eax,eax
je .end jz .end
rol eax,8 rol eax,8
mov al,ch mov al,ch
ror eax,8 ror eax,8
@ -335,8 +335,8 @@ VGA_putpixel:
pushfd pushfd
; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8) ; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
xor edx,edx xor edx,edx
cmp eax,0 test eax,eax
je .p13cont jz .p13cont
cmp al,85 cmp al,85
jbe .p13green jbe .p13green
or dl,0x01 or dl,0x01