changeset 297:eda95fad0c31

Added check for D.CRC switch to prevent CRC checking (off by default)
author boisy
date Mon, 22 Jul 2002 04:53:29 +0000
parents 398a1bbd04bd
children 6a282af544e6
files level1/modules/kernel.asm
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/kernel.asm	Mon Jul 22 04:11:14 2002 +0000
+++ b/level1/modules/kernel.asm	Mon Jul 22 04:53:29 2002 +0000
@@ -542,7 +542,15 @@
 L03B1    comb
          ldb   #E$BMID
          rts
-L03B5    pshs  x
+
+L03B5
+* Following 4 lines added to support no CRC checks - 2002/07/21
+         lda   <D.CRC			is CRC checking on?
+         bne   DoCRCCk			branch if so
+         clrb
+         rts
+
+DoCRCCk  pshs  x
          ldy   M$Size,x
          bsr   ChkMCRC                 checkm module CRC
          puls  pc,x