From 30a36580a901f935bd3f777b31411adfdd1005d8 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Thu, 7 Oct 2021 07:11:12 +0200 Subject: [PATCH] Added missing fragments for @Sepa. --- .../vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm | 3 +++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_1.asm | 2 ++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_2.asm | 3 +++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_3.asm | 4 ++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_4.asm | 5 +++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_5.asm | 6 ++++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_6.asm | 7 +++++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_1.asm | 2 ++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_2.asm | 3 +++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_3.asm | 4 ++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_5.asm | 6 ++++++ .../mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_6.asm | 7 +++++++ .../dk/camelot64/kickc/test/TestProgramsThorough.java | 8 ++++---- 13 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_1.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_2.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_3.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_4.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_5.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_6.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_1.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_2.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_3.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_5.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_6.asm diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm new file mode 100644 index 000000000..92b6520bf --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm @@ -0,0 +1,3 @@ +lda ({z1}),y +tay +lda {c1},y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_1.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_1.asm new file mode 100644 index 000000000..9477bbaf2 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_1.asm @@ -0,0 +1,2 @@ +lda ({z1}),y +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_2.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_2.asm new file mode 100644 index 000000000..d43692d9c --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_2.asm @@ -0,0 +1,3 @@ +lda ({z1}),y +asl +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_3.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_3.asm new file mode 100644 index 000000000..5136a1d14 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_3.asm @@ -0,0 +1,4 @@ +lda ({z1}),y +asl +asl +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_4.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_4.asm new file mode 100644 index 000000000..b117cce26 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_4.asm @@ -0,0 +1,5 @@ +lda ({z1}),y +asl +asl +asl +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_5.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_5.asm new file mode 100644 index 000000000..0ac1b75d1 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_5.asm @@ -0,0 +1,6 @@ +lda ({z1}),y +asl +asl +asl +asl +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_6.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_6.asm new file mode 100644 index 000000000..58e98dcbb --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_rol_6.asm @@ -0,0 +1,7 @@ +lda ({z1}),y +asl +asl +asl +asl +asl +asl \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_1.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_1.asm new file mode 100644 index 000000000..a7f154e05 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_1.asm @@ -0,0 +1,2 @@ +lda ({z1}),y +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_2.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_2.asm new file mode 100644 index 000000000..345a6db57 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_2.asm @@ -0,0 +1,3 @@ +lda ({z1}),y +lsr +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_3.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_3.asm new file mode 100644 index 000000000..52c3624bf --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_3.asm @@ -0,0 +1,4 @@ +lda ({z1}),y +lsr +lsr +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_5.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_5.asm new file mode 100644 index 000000000..3f05d52fd --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_5.asm @@ -0,0 +1,6 @@ +lda ({z1}),y +lsr +lsr +lsr +lsr +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_6.asm b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_6.asm new file mode 100644 index 000000000..0dff1a97c --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_ror_6.asm @@ -0,0 +1,7 @@ +lda ({z1}),y +lsr +lsr +lsr +lsr +lsr +lsr \ No newline at end of file diff --git a/src/test/java/dk/camelot64/kickc/test/TestProgramsThorough.java b/src/test/java/dk/camelot64/kickc/test/TestProgramsThorough.java index c96375e7b..a7962695e 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestProgramsThorough.java +++ b/src/test/java/dk/camelot64/kickc/test/TestProgramsThorough.java @@ -9,10 +9,10 @@ import java.io.IOException; */ public class TestProgramsThorough extends TestPrograms { - //@Test - //public void testComplexSwinkiblues() throws IOException { - // compileAndCompare("complex/swinkiblues/kielbasa.c", log()); - //} + @Test + public void testComplexSwinkiblues() throws IOException { + compileAndCompare("complex/swinkiblues/kielbasa.c", log()); + } @Test public void testCx16VeralibTilemap8bpp8() throws IOException {