CN101667127A - Method for reading content of basic input output system - Google Patents

Method for reading content of basic input output system Download PDF

Info

Publication number
CN101667127A
CN101667127A CN200810196022A CN200810196022A CN101667127A CN 101667127 A CN101667127 A CN 101667127A CN 200810196022 A CN200810196022 A CN 200810196022A CN 200810196022 A CN200810196022 A CN 200810196022A CN 101667127 A CN101667127 A CN 101667127A
Authority
CN
China
Prior art keywords
output system
basic input
reading
length
input output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810196022A
Other languages
Chinese (zh)
Inventor
陆益军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Kunshan Co Ltd
Original Assignee
Mitac Computer Kunshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitac Computer Kunshan Co Ltd filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN200810196022A priority Critical patent/CN101667127A/en
Publication of CN101667127A publication Critical patent/CN101667127A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for reading the content of a basic input output system, which is implemented in four modules and comprises the following steps that: (1) an input module receives a command input by a user for reading the basic input output system and the read length; (2) the input module inputs the command and the read length into a processing module; (3) the processing module opens an A20 bus and enters a protected mode; (4) the processing module starts reading data down from a memory address in turn; (5) a judging module judges the read length, if the read length reaches an appointed read length, a step (6) is performed, and if the read length does not reach the appointed read length, the method returns to the step (5); and (6) a storage module saves the data corresponding to the read length. With the help of the method for reading the content of the basic input output system, BIOS information at a 4G memory can be read directly without knowing information on a BIOS manufacturer, a BIOSROOM Chip and the like.

Description

The method of reading content of basic input output system
[technical field]
The present invention relates to a kind of method of reading content of basic input output system, particularly a kind of direct method method from the high memory reading content of basic input output system.
[background technology]
The computer user can touch BIOS in computed process, it plays important effect in computer system.Whether mainboard superior performance, depends on to a great extent whether the BIOS management function on the mainboard is advanced.
BIOS (Basic Input/Output System, Basic Input or Output System (BIOS)) full name is ROM-BIOS, be writing a Chinese character in simplified form of ROM (read-only memory) basic input/output, it is actual to be one group and to be cured in the computer, for computer provides the lowermost level program of direct hardware controls, it is the hinge that is communicated with between software program and the hardware device, generally, BIOS is " converter " or perhaps the interface (though itself also is a program) between hardware and the software program, be responsible for solving the instant requirement of hardware, and carry out the operation requirement of hardware is concrete by software.
Present BIOS chip has all adopted Flash ROM, can both realize the upgrading of BIOS by specific write-in program, and upgrading BIOS mainly contains two big purposes:
(1) freely obtains new function;
(2) BUG among the solution old edition BIOS.
Because BIOS upgrading has certain danger, each mainboard manufacturer has also developed many BIOS special technologies at oneself product and user's actual demand, the obstructed method of each manufacturer's employing when reading among the BIOS content:
Method one: read from cd-rom recorder, this wants cd-rom recorder manufacturer that corresponding software is provided;
Shortcoming: inconvenience is will be with BIOS from plank weldering down, enters burning taking the burning chamber.
Method two: the software with other manufacturers can read on plank;
Shortcoming: need know by the reading order of reading chip the ID of write command and chip.
In view of this, be necessary to propose a kind of method of reading content of basic input output system in fact, utilize the method for this reading content of basic input output system need not understand BIOS Vendor, information such as BIOS ROOM Chip and all BUS can directly read BIOS information from the 4G internal memory.And can pull down chip, directly on plank, just can carry out burning.
[summary of the invention]
The object of the invention is to provide a kind of method of reading content of basic input output system, need not understand information such as BIOS manufacturer, BIOS ROOM Chip by the method for this reading content of basic input output system, can directly read BIOS information from the 4G internal memory.
For reaching above-mentioned purpose, the invention provides a kind of method of reading content of basic input output system, this method realizes that in four module the method step of this reading content of basic input output system is as follows:
(1) load module receives reading the Basic Input or Output System (BIOS) order and reading length of user's input;
(2) load module with mentioned order with read length and input to processing module;
(3) processing module is opened the A20 bus, and enters protected mode;
(4) processing module begins down reading of data successively from memory address;
(5) judge module is judged the length read, if the length that reads reaches and specifies that to read length be that "Yes" is then carried out step (6); Do not specify that to read length be that "No" is then returned step (5) if reach;
(6) memory module is preserved the corresponding data of the above-mentioned length that reads.
Say that especially above-mentioned memory address is 0xFFFF-FFFF; The every segment length of above-mentioned reading of data is 1024Bytes; Memory module is saved in data in the BIOS.ROM file in the step (6).
In present embodiment, above-mentioned steps (3) comprising: global descriptive table is set; Open the A20 bus, allow the memory address of visit 4GB; Load global descriptive table, CPU control register PE position is set enters protected mode, it is 32 bit address registers that segment register is set, and turns back to real pattern, and entered a large model this moment, and this large model is between real pattern and protected mode.
Compared to prior art, the method for reading content of basic input output system of the present invention need not be understood BIOS Vendor, and information such as BIOS ROOM Chip and all BUS can directly read BIOS information from the 4G internal memory.And can pull down chip, directly on plank, just can carry out burning.
For purpose of the present invention, structural attitude and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 illustrates the flow chart of steps of the method for reading content of basic input output system of the present invention.
[embodiment]
With reference to shown in Figure 1, the invention provides a kind of method of reading content of basic input output system, this method realizes that in four module the method step of this reading content of basic input output system is as follows:
Step 101: load module receives reading the Basic Input or Output System (BIOS) order and reading length of user's input;
Step 102: load module with mentioned order with read length and input to processing module;
Step 103: processing module is provided with global descriptive table; Open the A20 bus, allow the memory address of visit 4GB; Load global descriptive table, CPU control register PE position is set enters protected mode, it is 32 bit address registers that segment register is set, and turns back to real pattern, and entered a large model this moment, and this large model is between real pattern and protected mode;
Step 104: carry out a circulation, processing module begins down to read successively every section from 0xFFFF-FFFF and is the data of 1024Bytes length;
Step 105: judge module is judged the length read, and to read length be that "Yes" then carry out step 106 if the length that reads reaches the appointment of user's input; To read length be that "No" is then returned step 105 if the length that reads does not reach the appointment of user's input;
Step 106: memory module with the corresponding data storage of the above-mentioned length that reads in the file of BIOS.ROM.
Compared to prior art, the method for reading content of basic input output system of the present invention need not be understood BIOS Vendor, the information such as BIOS ROOM Chip and all BUS can directly read from the 4G internal memory BIOS information. And can pull down chip, directly on plank, just can carry out burning.

