From 2bb40e315cc410fd785b81c1d926eab149d76f13 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Sat, 26 Dec 2020 20:58:51 +0000 Subject: [PATCH] Fix ebios dap packet: wrong size --- kernel/drive.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/drive.asm b/kernel/drive.asm index 3418217..adde2a1 100644 --- a/kernel/drive.asm +++ b/kernel/drive.asm @@ -175,7 +175,7 @@ loghdd: sub dl, 2 ; enable ebios and assume controller is configured or byte [dskflag], (2+4) ; initialize DAP - mov word [dap], 0x1000 + mov word [dap], 0x10 mov word [dap+2], 1 mov word [dap+4], dskbuf xor ax, ax