当前位置: 技术问答>linux和unix
How to get the information about CMOS in DOS command
来源: 互联网 发布时间:2014-12-31
本文导语: How to get the information about CMOS in DOS command | Run QBASIC.EXE,Input The Program Text: 'View CMOS Data To Screen Dim tAddress As Integer For tAddress=0 To 127 Out &H70,tAddress Print INP(&H71);" " Next 'Lo...
How to get the information about CMOS in DOS command
|
Run QBASIC.EXE,Input The Program Text:
'View CMOS Data To Screen
Dim tAddress As Integer
For tAddress=0 To 127
Out &H70,tAddress
Print INP(&H71);" "
Next
'Load CMOS Data Save To File
Dim tAddress As Integer
Dim tSaveValue As Integer
Open "CMOS.DAT" For Binary As #1
For tAddress=0 To 127
Out &H70,tAddress
tSaveValue=INP(&H71)
Put #1,tAddress*2+1,tSaveValue
Next
Close #1
'CMOS Data Load By File
Dim tAddress As Integer
Dim tSaveValue As Integer
Open "CMOS.DAT" For Binary As #1
For tAddress=0 To 127
Get #1,tAddress*2+1,tSaveValue
Out &H70,tAddress
Out &H71,tSaveValue
Next
Close #1
'View CMOS Data To Screen
Dim tAddress As Integer
For tAddress=0 To 127
Out &H70,tAddress
Print INP(&H71);" "
Next
'Load CMOS Data Save To File
Dim tAddress As Integer
Dim tSaveValue As Integer
Open "CMOS.DAT" For Binary As #1
For tAddress=0 To 127
Out &H70,tAddress
tSaveValue=INP(&H71)
Put #1,tAddress*2+1,tSaveValue
Next
Close #1
'CMOS Data Load By File
Dim tAddress As Integer
Dim tSaveValue As Integer
Open "CMOS.DAT" For Binary As #1
For tAddress=0 To 127
Get #1,tAddress*2+1,tSaveValue
Out &H70,tAddress
Out &H71,tSaveValue
Next
Close #1
|
use unaward.exe
|
Cmosmenu,也不错啊!!1