1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

some debug messages ".ifdef DEBUG"

This commit is contained in:
Christian Groessler 2013-06-13 01:07:40 +02:00
parent 9f8b5668e1
commit ce1313b36c
2 changed files with 11 additions and 1 deletions

View 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

View 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