![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-01 18:37 |
共 48,037 主题排行 / 350,122 发帖 / 今日 2 篇 / 48,249 会员排行 |
| DOS开发编程 & 发展交流 (开发室) » 哪位大哥指导BIOS的启动顺序在哪里? |
| 可打印版本 1,353 / 5 |
| 第1楼 zhgwbzhd | 发表于 2006-11-18 03:48 |
| 高级用户 发帖 187 积分 506 | |
|
哪位大哥指导BIOS的启动顺序在哪里? 在bios中有调节他们的启动顺序,现在我想通过程序读出来,并修改他们,该怎么做呢?
|
|
| 第2楼 zhgwbzhd | 发表于 2006-11-20 12:35 |
| 高级用户 发帖 187 积分 506 | |
|
弟兄们,我知道肯定可以做,但是我不知道怎么去找到他们的位置,和改写他们的顺序。
希望了解的朋友多多指点。 |
|
| 第3楼 zyl910 | 发表于 2006-11-21 00:30 |
| 中级用户 发帖 126 积分 282 | |
|
应该保存在CMOS中
但每款主板都不同 |
|
| 第4楼 zhgwbzhd | 发表于 2006-11-21 11:51 |
| 高级用户 发帖 187 积分 506 | |
|
我觉得每款主板是不一样,但是应该有一个标准吧,比如使用某个端口或者中断可以读取这些数据.
|
|
| 第5楼 zyl910 | 发表于 2006-11-21 22:47 |
| 中级用户 发帖 126 积分 282 | |
|
就是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 ??? |
|
| 第6楼 zhgwbzhd | 发表于 2006-11-22 11:17 |
| 高级用户 发帖 187 积分 506 | |
|
读取bios的端口因该就是70和71端口了。但是我不知道如何修改启动顺序。不过还是谢谢5楼弟兄。
|
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |