From: HimbeerserverDE Date: Sun, 11 Sep 2022 11:59:23 +0000 (+0200) Subject: Initialize registers X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=0b13b6fcc84da399d3a0a540a2d93b628d413316;p=loadnothing.git Initialize registers Maybe this can run on real hardware now --- 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