]> git.sur5r.net Git - cc65/commitdiff
some debug messages ".ifdef DEBUG"
authorChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 23:07:40 +0000 (01:07 +0200)
committerChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 23:07:40 +0000 (01:07 +0200)
libsrc/atari/shadow_ram_prepare.s
libsrc/atari/system_check.s

index 6bc3ab87ed137cdf2127baa37761ac7130a235b0..34c3f570fbc6c148d88e57acdbf056d92c6f1b02 100644 (file)
@@ -9,6 +9,8 @@
 ; Christian Groessler, chris@groessler.org, 2013
 ;
 
+DEBUG  =       1
+
 .if .defined(__ATARIXL__)
 
        .export         sramprep
@@ -162,8 +164,10 @@ okoko:
         sta     ICCOM,x
         jsr     CIOV_org
 
-       print_string "GR 0 OKOKO"
+.ifdef DEBUG
+       print_string "Stage #2 OK"
        jsr     delay
+.endif
 
 
 ; Save the zero page locations we need
index 19e57424386243ec4947fc4a22b0c9118d0a0f3d..d197dfdb62b43331af34642c832c9ec9d222002d 100644 (file)
@@ -11,6 +11,8 @@
 ; Christian Groessler, chris@groessler.org, 2013
 ;
 
+DEBUG  =       1
+
 .if .defined(__ATARIXL__)
 
        .export         syschk
@@ -118,6 +120,10 @@ sys_ok:    lda     #<__SAVEAREA_LOAD__
 
 ; all is well(tm), launch the application
 memlo_ok:
+.ifdef DEBUG
+       print_string "Stage #1 OK"
+       jsr     delay
+.endif
        rts