Rev 750 | Rev 753 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 750 | Rev 752 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | ;; |
53 | ;; |
54 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
54 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 55... | Line 55... | ||
55 | 55 | ||
Line 56... | Line 56... | ||
56 | include 'macros.inc' |
56 | include 'macros.inc' |
Line 57... | Line 57... | ||
57 | 57 | ||
Line 58... | Line 58... | ||
58 | $Revision: 750 $ |
58 | $Revision: 752 $ |
Line 5075... | Line 5075... | ||
5075 | align 4 |
5075 | align 4 |
Line 5076... | Line 5076... | ||
5076 | 5076 | ||
Line 5077... | Line 5077... | ||
5077 | syscall_drawline: ; DrawLine |
5077 | syscall_drawline: ; DrawLine |
5078 | 5078 | ||
5079 | mov edi, [TASK_BASE] |
5079 | mov edi, [TASK_BASE] |
5080 | movzx edx, word[edi-twdw+WDATA.box.left] |
5080 | movzx eax, word[edi-twdw+WDATA.box.left] |
5081 | mov ebp, edx |
5081 | mov ebp, eax |
5082 | mov esi, [current_slot] |
5082 | mov esi, [current_slot] |
5083 | add ebp, [esi+APPDATA.wnd_clientbox.left] |
5083 | add ebp, [esi+APPDATA.wnd_clientbox.left] |
5084 | add dx, word[esi+APPDATA.wnd_clientbox.left] |
5084 | add ax, word[esi+APPDATA.wnd_clientbox.left] |
5085 | shl edx, 16 |
5085 | add ebp,ebx |
5086 | add ebp, edx |
5086 | shl eax, 16 |
5087 | movzx edx, word[edi-twdw+WDATA.box.top] |
5087 | movzx ebx, word[edi-twdw+WDATA.box.top] |
5088 | add eax, ebp |
5088 | add eax, ebp |
5089 | mov ebp, edx |
5089 | mov ebp, ebx |
- | 5090 | add ebp, [esi+APPDATA.wnd_clientbox.top] |
|
5090 | add ebp, [esi+APPDATA.wnd_clientbox.top] |
5091 | add bx, word[esi+APPDATA.wnd_clientbox.top] |
5091 | add dx, word[esi+APPDATA.wnd_clientbox.top] |
5092 | add ebp, ecx |
5092 | shl edx, 16 |
5093 | shl ebx, 16 |
5093 | xor edi, edi |
5094 | xor edi, edi |
5094 | add edx, ebp |
5095 | add ebx, ebp |
Line 5095... | Line 5096... | ||
5095 | add ebx, edx |
5096 | mov ecx, edx |
Line 5096... | Line 5097... | ||
5096 | jmp [draw_line] |
5097 | jmp [draw_line] |