From 99afae45c63cbf359ae0a53d1afe1d65db8b6d08 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sat, 28 Dec 2019 12:50:33 +0100 Subject: [PATCH] handled similarities >3, updated binaries --- bin/basic_generic.rom | Bin 8192 -> 8192 bytes bin/basic_testing.rom | Bin 8192 -> 8192 bytes bin/basic_ultimate64.rom | Bin 8192 -> 8192 bytes bin/kernal_generic.rom | Bin 8192 -> 8192 bytes bin/kernal_testing.rom | Bin 8192 -> 8192 bytes bin/kernal_ultimate64.rom | Bin 8192 -> 8192 bytes bin/mega65.rom | Bin 131072 -> 131072 bytes c64/kernal/iec/acptr.s | 2 +- strings/0091B2C8 | 3 +++ strings/00B1B2C905 | 3 +++ strings/01459B859B | 3 +++ strings/01B1B285 | 3 +++ strings/01F008C903 | 3 +++ strings/02D0034C | 3 +++ strings/04A90185 | 3 +++ strings/18D049028D18D0 | 3 +++ strings/22F007A9 | 3 +++ strings/45AB85AB | 3 +++ strings/45AB85AB20 | 3 +++ ...5639494A304D4B4F4E2B504C2D2E3A402C5C2A3B13 | 16 ++++++++++++++++ strings/60A20086 | 3 +++ strings/60A5010920 | 3 +++ strings/60A590F004 | 3 +++ strings/7F8D0DDDA9 | 3 +++ strings/8D00DCA2 | 3 +++ strings/8D0DDDA9 | 4 ++++ strings/8D0DDDA9008D | 3 +++ strings/A005B1B220D2FFC8C015D0F6 | 3 +++ strings/A5A745AB | 3 +++ strings/A5C485AF | 3 +++ strings/A9042CA9 | 3 +++ strings/A9042CA980 | 3 +++ strings/AD00DD0910 | 3 +++ strings/AD18D029 | 3 +++ strings/B1B285 | 3 +++ strings/C485AFA5C385 | 3 +++ strings/C902D0034C | 3 +++ strings/D029EF8D11D0AD | 3 +++ strings/D0F4A23C | 3 +++ strings/D185F3A5D2 | 3 +++ strings/D885F460 | 3 +++ strings/DDA2008E | 3 +++ 42 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 strings/0091B2C8 create mode 100644 strings/00B1B2C905 create mode 100644 strings/01459B859B create mode 100644 strings/01B1B285 create mode 100644 strings/01F008C903 create mode 100644 strings/02D0034C create mode 100644 strings/04A90185 create mode 100644 strings/18D049028D18D0 create mode 100644 strings/22F007A9 create mode 100644 strings/45AB85AB create mode 100644 strings/45AB85AB20 create mode 100644 strings/52443643465458375947384248555639494A304D4B4F4E2B504C2D2E3A402C5C2A3B13 create mode 100644 strings/60A20086 create mode 100644 strings/60A5010920 create mode 100644 strings/60A590F004 create mode 100644 strings/7F8D0DDDA9 create mode 100644 strings/8D00DCA2 create mode 100644 strings/8D0DDDA9 create mode 100644 strings/8D0DDDA9008D create mode 100644 strings/A005B1B220D2FFC8C015D0F6 create mode 100644 strings/A5A745AB create mode 100644 strings/A5C485AF create mode 100644 strings/A9042CA9 create mode 100644 strings/A9042CA980 create mode 100644 strings/AD00DD0910 create mode 100644 strings/AD18D029 create mode 100644 strings/B1B285 create mode 100644 strings/C485AFA5C385 create mode 100644 strings/C902D0034C create mode 100644 strings/D029EF8D11D0AD create mode 100644 strings/D0F4A23C create mode 100644 strings/D185F3A5D2 create mode 100644 strings/D885F460 create mode 100644 strings/DDA2008E diff --git a/bin/basic_generic.rom b/bin/basic_generic.rom index 318870c50f3b36734d60026bb42bf4a6575e47d5..5adcd38c1f60c4e2417591884ea14a48c906b4f0 100644 GIT binary patch delta 13 UcmZp0XmHpNC(mdxIbMDt03hrHnE(I) delta 13 UcmZp0XmHpNC(md;IbMDt03hcCm;e9( diff --git a/bin/basic_testing.rom b/bin/basic_testing.rom index 63333a931a691b3df6dbff7f71f65a4d0423d37c..d39223eb941336f046daa8d49dfa7f55a386e446 100644 GIT binary patch delta 13 UcmZp0XmHpNC(mdxIbMDt03hrHnE(I) delta 13 UcmZp0XmHpNC(md;IbMDt03hcCm;e9( diff --git a/bin/basic_ultimate64.rom b/bin/basic_ultimate64.rom index ba80d3f4cfcee2be99fc0adcac8e0501446266ba..d03026e6fe1ad6c456be5888e28ef25a24f07bec 100644 GIT binary patch delta 13 UcmZp0XmHpNC(mdxIbMDt03hrHnE(I) delta 13 UcmZp0XmHpNC(md;IbMDt03hcCm;e9( diff --git a/bin/kernal_generic.rom b/bin/kernal_generic.rom index 972dd4a6aed5dac4471ef2efe27b64978e4c2f31..5cf03a31c14b95df1a532b4b74c52f1096da34ad 100644 GIT binary patch delta 23 fcmZp0XmHqYl!eh^^D&k^?937?c{jK6R0{(DXa@)u delta 23 fcmZp0XmHqYl!eiJ^D&k^?93~9B{sM6R0{(DXnqJ4 diff --git a/bin/kernal_testing.rom b/bin/kernal_testing.rom index f66e3b1959a85e4559a597525ae2b6179117ac4e..4db16e983545f48a51755f5bfcc9ee889fb5359e 100644 GIT binary patch delta 23 fcmZp0XmHqYl!eh^^D&kt4rYm!yqmpww+aCOWg!RM delta 23 fcmZp0XmHqYl!eiJ^D&kt4(64-5}Unww+aCOWta!t diff --git a/bin/kernal_ultimate64.rom b/bin/kernal_ultimate64.rom index cd7b5002f31bfd6167c1935ef75aea986cdf9c63..cd8e33aab527502642805034ca5e1d4e8dbcc90a 100644 GIT binary patch delta 23 fcmZp0XmHqYl!eh^^D&lk4rYm!yqg_(4+sGOWReHc delta 23 fcmZp0XmHqYl!eiJ^D&lk4(64-5}O@(4+sGOWeEq- diff --git a/bin/mega65.rom b/bin/mega65.rom index 1cc2839801ec55abe5bb170793ccf9d0e961f6bc..63418690738795d2759fc9a36e664e8f5fe8ad5c 100644 GIT binary patch delta 36 rcmZo@;Am*z*buj$(PDG_{xnq}b?k`{53|Hd-samMw%`81sLBrj4Koh? delta 36 rcmZo@;Am*z*buj$(R_3K{xnq}b?k`{5A#Z1iRRlMw%`81sLBrj4U7)^ diff --git a/c64/kernal/iec/acptr.s b/c64/kernal/iec/acptr.s index 213488e3..2ed7962d 100644 --- a/c64/kernal/iec/acptr.s +++ b/c64/kernal/iec/acptr.s @@ -14,8 +14,8 @@ ACPTR: lda IOSTATUS beq !+ - lda #$0D // tested on real ROMs clc + lda #$0D // tested on real ROMs rts !: diff --git a/strings/0091B2C8 b/strings/0091B2C8 new file mode 100644 index 00000000..e6edd32c --- /dev/null +++ b/strings/0091B2C8 @@ -0,0 +1,3 @@ +$00 + STA ($B2),Y + INY + +Small part of the loop storing data in a tape buffer - trivial, not copyrightable. diff --git a/strings/00B1B2C905 b/strings/00B1B2C905 new file mode 100644 index 00000000..4984bdc1 --- /dev/null +++ b/strings/00B1B2C905 @@ -0,0 +1,3 @@ +$00 + LDA ($B2),Y + CMP #$05 + +Check if end of tape mark - trivial, not copyrightable. diff --git a/strings/01459B859B b/strings/01459B859B new file mode 100644 index 00000000..74af77ab --- /dev/null +++ b/strings/01459B859B @@ -0,0 +1,3 @@ +$01 + EOR $9B + STA $9B + +Small part of code calculating parity/XOR type checksum. Trivial, not copyrightable. diff --git a/strings/01B1B285 b/strings/01B1B285 new file mode 100644 index 00000000..4d60d6e5 --- /dev/null +++ b/strings/01B1B285 @@ -0,0 +1,3 @@ +$01 + LDA ($B2),Y + STA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/01F008C903 b/strings/01F008C903 new file mode 100644 index 00000000..cf84a034 --- /dev/null +++ b/strings/01F008C903 @@ -0,0 +1,3 @@ +$01 + BEQ (offset matches) + CMP #$03 + +Comparing .A with #$03 depending on a CPU flag - nothing creative, not copyrightable. diff --git a/strings/02D0034C b/strings/02D0034C new file mode 100644 index 00000000..27f96238 --- /dev/null +++ b/strings/02D0034C @@ -0,0 +1,3 @@ +$02 + BNE (skip next instruction) + JMP (address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/04A90185 b/strings/04A90185 new file mode 100644 index 00000000..95920e5c --- /dev/null +++ b/strings/04A90185 @@ -0,0 +1,3 @@ +$04 + LDA #$01 + STA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/18D049028D18D0 b/strings/18D049028D18D0 new file mode 100644 index 00000000..733902f0 --- /dev/null +++ b/strings/18D049028D18D0 @@ -0,0 +1,3 @@ +$D018 + EOR #$02 + STA $D018 + +Small part of code manipulating a bit in a documented I/O register. Trivial, not copyrightable. diff --git a/strings/22F007A9 b/strings/22F007A9 new file mode 100644 index 00000000..5be542fd --- /dev/null +++ b/strings/22F007A9 @@ -0,0 +1,3 @@ +$22 + BEQ (offset matches) + LDA (immediate value does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/45AB85AB b/strings/45AB85AB new file mode 100644 index 00000000..316490e2 --- /dev/null +++ b/strings/45AB85AB @@ -0,0 +1,3 @@ +LDA $A7 + EOR $AB + +Small part of code calculating parity/XOR type checksum. Trivial, not copyrightable. diff --git a/strings/45AB85AB20 b/strings/45AB85AB20 new file mode 100644 index 00000000..3d39e074 --- /dev/null +++ b/strings/45AB85AB20 @@ -0,0 +1,3 @@ +EOR $AB + STA $AB + RTS + +Small part of code calculating parity/XOR type checksum. Trivial, not copyrightable. diff --git a/strings/52443643465458375947384248555639494A304D4B4F4E2B504C2D2E3A402C5C2A3B13 b/strings/52443643465458375947384248555639494A304D4B4F4E2B504C2D2E3A402C5C2A3B13 new file mode 100644 index 00000000..6b6aa28d --- /dev/null +++ b/strings/52443643465458375947384248555639494A304D4B4F4E2B504C2D2E3A402C5C2A3B13 @@ -0,0 +1,16 @@ +List of key codes generated when certain key combinations are pressed + +This sequence is a list of which ASCII/PETSCII code should be generated +when certain key combinations are pressed, based on the keyboard matrix +position. That is, it is a sequence in keyboard matrix order, of the +codes that should be generated. Thus it is a list of facts, which cannot +be copyright, according to the long standing precedent under US copyright law: + +https://www.law.cornell.edu/copyright/cases/499_US_340.htm + +Similar decisions exist in other jurisidctions. + +Note also that the matrix order list of keys is a fact of the C64 hardware, +and which has been repeated in many publications, such as Compute's Mapping the 64, +without challenge from the C64 ROM copyright owners, which serves to reinforce the +claim that this sequence of bytes is not copyrightable. diff --git a/strings/60A20086 b/strings/60A20086 new file mode 100644 index 00000000..633cd01f --- /dev/null +++ b/strings/60A20086 @@ -0,0 +1,3 @@ +RTS + LDX #$00 + STX (zeropage address does not match) + +Subroutine starting buy using .X to store 0 somewhere (place does not match). Trivial - not copyrightable. diff --git a/strings/60A5010920 b/strings/60A5010920 new file mode 100644 index 00000000..4ce39500 --- /dev/null +++ b/strings/60A5010920 @@ -0,0 +1,3 @@ +RTS + LDA $01 + ORA #$20 (turning motor off) + +Small part of code manipulating a bit in a documented I/O register. Trivial, not copyrightable. diff --git a/strings/60A590F004 b/strings/60A590F004 new file mode 100644 index 00000000..b7fca629 --- /dev/null +++ b/strings/60A590F004 @@ -0,0 +1,3 @@ +RTS + LDA $90 (IOSTATUS) + BEQ (offset matches) + +Subroutine started with decision based on IOSTATUS value (zero or not) - trivial, not copyrightable. diff --git a/strings/7F8D0DDDA9 b/strings/7F8D0DDDA9 new file mode 100644 index 00000000..44e2bb5b --- /dev/null +++ b/strings/7F8D0DDDA9 @@ -0,0 +1,3 @@ +$7F + STA $DD0D + LDA (value does not match) + +Instruction (accessing a documented I/O register) + some parts. Trivial, not copyrightable. diff --git a/strings/8D00DCA2 b/strings/8D00DCA2 new file mode 100644 index 00000000..9aa4cc19 --- /dev/null +++ b/strings/8D00DCA2 @@ -0,0 +1,3 @@ +STA $DC00 + LDX (value does not match) + +Instruction (accessing a documented I/O register) + some part. Trivial, not copyrightable. diff --git a/strings/8D0DDDA9 b/strings/8D0DDDA9 new file mode 100644 index 00000000..1e014b12 --- /dev/null +++ b/strings/8D0DDDA9 @@ -0,0 +1,4 @@ +STA $DD0D + LDA (value does not match) + +Instruction (accessing a documented I/O register) + some part. Trivial, not copyrightable. + diff --git a/strings/8D0DDDA9008D b/strings/8D0DDDA9008D new file mode 100644 index 00000000..f8ef80fe --- /dev/null +++ b/strings/8D0DDDA9008D @@ -0,0 +1,3 @@ +STA $DD0D + LDA #$00 + STA (address does not match) + +Store a value in a documented I/O register, afterwards store 0 somewhere else (address does not match). Trivial, not copyrightable. diff --git a/strings/A005B1B220D2FFC8C015D0F6 b/strings/A005B1B220D2FFC8C015D0F6 new file mode 100644 index 00000000..7dfd107a --- /dev/null +++ b/strings/A005B1B220D2FFC8C015D0F6 @@ -0,0 +1,3 @@ +LDY #$05 + LDA ($B2),Y + JSR $FFD2 (display character, documented routine) + INY + CPY #$15 + BNE (offset matches) + +A simple loop displaying a constant-size string pointed by a zeropage vector - nothing more. Due to 6502 addressing modes limiations, such a code will always look this way - this is not creative, and thus not copyrightable. diff --git a/strings/A5A745AB b/strings/A5A745AB new file mode 100644 index 00000000..316490e2 --- /dev/null +++ b/strings/A5A745AB @@ -0,0 +1,3 @@ +LDA $A7 + EOR $AB + +Small part of code calculating parity/XOR type checksum. Trivial, not copyrightable. diff --git a/strings/A5C485AF b/strings/A5C485AF new file mode 100644 index 00000000..74a534e9 --- /dev/null +++ b/strings/A5C485AF @@ -0,0 +1,3 @@ +LDA $C4 + STA $AF + +Move value from one zeropage location to another one (both documented, MEMUSS and EAL) - trivial, not copyrightable. diff --git a/strings/A9042CA9 b/strings/A9042CA9 new file mode 100644 index 00000000..6706b637 --- /dev/null +++ b/strings/A9042CA9 @@ -0,0 +1,3 @@ +LDA #$04 + $2C (BIT) + LDA (value does not match) + +Put $04 to acumulator and skip thee next 2 bytes (common space optimization) - trivial, not copyrightable. diff --git a/strings/A9042CA980 b/strings/A9042CA980 new file mode 100644 index 00000000..16074181 --- /dev/null +++ b/strings/A9042CA980 @@ -0,0 +1,3 @@ +LDA #$04 + $2C (BIT) + LDA #$80 + +Part of the code putting $04 or $80 to accumulator depending on some condition (not included in a similarity) - trivial, not copyrightable. diff --git a/strings/AD00DD0910 b/strings/AD00DD0910 new file mode 100644 index 00000000..e3611385 --- /dev/null +++ b/strings/AD00DD0910 @@ -0,0 +1,3 @@ +LDA $DD00 + ORA #$10 + +Small part of code manipulating a bit in a documented I/O register. Trivial, not copyrightable. diff --git a/strings/AD18D029 b/strings/AD18D029 new file mode 100644 index 00000000..80f2e2db --- /dev/null +++ b/strings/AD18D029 @@ -0,0 +1,3 @@ +LDA $D018 + AND (value does not match) + +Instruction (accessing a documented I/O register) + some part. Trivial, not copyrightable. diff --git a/strings/B1B285 b/strings/B1B285 new file mode 100644 index 00000000..fe9ee8e5 --- /dev/null +++ b/strings/B1B285 @@ -0,0 +1,3 @@ +LDA ($B2),Y + STA (zeropage address does not match) + +Instruction and some part. Trivial, not copyrightable. diff --git a/strings/C485AFA5C385 b/strings/C485AFA5C385 new file mode 100644 index 00000000..28cac505 --- /dev/null +++ b/strings/C485AFA5C385 @@ -0,0 +1,3 @@ +$C4 + STA $AF + LDA $C3 + STA (zeropage address does not match) + +Manipulation on some zeropage variables (copying one to another) - trivial, not copyrightable. diff --git a/strings/C902D0034C b/strings/C902D0034C new file mode 100644 index 00000000..e15f6a26 --- /dev/null +++ b/strings/C902D0034C @@ -0,0 +1,3 @@ +CMP #$02 + BNE (skip next instruction) + JMP (address does not match) + +Decision based on a check if accumulator contains 2 - trivial, not copyrightable. diff --git a/strings/D029EF8D11D0AD b/strings/D029EF8D11D0AD new file mode 100644 index 00000000..c8b41a4b --- /dev/null +++ b/strings/D029EF8D11D0AD @@ -0,0 +1,3 @@ +$D0 + AND #$EF + STA $D011 + LDA (address does not match) + +Small part of code manipulating a bit in a documented I/O register. Trivial, not copyrightable. diff --git a/strings/D0F4A23C b/strings/D0F4A23C new file mode 100644 index 00000000..3e905a9a --- /dev/null +++ b/strings/D0F4A23C @@ -0,0 +1,3 @@ +BNE (offset matches) + LDX #$3C + +Putting a value to .X depending on some condition - trivial, not copyrightable. diff --git a/strings/D185F3A5D2 b/strings/D185F3A5D2 new file mode 100644 index 00000000..51eeda82 --- /dev/null +++ b/strings/D185F3A5D2 @@ -0,0 +1,3 @@ +$D1 + STA $F3 + LDA $D2 + +Manipulation on some zeropage variables (copying one to another) - trivial, not copyrightable. diff --git a/strings/D885F460 b/strings/D885F460 new file mode 100644 index 00000000..013ec63b --- /dev/null +++ b/strings/D885F460 @@ -0,0 +1,3 @@ +$D8 + STA $F4 + RTS + +Store acumulator in a documented zeropage location and return from subroutine - trivial, not copyrightable. diff --git a/strings/DDA2008E b/strings/DDA2008E new file mode 100644 index 00000000..02ffb8dd --- /dev/null +++ b/strings/DDA2008E @@ -0,0 +1,3 @@ +$DD + LDX #$00 + STX (address does not match) + +Instruction + some parts. Trivial, not copyrightable.