??????????????--????????
???????????? ???????[ 2013/7/22 11:23:59 ] ????????
??????????BIOS????????????????????????CPU???(???????x86???)????????????????Orange's--??????????????????????????????????????????????????
????1. ????????
????1). ????????NASM??????????http??//sourceforge.net/projects/nasm
????2). dd for Windows??????????http??//www.chrysocome.net/dd
????3). Bochs??????????http??//sourceforge.net/projects/bochs/
????????????????????????????
????2. д?????????
org 07c00h
mov ax?? cs
mov ds?? ax
mov es?? ax
call DispStr
jmp $
DispStr:
mov ax?? BootMessage
mov bp?? ax
mov cx?? 16
mov ax?? 01301h
mov bx?? 000ch
mov dl?? 0
int 10h
ret
BootMessage: db "Hello OS World!"
times 510-($-$$) db 0
dw 0xaa55
?????????boot.asm
????3. ??NASM?????????????
????nasm.exe boot.asm -o boot.bin
???????????boot.bin???
????4. ???Bochs???????????????bximage.exe?????????????????????????????????????????a.img?????????
????5. ??dd for Windows?????????boot.bin“??д”??????????a.img?У?
????dd if=boot.bin of=a.img bs=512 count=1 conv=notrunc (????????????????????????conv????????д?????????????????????????????boot.bin(1K)??a.img(1.44M)???)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11