Rev 75 | Rev 115 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 75 | Rev 102 | ||
---|---|---|---|
Line 199... | Line 199... | ||
199 | add eax, [putimg.abs_cx] |
199 | add eax, [putimg.abs_cx] |
200 | add eax, WinMapAddress |
200 | add eax, WinMapAddress |
201 | xchg eax, ebp |
201 | xchg eax, ebp |
Line 202... | Line 202... | ||
202 | 202 | ||
203 | ; get process number |
203 | ; get process number |
204 | mov eax, [0x3010] |
- | |
Line 205... | Line 204... | ||
205 | mov bl, [eax+0xE] |
204 | mov ebx, [0x3000] |
206 | 205 | ||
Line 207... | Line 206... | ||
207 | cmp byte [ScreenBPP], 32 |
206 | cmp byte [ScreenBPP], 32 |
208 | je put_image_end_32 |
- | |
209 | 207 | je put_image_end_32 |
|
210 | ;put_image_end_24: |
208 | |
211 | ;cli ; !!!!!!!!!!!!!!!!!!!!!! |
209 | ;put_image_end_24: |
212 | mov edi, [putimg.real_sy] |
210 | mov edi, [putimg.real_sy] |
Line 242... | Line 240... | ||
242 | dec edi |
240 | dec edi |
243 | jnz .new_line |
241 | jnz .new_line |
244 | .finish: |
242 | .finish: |
245 | add esp, putimg.stack_data |
243 | add esp, putimg.stack_data |
246 | popad |
244 | popad |
247 | ;sti ; !!!!!!!!!!!!!!!!!!!!! |
- | |
248 | ret |
245 | ret |
Line 249... | Line 246... | ||
249 | 246 | ||
250 | put_image_end_32: |
247 | put_image_end_32: |
251 | mov edi, [putimg.real_sy] |
248 | mov edi, [putimg.real_sy] |
Line 677... | Line 674... | ||
677 | add eax, [drbar.abs_cx] |
674 | add eax, [drbar.abs_cx] |
678 | add eax, WinMapAddress |
675 | add eax, WinMapAddress |
679 | xchg eax, ebp |
676 | xchg eax, ebp |
Line 680... | Line 677... | ||
680 | 677 | ||
681 | ; get process number |
678 | ; get process number |
682 | mov eax, [0x3010] |
- | |
Line 683... | Line 679... | ||
683 | mov bl, [eax+0xE] |
679 | mov ebx, [0x3000] |
684 | 680 | ||
685 | cmp byte [ScreenBPP], 24 |
681 | cmp byte [ScreenBPP], 24 |
686 | jne draw_bar_end_32 |
- | |
687 | draw_bar_end_24: |
682 | jne draw_bar_end_32 |
688 | ;cli ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
683 | draw_bar_end_24: |
689 | mov eax, [drbar.color] ;; BBGGRR00 |
684 | mov eax, [drbar.color] ;; BBGGRR00 |
690 | mov bh, al ;; bh = BB |
685 | mov bh, al ;; bh = BB |
691 | shr eax, 8 ;; eax = RRGG |
686 | shr eax, 8 ;; eax = RRGG |
Line 734... | Line 729... | ||
734 | jnz .new_y |
729 | jnz .new_y |
Line 735... | Line 730... | ||
735 | 730 | ||
736 | add esp, drbar.stack_data |
731 | add esp, drbar.stack_data |
737 | popad |
732 | popad |
738 | xor eax, eax |
- | |
739 | ;sti ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
733 | xor eax, eax |
Line 740... | Line 734... | ||
740 | ret |
734 | ret |
741 | 735 |