激动,First OS
记录当时调试时候遇到的问题
目录结构:
tolset——helloos() {
1.!cons_nt.bat
2.asm.bat
3.helloos.img
4.install.bat
5.run.bat
}
首先运行1,输入run,即可模拟
代码:
!con_nt.bat
cmd.exe
;
asm.bat
..\z_tools\nask.exe helloos.nas .\helloos.img
;
install.bat
../z_tools/imgtol.com w a: helloos.img
;
run.bat
copy helloos.img ..\z_tools\qemu\fdimage0.bin
..\z_tools\make.exe -C ..\z_tools\qemu