From 4cfc79f145b7c620a2688f4a755d5e53c7ef0e9d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 16 Apr 2024 22:46:31 +0200 Subject: Vastly improve the documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This includes more clear explanations, images, etc. Signed-off-by: Miquel Sabaté Solà --- basics/flicker.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basics/flicker.s') diff --git a/basics/flicker.s b/basics/flicker.s index 640817a..34fc312 100644 --- a/basics/flicker.s +++ b/basics/flicker.s @@ -34,7 +34,7 @@ sta $2001 ; PPUMASK @main_game_loop: - ;; NOTE: the logic is pretty simply: read the pad, move the player + ;; NOTE: the logic is pretty simple: read the pad, move the player ;; accordingly, and apply the flickering effect. jsr joypad_read jsr Diskun::update @@ -121,9 +121,9 @@ adc #4 sta $40 - ;; We know that that last byte from the last sprite is held at $24F. Thus, - ;; if the sprite pointer is already passed this point, we can break the - ;; loop. Otherwise just carry on. + ;; We know that the last byte from the last sprite is held at $24F. Thus, if + ;; the sprite pointer is already passed this point, we can break the loop. + ;; Otherwise just carry on. cmp #$50 bne @loop -- cgit v1.2.3