很有趣的BIOS加载MBR到0X7C00的故事

简介:

http://www.glamenv-septzen.net/en/view/6

。。。

The mysteries arround "0x7C00" in x86 architecture bios bootloader

Do you know "0x7C00", a magic number, in x86 assembler programming ? 
"0x7C00" is the memory address which BIOS loads MBR(Master Boot Record, a first sector in hdd/fdd) into. OS or bootloader developer must assume that their assembler codes are loaded and start from 0x7C00.

But...1st, you may wonder.

"I read all of Intel x86(32bit) programmers manual, but did not found the magic number 0x7C00."

Yes.0x7C00 is NOT related to x86 CPU. It's natural that you couldn't find out it in cpu specifications from intel. Then, you wonder, "Who decided it ?"

2nd, you may wonder:

"0x7C00 is 32KiB - 1024B at decimal number. What's this number means ?"

Anyone decided it. But, why he/she decided such a halfway address?

Hum...There're TWO questions(mysteries) arround the magic number "0x7C00".

  1. Who decided "0x7C00" ?
  2. What "0x7C00 = 32KiB - 1024B" means ?

Okay, let's dive into the secret of BIOS for "IBM PC 5150", ancestor of modern x86(32bit) PCs, with me...!! 。。。

。。。

目录
相关文章
|
编译器
1.操作系统如何从BIOS到MBR的
1.操作系统如何从BIOS到MBR的
143 0
|
1月前
|
存储
进入BIOS设置和基本选项
进入BIOS设置和基本选项
63 0
|
7月前
|
安全 定位技术 数据安全/隐私保护
电脑BIOS密码的设置与修改方法
电脑BIOS密码的设置与修改方法
584 2
|
存储 IDE 安全
各种电脑bios图解中文教程(超级详细的BIOS设置大全图解)
各种电脑bios图解中文教程(超级详细的BIOS设置大全图解)
18933 0
|
安全 数据安全/隐私保护 Windows
如何设置、修改电脑BIOS模式的密码?
本文介绍设置、修改Windows电脑BIOS模式密码的具体方法~
1377 1
如何设置、修改电脑BIOS模式的密码?
|
安全 Linux 数据安全/隐私保护
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
700 0
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
BIOS里如何设置U盘启动?硬盘怎么设置第一启动项?
查找您当前使用的主板品牌或笔记本品牌的U盘启动快捷键,然后重启电脑。(选择热键前,请先插入启动U盘) (注意:苹果笔记本,开机/重启时按住“option”键[即Alt键]不放,进入选择启动方式。有些笔记本得加上FN键)
1453 0
|
监控 安全
Win系统 - BIOS设置中找不到U盘选项该怎么办?
Win系统 - BIOS设置中找不到U盘选项该怎么办?
506 0
Win系统 - BIOS设置中找不到U盘选项该怎么办?