1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

disable DEBUG

This commit is contained in:
Christian Groessler 2013-09-27 22:14:26 +02:00
parent 39a98f250b
commit 213f93cce4
3 changed files with 22 additions and 23 deletions

View File

@ -4,7 +4,7 @@
; Christian Groessler, chris@groessler.org, 2013 ; Christian Groessler, chris@groessler.org, 2013
; ;
DEBUG = 1 ;DEBUG = 1
CHKBUF = 1 ; check if bounce buffering is needed (bounce buffering is always done if set to 0) CHKBUF = 1 ; check if bounce buffering is needed (bounce buffering is always done if set to 0)
.ifdef __ATARIXL__ .ifdef __ATARIXL__

View File

@ -9,7 +9,7 @@
; Christian Groessler, chris@groessler.org, 2013 ; Christian Groessler, chris@groessler.org, 2013
; ;
DEBUG = 1 ;DEBUG = 1
.ifdef __ATARIXL__ .ifdef __ATARIXL__
@ -349,6 +349,25 @@ restore:lda RAMTOP_save
sta APPMHI+1 sta APPMHI+1
rts rts
; short delay
.proc delay
lda #10
@loop: jsr delay1
clc
sbc #0
bne @loop
rts
delay1: ldx #0
ldy #0
@loop: dey
bne @loop
dex
bne @loop
rts
.endproc
.ifdef DEBUG .ifdef DEBUG
@ -357,26 +376,6 @@ restore:lda RAMTOP_save
sramsize: sramsize:
.word __SHADOW_RAM_SIZE__ .word __SHADOW_RAM_SIZE__
; short delay
.proc delay
lda #10
l: jsr delay1
clc
sbc #0
bne l
rts
delay1: ldx #0
ldy #0
loop: dey
bne loop
dex
bne loop
rts
.endproc
.endif ; .ifdef DEBUG .endif ; .ifdef DEBUG
screen_device: .byte "S:",0 screen_device: .byte "S:",0

View File

@ -11,7 +11,7 @@
; Christian Groessler, chris@groessler.org, 2013 ; Christian Groessler, chris@groessler.org, 2013
; ;
DEBUG = 1 ;DEBUG = 1
.ifdef __ATARIXL__ .ifdef __ATARIXL__