标题: 哪位大哥指导BIOS的启动顺序在哪里?
[打印本页]
作者: zhgwbzhd
时间: 2006-11-18 03:48
标题: 哪位大哥指导BIOS的启动顺序在哪里?
在bios中有调节他们的启动顺序,现在我想通过程序读出来,并修改他们,该怎么做呢?
作者: zhgwbzhd
时间: 2006-11-20 12:35
弟兄们,我知道肯定可以做,但是我不知道怎么去找到他们的位置,和改写他们的顺序。
希望了解的朋友多多指点。
作者: zyl910
时间: 2006-11-21 00:30
应该保存在CMOS中
但每款主板都不同
作者: zhgwbzhd
时间: 2006-11-21 11:51
我觉得每款主板是不一样,但是应该有一个标准吧,比如使用某个端口或者中断可以读取这些数据.
作者: zyl910
时间: 2006-11-21 22:47
就是70端口
访问CMOS RAM
----------P0070007F--------------------------
PORT 0070-007F - CMOS RAM/RTC (REAL TIME CLOCK)
Note: the real-time clock may be either a discrete MC146814, MC146818, or
an emulation thereof built into the motherboard chipset
SeeAlso: PORT 00A0h"XT"
0070 -W CMOS RAM index register port (ISA, EISA)
bit 7 = 1 NMI disabled from reaching CPU
= 0 NMI enabled
bit 6-0 CMOS RAM index
(64 bytes in early systems, now usually 128 bytes)
Note: any write to PORT 0070h should be followed by an action to
PORT 0071h or the RTC wil be left in an unknown state.
0071 RW CMOS RAM data port (ISA, EISA) (see #P0409)
(Table P0409)
Values for Real-Time Clock register number (see also CMOS.LST):
00h-0Dh clock registers
0Eh diagnostics status byte
0Fh shutdown status byte
10h diskette drive type for A: and B:
11h reserved / IBM fixed disk / setup options
12h fixed disk drive type for drive 0 and drive 1
13h reserved / AMI Extended CMOS setup (AMI Hi-Flex BIOS)
14h equipment byte
15h LSB of system base memory in Kb
16h MSB of system base memory in Kb
17h LSB of total extended memory in Kb
18h MSB of total extended memory in Kb
19h drive C extension byte
1Ah drive D extension byte
1Bh-2Dh reserved
20h-27h commonly used for first user-configurable drive type
2Eh CMOS MSB checksum over 10-2D
2Fh CMOS LSB checksum over 10-2D
30h LSB of extended memory found above 1Mb at POST
31h MSB of extended memory found above 1Mb at POST
32h date century in BCD
33h information flags
34h-3Fh reserved
35h-3Ch commonly used for second user-configurable drive type
3Dh-3Eh word to 82335 MCR memory config register at [22] (Phoenix)
42h-4Ch AMI 1990 Hyundai super-NB368S notebook
???
54h-57h AMI 1990 Hyundai super-NB368S notebook
???
5Ch-5Dh AMI 1990 Hyundai super-NB368S notebook
???
60h-61h AMI 1990 Hyundai super-NB368S notebook
???
作者: zhgwbzhd
时间: 2006-11-22 11:17
读取bios的端口因该就是70和71端口了。但是我不知道如何修改启动顺序。不过还是谢谢5楼弟兄。