bios

Query Hardware-Specific Information on Windows With C++

醉酒当歌 提交于 2019-12-04 12:40:38
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 ideas? The application I'm developing just has to display this information to the user. I suggest querying WMI, using the following WMI objects: Win32_DisplayConfiguration - name of GPU Win32_VideoController - DAC type, speed - video RAM size also try: CIM

How is the BIOS used by a modern OS?

╄→尐↘猪︶ㄣ 提交于 2019-12-04 08:36:05
问题 What's the function of the BIOS in a modern OS? Is it still used after booting? And is there some kind of BIOS API? 回答1: The BIOS is still the first thing that runs on the just-started CPU and responsible for getting the motherboard hardware turned on, setting basic chipset modes and registers, initializing some hardware, and running the code that loads the kernel. The BIOS is usually not used once the kernel is loaded, and depends on a 16-bit execution environment as opposed to the 32- or 64

Why can't I call BIOS interrupts from protected mode?

你。 提交于 2019-12-04 08:27:41
问题 Right. I've spent over three hours today trying to understand why you can't call a bios ISR when in protected mode. I get that once you set and IDT it wont necessarily be in the usual address for the IVT plus segments dont have a fixed size in Protected mode, etc.. But I still don't get why can't you jsut create a single 4GB segment, map your IDT segments to the BIOS IVT, set everything in ring 0 and call them. Shouldn't that work? Most articles either say: "Remember you cant use BIOS

How does UEFI work?

陌路散爱 提交于 2019-12-04 02:56:20
I was studying about bootloaders when exactly came upon the term UEFI. I can understand some things about UEFI. But still, In what mode(Real,Protected,Long) does a system with UEFI start? If normal boot loaders cant work with UEFI, Then what is the alternate of boot loader while dealing with UEFI? And do I need any other programming to create one, than assembly? UEFI firmware runs in 64 bit long mode for 64 bit platforms and flat mode for 32 bit platforms; Unlike BIOS, UEFI features its own architecture, independent of the CPU, and its own device drivers. UEFI can mount partitions and read

各种型号的路由器初始默认密码

白昼怎懂夜的黑 提交于 2019-12-04 00:20:13
Manufacturer Product Revision Protocol User ID Password Access Level Comment 3COM CellPlex 7000 Telnet tech tech 3COM CoreBuilder 7000/6000/3500/2500 Telnet debug synnet 3COM CoreBuilder 7000/6000/3500/2500 Telnet tech tech 3COM HiPerARC v4.1.x Telnet adm (none) 3COM LANplex 2500 Telnet debug synnet 3COM LANplex 2500 Telnet tech tech 3COM LinkSwitch 2000/2700 Telnet tech tech 3COM NetBuilder SNMP ANYCOM snmp-read 3COM NetBuilder SNMP ILMI snmp-read 3COM Office Connect ISDN Routers 5x0 Telnet n/a PASSWORD Admin 3COM SuperStack II Switch 2200 Telnet debug synnet 3COM SuperStack II Switch 2700

APIs for querying and setting bios properties

浪尽此生 提交于 2019-12-03 17:28:18
问题 Let's say I would like to change a setting in the BIOS of my computer in Linux (let's say Ubuntu 11 if it matters.) What types of APIs exist to allow you query and manipulate BIOS setting? Further, what are good resources for doing this type of development? 回答1: The CMOS memory exists outside of the normal address space and cannot contain directly executable code. It is reachable through IN and OUT commands at port number 70h (112d) and 71h (113d). To read a CMOS byte, an OUT to port 70h is

What information does BIOS load into RAM?

馋奶兔 提交于 2019-12-03 16:34:33
问题 I know that, on booting, BIOS loads the first sector (512 bytes) of a pre-defined device drive on memory 0x7c00 and then jump to that address. So, memory from 0x7c00 to 0x7dff is occupied. Is there any other section of RAM that is occupied? If I'm programming an Operating System, could I use all the RAM except 0x7c00 to ox7dff for my own purposes?, or, is there any other section filled with "precious" information at boot time that I must not overwrite? I know that at a given moment, I can

How to perform low-level IO with a USB flash drive under the BIOS (compared to a floppy)?

一曲冷凌霜 提交于 2019-12-03 15:25:43
I have recently been studying some bootstrap code which was intended for use with a floppy drive. My goal is to modify the program so that it uses my USB flash drive. Now I see how the INT 13H function has been used with the floppy device, but I guess my question is, how will communicating with the USB drive differ? For example, here is a snippet of the floppy code (GNU assembler): movb $0x00,%dl /* select 1st floppy */ /* later */ movw sec,%cx /* get sector number */ movw head,%dx /* get head number */ movw $0x0201,%ax /* read 1 sector */ int $0x13 Now I have read that moving 0x80 into %dl

Read a write a sector from hard drive with int 13h

纵饮孤独 提交于 2019-12-03 14:30:09
问题 I have a simple program. It must read first sector from hard drive (not mbr), and write it to the 0 sector (mbr). But it doesnt work. I think it is connected with wrong DAP. Thanks. [bits 16] [org 0x7c00] ;clear screen start: mov ax, 0x3 int 0x10 ;reset the hard drive xor ah, ah mov dl, 0x80 int 0x13 jnz error ;read the second sector mov si, DAP mov ah, 0x42 int 0x13 mov si, data call print_string jmp $ DAP: db 0x10 ;size of DAP db 0x0 ;zero db 0x1 ;number of sectors to read db 0x0 ;zero

What “wmic bios get serialnumber” actually retrieves?

风格不统一 提交于 2019-12-03 12:44:19
I wonder what sort of serialnumber wmic bios get serialnumber Windows commad actually gives you? Is it serial number of your motherboard? Documentation is not clear about it. the wmic bios get serialnumber command call the Win32_BIOS wmi class and get the value of the SerialNumber property, which retrieves the serial number of the BIOS Chip of your system. Stanley-Paul Ihunanyachukwu run cmd Enter wmic baseboard get product,version,serialnumber Press the enter key. The result you see under serial number column is your motherboard serial number wmic bios get serialnumber if run from a command