From a6942281de51d669d526cf1f3d819aeec0057826 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Tue, 7 May 2019 10:12:20 +0930 Subject: [PATCH] finish documenting all cooincidental similarities with C64 BASIC ROM. --- strings/01C884 | 1 + strings/0AAABD | 4 ++++ strings/18652D85 | 3 +++ strings/18652D852D | 3 +++ strings/650B85 | 2 ++ strings/652D852D | 3 +++ strings/912BC8912B | 4 ++++ strings/A5AD0002 | 1 + strings/BD0101C9 | 1 + strings/C8D0F9E6 | 3 +++ strings/FFA90085 | 5 +++++ 11 files changed, 30 insertions(+) create mode 100644 strings/01C884 create mode 100644 strings/0AAABD create mode 100644 strings/18652D85 create mode 100644 strings/18652D852D create mode 100644 strings/650B85 create mode 100644 strings/652D852D create mode 100644 strings/912BC8912B create mode 100644 strings/A5AD0002 create mode 100644 strings/BD0101C9 create mode 100644 strings/C8D0F9E6 create mode 100644 strings/FFA90085 diff --git a/strings/01C884 b/strings/01C884 new file mode 100644 index 00000000..be92c86c --- /dev/null +++ b/strings/01C884 @@ -0,0 +1 @@ +INX surrounded by instruction fragments. Single instruction. Not copyrightable. diff --git a/strings/0AAABD b/strings/0AAABD new file mode 100644 index 00000000..991e2577 --- /dev/null +++ b/strings/0AAABD @@ -0,0 +1,4 @@ +multiply A by 2, and use it as an offset to a memory read. + +Basically a uint16_t aligned read. Would be single instruction +on many architectures. Not copyrightable. diff --git a/strings/18652D85 b/strings/18652D85 new file mode 100644 index 00000000..fd2ac0a9 --- /dev/null +++ b/strings/18652D85 @@ -0,0 +1,3 @@ +Add something to ZP location. Not copyrightable. + +Would be single instruction on many architectures. diff --git a/strings/18652D852D b/strings/18652D852D new file mode 100644 index 00000000..fd2ac0a9 --- /dev/null +++ b/strings/18652D852D @@ -0,0 +1,3 @@ +Add something to ZP location. Not copyrightable. + +Would be single instruction on many architectures. diff --git a/strings/650B85 b/strings/650B85 new file mode 100644 index 00000000..6bcd3163 --- /dev/null +++ b/strings/650B85 @@ -0,0 +1,2 @@ +Add and store ZP contents. Not copyrightable. + diff --git a/strings/652D852D b/strings/652D852D new file mode 100644 index 00000000..fd2ac0a9 --- /dev/null +++ b/strings/652D852D @@ -0,0 +1,3 @@ +Add something to ZP location. Not copyrightable. + +Would be single instruction on many architectures. diff --git a/strings/912BC8912B b/strings/912BC8912B new file mode 100644 index 00000000..68ba701a --- /dev/null +++ b/strings/912BC8912B @@ -0,0 +1,4 @@ +Store A in two successive bytes in pointer. + +Would be single 16-bit write operation in many architectures. +Not copyrightable. diff --git a/strings/A5AD0002 b/strings/A5AD0002 new file mode 100644 index 00000000..68b46c59 --- /dev/null +++ b/strings/A5AD0002 @@ -0,0 +1 @@ +Instruction fragment followed by reading location $0200. Single instruction. Not copyrightable. diff --git a/strings/BD0101C9 b/strings/BD0101C9 new file mode 100644 index 00000000..d822d33b --- /dev/null +++ b/strings/BD0101C9 @@ -0,0 +1 @@ +Look for a value on the stack. Not copyrightable. diff --git a/strings/C8D0F9E6 b/strings/C8D0F9E6 new file mode 100644 index 00000000..590aee01 --- /dev/null +++ b/strings/C8D0F9E6 @@ -0,0 +1,3 @@ +INX / Branch backwards if not zero / Incrememnt something. Loop fragment. Not copyrightable. + +When copying more than 256 bytes on a 6502, such constructs are common. diff --git a/strings/FFA90085 b/strings/FFA90085 new file mode 100644 index 00000000..cc463c8d --- /dev/null +++ b/strings/FFA90085 @@ -0,0 +1,5 @@ +Instruction fragment, put zero into ZP location somewhere. + +Would be single instruction on many architectures. +Only one whole instruction. +No creativity. Quite common. Not copyrightable.