From ce1313b36cbaf313d587eac6555078e1bea3aa68 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Thu, 13 Jun 2013 01:07:40 +0200 Subject: [PATCH] some debug messages ".ifdef DEBUG" --- libsrc/atari/shadow_ram_prepare.s | 6 +++++- libsrc/atari/system_check.s | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.39.5