Subversion Repositories Kolibri OS

Rev

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

Rev 861 Rev 862
Line 56... Line 56...
56
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
56
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
57
 
57
 
Line 58... Line 58...
58
include 'macros.inc'
58
include 'macros.inc'
Line 59... Line 59...
59
 
59
 
Line 60... Line 60...
60
$Revision: 861 $
60
$Revision: 862 $
Line 61... Line 61...
61
 
61
 
Line 2319... Line 2319...
2319
nosb1:
2319
nosb1:
Line 2320... Line 2320...
2320
 
2320
 
2321
    cmp   ebx,2 			   ; SET PIXEL
2321
    cmp   ebx,2 			   ; SET PIXEL
-
 
2322
    jnz   nosb2
2322
    jnz   nosb2
2323
 
2323
    mov ebx, [mem_BACKGROUND]
2324
    mov ebx, [mem_BACKGROUND]
2324
    add ebx, 4095
2325
    add ebx, 4095
2325
    and ebx, -4096
2326
    and ebx, -4096
2326
    sub ebx, 4
2327
    sub ebx, 4
Line 2484... Line 2485...
2484
nogb1:
2485
nogb1:
Line 2485... Line 2486...
2485
 
2486
 
2486
    cmp   eax,2 				 ; PIXEL
2487
    cmp   eax,2 				 ; PIXEL
-
 
2488
    jnz   nogb2
2487
    jnz   nogb2
2489
 
2488
    mov ecx, [mem_BACKGROUND]
2490
    mov ecx, [mem_BACKGROUND]
2489
    add ecx, 4095
2491
    add ecx, 4095
2490
    and ecx, -4096
2492
    and ecx, -4096
2491
    sub ecx, 4
2493
    sub ecx, 4
Line 2498... Line 2500...
2498
    and   eax, 0xFFFFFF
2500
    and   eax, 0xFFFFFF
2499
    mov   [esp+36],eax
2501
    mov   [esp+36],eax
2500
@@:
2502
@@:
2501
    ret
2503
    ret
-
 
2504
 
2502
  nogb2:
2505
  nogb2:
Line 2503... Line 2506...
2503
 
2506
 
2504
    cmp   eax,4 				 ; TILED / STRETCHED
2507
    cmp   eax,4 				 ; TILED / STRETCHED
2505
    jnz   nogb4
2508
    jnz   nogb4