Subversion Repositories Kolibri OS

Rev

Rev 914 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 914 Rev 928
Line 569... Line 569...
569
           or ebx, 0x80000000
569
           or ebx, 0x80000000
570
           wrr CUR_HORZ_VERT_POSN, ebx
570
           wrr CUR_HORZ_VERT_POSN, ebx
Line 571... Line 571...
571
 
571
 
572
           shl edx, 8
572
           shl edx, 8
573
           add edx, [esi+CURSOR.base]
573
           add edx, [esi+CURSOR.base]
574
           sub edx, LFBAddress
574
           sub edx, LFB_BASE
575
           wrr CUR_OFFSET, edx
575
           wrr CUR_OFFSET, edx
576
           popfd
576
           popfd
577
           ret
577
           ret
Line 600... Line 600...
600
           mov [cursor_start],ebx
600
           mov [cursor_start],ebx
601
           sub ebx, cursor_map
601
           sub ebx, cursor_map
602
           lea eax,[eax+ebx*8]
602
           lea eax,[eax+ebx*8]
Line 603... Line 603...
603
 
603
 
604
           shl eax,14
604
           shl eax,14
605
           add eax, LFBAddress+CURSOR_IMAGE_OFFSET
605
           add eax, LFB_BASE+CURSOR_IMAGE_OFFSET
606
           ret
606
           ret
Line 607... Line 607...
607
endp
607
endp
608
 
608
 
609
align 4
609
align 4
610
video_free:
610
video_free:
611
           pushfd
611
           pushfd
612
           cli
612
           cli
613
           sub eax, LFBAddress+CURSOR_IMAGE_OFFSET
613
           sub eax, LFB_BASE+CURSOR_IMAGE_OFFSET
614
           shr eax, 14
614
           shr eax, 14
615
           mov ebx, cursor_map
615
           mov ebx, cursor_map
616
           bts [ebx], eax
616
           bts [ebx], eax