CN101324849A - Method for integrating DOS operating system by BIOS chip - Google Patents
Method for integrating DOS operating system by BIOS chip Download PDFInfo
- Publication number
- CN101324849A CN101324849A CNA200710075046XA CN200710075046A CN101324849A CN 101324849 A CN101324849 A CN 101324849A CN A200710075046X A CNA200710075046X A CN A200710075046XA CN 200710075046 A CN200710075046 A CN 200710075046A CN 101324849 A CN101324849 A CN 101324849A
- Authority
- CN
- China
- Prior art keywords
- operating system
- dos operating
- bios
- floppy disk
- integrated
- 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.)
- Granted
Links
Images
Abstract
The invention provides a method for integrating a DOS operating system with a BIOS chip, which is suitable for the computer field. The method comprises the following steps: the virtual floppy of the DOS operating system is generated; the bootstrap program of the virtual floppy is generated; the image file of the virtual floppy and the bootstrap program are integrated to be led into a BIOS project document; the BIOS project document is recompiled, and the recompiled BIOS project document is integrated to a BIOS chip. In the embodiment of the invention, the DOS operating system is integrated into the BIOS chip, so that the computer system accesses into the DOS operating system for operation under the circumstance that an external storage device is not provided, and meanwhile, the DOS operating system is very secure, and can be prevented from being attacked by virus.
Description
Technical field
The invention belongs to computer realm, relate in particular to the method for the integrated dos operating system of a kind of BIOS chip.
Background technology
Along with science and technology development, computing machine has been widely used in people's routine work, study, various fields in life, becomes one of indispensable instrument of modern humans society.
Current used computer system all is that (Basic Input OutputSystem BIOS) guides the operating system that enters in the External memory equipment to carry out work by Basic Input or Output System (BIOS).When the computer user runs into operating system in the External memory equipment and damages, usually go for boot disk, enter diskette operating system (Disk Operation System from CD-ROM drive or floppy drive startup, DOS), carry out system's reparation, formatting system or read important information on the memory device, if and do not have available CD-ROM drive and floppy drive on the computing machine, this has brought inconvenience to the computer user.
Summary of the invention
The purpose of the embodiment of the invention is to provide the method for the integrated dos operating system of a kind of BIOS chip, being intended to solve is not having or can't start under the situation of External memory equipment, the problem that can't normally start dos operating system and can't visit external memory device.
The embodiment of the invention is achieved in that the method for the integrated dos operating system of a kind of BIOS chip, and described method comprises the steps:
Generate the virtual floppy disk of dos operating system;
Generate the boot of described virtual floppy disk;
With the image file of described virtual floppy disk and described boot is integrated imports in the BIOS project file;
Recompilate described BIOS project file, and the BIOS project file after the described recompility is integrated in the BIOS chip.
Another purpose of the embodiment of the invention is to provide a kind of startup method of operating system, and described method comprises the steps:
The starting outfit of decision operation system;
When the startup of integrated dos operating system from the BIOS chip, read the data in the virtual floppy disk, enter dos operating system;
When external equipment normally starts, enter external equipment operating system.
In embodiments of the present invention, integrated dos operating system in the BIOS chip makes computer system carry out work not having to enter dos operating system under the situation of External memory equipment, can make dos operating system as safe as a house simultaneously, can avoid the attack of virus.
Description of drawings
Fig. 1 is the process flow diagram of integrated dos operating system in the BIOS chip that provides of the embodiment of the invention;
Fig. 2 is the startup process flow diagram of the operating system that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, integrated dos operating system in the BIOS chip makes dos operating system as safe as a house, can avoid the attack of virus, can make simultaneously computer system carry out work not having to enter dos operating system under the situation of External memory equipment.
Fig. 1 shows the flow process of integrated dos operating system in the BIOS chip that the embodiment of the invention provides, and its detailed step is as follows:
In step S101, generate the virtual floppy disk of dos operating system;
In step S102, generate the boot of described virtual floppy disk;
In embodiments of the present invention, this boot is the start-up routine of BIOS chip guiding dos operating system.
In step S103, the image file and the boot of above-mentioned virtual floppy disk is integrated into an independent parts, import in the BIOS project file;
In embodiments of the present invention, image file is the virtual floppy disk image file that is generated by the dos operating system file, wherein, add, delete above-mentioned independent parts to not influence of the normal operation of BIOS in the BIOS project file, this independent parts also can be used as a standalone feature module and adds in any one BIOS project file.
In step S104, recompilate the BIOS project file among the step S103;
In step S105, the BIOS project file after recompilating is integrated in the BIOS chip.
As one embodiment of the present of invention, the following detailed step that generates the virtual floppy disk of dos operating system that provided:
Start floppy disk 1.1 generate dos operating system;
A dos operating system is installed on hard disc of computer, is entered dos operating system then, and in floppy drive, insert a floppy disk, dos operating system is sent in the floppy disk by the SYS order that carries in the DOS system.
1.2 the dos operating system file in the above-mentioned startup floppy disk is generated into image file;
In embodiments of the present invention, image file is meant specific a series of files is generated into single file according to certain form, to make things convenient for user's download and use, for example operating system of a beta version, recreation etc.In image file, can comprise more information, for example system file, boot files, partition table information etc., image file just can comprise all information of a subregion or even a hard disk like this.
1.3 reduction image file;
In embodiments of the present invention, the user can will not have the space deletion of data according to the big or small needs of image file in the image file.
1.4 revise above-mentioned image file BIOS parameter block (BIOS Parameter Block, BPB) Biao parameter, for example little sector number, magnetic head number etc.
The floppy disk of each dos formatization, its initial part is a boot sector, is called BPB comprising one and shows, it has comprised the various information of floppy disk, equally also comprises this part in the virtual floppy disk of the embodiment of the invention.
After the virtual floppy disk of dos operating system generates successfully, for dos operating system provides startup and system running environment.
As an alternative embodiment of the invention, the following detailed step that generates the boot of virtual floppy disk that provided:
Utilize system management interrupt (System Management Interrupt, SMI) visit high memory 2.1 revise;
In the BIOS start-up course, partial information in the BIOS chip can be comprised the information reproduction that is integrated in virtual floppy disk in the BIOS chip high-end address to internal memory, when when the integrated dos operating system of BIOS chip starts, need read the information in the virtual floppy disk, and the guiding of dos operating system is operated under the real pattern, can't visit high memory, therefore utilize SMI to visit, specifically can realize by corresponding program.
2.2 generate the INT19 interrupt service routine that BIOS chip guiding dos operating system is packed into;
In embodiments of the present invention, the INT19 that is write is for guiding the service routine that integrated dos operating system is packed in the BIOS chip.
2.3 generate the INT13 interrupt service routine of floppy disk information.
In embodiments of the present invention, the INT13 interrupt service routine is BIOS checked and read virtual floppy disk information in bootup process sequence of operations.
Integrated step 2.1, these three service routines of 2.2 and 2.3 in the boot of virtual floppy disk, virtual floppy disk call above-mentioned three service routines and realize starting in start-up course.
As another embodiment of the present invention, behind the integrated dos operating system of BIOS chip, be provided with at existing BIOS and set up options in the mechanism, the equipment of the operating system that start is selected, this options can be provided with mechanism by existing BIOS by the user and set.
Fig. 2 shows the startup flow process of the dos operating system that the embodiment of the invention provides, its detailed step such as following step:
In step S201, system powers on, the BIOS initialization;
In step S202, the starting outfit of decision operation system, integrated dos operating system starts in the BIOS chip, is execution in step S203 then; Otherwise execution in step S205;
In step S203, read the data of virtual floppy disk, for example boot;
In step S204, enter dos operating system integrated in the BIOS chip;
In step S205, the normal startup;
In embodiments of the present invention, the normal INT19 interrupt service routine that is meant system that system's right of execution is given that starts.
In step S206, enter the operating system of external equipment.
In embodiments of the present invention, by selecting to start dos operating system in dos operating system integrated in the BIOS chip and the BIOS chip behind integrated dos operating system, dos operating system is integrated in the BIOS chip like this, the dos operating system handling safety can be avoided the attack of virus and make computer system carry out work not having to enter dos operating system under the situation of External memory equipment; Can make simultaneously under the situation that computer system can't start from External memory equipment, enter integrated dos operating system in the BIOS chip, and under dos operating system, visit External memory equipment, and carry out the Any Application that can under DOS, can move on the external unit.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1, the method for the integrated dos operating system of a kind of BIOS chip is characterized in that described method comprises the steps:
Generate the virtual floppy disk of dos operating system;
Generate the boot of described virtual floppy disk;
With the image file of described virtual floppy disk and described boot is integrated imports in the BIOS project file;
Recompilate described BIOS project file, and the BIOS project file after the described recompility is integrated in the BIOS chip.
2, the method for the integrated dos operating system of BIOS chip as claimed in claim 1 is characterized in that the step of the virtual floppy disk of described generation dos operating system further comprises:
Generate dos operating system and start floppy disk;
Dos operating system file in the described startup floppy disk is generated into image file;
Reduce and revise the parameter of described image file BPB table.
3, the method for the integrated dos operating system of BIOS chip as claimed in claim 1 is characterized in that, the step of the boot of the described virtual floppy disk of described generation further comprises:
Modification utilizes the program of SMI visit high memory;
Generate the INT19 interrupt service routine that BIOS guiding dos operating system is packed into;
Generate the INT13 interrupt service routine of floppy disk information.
4, the method for the integrated dos operating system of BIOS chip as claimed in claim 1 is characterized in that described method further comprises the steps:
At BIOS the options that increases os starting equipment in the mechanism is set.
5, a kind of startup method of operating system is characterized in that, described method comprises the steps:
The starting outfit of decision operation system;
When the startup of integrated dos operating system from the BIOS chip, read the data in the virtual floppy disk, enter dos operating system;
When external equipment normally starts, enter external equipment operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710075046XA CN101324849B (en) | 2007-06-14 | 2007-06-14 | Method for integrating DOS operating system by BIOS chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710075046XA CN101324849B (en) | 2007-06-14 | 2007-06-14 | Method for integrating DOS operating system by BIOS chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101324849A true CN101324849A (en) | 2008-12-17 |
CN101324849B CN101324849B (en) | 2011-10-26 |
Family
ID=40188395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710075046XA Active CN101324849B (en) | 2007-06-14 | 2007-06-14 | Method for integrating DOS operating system by BIOS chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101324849B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135893A (en) * | 2010-01-21 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server |
CN102135923A (en) * | 2010-01-21 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system |
CN102567136A (en) * | 2010-12-15 | 2012-07-11 | 研祥智能科技股份有限公司 | Backup and recovery method of computer system, device and computer system |
CN106201438A (en) * | 2016-07-05 | 2016-12-07 | 河北建筑工程学院 | Based on Intel Platform Server CPU to the implantation method of personal computer and system |
CN110716836A (en) * | 2019-10-15 | 2020-01-21 | 深圳忆联信息系统有限公司 | SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2986299B2 (en) * | 1992-04-15 | 1999-12-06 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Peripheral device connection detection system |
US5968174A (en) * | 1998-03-19 | 1999-10-19 | Bay Networkds, Inc. | Method and apparatus for implementing a 32-bit operating system which supports 16-bit code |
CN100416502C (en) * | 2005-07-11 | 2008-09-03 | 威盛电子股份有限公司 | Method for starting computer |
-
2007
- 2007-06-14 CN CN200710075046XA patent/CN101324849B/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135893A (en) * | 2010-01-21 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server |
CN102135923A (en) * | 2010-01-21 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system |
CN102567136A (en) * | 2010-12-15 | 2012-07-11 | 研祥智能科技股份有限公司 | Backup and recovery method of computer system, device and computer system |
CN102567136B (en) * | 2010-12-15 | 2016-08-24 | 研祥智能科技股份有限公司 | The backup of a kind of computer system, method of reducing, device and computer system |
CN106201438A (en) * | 2016-07-05 | 2016-12-07 | 河北建筑工程学院 | Based on Intel Platform Server CPU to the implantation method of personal computer and system |
CN110716836A (en) * | 2019-10-15 | 2020-01-21 | 深圳忆联信息系统有限公司 | SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101324849B (en) | 2011-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8370835B2 (en) | Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device | |
CN101449240B (en) | Launching hypervisor under running operating system | |
JP4156611B2 (en) | System and method for running a legacy 32-bit X86 virtual machine on a 64-bit X86 processor | |
US7680643B2 (en) | Method for carrying multiple suspended runtime images | |
US20070180206A1 (en) | Method of updating a duplicate copy of an operating system on the same disk | |
JPH11327916A (en) | Cost reduction technique for dynamic class initialization check in already compiled code | |
CN101324849B (en) | Method for integrating DOS operating system by BIOS chip | |
US11314523B2 (en) | Master boot record (MBR)/global unique identifer (GUID) partition table (GPT) hybrid disk that includes GPT bootstrap code | |
US20100241815A1 (en) | Hybrid Storage Device | |
CN100573480C (en) | A kind of hard disk data protection method and system | |
CN107450964B (en) | Method for discovering whether vulnerability exists in virtual machine introspection system | |
CN106250125A (en) | Obtain the method and device of daily record | |
CN115390996B (en) | Virtual machine migration method and device, computing equipment and storage medium | |
CN106776133A (en) | A kind of system and method for operating system recovery | |
US7861074B2 (en) | Electronic systems using flash memory modules as main storage and related system booting methods | |
CN112015491A (en) | Method, device and computer storage medium for realizing function jump | |
US7565524B2 (en) | Computer backup system at BIOS level | |
CN102646079A (en) | Disk data protection method oriented to Linux operating system | |
CN102135923A (en) | Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system | |
CN101788913B (en) | Computer system with double operating devices and monitoring method thereof | |
CN101373457B (en) | Hard disk write-protection lock based on USB equipment under Windows environment | |
KR20160116574A (en) | Operating system and file storage features removable storage device | |
US20190340133A1 (en) | Virtualizing nvdimm wpq flushing with minimal overhead | |
CN103176832A (en) | Method of similar UNIX operation system running virtual operation system and device of similar UNIX operation system running virtual operation system | |
CN101271430B (en) | Method and apparatus for data protection of memory device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211208 Address after: 530000 rooms 501, 502, 503, 504, 505, 506, 507 and 508, building A8, Yanxiang Zhigu, No. 7, Nahong Avenue, Nanning, Guangxi Zhuang Autonomous Region Patentee after: Nanning Yanxiang special computer software Co.,Ltd. Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31 Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd. |