PLinux启动代码

来源:互联网 发布:淘宝产品发布模板 编辑:程序博客网 时间:2024/05/29 07:36
 org 07c00h
 mov ax,cs
 mov ds,ax
 mov es,ax
 call Display
 jmp $
Display:
 mov ax,bootmessage
 mov bp,ax
 mov cx,17
 mov ax,01301h
 ;mov dh,0eh
 ;mov dl, 0eh
 mov bx,008fh
 mov dl,0
 int 10h
 ret
bootmessage db "Plinux Boot Start"
     times 510-($-$$) db 0
        dw 0xaa55 
原创粉丝点击