From 213f93cce43218c35bda92b2ae1c2120d627ce25 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Fri, 27 Sep 2013 22:14:26 +0200 Subject: [PATCH] disable DEBUG --- libsrc/atari/shadow_ram_handlers.s | 2 +- libsrc/atari/shadow_ram_prepare.s | 27 +++++++++++++-------------- libsrc/atari/system_check.s | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) 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__ -- 2.39.5