bios

Reliable way of generating unique hardware ID

Question: I have to come up with unique ID for each networked client, such that: it (ID) should persist once client software is installed on target computer, and should continue to persist if software is re-installed on same computer and same OS installment, it should not change if hardware configuration is modified in most ways (excep...

Interrupt №13 (ah=48) - not working

I want fetch the parameters of my hard disk. Using the technique described here. This is code showing normal parameters of floppy disk: mov dl,00h mov ah,08h int 13h This is code, showing not valid parameters of hard disk (may be, my hard disk space is big (LBA)): mov dl,80h mov ah,08h int 13h And I've written this code: mov dl,...

bios video services interrupt call

I'm trying to use the bios video interrupt to display a character on the screen. The following is the assembly code: mov $0x0A, %AH mov $0x68, %AL ; to display character 'h' int $0x10 I assembled this code using GNU assembler to produce an object file called sample.o The total size of sample.o is 449 bytes. Now I manually write to th...

reading the system clock value?

Is there a virtual/system clock running independently when a computer is booted? How can we read that value? ...

0xffff0 and the BIOS

Hello all, I have a quick question that I can't seem to find the answer to. When a pc first boots up, it starts executing at physical address 0xffff0. This address contains a jmp instruction to the BIOS. Now for my question, I always assume the physical addresses are mapped to RAM. If RAM initially contains garbage values, what exac...

Displaying data using BIOS in C

Is there any way to print data using bios in c. I know in assembly you can use int 0x10, but is there any equivalent for C? ...

How to discover the MAC address of machines in and over a network?

How do I discover the MAC address of machines in a network? I need to discover the machines that are available just with only BIOS installed (no Operating System present). And I need to find the mac address of such machines that are up. I won't have physical access to the machines. this is for baremetal discovery! ...

BIOS INT 13H with AH=2 can only read 72 sectors each time. Why?

I am using Bochs 2.4.5 to write a boot sector code. I use the INT 13H to read sectors from floppy. But I found that if the sector count to read > 72, the INT13 will fail. And the return code is AH=1. Below's the code and here is the INT13. The return code is AH=1. Why can't the INT 13H read more than 72 sectors? xorb %ah, %ah xor...

Query Hardware-Specific Information on Windows With C++

Specifically, I want to query a system's GPU for the following: The name of the GPU, the series (e.g. ATI Radion 5800, NVIDIA GeForce 4 MX, etc.), the BIOS version, the driver version, the GPU clock speed, the GPU memory speed, the memory type, the memory size, the bus width, the bandwidth, the type of bus being used, the vendor. Any i...

Where is there good information about low level PC booting?

I'm interested in writing a boot loader for USB sticks that looks for a directory of ISOs and gives you the option to boot one of them as if it were a bootable CD. This is basically so I have a menu driven program that allows me to install one of several different distributions off of a USB stick. Where would I go to figure out how to ...

How do I uninstall GRUB Bootloader but keep my Ubuntu installation?

I currently have Ubuntu 9.10 and Windows 7 32bit installed with my windows bootloader being able to boot into ubuntu. I get very annoyed that Ubuntu is automaticaly selected at startup and I want to switch to my default windows bootloader and remove GRUB. How do I do this? BTW: My computer boots like this GRUB>Ubuntu OR GRUB>Windows Wi...

How to turn on Processor ID of the computer in bios ?

I am developing window application in C#. I have developed an installer which takes the processor ID of the computer & generates the unique key. My installer is running fine in almost all the computers but on one computer it is not able to read the processor ID. I debugged my program & I found that it has not the proper permissions to re...

vcore manipulation

I was trying to use software that can edit vcore but I find them too slow and uncomfortable, so I thought "Why not to create one by myself?" but I was not able to find out how to that via any programming language. There is someone that knows how to do that or what function or instructions have I to use? ...

What is CMOS and how does it work?

Hi, im new to this forum but i get confused when people are like "Uhh yeh i can upgrade CMOS without causing damage to the random access memory" which i understand, but what is CMOS? There dont seem to be any wiki articles about it either sigh :P ...

Any way to fix a corrupt BIOS for Toshiba L350D-211 notebook?

Hi guys, my notebook (Toshiba L350D-211) running Debian GNU/Linux has a major problem: The fan control doesn't work, thus leading to overheat situations often. I searched a lot in the web, and several people suggested things like disabling ACPI, update the BIOS, use 'omnibook' and 'k10temp' kernel modules etc. Unfortunately none of them ...