From 13ac31004f6c80c7e66b6c9f23a7e17d656714c1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 2 Oct 2014 14:20:36 -0400 Subject: comments --- test.s | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test.s b/test.s index 5b76d03..3814693 100644 --- a/test.s +++ b/test.s @@ -121,18 +121,21 @@ turn_red: NMI: JSR read_controller1 + ; load the sprite into the ppu ports (from $0200) LDA #$00 STA $2003 LDA #$02 STA $4014 LDA #$80 - STA $0200 - STA $0203 + STA $0200 ; x position + STA $0203 ; y position + LDA #$00 - STA $0201 + STA $0201 ; set the sprite number to display + LDA #$00 - STA $0202 + STA $0202 ; set the sprite attributes (palette, flipping, etc) ; if A is not pressed, return LDA buttons_pressed.w -- cgit v1.2.3