PDA

View Full Version : customizing BSOD (serious)



iain
12-04-2001, 12:01 PM
Surely there must be some way of customizing the BSOD, everything else in windows can customized if you change the right file or registry key.

Surely the files for the bsod are referenced in the registry or some file deep in the bowels of the system directory.

Any ideas?
:confused:

alex
12-04-2001, 12:15 PM
Hi!

You can add the following lines in the [386Enh] section of system.ini:

MessageTextColor=E
MessageBackColor=4

(this will give bright yellow text on a red backround)

The possible colors are:

0 - black
1 - blue
2 - green
3 - cyan
4 - red
5 - magenta
6 - yellow/brown
7 - white
8 - gray
9 - Bright blue
A - Bright green
B - Bright cyan
C - Bright red
D - Bright magenta
E - Bright yellow
F - Bright white


greetinx,
alex

forgot to tell where to add the lines

Stoned_Coder
12-04-2001, 12:16 PM
You can change the colour of it.There are plenty of utilities out there that let you do that.

DavidP
12-04-2001, 07:18 PM
Straight from the MS source code:

//Win32 API Error Message Source

#include <dos.h>
#include <win16errormsg.h>
#include <billrulz.h>

#ifndef __WIN32ERROR_H
#define __WIN32ERROR_H


int BSOD ( int bgColor, int txtColor, char *ForebodingMessage, char *ComputerJibberish )
{
/*I have yet to see the BSOD with XP: */
if( SYSTEM->TYPE() == OSTYPE::WINDOWS_XP ) return 0;
else {
SetBgColor(bgColor);
SetTextColor (txtColor);
FlashSubliminalMessage("BiLl RuLeZ!!!");
DisplayForebodingMessage(ForebodingMessage);
DisplayJumbledJibberish(ComputerJibberish);
}
return 666;
}


#endif