From b6972dcc6950756bdd2d76d85d6a945f5afbd35c Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Sun, 8 Sep 2019 10:03:00 +0000 Subject: [PATCH] Fix floppy VBR: wrong stack location --- boot/floppy.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/floppy.asm b/boot/floppy.asm index d8468f7..c72fa21 100644 --- a/boot/floppy.asm +++ b/boot/floppy.asm @@ -168,7 +168,7 @@ main: mov ds, ax mov es, ax mov ss, ax - mov sp, ax + xor sp, sp mov [fdc.drv], dl ; save drive number in fdc sti