From 1a74e6a1856673072a61abd0861759901bc2d939 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 10 Mar 2025 22:52:15 +0100 Subject: Bring code style to better standards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be more careful on everything and try to follow along style.nes from my repository. This might change in the future, but it's in a much better state now. Signed-off-by: Miquel Sabaté Solà --- space/src/vectors/reset.s | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'space/src/vectors/reset.s') diff --git a/space/src/vectors/reset.s b/space/src/vectors/reset.s index 1216146..b024e65 100644 --- a/space/src/vectors/reset.s +++ b/space/src/vectors/reset.s @@ -2,13 +2,13 @@ ;; Check `basics/sprite.s` for a deeper look on the logic below. I have only ;; added code after configuration/reset is done. -reset: +.proc reset sei cld ldx #$40 stx $4017 - ldx #$ff + ldx #$FF txs inx @@ -33,7 +33,7 @@ reset: inx bne @ram_reset_loop - lda #$ef + lda #$EF @sprite_reset_loop: sta $200, x inx @@ -47,3 +47,4 @@ reset: ;; NOTE: configuration/reset is done, the code below is our actual program :D jmp main +.endproc -- cgit v1.2.3