changeset 3178:504992b73b2b

krnp2: Omit debug parameters in non-debug builds
author Boisy Pitre <coco@toughmac.com>
date Tue, 16 May 2017 18:57:25 +0200
parents 4674aed99721
children b1efa6891f4e
files level1/modules/kernel/krnp2.asm
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/kernel/krnp2.asm	Tue May 16 18:54:46 2017 +0200
+++ b/level1/modules/kernel/krnp2.asm	Tue May 16 18:57:25 2017 +0200
@@ -73,8 +73,10 @@
          fcb   F$Ret64+$80
          fdb   FRet64-*-2
 
+	IFNE UseFDebug
          fcb   F$Debug
          fdb   FDebug-*-2
+	ENDC
 
          fcb   $80
 
@@ -767,7 +769,9 @@
          bcs   ValBoot
 JmpBtEr  puls  pc,u
 
+	IFNE UseFDebug
          use   fdebug.asm
+	ENDC
 
          emod
 eom      equ   *