Subversion Repositories Kolibri OS

Rev

Rev 2446 | Rev 2449 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2446 Rev 2448
Line 378... Line 378...
378
;--------------------------------------
378
;--------------------------------------
379
        push    eax
379
        push    eax
380
        mov     eax, [esi+ecx*4]
380
        mov     eax, [esi+ecx*4]
381
 
381
 
Line -... Line 382...
-
 
382
; check for hardware cursor
-
 
383
        cmp     [_display.select_cursor], 0
-
 
384
        je      @f
-
 
385
        cmp     [_display.select_cursor], select_cursor
-
 
386
        jne     .no_mouseunder
-
 
387
;--------------------------------------
-
 
388
align 4
-
 
389
@@:
382
        push    ecx
390
        push    ecx
Line 383... Line 391...
383
 
391
 
384
        mov     ecx, [esp+4]
392
        mov     ecx, [esp+4]
385
        ror     ecx, 16
393
        ror     ecx, 16
Line 389... Line 397...
389
 
397
 
Line 390... Line 398...
390
; check mouse area for putpixel
398
; check mouse area for putpixel
391
        call    [_display.check_mouse]
399
        call    [_display.check_mouse]
392
        pop     ecx
400
        pop     ecx
-
 
401
;--------------------------------------
-
 
402
align 4
-
 
403
.no_mouseunder:
393
; store to real LFB
404
; store to real LFB
394
        mov     [LFB_BASE+edi+ecx*4], eax
405
        mov     [LFB_BASE+edi+ecx*4], eax
395
        pop     eax
406
        pop     eax
396
;--------------------------------------
407
;--------------------------------------
397
align 4
408
align 4
Line 437... Line 448...
437
        mov     eax, [esi+ecx*4]
448
        mov     eax, [esi+ecx*4]
438
 
449
 
Line 439... Line 450...
439
        lea     edi, [edi+ecx*2]
450
        lea     edi, [edi+ecx*2]
Line -... Line 451...
-
 
451
 
-
 
452
; check for hardware cursor
-
 
453
        cmp     [_display.select_cursor], 0
-
 
454
        je      @f
-
 
455
        cmp     [_display.select_cursor], select_cursor
-
 
456
        jne     .no_mouseunder_1
-
 
457
;--------------------------------------
-
 
458
align 4
440
 
459
@@:
Line 441... Line 460...
441
        push    ecx
460
        push    ecx
442
 
461
 
443
        mov     ecx, [esp+4]
462
        mov     ecx, [esp+4]
Line 448... Line 467...
448
 
467
 
Line 449... Line 468...
449
; check mouse area for putpixel
468
; check mouse area for putpixel
450
        call    [_display.check_mouse]
469
        call    [_display.check_mouse]
451
        pop     ecx
470
        pop     ecx
-
 
471
;--------------------------------------
452
 
472
align 4
-
 
473
.no_mouseunder_1:
453
        mov     [edi+ecx], ax
474
        mov     [edi+ecx], ax
454
        shr     eax, 16
475
        shr     eax, 16
455
        mov     [edi+ecx+2], al
476
        mov     [edi+ecx+2], al
Line 456... Line 477...
456
 
477