Rev 5708 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5708 | Rev 5722 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | movzx ebx, [screen.width] |
31 | movzx ebx, [screen.width] |
32 | mul ebx ; [screen.width]*[src.y] |
32 | mul ebx ; [screen.width]*[src.y] |
33 | movzx ebx, word[esi] ; [src.x] |
33 | movzx ebx, word[esi] ; [src.x] |
34 | xchg bl, bh |
34 | xchg bl, bh |
35 | add eax, ebx ; [screen.width]*[src.y]+[src.x] |
35 | add eax, ebx ; [screen.width]*[src.y]+[src.x] |
36 | lea esi, [framebuffer_data+eax*3] ; esi = framebuffer_data+([screen.width]*[src.y]+[src.x])*3 |
36 | lea esi, [framebuffer+eax*3] ; esi = framebuffer_data+([screen.width]*[src.y]+[src.x])*3 |
Line 37... | Line 37... | ||
37 | 37 | ||
38 | mov eax, [rectangle.y] |
38 | mov eax, [rectangle.y] |
39 | movzx ebx, [screen.width] |
39 | movzx ebx, [screen.width] |
40 | mul ebx ; [screen.width]*[rectangle.y] |
40 | mul ebx ; [screen.width]*[rectangle.y] |
41 | add eax, [rectangle.x] ; [screen.width]*[rectangle.y]+[rectangle.x] |
41 | add eax, [rectangle.x] ; [screen.width]*[rectangle.y]+[rectangle.x] |
Line 42... | Line 42... | ||
42 | lea edi, [framebuffer_data+eax*3] ; edi = framebuffer_data+([screen.width]*[rectangle.y]+[rectangle.x])*3 |
42 | lea edi, [framebuffer+eax*3] ; edi = framebuffer_data+([screen.width]*[rectangle.y]+[rectangle.x])*3 |
43 | 43 | ||
44 | movzx eax, [screen.width] |
44 | movzx eax, [screen.width] |