# x86Real2ProtectedMode
#### 介绍
x86汇编语言 实模式到保护模式 代码学习
#### 软件架构
os:windows
#### 安装教程
1. nasm
a. download nasm: https://nasm.us/
b. add nasm to the environment variable
2. virtualbox
a. download virtualbox:https://www.virtualbox.org/wiki/Downloads
3. bochs
a. download bochs :https://bochs.sourceforge.io/
4. Creating a hard disk
open virtualbox 管理 工具 虚拟介质管理 创建虚拟硬盘 VHD 固定大小
5. Add hard disks to bochs
disk&boot ->Edit
Floppy options type of floppy dive ->none
Ata channel 0 ->ata channel 0 ->enable ata channel -> ture
->first hd/cd on channel 0 -> type of ata evice ->disk
-> Path or physical device name
-> type of disk image -> flat
#### 使用说明
1. tools/Nasmide64.exe:Editing tool for assembly code on 64-bit machines
2. tools/Nasmide32.exe:Editing tool for assembly code on 32-bit machines
3. tools/HexView.exe:Viewing binary
4. tools/fixvhdw64.exe:Write binary to hard disk on 64-bit machines
5. ...
ps : path to virtualbox and bochs
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)