From 3bf54e9b2b80fdf24e26588cd7f8c5aa887038f4 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Thu, 29 Apr 2010 15:14:07 +0000 Subject: [PATCH] Allow loading images > 16M --- boot/boothead.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/boothead.s b/boot/boothead.s index 03955aee3..f72777ff1 100644 --- a/boot/boothead.s +++ b/boot/boothead.s @@ -301,10 +301,12 @@ smallcopy: ext_copy: mov x_dst_desc+2, ax movb x_dst_desc+4, dl ! Set base of destination segment + movb x_dst_desc+7, dh mov ax, 8(bp) mov dx, 10(bp) mov x_src_desc+2, ax movb x_src_desc+4, dl ! Set base of source segment + movb x_src_desc+7, dh mov si, #x_gdt ! es:si = global descriptor table shr cx, #1 ! Words to move movb ah, #0x87 ! Code for extended memory move -- 2.44.0