mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
VideoRep spacing
This commit is contained in:
parent
71cca307c2
commit
82c49ad61e
BIN
Zenith-latest-2020-02-21-04_45_58.iso
Executable file
BIN
Zenith-latest-2020-02-21-04_45_58.iso
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/Kernel.BIN.C
BIN
src/Kernel.BIN.C
Binary file not shown.
@ -195,7 +195,7 @@ GET_IP: POP BX
|
||||
POP ES
|
||||
//Get mode infomration for the mode we want
|
||||
MOV DI, SYS_VBE_FINAL_MODE
|
||||
MOV CX, [SYS_VBE_FINAL_MODE_NUM]
|
||||
MOV CX, [SYS_VBE_FINAL_MODE_NUM]
|
||||
MOV AX, 0x4F01
|
||||
INT 0x10
|
||||
POP ES
|
||||
@ -261,7 +261,7 @@ GET_IP: POP BX
|
||||
JZ @@35
|
||||
MOV EBX, CMemE820.base [SI]
|
||||
MOV ECX, CMemE820.base+4[SI]
|
||||
ADD EBX, CMemE820.len [SI]
|
||||
ADD EBX, CMemE820.len [SI]
|
||||
ADC ECX, CMemE820.len+4 [SI]
|
||||
SUB EBX, EAX
|
||||
SBB ECX, EDX
|
||||
|
@ -10,7 +10,7 @@ public I64 VideoRep(Bool full=TRUE)
|
||||
"Vendor name : $$BLACK$$%s$$FG$$\n", sys_vbe_info.vendor;
|
||||
"Product name : $$BLACK$$%s$$FG$$\n", sys_vbe_info.product_name;
|
||||
"Product revision : $$BLACK$$%s$$FG$$\n", sys_vbe_info.product_revision;
|
||||
"Software revision : $$BLACK$$%X.%X$$FG$$\n", sys_vbe_info.software_revision.u8[1], sys_vbe_info.software_revision.u8[0];
|
||||
"Software revision : $$BLACK$$%X.%X$$FG$$\n", sys_vbe_info.software_revision.u8[1], sys_vbe_info.software_revision.u8[0];
|
||||
"Hardware memory : $$BLACK$$%d MiB$$FG$$\n", sys_vbe_info.total_memory * 64 / 1024;
|
||||
"\n\nAll modes shown are 32-bit color.\n\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user