From d88789ab27563504a3cfe827023aec35649bb4b7 Mon Sep 17 00:00:00 2001 From: Jesper Gravgaard Date: Sun, 29 Sep 2019 11:12:52 +0200 Subject: [PATCH] Added fragment for Clay Cowgill --- .../mos6502-common/_deref_(pptc1_derefidx_vbuxx)=vbuaa.asm | 6 ++++++ .../mos6502-common/_deref_(pptc1_derefidx_vbuyy)=vbuaa.asm | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuxx)=vbuaa.asm create mode 100644 src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuyy)=vbuaa.asm diff --git a/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuxx)=vbuaa.asm b/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuxx)=vbuaa.asm new file mode 100644 index 000000000..2b75c5717 --- /dev/null +++ b/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuxx)=vbuaa.asm @@ -0,0 +1,6 @@ +ldy {c1},x +sty $fe +ldy {c1}+1,x +sty $ff +ldy #0 +sta ($fe),y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuyy)=vbuaa.asm b/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuyy)=vbuaa.asm new file mode 100644 index 000000000..9b7ae30ba --- /dev/null +++ b/src/main/fragment/mos6502-common/_deref_(pptc1_derefidx_vbuyy)=vbuaa.asm @@ -0,0 +1,6 @@ +ldx {c1},y +stx $fe +ldx {c1}+1,y +stx $ff +ldy #0 +sta ($fe),y \ No newline at end of file