Bartoloni, are you able to update this to the new codebase?
original ITA topic: http://www.reactos.org/forum/viewtopic.php?f=15&t=6402
the original boot bitmap wal located here: sourceunit:\trunk\reactos\ntoskrnl\inbv\logo\5.bmp ( if u have downloaded then source code via TortoiseSVN on root of SOURCEUNIT )
and.. is this:
[ external image ]
215x147 pixels , 16 colors ( bitmap )
i have made an alternative-Bitmap: ( that can be used .. by ---> Save Image As... from the web browser. )
[ external image ]
150x275 Pixels , 16 colors ( bitmap )
replace the original 5.bmp ( located on sourceunit:\trunk\reactos\ntoskrnl\inbv\logo )
with this one...
and now.. a little change to C code ( for setting position of bitmap on BOTTOM of screen during the Startup )
the code was located here: sourceunit:\trunk\reactos\ntoskrnl\inbv\inbv.c
[ external image ]
at the end of code there is:
Code: Select all
{
/* Is the boot driver installed? */
if (!InbvBootDriverInstalled) return;
/* FIXME: TODO, display full-screen bitmap */
Bitmap = InbvGetResourceAddress(5);
if (Bitmap)
{
PBITMAPINFOHEADER BitmapInfoHeader = (PBITMAPINFOHEADER)Bitmap;
ULONG Top, Left;
Left = (640 - BitmapInfoHeader->biWidth) / 2;
if (BitmapInfoHeader->biHeight < 0)
Top = (480 - BitmapInfoHeader->biHeight) / 2;
else
Top = (480 - BitmapInfoHeader->biHeight) / 2;
InbvBitBlt(Bitmap, Left, Top);
}
}
Code: Select all
{
/* Is the boot driver installed? */
if (!InbvBootDriverInstalled) return;
/* FIXME: TODO, display full-screen bitmap */
Bitmap = InbvGetResourceAddress(5);
if (Bitmap)
{
PBITMAPINFOHEADER BitmapInfoHeader = (PBITMAPINFOHEADER)Bitmap;
ULONG Top, Left;
Left = (640 - BitmapInfoHeader->biWidth) / 2;
if (BitmapInfoHeader->biHeight < 0)
Top = (480 - BitmapInfoHeader->biHeight) / 2;
else
Top = (470 - BitmapInfoHeader->biHeight);
InbvBitBlt(Bitmap, Left, Top);
}
}
now.. just type: MAKE NTOSKRNL in the RosBE console...
the compiled Kernel will be located on : sourceunit:\trunk\reactos\output-i386\ntoskrnl
now.. just replace the original NTOSKRNL.EXE with this one.. launch ReactOS .. and...
[ external image ]
p.s.
look at the code.. there is a NEGATIVE-HEIGHT-TEST that DON'T DRAW the IMAGE if the HEIGHT WAS NEGATIVE
Code: Select all
if (BitmapInfoHeader->biHeight < 0)
Top = (480 - BitmapInfoHeader->biHeight) / 2;
else
Top = (480 - BitmapInfoHeader->biHeight) / 2;
InbvBitBlt(Bitmap, Left, Top);