From 4c6014e44834835fe8b5b004884b6c32dfb043b5 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Thu, 22 Aug 2019 23:12:33 +0200 Subject: [PATCH] Added 2 fragments for Clay Cowgill --- src/main/fragment/_deref_pwsz1=vwsc1.asm | 6 ++++++ src/main/fragment/vwsz1=_deref_pwsz2_band_vwsc1 .asm | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/main/fragment/_deref_pwsz1=vwsc1.asm create mode 100644 src/main/fragment/vwsz1=_deref_pwsz2_band_vwsc1 .asm diff --git a/src/main/fragment/_deref_pwsz1=vwsc1.asm b/src/main/fragment/_deref_pwsz1=vwsc1.asm new file mode 100644 index 000000000..0db1d13cb --- /dev/null +++ b/src/main/fragment/_deref_pwsz1=vwsc1.asm @@ -0,0 +1,6 @@ +ldy #0 +lda #<{c1} +sta ({z1}),y +iny +lda #>{c1} +sta ({z1}),y diff --git a/src/main/fragment/vwsz1=_deref_pwsz2_band_vwsc1 .asm b/src/main/fragment/vwsz1=_deref_pwsz2_band_vwsc1 .asm new file mode 100644 index 000000000..68e381d0e --- /dev/null +++ b/src/main/fragment/vwsz1=_deref_pwsz2_band_vwsc1 .asm @@ -0,0 +1,8 @@ +ldy #0 +lda ({z2}),y +and #<{c1} +sta {z1} +iny +lda ({z2}),y +and #>{c1} +sta {z1}+1