Questions tagged [bios]

The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). The primary function of the BIOS is to load and start an operating system.

The Basic Input/Output System (BIOS), also known as the system BIOS or ROM BIOS ( /ˈbaɪ.oʊs/), is a de facto standard defining a firmware interface.

The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). When the PC starts up, the first job for the BIOS is the power-on self-test, which initializes and identifies system devices such as the CPU, RAM, video display card, keyboard and mouse, hard disk drive, optical disc drive and other hardware. The BIOS then locates boot loader software held on a peripheral device (designated as a 'boot device'), such as a hard disk or a CD/DVD, and loads and executes that software, giving it control of the PC.[2] This process is known as booting, or booting up, which is short for bootstrapping. BIOS software is stored on a non-volatile ROM chip on the motherboard. It is specifically designed to work with each particular model of computer, interfacing with various devices that make up the complementary chipset of the system. In modern computer systems, the BIOS chip's contents can be rewritten without removing it from the motherboard, allowing BIOS software to be upgraded in place.

A BIOS has a user interface (UI), typically a menu system accessed by pressing a certain key on the keyboard when the PC starts. In the BIOS UI, a user can:

  • configure hardware
  • set the system clock
  • enable or disable system components
  • select which devices are eligible to be a potential boot device
  • set various password prompts, such as a password for securing access to the BIOS user interface functions itself and preventing malicious users from booting the system from unauthorized peripheral devices.

http://en.wikipedia.org/wiki/BIOS

916 questions
6
votes
1 answer

Any way to list the BIOS drive numbers in real mode

Is there any way to list the BIOS drive indexes in real mode (E.g. 0x80, 0x81 ...)? I did not find any interrupt that is in charge of listing drive numbers!!
6
votes
1 answer

Default registers and segments value on booting x86 machine

I found that usually programmers fixup registers (and sometimes segments) on their very first lines of bootloaders and they advice usually to have this habit. For instance: inc cx dec bx inc bp dec di xor ax, ax What I know is that: BIOS clears all…
6
votes
2 answers

Why do we need AML - ACPI Machine Language?

As I understand, ACPI defines a generic hardware programming model where operating system relies on the OEM firmware provided AML (ACPI machine language) code to manipulate the hardware. In order to execute the AML code, operating system has to…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
6
votes
4 answers

Modifying the ia32 feature control register on Asus Z170 board with buggy BIOS

I'm in the unlucky situation that I need to use a CPU feature that the BIOS hasn't enabled in the ia32 feature control MSR register. The BIOS does set the lock bit so I can't set the bit myself. The BIOS (Asus UEFI BIOS) has no option to change the…
Morty
  • 1,706
  • 1
  • 12
  • 25
6
votes
2 answers

Where does dmidecode get the SMBIOS table?

I always have this question and didn't get an answer after reading man-page and searching online. Anyone who has knowledge about this please comment. I understand that SMBIOS table or DMI table is what dmidecode locates and parses. But where does it…
iglory
  • 101
  • 1
  • 1
  • 4
6
votes
2 answers

16 colors for background in MCGA BIOS text mode (AL = 03h)

MCGA supports 4-bits color depth, that is 16 colors. But when I try to print all of these colors, I get only first 8 of them and the rest 8 simply duplicate them as on the pic below. Can it be that I'm doing something wrong here or it is all because…
yulian
  • 1,601
  • 3
  • 21
  • 49
6
votes
1 answer

Check if my computer has bios password (via VB / C#)

Im doing a checklist in my domain. I was wondering if there's a way to obtain the BIOS status of Computer, particularly BIOS Password status, I want to know if a Computer has BIOS password or not without shutting down.
jeansilva
  • 71
  • 4
6
votes
2 answers

Does booting in EFI mode mean that I shall not have access to BIOS interrupts?

I am attempting to develop a simple OS. I have done some assembly programs before and have had to use INT 10h to display characters to the screen. I understand that UEFI has support for legacy BIOS and may still be able to use INT 10h services.…
Lord Loh.
  • 2,437
  • 7
  • 39
  • 64
5
votes
1 answer

How to display a number on the screen and and sleep for one second with DOS x86 assembly?

I'm using NASM 16 BITS. I'm trying to do a simple assembly code that prints the numbers from 0 to 255 with 1 second interval between each number. This is what I have so far: [bits 16] mov ax,cs mov ds,ax mov cx,255 mov ax,0 myloop: ;print in…
5
votes
1 answer

How should the stack be initialized to in an x86 real mode bootloader to prevent conflicts with BIOS?

Suppose I want to initialize the stack to a size of S bytes. I would like to chose the base position of the stack B so that as the stack grows downward from B, I do not end up overwriting any code or other memory being used by the bootloader or the…
Diggs
  • 129
  • 9
5
votes
1 answer

How does a PCIe device appear bootable to the BIOS/UEFI?

I have an Intel based host system with a PCIe daughter card that my company has designed. We are able to have it be enumerated to allow memory to be shared with the intel processor. I am looking to make the daughter card memory space, accessible…
penguin4hire
  • 288
  • 1
  • 2
  • 14
5
votes
1 answer

I want to be able to pull in the error log from BIOS across a network

I want to be able to pull in the error log from BIOS across a network. Looking at Win32_BIOS in MSDN I did not see anything defining the error log. Would love to do this in C# with WMI, but am open to suggestions. Is it possible? Win32_BIOS does not…
Terry
  • 319
  • 1
  • 3
  • 13
5
votes
2 answers

What is i.h.ah, o.h.ah and int86?

I am trying to understand a program to get arrow keys. Here is the code: int getkeys( ) { union REGS i,o; while(!kbhit( )); i.h.ah=0; int86(22,&i,&o); return(o.h.ah); } can someone please explain me…
Vipul
  • 53
  • 1
  • 6
5
votes
0 answers

Is there a way to read the current time stored in RTC using windows?

I am looking for a way to query the current RTC from the motherboard while running under windows. I am looking for a simple unaltered time as it is stored in the hardware clock (no drift compensation, no NTP time synchronization, not an old…
ash
  • 51
  • 3
5
votes
1 answer

Is there a way to get the list of all BIOS interrupts present on the current system programmatically?

I'm looking for a list of BIOS interrupts supplied by my PC. To get the most common BIOS calls, there are various public resources, but I was hoping for a list of all (possibly not very public) BIOS calls for my PC. Is there a program to do this, or…
S.S. Anne
  • 15,171
  • 8
  • 38
  • 76