Subversion Repositories Kolibri OS

Rev

Rev 837 | Rev 914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 837 Rev 840
Line 13... Line 13...
13
;;                                                              ;;
13
;;                                                              ;;
14
;;  See file COPYING for details                                ;;
14
;;  See file COPYING for details                                ;;
15
;;                                                              ;;
15
;;                                                              ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
$Revision: 753 $
18
$Revision: 840 $
19
 
19
 
20
 
20
 
Line 325... Line 325...
325
        mov   esi,eax
325
        mov   esi,eax
326
        mov   edi,ebx
326
        mov   edi,ebx
327
        mov   eax,[Screen_Max_X]
327
        mov   eax,[Screen_Max_X]
328
        add   eax,1
328
        add   eax,1
329
        mul   ebx
329
        mul   ebx
-
 
330
        mov   ebx, [_display_data]
-
 
331
        add   ebx, esi
330
        cmp   [eax+esi+WinMapAddress],byte 1
332
        cmp   [eax+ebx],byte 1
331
        jnz   v12nbgp
333
        jnz   v12nbgp
332
        mov   eax,[BytesPerScanLine]
334
        mov   eax,[BytesPerScanLine]
333
        mov   ebx,edi
335
        mov   ebx,edi
334
        mul   ebx
336
        mul   ebx
335
        add   eax, esi
337
        add   eax, esi
Line 492... Line 494...
492
      xor  edx,edx
494
      xor  edx,edx
493
      mov  eax,edi
495
      mov  eax,edi
494
      sub  eax,VGABasePtr
496
      sub  eax,VGABasePtr
495
      mov  ebx,3
497
      mov  ebx,3
496
      div  ebx
498
      div  ebx
497
      add  eax,WinMapAddress
499
      add  eax, [_display_data]
498
      mov   ebx,[CURRENT_TASK]
500
      mov   ebx,[CURRENT_TASK]
499
      cld
501
      cld
Line 500... Line 502...
500
 
502
 
Line 583... Line 585...
583
    push ecx
585
    push ecx
Line 584... Line 586...
584
 
586
 
585
      mov  eax,edi
587
      mov  eax,edi
586
      sub  eax,VGABasePtr
588
      sub  eax,VGABasePtr
587
      shr  eax,2
589
      shr  eax,2
588
      add  eax,WinMapAddress
590
      add  eax, [_display_data]
589
      mov   ebx,[CURRENT_TASK]
591
      mov   ebx,[CURRENT_TASK]
Line 590... Line 592...
590
      cld
592
      cld
Line 828... Line 830...
828
 
830
 
829
      mov  edx,edi
831
      mov  edx,edi
830
      sub  edx,VGABasePtr
832
      sub  edx,VGABasePtr
831
      mov  ebx,3
833
      mov  ebx,3
832
      div  ebx
834
      div  ebx
833
      add  edx,WinMapAddress
835
      add  edx,[_display_data]
834
      mov  ebx,[CURRENT_TASK]
836
      mov  ebx,[CURRENT_TASK]
Line 835... Line 837...
835
      mov  bh,[esp+4*3]
837
      mov  bh,[esp+4*3]
Line 897... Line 899...
897
    push ebx
899
    push ebx
Line 898... Line 900...
898
 
900
 
899
      mov  edx,edi
901
      mov  edx,edi
900
      sub  edx,VGABasePtr
902
      sub  edx,VGABasePtr
901
      shr  edx,2
903
      shr  edx,2
902
      add  edx,WinMapAddress
904
      add  edx, [_display_data]
903
      mov   ebx,[CURRENT_TASK]
905
      mov   ebx,[CURRENT_TASK]
Line 904... Line 906...
904
      mov   bh,[esp+4*3]
906
      mov   bh,[esp+4*3]