From a2aea125106c2f350d6d30704792519872d90c68 Mon Sep 17 00:00:00 2001 From: fslongjin Date: Wed, 16 Feb 2022 17:23:19 +0800 Subject: [PATCH] =?UTF-8?q?:wrench:=20=E5=8F=96=E6=B6=88=E4=BA=86loader?= =?UTF-8?q?=E5=9C=A8=E5=8A=A0=E8=BD=BDkernel=E6=97=B6=EF=BC=8C=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E6=89=87=E5=8C=BA=E6=95=B0=E6=98=BE=E7=A4=BA'...'?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootloader/loader.asm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bootloader/loader.asm b/bootloader/loader.asm index be7e5984..3d96e89e 100644 --- a/bootloader/loader.asm +++ b/bootloader/loader.asm @@ -64,7 +64,7 @@ Label_Start: mov ax, 0x1301 mov bx, 0x000f mov dx, 0x0100 ;在第2行显示 - mov cx, 23 ;设置消息长度 + mov cx, 26 ;设置消息长度 push ax mov ax, ds @@ -189,17 +189,17 @@ Label_FileName_Found: mov ax, cx Label_Go_On_Loading_File: - push ax - push bx + ;push ax + ;push bx ; 显示字符. - mov ah, 0x0e - mov al, "." - mov bl, 0x0f - int 0x10 + ;mov ah, 0x0e + ;mov al, "." + ;mov bl, 0x0f + ;int 0x10 - pop bx - pop ax + ;pop bx + ;pop ax ; 读取一个扇区 @@ -829,7 +829,7 @@ OffsetOfKernelFileCount dd Offset_Of_Kernel_File DisplayPosition dd 0 ; 要显示的消息文本 -Message_Start_Loader: db "[DragonOS] Start Loader" +Message_Start_Loader: db "[DragonOS] Start Loader..." Message_No_Loader: db "[ERROR] No Kernel Found." Message_Kernel_Loaded: db "[INFO] Kernel loaded" Message_Start_Get_Mem_Struct: db "[INFO] Try to get memory struct..."