【问题标题】:Bootstrap Hard disk access引导硬盘访问
【发布时间】:2023-03-09 21:07:01
【问题描述】:

我正在尝试编写一个引导加载程序以获得乐趣,我一直在使用以下指南:

http://www.omninerd.com/articles/PC_Bootstrap_Loader_Programming_Tutorial_in_ASM

http://hem.passagen.se/danma/nboot.htm

http://en.skelix.org/skelixos/tutorial01.php

我能够成功地从软盘复制扇区,但是当我尝试访问硬盘时,我收到了除重置以外的所有 int 13 功能的错误代码。重置磁盘不会返回错误。

在 int 13 用于硬盘之前,我有什么特别需要做的吗?

【问题讨论】:

    标签: bootstrapping bios hard-drive


    【解决方案1】:

    我不知道。你见过http://gaztek.sourceforge.net/osdev/boot/index.html 吗?那有一个示例列表,其中至少有一个声称正在从“C:\”(可能是 DOS 格式的硬盘)读取文件

    【讨论】:

      猜你喜欢
      • 2012-03-27
      • 2011-02-11
      • 1970-01-01
      • 1970-01-01
      • 2014-06-02
      • 1970-01-01
      • 2013-07-15
      • 2010-11-01
      • 2016-01-19
      相关资源
      最近更新 更多