跟大师学习系统编程---操作系统加载(4)

来源:互联网 发布:mysql as用法 编辑:程序博客网 时间:2024/05/21 21:41

打印第一行提示信息

! Print some inane message    mov ah,#0x03        ! read cursor pos    xor bh,bh    int 0x10    mov cx,#24    mov bx,#0x0007      ! page 0, attribute 7 (normal)    mov bp,#msg1    mov ax,#0x1301      ! write string, move cursor    int 0x10msg1:    .byte 13,10    .ascii "Loading system ..."    .byte 13,10,13,10

打印loading system …提示信息,加上回车和换行,共24个字符。
这之后就是加载剩余的操作系统代码,并跳转到setup.s中去执行了

阅读全文
0 0