customizing BSOD (serious)

This is a discussion on customizing BSOD (serious) within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Surely there must be some way of customizing the BSOD, everything else in windows can customized if you change the ...

  1. #1
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385

    Question customizing BSOD (serious)

    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?
    Monday - what a way to spend a seventh of your life

  2. #2
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    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

    [edit]forgot to tell where to add the lines[/edit]
    Last edited by alex; 12-04-2001 at 12:17 PM.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    You can change the colour of it.There are plenty of utilities out there that let you do that.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    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
    My Website

    "Circular logic is good because it is."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The BSOD struggle continues.
    By Aran in forum Tech Board
    Replies: 17
    Last Post: 06-03-2006, 01:51 PM
  2. BSOD on anything
    By RoD in forum Tech Board
    Replies: 2
    Last Post: 09-30-2004, 11:06 PM
  3. i need serious HELP!!!
    By Nikisha in forum C++ Programming
    Replies: 4
    Last Post: 03-16-2003, 07:35 AM
  4. Need serious help with a circle program
    By CheeseMonkey in forum C Programming
    Replies: 2
    Last Post: 04-20-2002, 01:48 PM
  5. BSOD in XP!!!!!!!
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-19-2002, 01:16 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21