From 5a3e8872283eb758816b1547a98f52a251e4d31e Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 20 Feb 2025 19:41:10 +0000 Subject: deploy: 496a4126f52649ea954ce6be2cdfeb1d7a02c372 --- arch/x86_64.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arch/x86_64.html') diff --git a/arch/x86_64.html b/arch/x86_64.html index 2cb5427..b738a36 100644 --- a/arch/x86_64.html +++ b/arch/x86_64.html @@ -518,12 +518,12 @@ descriptor table (GDT). A string is printed in each mode.

jmp 0x0000:entry_rm16 entry_rm16: - // Set video mode 3, see [1]. + // Set video mode 3h, see [1]. // * 80x25 text mode // * 640x200 pixel resolution (8x8 pixel per char) // * 16 colors (4bit) // * 4 pages - // * 0xB800 screen address + // * 0xB8000 screen address // // [1] http://www.ctyme.com/intr/rb-0069.htm mov ax, 0x3 @@ -582,7 +582,7 @@ entry_pm32: // 4 bit bg | 4 bit fg | 8 bit ascii char // // Start writing at third line. - mov edi, 0xb8000 + (80 * 2 * 2) // + mov edi, 0xb8000 + (80 * 2 * 2) lea esi, [msg_pm] 1: -- cgit v1.2.3