From ffb4b9e640b3f33ae032c4dc509769fbf62a0b51 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 18 Apr 2025 18:41:35 -0500 Subject: [PATCH] 6502 command stream player, part 10 fix jump --- src/asm/6502/stream.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/asm/6502/stream.s b/src/asm/6502/stream.s index a11e8e5a9..fe25cf946 100644 --- a/src/asm/6502/stream.s +++ b/src/asm/6502/stream.s @@ -262,15 +262,16 @@ fcsRet: fcsJump: ; get address jsr fcsReadNext - tay + pha jsr fcsReadNext + pha ; ignore next two bytes jsr fcsIgnoreNext jsr fcsIgnoreNext - ; a has high byte - ; y has low byte - sty chanPC,x + pla sta chanPC+1,x + pla + sta chanPC,x rts ; TODO