From 8babf8c3880eae99954565383cfda4241e7c4386 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Sat, 30 Jul 2016 11:31:21 -0700 Subject: [PATCH] Add memory dump whenever out-of-mem occurs. --- Platform/Apple/virtual/src/core/mem.s | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Platform/Apple/virtual/src/core/mem.s b/Platform/Apple/virtual/src/core/mem.s index 59c723f5..7950f05e 100644 --- a/Platform/Apple/virtual/src/core/mem.s +++ b/Platform/Apple/virtual/src/core/mem.s @@ -1602,7 +1602,6 @@ saneEnd: !zone { } ;------------------------------------------------------------------------------ -!if DEBUG { printMem: !zone lda $24 ; check if we're already at start of screen line beq + ; no, no need for CR @@ -1674,7 +1673,6 @@ aux_printMem: beq + jmp .printSegs + jmp crout -} ;------------------------------------------------------------------------------ reset: !zone @@ -1703,7 +1701,7 @@ reset: !zone ;------------------------------------------------------------------------------ outOfMemErr: !zone - !if DEBUG { jsr printMem } + jsr printMem jsr inlineFatal : !text "OutOfMem", 0 ;------------------------------------------------------------------------------