Rev 2455 | Rev 3606 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2455 | Rev 3539 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; ;; |
9 | ;; ;; |
10 | ;; Paul Butcher, paul.butcher@asa.co.uk ;; |
10 | ;; Paul Butcher, paul.butcher@asa.co.uk ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 2455 $ |
14 | $Revision: 3539 $ |
15 | 15 | ||
16 | ;------------------------------------------------------------------------------ |
16 | ;------------------------------------------------------------------------------ |
Line 401... | Line 401... | ||
401 | pop ecx |
401 | pop ecx |
402 | ;-------------------------------------- |
402 | ;-------------------------------------- |
403 | align 4 |
403 | align 4 |
404 | .no_mouseunder: |
404 | .no_mouseunder: |
405 | shl ebx, 9 |
405 | shl ebx, 9 |
406 | lea ebx, [ebx+ebx*4] ; óìíîæåíèå íà 5 |
406 | lea ebx, [ebx+ebx*4] ; умножение на 5 |
407 | lea edx, [ebx+ecx*4] ; + x*BytesPerPixel (Vesa2.0 32) |
407 | lea edx, [ebx+ecx*4] ; + x*BytesPerPixel (Vesa2.0 32) |
408 | mov edi, edx |
408 | mov edi, edx |
409 | add edi, [LFBAddress] ; + LFB address |
409 | add edi, [LFBAddress] ; + LFB address |
410 | mov [edi], eax ; write to LFB for Vesa2.0 |
410 | mov [edi], eax ; write to LFB for Vesa2.0 |
411 | shr edx, 5 ; change BytesPerPixel to 1/8 |
411 | shr edx, 5 ; change BytesPerPixel to 1/8 |
Line 499... | Line 499... | ||
499 | add ebx, [eax-twdw + 4] |
499 | add ebx, [eax-twdw + 4] |
500 | mov eax, [eax-twdw + 0] |
500 | mov eax, [eax-twdw + 0] |
501 | add eax, [temp.cx] |
501 | add eax, [temp.cx] |
502 | and eax, 0xfff8 |
502 | and eax, 0xfff8 |
503 | shl ebx, 9 |
503 | shl ebx, 9 |
504 | lea ebx, [ebx+ebx*4]; óìíîæåíèå íà 5 |
504 | lea ebx, [ebx+ebx*4]; умножение на 5 |
505 | lea ebx, [ebx+eax*4] ; + x*BytesPerPixel (Vesa2.0 32) |
505 | lea ebx, [ebx+eax*4] ; + x*BytesPerPixel (Vesa2.0 32) |
506 | mov esi, ebx |
506 | mov esi, ebx |
507 | add esi, [LFBAddress] ; + LFB address |
507 | add esi, [LFBAddress] ; + LFB address |
508 | shr ebx, 5 ; change BytesPerPixel to 1/8 |
508 | shr ebx, 5 ; change BytesPerPixel to 1/8 |
509 | mov edi, ebx |
509 | mov edi, ebx |