From 0b13b6fcc84da399d3a0a540a2d93b628d413316 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Sun, 11 Sep 2022 13:59:23 +0200 Subject: [PATCH] Initialize registers Maybe this can run on real hardware now --- boot.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boot.asm b/boot.asm index 22ce0cc..631f2b4 100644 --- a/boot.asm +++ b/boot.asm @@ -1,6 +1,12 @@ [bits 16] [org 0x7c00] +; Initialize registers +xor ax, ax +mov ds, ax +mov es, ax +mov bx, 0x8000 + call boot ; Print al register -- 2.44.0