Rev 2 | Rev 36 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 33 | ||
---|---|---|---|
Line 323... | Line 323... | ||
323 | .noneg: |
323 | .noneg: |
324 | ; OK to set pixel |
324 | ; OK to set pixel |
325 | call dword [0xe020] ; call the real put_pixel function |
325 | call dword [0xe020] ; call the real put_pixel function |
326 | .exit: |
326 | .exit: |
327 | popad |
327 | popad |
- | 328 | ||
328 | ret |
329 | ret |
Line 329... | Line 330... | ||
329 | 330 | ||
330 | align 4 |
331 | align 4 |
Line 374... | Line 375... | ||
374 | 375 | ||
Line 375... | Line 376... | ||
375 | ; DRAWLINE |
376 | ; DRAWLINE |
376 | 377 | ||
377 | align 4 |
- | |
- | 378 | align 4 |
|
378 | __sys_draw_line: |
379 | __sys_draw_line: |
Line 379... | Line 380... | ||
379 | 380 | inc [mouse_pause] |
|
380 | call [disable_mouse] |
381 | call [disable_mouse] |
381 | 382 | ||
Line 510... | Line 511... | ||
510 | mov ebx, [dl_y2] |
511 | mov ebx, [dl_y2] |
511 | call [putpixel] |
512 | call [putpixel] |
512 | .exit: |
513 | .exit: |
513 | add esp, 6*4 |
514 | add esp, 6*4 |
514 | popa |
515 | popa |
- | 516 | dec [mouse_pause] |
|
515 | ret |
517 | ret |
Line 516... | Line 518... | ||
516 | 518 | ||
517 | 519 | ||
Line 585... | Line 587... | ||
585 | ; ebx cy |
587 | ; ebx cy |
586 | ; ecx xe |
588 | ; ecx xe |
587 | ; edx ye |
589 | ; edx ye |
588 | ; edi color |
590 | ; edi color |
589 | vesa20_drawbar: |
591 | vesa20_drawbar: |
- | 592 | ||
590 | pushad |
593 | pushad |
591 | call [disable_mouse] |
594 | call [disable_mouse] |
Line 592... | Line 595... | ||
592 | 595 | ||
Line 614... | Line 617... | ||
614 | ja @f |
617 | ja @f |
615 | add esp, drbar.stack_data |
618 | add esp, drbar.stack_data |
616 | popad |
619 | popad |
617 | xor eax, eax |
620 | xor eax, eax |
618 | inc eax |
621 | inc eax |
- | 622 | ||
619 | ret |
623 | ret |
620 | @@: |
624 | @@: |
621 | cmp ebx, [drbar.bar_sx] |
625 | cmp ebx, [drbar.bar_sx] |
622 | jbe .end_x |
626 | jbe .end_x |
623 | mov ebx, [drbar.bar_sx] |
627 | mov ebx, [drbar.bar_sx] |
Line 630... | Line 634... | ||
630 | ja @f |
634 | ja @f |
631 | add esp, drbar.stack_data |
635 | add esp, drbar.stack_data |
632 | popad |
636 | popad |
633 | xor eax, eax |
637 | xor eax, eax |
634 | inc eax |
638 | inc eax |
- | 639 | ||
635 | ret |
640 | ret |
636 | @@: |
641 | @@: |
637 | cmp ebx, [drbar.bar_sy] |
642 | cmp ebx, [drbar.bar_sy] |
638 | jbe .end_y |
643 | jbe .end_y |
639 | mov ebx, [drbar.bar_sy] |
644 | mov ebx, [drbar.bar_sy] |
Line 773... | Line 778... | ||
773 | jnz .new_y |
778 | jnz .new_y |
Line 774... | Line 779... | ||
774 | 779 | ||
775 | add esp, drbar.stack_data |
780 | add esp, drbar.stack_data |
776 | popad |
781 | popad |
- | 782 | xor eax, eax |
|
777 | xor eax, eax |
783 | |
Line 778... | Line 784... | ||
778 | ret |
784 | ret |