论文部分内容阅读
《计算机世界月刊》1995年第八期上刊登了李宇先生的一篇文章,介绍了测试PC机软硬盘参数的方法。文中介绍的读取硬盘参数的方法是通过读取并分析硬盘主引导记录Master boot record来取得硬盘信息的。此方法适用范围比较广。事实上由于现在很多PC都使用IDE型的硬盘,因此,我们也可以通过直接编程IDE控制器的方法获得硬盘参数。下面简单介绍一下这个方法,并给出一个汇编程序供大家参考。 IDE(Integrated Drive Electronics)有时也被称为ATAPI型控制器。此种控制器速度快,集成度
Computerworld Monthly published the eighth issue in 1995, an article by Mr. Li Yu, and introduced the method of testing the parameters of PC hardware and software. The method of reading hard disk parameters introduced in this paper is to obtain the hard disk information by reading and analyzing the master boot record of the hard disk master boot record. This method is applicable to a wide range. In fact, since many PCs now use IDE-type hard disks, we can also obtain the hard disk parameters by directly programming the IDE controller. Here’s a brief introduction to this method, and gives an assembly program for your reference. IDE (Integrated Drive Electronics) is sometimes called ATAPI type controller. This kind of controller is fast and integrated