Claims (5)

1, a kind of method of reading content of basic input output system, this method realizes in four module, it is characterized in that, the method step of this reading content of basic input output system is as follows:
(1) load module receives reading the Basic Input or Output System (BIOS) order and reading length of user's input;
(2) load module with mentioned order with read length and input to processing module;
(3) processing module is opened the A20 bus, and enters protected mode;
(4) processing module begins down reading of data successively from memory address;
(5) judge module is judged the length read, if the length that reads reaches and specifies that to read length be that "Yes" is then carried out step (6); Do not specify that to read length be that "No" is then returned step (5) if reach;
(6) memory module is preserved the corresponding data of the above-mentioned length that reads.
2, the method for reading content of basic input output system as claimed in claim 1 is characterized in that, above-mentioned memory address is 0xFFFF-FFFF.
3, the method for reading content of basic input output system as claimed in claim 1 is characterized in that, the every segment length of above-mentioned reading of data is 1024Bytes.
4, the method for reading content of basic input output system as claimed in claim 1 is characterized in that, memory module is saved in data in the BIOS.ROM file in the step (6).
5, the method for reading content of basic input output system as claimed in claim 1 is characterized in that, above-mentioned steps (3) comprising: global descriptive table is set; Open the A20 bus, allow the memory address of visit 4GB; Load global descriptive table, CPU control register PE position is set enters protected mode, it is 32 bit address registers that segment register is set, and turns back to real pattern, and entered a large model this moment, and this large model is between real pattern and protected mode.
CN200810196022A 2008-09-03 2008-09-03 Method for reading content of basic input output system Pending CN101667127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810196022A CN101667127A (en) 2008-09-03 2008-09-03 Method for reading content of basic input output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810196022A CN101667127A (en) 2008-09-03 2008-09-03 Method for reading content of basic input output system

Publications (1)

Publication Number Publication Date
CN101667127A true CN101667127A (en) 2010-03-10

Family

ID=41803753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810196022A Pending CN101667127A (en) 2008-09-03 2008-09-03 Method for reading content of basic input output system

Country Status (1)

Country Link
CN (1) CN101667127A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182352A (en) * 2014-08-19 2014-12-03 湖北盛天网络技术股份有限公司 Device and method for accessing to physical memory address spaces larger than 4GB

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182352A (en) * 2014-08-19 2014-12-03 湖北盛天网络技术股份有限公司 Device and method for accessing to physical memory address spaces larger than 4GB
CN104182352B (en) * 2014-08-19 2017-11-24 湖北盛天网络技术股份有限公司 For accessing the method and device of more than 4GB physical memory address spaces

Similar Documents

Publication Publication Date Title
EP2329365B1 (en) Turbo boot systems and methods
US7310726B2 (en) Booting from non-linear memory
US20060174100A1 (en) System and method of booting an operating system for a computer
JP4597459B2 (en) Virtual ROM for device enumeration
US20160231935A1 (en) Memory Configuration Operations for a Computing Device
CN101650660A (en) Booting a computer system from central storage
US20120066422A1 (en) Method and system for transferring high-speed data within a portable device
US20120060023A1 (en) Methods for booting an operating system using non-volatile memory
CN105653330A (en) SD card based NorFlash programming system and method
CN106250125A (en) Obtain the method and device of daily record
US20040049617A1 (en) Method of firmware update by USB interface
CN110765032A (en) Method for reading and writing I2C memory based on system management bus interface
CN102043638A (en) Computer system and computer startup setting method
CN110825421B (en) Firmware upgrading method, system and readable storage medium
Lu et al. The reading/writing SD card system based on FPGA
CN101667127A (en) Method for reading content of basic input output system
CN106951268A (en) A kind of Shen prestige platform supports the implementation method of NVMe hard disk startups
TWI559227B (en) Computer system having two built-in operating devices that can be dynamically powered on or powered off
WO2016106933A1 (en) Sub-area-based method and device for protecting information of mcu chip
US20050172789A1 (en) Device for playing music on booting a motherboard
CN102421004B (en) Debugging method and device for television software system
JP3845389B2 (en) Configuration device
CN100592258C (en) Memory card supporting self start-up
CN101751270A (en) Processor architecture platform system and starting method thereof
US7360052B2 (en) Computer platform memory access control method and system with memory configuration automatic setting capability

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20100310

RJ01 Rejection of invention patent application after publication