From: Erik van der Kouwe Date: Thu, 29 Apr 2010 15:14:07 +0000 (+0000) Subject: Allow loading images > 16M X-Git-Tag: v3.1.7~98 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/ChangeLog.html?a=commitdiff_plain;h=3bf54e9b2b80fdf24e26588cd7f8c5aa887038f4;p=minix.git Allow loading images > 16M --- 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