1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 04:29:01 +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 ; Christian Groessler, chris@groessler.org, 2013
; ;
DEBUG = 1
.if .defined(__ATARIXL__) .if .defined(__ATARIXL__)
.export sramprep .export sramprep
@ -162,8 +164,10 @@ okoko:
sta ICCOM,x sta ICCOM,x
jsr CIOV_org jsr CIOV_org
print_string "GR 0 OKOKO" .ifdef DEBUG
print_string "Stage #2 OK"
jsr delay jsr delay
.endif
; Save the zero page locations we need ; Save the zero page locations we need

View File

@ -11,6 +11,8 @@
; Christian Groessler, chris@groessler.org, 2013 ; Christian Groessler, chris@groessler.org, 2013
; ;
DEBUG = 1
.if .defined(__ATARIXL__) .if .defined(__ATARIXL__)
.export syschk .export syschk
@ -118,6 +120,10 @@ sys_ok: lda #<__SAVEAREA_LOAD__
; all is well(tm), launch the application ; all is well(tm), launch the application
memlo_ok: memlo_ok:
.ifdef DEBUG
print_string "Stage #1 OK"
jsr delay
.endif
rts rts