When you power on or restart a computer, it goes through its Power On Self Test (POST) routine, which determines:
Once the computer has run its POST routine, each adapter card with a BIOS runs its own POST routine. The computer and adapter card manufacturers determine what appears on the screen during the POST processing.