⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boot.s

📁 用开源软件自己动手写操作系统的源码,在linux下面实现
💻 S
字号:
/* chapter2/1/boot.S   Author: Wenbo Yang <solrex@gmail.com> <http://solrex.cn>   This file is part of the source code of book "Write Your Own OS with Free   and Open Source Software". Homepage @ <http://share.solrex.cn/WriteOS/>.   This file is licensed under the GNU General Public License; either   version 3 of the License, or (at your option) any later version. */.code16.text	mov		%cs,%ax	mov		%ax,%ds	mov		%ax,%es	call	DispStr	jmp		.DispStr: 	mov		$BootMessage, %ax	mov		%ax,%bp	mov		$16,%cx	mov		$0x1301,%ax	mov		$0x00c,%bx	mov		$0,%dl	int		$0x10	retBootMessage:.ascii "Hello, OS world!".org 510.word 0xaa55

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -