From d13e88b0fdc3b4d11ac1dedc6e28cd0bec8e63ec Mon Sep 17 00:00:00 2001 From: giomba Date: Wed, 14 Apr 2021 11:24:36 +0200 Subject: [PATCH] moustache notation --- src/data.asm | 4 ++-- src/intro1.asm | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/data.asm b/src/data.asm index 22aba83..2dac9ab 100644 --- a/src/data.asm +++ b/src/data.asm @@ -58,8 +58,8 @@ score: introYscroll: BYTE -; raster line for interrupt -rasterLineInt: +; interrupt raster line to draw moustache +moustacheLine: BYTE #if VERBOSE = 1 diff --git a/src/intro1.asm b/src/intro1.asm index afa6817..1915198 100644 --- a/src/intro1.asm +++ b/src/intro1.asm @@ -34,7 +34,7 @@ introreset SUBROUTINE ; first raster interrupt line, for moustaches lda #68+19 - sta rasterLineInt + sta moustacheLine rts @@ -42,7 +42,7 @@ statusIntro0 SUBROUTINE lda introYscroll .enter: - inc rasterLineInt + inc moustacheLine lda $d011 and #$07 @@ -100,7 +100,7 @@ setupMoustacheInterrupt SUBROUTINE sty $315 ; Set raster beam to trigger interrupt at row - lda rasterLineInt + lda moustacheLine sta $d012 rts @@ -138,7 +138,7 @@ setupMoustacheInterrupt SUBROUTINE stx $314 sty $315 clc - lda rasterLineInt + lda moustacheLine adc #23 sta $d012 @@ -198,7 +198,7 @@ statusIntro1 SUBROUTINE cmp #$04 beq .next inc $d011 - inc rasterLineInt + inc moustacheLine jsr setupMoustacheInterrupt