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 |