Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5 → Rev 33

/kernel/trunk/video/vesa20.inc
325,6 → 325,7
call dword [0xe020] ; call the real put_pixel function
.exit:
popad
 
ret
 
align 4
376,7 → 377,7
 
align 4
__sys_draw_line:
 
inc [mouse_pause]
call [disable_mouse]
 
; draw a line
512,6 → 513,7
.exit:
add esp, 6*4
popa
dec [mouse_pause]
ret
 
 
587,6 → 589,7
; edx ye
; edi color
vesa20_drawbar:
pushad
call [disable_mouse]
 
616,6 → 619,7
popad
xor eax, eax
inc eax
ret
@@:
cmp ebx, [drbar.bar_sx]
632,6 → 636,7
popad
xor eax, eax
inc eax
ret
@@:
cmp ebx, [drbar.bar_sy]
775,6 → 780,7
add esp, drbar.stack_data
popad
xor eax, eax
 
ret
 
 
/kernel/trunk/video/vga.inc
57,7 → 57,8
 
 
vga_putimage:
 
; pushad
call [disable_mouse]
push ebp ;
push esi ;
push edi ;
226,6 → 227,9
pop esi
pop ebp
 
; call [draw_pointer]
; call [disable_mouse]
; popad
ret
 
 
251,7 → 255,7
and ecx,0x07 ; bit no. (modulo 8)
 
setvgapixel:
 
cli
; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
 
push eax
300,11 → 304,13
mov al,[edi] ; dummy read
mov [edi],dl
 
sti
ret
 
 
vga_drawbar:
 
; pushad
call [disable_mouse]
sub edx,ebx ; edx:=Yend-Ystart=H
sub ecx,eax ; ecx:=Xend-Xstat=B
 
492,12 → 498,12
 
;pop edx
;pop ecx
 
; popad
ret
 
 
vga_drawbackground_tiled:
 
call [disable_mouse]
push ebp
push eax
push ebx
639,8 → 645,8
 
 
vga_drawbackground_stretch:
call [disable_mouse]
 
 
push ebp
push eax
push ebx