From 3ef1ef33577b2616564ad52d41e0bb23ea869612 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Wed, 16 Oct 2013 17:55:45 +0200 Subject: [PATCH] comment and formatting fixes --- libsrc/atari/romswitch.inc | 4 ++-- libsrc/atari/shadow_ram_prepare.s | 10 ++++++---- libsrc/atari/system_check.s | 7 +++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/libsrc/atari/romswitch.inc b/libsrc/atari/romswitch.inc index 7169f2b39..ed4cd96d8 100644 --- a/libsrc/atari/romswitch.inc +++ b/libsrc/atari/romswitch.inc @@ -28,7 +28,7 @@ sta CHBASE .endmacro -.else +.else ; above CHARGEN_RELOC, below not .macro set_chbase val .endmacro @@ -42,7 +42,7 @@ sta WSYNC .endmacro -.else ; above +.else ; above USEWSYNC, below not .macro wsync .endmacro diff --git a/libsrc/atari/shadow_ram_prepare.s b/libsrc/atari/shadow_ram_prepare.s index a08aa8cfe..76fae2f45 100644 --- a/libsrc/atari/shadow_ram_prepare.s +++ b/libsrc/atari/shadow_ram_prepare.s @@ -55,6 +55,8 @@ cont: ldx #0 ; channel 0 .segment "SRPREP" +; ***** entry point ***** + sramprep: .ifdef DEBUG print_string "entering stage #2" @@ -115,7 +117,7 @@ sramprep: iocbok: .endif - ; Reopen it in Graphics 0 + ; reopen it in Graphics 0 lda #OPEN sta ICCOM,x lda #OPNIN | OPNOT @@ -212,8 +214,8 @@ cg_addr_ok2: ; switch to temporary chargen - sta CHBASE - sta CHBAS + sta CHBASE + sta CHBAS ; copy shadow RAM contents to their destination (segment SHADOW_RAM) @@ -245,7 +247,7 @@ no_copy: lda #<__SHADOW_RAM2_SIZE__ bne do_copy2 lda #>__SHADOW_RAM2_SIZE__ - beq no_copy2 ; we have no shadow RAM contents + beq no_copy2 ; we have no shadow RAM #2 contents ; ptr1 - src; ptr2 - dest; tmp1, tmp2 - len do_copy2: diff --git a/libsrc/atari/system_check.s b/libsrc/atari/system_check.s index 84573c84a..ef544ef6f 100644 --- a/libsrc/atari/system_check.s +++ b/libsrc/atari/system_check.s @@ -7,8 +7,8 @@ ; and that enough memory is installed (which isn't the case for a 600XL). ; For the non-XL target it checks whether there is enough memory ; installed to run the program. -; For both target it checks that the program won't load below MEMLO. -; If one of the checks fails the loading of the main program +; For both targets it checks that the program won't load below MEMLO. +; If one of the checks fails, the loading of the main program ; is aborted by jumping to DOSVEC. ; ; Christian Groessler, chris@groessler.org, 2013 @@ -46,8 +46,8 @@ cont: ldx #0 ; channel 0 sta ICCOM,x jsr CIOV_org .endmacro -.macro print_string2 addr, len +.macro print_string2 addr, len ldx #0 ; channel 0 lda #