From: Christian Groessler Date: Fri, 27 Sep 2013 20:14:26 +0000 (+0200) Subject: disable DEBUG X-Git-Tag: V2.15~223^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=213f93cce43218c35bda92b2ae1c2120d627ce25;p=cc65 disable DEBUG --- diff --git a/libsrc/atari/shadow_ram_handlers.s b/libsrc/atari/shadow_ram_handlers.s index 09a59ea76..78709c38c 100644 --- a/libsrc/atari/shadow_ram_handlers.s +++ b/libsrc/atari/shadow_ram_handlers.s @@ -4,7 +4,7 @@ ; 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) .ifdef __ATARIXL__ diff --git a/libsrc/atari/shadow_ram_prepare.s b/libsrc/atari/shadow_ram_prepare.s index bffabc059..a08aa8cfe 100644 --- a/libsrc/atari/shadow_ram_prepare.s +++ b/libsrc/atari/shadow_ram_prepare.s @@ -9,7 +9,7 @@ ; Christian Groessler, chris@groessler.org, 2013 ; -DEBUG = 1 +;DEBUG = 1 .ifdef __ATARIXL__ @@ -349,34 +349,33 @@ restore:lda RAMTOP_save sta APPMHI+1 rts - -.ifdef DEBUG - -.byte "HERE ****************** HERE ***************>>>>>>" - -sramsize: - .word __SHADOW_RAM_SIZE__ - ; short delay .proc delay lda #10 -l: jsr delay1 +@loop: jsr delay1 clc sbc #0 - bne l + bne @loop rts delay1: ldx #0 ldy #0 -loop: dey - bne loop +@loop: dey + bne @loop dex - bne loop + bne @loop rts .endproc +.ifdef DEBUG + +.byte "HERE ****************** HERE ***************>>>>>>" + +sramsize: + .word __SHADOW_RAM_SIZE__ + .endif ; .ifdef DEBUG screen_device: .byte "S:",0 diff --git a/libsrc/atari/system_check.s b/libsrc/atari/system_check.s index b1f823aad..5a23546f0 100644 --- a/libsrc/atari/system_check.s +++ b/libsrc/atari/system_check.s @@ -11,7 +11,7 @@ ; Christian Groessler, chris@groessler.org, 2013 ; -DEBUG = 1 +;DEBUG = 1 .ifdef __ATARIXL__