From: Christian Groessler Date: Wed, 12 Jun 2013 23:07:40 +0000 (+0200) Subject: some debug messages ".ifdef DEBUG" X-Git-Tag: V2.15~223^2~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ce1313b36cbaf313d587eac6555078e1bea3aa68;p=cc65 some debug messages ".ifdef DEBUG" --- diff --git a/libsrc/atari/shadow_ram_prepare.s b/libsrc/atari/shadow_ram_prepare.s index 6bc3ab87e..34c3f570f 100644 --- a/libsrc/atari/shadow_ram_prepare.s +++ b/libsrc/atari/shadow_ram_prepare.s @@ -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 diff --git a/libsrc/atari/system_check.s b/libsrc/atari/system_check.s index 19e574243..d197dfdb6 100644 --- a/libsrc/atari/system_check.s +++ b/libsrc/atari/system_check.s @@ -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