Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 102 → Rev 101

/kernel/trunk/video/vesa20.inc
201,12 → 201,14
xchg eax, ebp
 
; get process number
mov ebx, [0x3000]
mov eax, [0x3010]
mov bl, [eax+0xE]
 
cmp byte [ScreenBPP], 32
je put_image_end_32
 
;put_image_end_24:
;cli ; !!!!!!!!!!!!!!!!!!!!!!
mov edi, [putimg.real_sy]
align 4
.new_line:
242,6 → 244,7
.finish:
add esp, putimg.stack_data
popad
;sti ; !!!!!!!!!!!!!!!!!!!!!
ret
 
put_image_end_32:
676,11 → 679,13
xchg eax, ebp
 
; get process number
mov ebx, [0x3000]
mov eax, [0x3010]
mov bl, [eax+0xE]
 
cmp byte [ScreenBPP], 24
jne draw_bar_end_32
draw_bar_end_24:
;cli ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
mov eax, [drbar.color] ;; BBGGRR00
mov bh, al ;; bh = BB
shr eax, 8 ;; eax = RRGG
731,6 → 736,7
add esp, drbar.stack_data
popad
xor eax, eax
;sti ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ret
 
draw_bar_end_32: