changeset 2117:093b7a304dd1

Added subd #$00FF to undo addd #$00FF... fixed issue where F$SRqMem for bootfile was allocating one additional page more than needed
author boisy
date Fri, 24 Aug 2007 03:25:48 +0000
parents 0a6d8e8c2931
children 7fca19b7c923
files level1/modules/boot_common.asm
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/boot_common.asm	Thu Aug 23 02:01:01 2007 +0000
+++ b/level1/modules/boot_common.asm	Fri Aug 24 03:25:48 2007 +0000
@@ -35,9 +35,13 @@
 *          2005/10/16  Boisy G. Pitre
 * Further optimizations made
 *
-*	   2006-01-04  P.Harvey-Smith.
+*	   2006/01/04  P.Harvey-Smith.
 * Added pointer to loaded LSN0 to data passed to hardware dependent section.
 *
+*	   2007/08/23  Boisy G. Pitre
+* Added 'subd #$00FF' to counteract earlier 'addd #$00FF'.  We need to undo
+* to give F$SRqMem the right amount of memory to allocate.
+*
                          
 start    orcc  #IntMasks  ensure IRQs are off (necessary?)
          leas  -size,s   
@@ -91,6 +95,7 @@
          ENDC
          clr   FDSL.S+1,x
          clr   FDSL.S+2,x
+         subd  #$00FF     undo previous add #$00FF
          bra   GrabBootMem
                          
 Back2Krn lbsr  HWTerm     call HW termination routine