Removed unneeded whitespace.
This commit is contained in:
@@ -117,7 +117,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
mov ebx, [ebp+srcPitch] ;ebx contains the source pitch
|
||||
mov ecx, [ebp+width] ;ecx contains the number of pixels to process
|
||||
; eax now points to colorB1
|
||||
sub eax, ebx ;eax points to B1 which is the base
|
||||
sub eax, ebx ;eax points to B1 which is the base
|
||||
|
||||
; Main Loop
|
||||
.Loop: push ecx
|
||||
@@ -168,7 +168,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
|
||||
packsswb mm7, mm7
|
||||
movd ecx, mm7
|
||||
test ecx, ecx
|
||||
test ecx, ecx
|
||||
jz near .SKIP_PROCESS ;no, so we can skip
|
||||
|
||||
;End Delta
|
||||
@@ -455,7 +455,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
|
||||
;Start the ASSEMBLY !!! eh... compose all the results together to form the final image...
|
||||
|
||||
|
||||
|
||||
movq mm0, [eax+ebx+color5]
|
||||
movq mm1, [eax+ebx+ebx+color2]
|
||||
movq mm2, mm0
|
||||
@@ -531,7 +531,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
pand mm6, mm2
|
||||
por mm7, mm6
|
||||
|
||||
|
||||
|
||||
movq mm6, mm7
|
||||
pcmpeqw mm6, mm5
|
||||
pand mm7, mm0
|
||||
@@ -542,8 +542,8 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
movq [final1a], mm7 ;finished 1a
|
||||
|
||||
|
||||
|
||||
;--------------------------------
|
||||
|
||||
;--------------------------------
|
||||
|
||||
movq mm7, [Mask35]
|
||||
push eax
|
||||
@@ -583,7 +583,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
pand mm6, mm2
|
||||
por mm7, mm6
|
||||
|
||||
|
||||
|
||||
movq mm6, mm7
|
||||
pcmpeqw mm6, mm5
|
||||
pand mm7, mm0
|
||||
@@ -595,7 +595,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
|
||||
|
||||
;--------------------------------------------
|
||||
|
||||
|
||||
|
||||
%ifdef dfhsdfhsdahdsfhdsfh
|
||||
if (color6 == color3 && color3 == colorA1 && color2 != colorA2 && color3 != colorA0)
|
||||
@@ -675,7 +675,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
movq [final2b], mm0
|
||||
|
||||
;-----------------------------------
|
||||
|
||||
|
||||
|
||||
pxor mm7, mm7
|
||||
movq mm0, [eax+colorB0]
|
||||
@@ -732,7 +732,7 @@ NEWSYM _2xSaISuper2xSaILine
|
||||
por mm0, mm3
|
||||
por mm0, mm2
|
||||
movq [final1b], mm0
|
||||
|
||||
|
||||
;---------
|
||||
|
||||
movq mm0, [final1a]
|
||||
@@ -2023,7 +2023,7 @@ Bits565:
|
||||
mov [eax+4], edx
|
||||
mov eax, 0
|
||||
jmp end1
|
||||
end1:
|
||||
end1:
|
||||
pop edx
|
||||
mov esp, ebp
|
||||
pop ebp
|
||||
|
||||
@@ -95,7 +95,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
mov ebx, [ebp+srcPitch] ;ebx contains the source pitch
|
||||
mov ecx, [ebp+width] ;ecx contains the number of pixels to process
|
||||
; eax now points to colorB1
|
||||
sub eax, ebx ;eax points to B1 which is the base
|
||||
sub eax, ebx ;eax points to B1 which is the base
|
||||
|
||||
; Main Loop
|
||||
.Loop: push ecx
|
||||
@@ -146,7 +146,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
|
||||
packsswb mm7, mm7
|
||||
movd ecx, mm7
|
||||
test ecx, ecx
|
||||
test ecx, ecx
|
||||
jz near .SKIP_PROCESS ;no, so we can skip
|
||||
|
||||
;End Delta
|
||||
@@ -432,7 +432,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
|
||||
;Start the ASSEMBLY !!! eh... compose all the results together to form the final image...
|
||||
|
||||
|
||||
|
||||
movq mm0, [eax+ebx+color5]
|
||||
movq mm1, [eax+ebx+ebx+color2]
|
||||
movq mm2, mm0
|
||||
@@ -507,7 +507,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
pand mm6, mm2
|
||||
por mm7, mm6
|
||||
|
||||
|
||||
|
||||
movq mm6, mm7
|
||||
pcmpeqw mm6, mm5
|
||||
pand mm7, mm0
|
||||
@@ -518,8 +518,8 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
movq [final1a], mm7 ;finished 1a
|
||||
|
||||
|
||||
|
||||
;--------------------------------
|
||||
|
||||
;--------------------------------
|
||||
|
||||
movq mm7, [Mask35]
|
||||
push eax
|
||||
@@ -559,7 +559,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
pand mm6, mm2
|
||||
por mm7, mm6
|
||||
|
||||
|
||||
|
||||
movq mm6, mm7
|
||||
pcmpeqw mm6, mm5
|
||||
pand mm7, mm0
|
||||
@@ -571,7 +571,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
|
||||
|
||||
;--------------------------------------------
|
||||
|
||||
|
||||
|
||||
%ifdef dfhsdfhsdahdsfhdsfh
|
||||
if (color6 == color3 && color3 == colorA1 && color2 != colorA2 && color3 != colorA0)
|
||||
@@ -637,7 +637,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
|
||||
movq mm4, [Mask35]
|
||||
movq mm3, [Mask26]
|
||||
|
||||
|
||||
movq mm6, mm4
|
||||
pand mm6, mm7
|
||||
pxor mm4, mm6
|
||||
@@ -669,7 +669,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
movq [final2b], mm0
|
||||
|
||||
;-----------------------------------
|
||||
|
||||
|
||||
|
||||
pxor mm7, mm7
|
||||
movq mm0, [eax+colorB0]
|
||||
@@ -711,7 +711,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
|
||||
movq mm4, [Mask35]
|
||||
movq mm3, [Mask26]
|
||||
|
||||
|
||||
movq mm6, mm4
|
||||
pand mm6, mm7
|
||||
pxor mm4, mm6
|
||||
@@ -741,7 +741,7 @@ NEWSYM _2xSaISuper2xSaILineW
|
||||
por mm0, mm3
|
||||
por mm0, mm2
|
||||
movq [final1b], mm0
|
||||
|
||||
|
||||
;---------
|
||||
|
||||
movq mm0, [final1a]
|
||||
@@ -2032,7 +2032,7 @@ Bits565:
|
||||
mov [eax+4], edx
|
||||
mov eax, 0
|
||||
jmp end1
|
||||
end1:
|
||||
end1:
|
||||
pop edx
|
||||
mov esp, ebp
|
||||
pop ebp
|
||||
|
||||
@@ -341,7 +341,7 @@ PreTripleBuffer:
|
||||
.failed
|
||||
mov byte[Triplebufen],0
|
||||
ret
|
||||
%endif
|
||||
%endif
|
||||
|
||||
SECTION .data
|
||||
; Please don't break this again. :)
|
||||
@@ -405,7 +405,7 @@ ScreenShow:
|
||||
je near copyvesa2320x480x8b
|
||||
cmp byte[cvidmode],10
|
||||
je near copyvesa2320x480x16b
|
||||
cmp byte[cvidmode],11
|
||||
cmp byte[cvidmode],11
|
||||
je near copyvesa2512x384x8b
|
||||
cmp byte[cvidmode],12
|
||||
je near copyvesa2512x384x16b
|
||||
@@ -1015,7 +1015,7 @@ NEWSYM copyvesa2320x480x8b
|
||||
ret
|
||||
|
||||
|
||||
;copyvesa2320x480x8ng:
|
||||
;copyvesa2320x480x8ng:
|
||||
; jmp .mode7hires
|
||||
; mov ebx,1
|
||||
;.loopa
|
||||
@@ -1289,7 +1289,7 @@ NEWSYM copyvesa2800x600x16b
|
||||
add edi,144*2+800*2+144*2
|
||||
dec dl
|
||||
jnz near .interpolate
|
||||
|
||||
|
||||
.done
|
||||
pop es
|
||||
ret
|
||||
|
||||
@@ -34,8 +34,8 @@ EXTSYM ScrDispl
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonega
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
.nonega
|
||||
mov [.cxloc],bx
|
||||
mov bx,dx
|
||||
@@ -58,7 +58,7 @@ EXTSYM ScrDispl
|
||||
test bx,0001000000000000b
|
||||
jz .nonegd
|
||||
or bx,1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
.nonegd
|
||||
sub word[.cyloc],bx
|
||||
|
||||
@@ -117,8 +117,8 @@ EXTSYM ScrDispl
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonega
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
.nonega
|
||||
mov [.cxloc],bx
|
||||
mov bx,dx
|
||||
@@ -141,7 +141,7 @@ EXTSYM ScrDispl
|
||||
test bx,0001000000000000b
|
||||
jz .nonegd
|
||||
or bx,1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
.nonegd
|
||||
add bx,bx
|
||||
sub word[.cyloc],bx
|
||||
|
||||
@@ -108,8 +108,8 @@ EXTSYM pesimpng,ScrDispl
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonega
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
.nonega
|
||||
mov [mcxloc],bx
|
||||
mov bx,dx
|
||||
@@ -132,7 +132,7 @@ EXTSYM pesimpng,ScrDispl
|
||||
test bx,0001000000000000b
|
||||
jz .nonegd
|
||||
or bx,1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
.nonegd
|
||||
sub word[mcyloc],bx
|
||||
|
||||
@@ -191,8 +191,8 @@ EXTSYM pesimpng,ScrDispl
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonegacb
|
||||
or word[mode7X0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
or word[mode7X0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
.nonegacb
|
||||
mov [mcxloc],bx
|
||||
mov bx,dx
|
||||
@@ -213,7 +213,7 @@ EXTSYM pesimpng,ScrDispl
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonegdcb
|
||||
or word[mode7Y0],1110000000000000b
|
||||
or word[mode7Y0],1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
.nonegdcb
|
||||
add bx,bx
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonega
|
||||
or bx,1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
.nonega
|
||||
mov [.cxloc],bx
|
||||
mov bx,dx
|
||||
|
||||
@@ -51,7 +51,7 @@ NEWSYM drawmode7extbg
|
||||
and bx,0001111111111111b ; 13 -> 16 bit signed value
|
||||
test bx,0001000000000000b
|
||||
jz .nonega
|
||||
or bx,1110000000000000b
|
||||
or bx,1110000000000000b
|
||||
.nonega
|
||||
mov [.cxloc],bx
|
||||
mov bx,dx
|
||||
|
||||
Reference in New Issue
Block a user