From 0f08ae2c12829af9c7d4b7a7a47ff37528dd1ae1 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sat, 18 Jan 2020 19:29:02 +0100 Subject: [PATCH] Minor cleanup. --- libsrc/apple2/videomode.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsrc/apple2/videomode.s b/libsrc/apple2/videomode.s index 1da997472..65e582547 100644 --- a/libsrc/apple2/videomode.s +++ b/libsrc/apple2/videomode.s @@ -16,7 +16,7 @@ _videomode: ; Get and save current videomode flag bit RD80VID php - + ; If we are in 80 column mode then the 80 column firmware is ; known to be active so we can just print the ctrl-char code ; (even if this only means staying in the current videomode) @@ -29,18 +29,18 @@ _videomode: ; current state of the 80 column firmware nor want to fix it : cmp #$11 ; Ctrl-char code for 40 cols beq done - + ; If we are in 40 column mode and want to set 80 column mode ; then we first presume the 80 column firmware being already ; active and print the ctrl-char code (this causes a garbage ; char to be printed on the screen if isn't already active) jsr COUT - + ; If we successfully switched to 80 column mode then the 80 ; column firmware was in fact already active and we're done bit RD80VID bmi done - + ; The 80 column firmware isn't already active so we need to ; initialize it - causing the screen to be cleared and thus ; the garbage char printed above to be erased (but for some @@ -56,7 +56,7 @@ _videomode: ; Switch in LC bank 2 for R/O bit $C080 - + ; Return ctrl-char code for setting previous ; videomode using the saved videomode flag done: lda #$11 ; Ctrl-char code for 40 cols