dib16_hline revert GvG change until some rewrite the asm code to handler
the 4 align right. for now it does
the test 0x01,%%edi is wrong it must be test 0x03,%%edi
for not break cmd in 16bpp and other apps
Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c
_____
Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c
--- trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 19:04:32 UTC
(rev 15848)
+++ trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 20:18:32 UTC
(rev 15849)
@@ -53,7 +53,7 @@
" shl $16, %%eax\n"
" andl $0xffff, %0\n" /* If the pixel value is "abcd", put "abcdabcd"
in %eax */
" or %0, %%eax\n"
-" test $0x03, %%edi\n" /* Align to fullword boundary */
+" test $0x01, %%edi\n" /* Align to fullword boundary */
" jz .L1\n"
" stosw\n"
" dec %1\n"
fix a bug in hline for 16bpp it did not do Align to fullword boundary
correct GvG did spot this lite bug. fix fill bug in 8bpp now it will
boot agein thx waxdragon that did spot this problem.
Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c
Modified: trunk/reactos/subsys/win32k/dib/dib8bpp.c
_____
Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c
--- trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 02:12:33 UTC
(rev 15844)
+++ trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 17:58:33 UTC
(rev 15845)
@@ -49,11 +49,11 @@
__asm__(
" cld\n"
-" andl $0xffff, %0\n" /* If the pixel value is "abcd", put "abcdabcd"
in %eax */
" mov %0, %%eax\n"
" shl $16, %%eax\n"
+" andl $0xffff, %0\n" /* If the pixel value is "abcd", put "abcdabcd"
in %eax */
" or %0, %%eax\n"
-" test $0x01, %%edi\n" /* Align to fullword boundary */
+" test $0x03, %%edi\n" /* Align to fullword boundary */
" jz .L1\n"
" stosw\n"
" dec %1\n"
_____
Modified: trunk/reactos/subsys/win32k/dib/dib8bpp.c
--- trunk/reactos/subsys/win32k/dib/dib8bpp.c 2005-06-09 02:12:33 UTC
(rev 15844)
+++ trunk/reactos/subsys/win32k/dib/dib8bpp.c 2005-06-09 17:58:33 UTC
(rev 15845)
@@ -352,7 +352,7 @@
ULONG DestY;
for (DestY = DestRect->top; DestY< DestRect->bottom; DestY++)
{
- DIB_32BPP_HLine (DestSurface, DestRect->left, DestRect->right,
DestY, color);
+ DIB_8BPP_HLine (DestSurface, DestRect->left, DestRect->right,
DestY, color);
}
return TRUE;
add my self to CREDITS
Modified: trunk/reactos/CREDITS
_____
Modified: trunk/reactos/CREDITS
--- trunk/reactos/CREDITS 2005-06-08 16:28:41 UTC (rev 15840)
+++ trunk/reactos/CREDITS 2005-06-08 17:29:59 UTC (rev 15841)
@@ -46,6 +46,7 @@
David Welch <welch(a)cwcom.net>
Jonathan Wilson <jonwil(a)tpgi.com.au>
Art Yerkes <ayerkes(a)speakeasy.net>
+Magnus Olsen (magnus(a)greatlord.com)
Graphic Design from