From 8f7175273a5363309e7d1f27f8d39686e7d4f15b Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 14 Aug 2023 01:41:40 -0400 Subject: [PATCH] peasant: longstanding bug in hgr_copy should have caught? --- games/peasant/hgr_copy.s | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/games/peasant/hgr_copy.s b/games/peasant/hgr_copy.s index c1b035fa..8b5ae64b 100644 --- a/games/peasant/hgr_copy.s +++ b/games/peasant/hgr_copy.s @@ -6,9 +6,9 @@ ; intentionally slow for the miniblind effect hgr_copy: - lda $0 - sta INL - sta OUTL + ldy #0 ; start at beginning + sty INL + sty OUTL lda #$20 sta INH @@ -16,11 +16,11 @@ hgr_copy: sta OUTH - ldy #0 +; ldy #0 hgr_copy_outer: hgr_copy_inner: - lda #1 + lda #1 ; artificial slowdown jsr wait lda (INL),Y @@ -36,5 +36,3 @@ hgr_copy_inner: rts - -