Fix for "get base memory" bug found and mostly fixed by Mike.

This commit is contained in:
Robert Nordier 1998-10-06 07:15:35 +00:00
parent 024e2ede72
commit b7b32c2745
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39988
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
# purpose.
#
# $Id: btxldr.s,v 1.1 1998/09/12 06:30:26 rnordier Exp $
# $Id: btxldr.s,v 1.2 1998/10/06 06:13:36 msmith Exp $
#
# Prototype BTX loader program, written in a couple of hours. The
@ -66,7 +66,7 @@
start: cld # String ops inc
movl $m_logo,%esi # Identify
call putstr # ourselves
movw BDA_MEM,%eax # Get base memory
movzwl BDA_MEM,%eax # Get base memory
shll $0xa,%eax # in bytes
movl %eax,%ebp # Base of user stack
movl $m_mem,%esi # Display

View File

@ -13,7 +13,7 @@
# purpose.
#
# $Id: btxldr.s,v 1.1 1998/09/12 06:30:26 rnordier Exp $
# $Id: btxldr.s,v 1.2 1998/10/06 06:13:36 msmith Exp $
#
# Prototype BTX loader program, written in a couple of hours. The
@ -66,7 +66,7 @@
start: cld # String ops inc
movl $m_logo,%esi # Identify
call putstr # ourselves
movw BDA_MEM,%eax # Get base memory
movzwl BDA_MEM,%eax # Get base memory
shll $0xa,%eax # in bytes
movl %eax,%ebp # Base of user stack
movl $m_mem,%esi # Display