From f80bd040c8c81345bd6dfdce61827a951d738274 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 21 Nov 2023 19:11:48 +0200 Subject: [PATCH] Bootloader: add missing size directive --- bootloader/bios/disk.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootloader/bios/disk.S b/bootloader/bios/disk.S index 9ab1f60e..bdba2cba 100644 --- a/bootloader/bios/disk.S +++ b/bootloader/bios/disk.S @@ -41,7 +41,7 @@ read_from_disk: call drive_has_int13_ext # prepare disk read packet - mov $disk_address_packet, %si + movw $disk_address_packet, %si movb $0x10, 0x00(%si) # packet size movb $0x00, 0x01(%si) # always 0 movw %cx, 0x02(%si) # lba count