From b83b28b21571f9b1fadd251295f5ca03d9dfedc7 Mon Sep 17 00:00:00 2001 From: Xander Date: Wed, 28 Jun 2023 17:20:46 +0200 Subject: Booting to protected mode --- src/arch/x86_64/boot.asm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/arch/x86_64/boot.asm (limited to 'src/arch/x86_64/boot.asm') diff --git a/src/arch/x86_64/boot.asm b/src/arch/x86_64/boot.asm new file mode 100644 index 0000000..1a531c0 --- /dev/null +++ b/src/arch/x86_64/boot.asm @@ -0,0 +1,8 @@ +global start + +section .text +bits 32 +start: + ; print `OK` to screen + mov dword [0xb8000], 0x2f4b2f4f + hlt -- cgit v1.2.3