diff --git a/LICENSE b/LICENSE index e7be5d84..310d50d9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The following copyright notices apply to the entirety of this package, -including each source file, unless otherwise noted in each file. +including each source file, unless otherwise noted in each file or directory. Copyright Paul Gardner-Stephen, 2019. Copyright Roman Standzikowski (FeralChil64), 2019-2020. diff --git a/bin/basic_generic.rom b/bin/basic_generic.rom index f0f5b1e3..7828da6c 100644 Binary files a/bin/basic_generic.rom and b/bin/basic_generic.rom differ diff --git a/bin/basic_testing.rom b/bin/basic_testing.rom index 86d713bd..6d2c34fe 100644 Binary files a/bin/basic_testing.rom and b/bin/basic_testing.rom differ diff --git a/bin/basic_ultimate64.rom b/bin/basic_ultimate64.rom index 74b9697b..1fed28bd 100644 Binary files a/bin/basic_ultimate64.rom and b/bin/basic_ultimate64.rom differ diff --git a/bin/kernal_generic.rom b/bin/kernal_generic.rom index 20ed1ace..0df4af2e 100644 Binary files a/bin/kernal_generic.rom and b/bin/kernal_generic.rom differ diff --git a/bin/kernal_testing.rom b/bin/kernal_testing.rom index 6628e7a2..6684bfdb 100644 Binary files a/bin/kernal_testing.rom and b/bin/kernal_testing.rom differ diff --git a/bin/kernal_ultimate64.rom b/bin/kernal_ultimate64.rom index d000620b..df018309 100644 Binary files a/bin/kernal_ultimate64.rom and b/bin/kernal_ultimate64.rom differ diff --git a/bin/mega65.rom b/bin/mega65.rom index c637aa65..ece821ce 100644 Binary files a/bin/mega65.rom and b/bin/mega65.rom differ diff --git a/strings/00000080 b/strings/00000080 new file mode 100644 index 00000000..74f02616 --- /dev/null +++ b/strings/00000080 @@ -0,0 +1,3 @@ +some 0's + $80 + +Not creative - not copyrightable. diff --git a/strings/000020 b/strings/000020 new file mode 100644 index 00000000..daa82e1f --- /dev/null +++ b/strings/000020 @@ -0,0 +1,3 @@ +some 0's + $20 + +Not creative - not copyrightable. diff --git a/strings/00202BBC b/strings/00202BBC new file mode 100644 index 00000000..179489eb --- /dev/null +++ b/strings/00202BBC @@ -0,0 +1,3 @@ +$00 + JSR $BC2B + +Instruction (call of well-known subroutine) + some part. Trivial, not copyrightable. diff --git a/strings/00602017 b/strings/00602017 new file mode 100644 index 00000000..6dcd48ba --- /dev/null +++ b/strings/00602017 @@ -0,0 +1,3 @@ +$00 + RTS + JSR $xx17 + +Instruction and some parts. Trivial - not copyrightable. diff --git a/strings/0060A5 b/strings/0060A5 new file mode 100644 index 00000000..5acfc780 --- /dev/null +++ b/strings/0060A5 @@ -0,0 +1,3 @@ +$00 + RTS + LDA (zeropage address does not match) + +Instruction + some parts. Trivial - not copyrightable. diff --git a/strings/008D8D02A0 b/strings/008D8D02A0 new file mode 100644 index 00000000..9b7ba485 --- /dev/null +++ b/strings/008D8D02A0 @@ -0,0 +1,3 @@ +$00 + STA $028D + LDY (immediate value does not match) + +Instruction + some parts. Trivial - not copyrightable. diff --git a/strings/00B17AD0 b/strings/00B17AD0 new file mode 100644 index 00000000..8d207f6a --- /dev/null +++ b/strings/00B17AD0 @@ -0,0 +1,3 @@ +$00 + LDA ($7A),Y + BNE (offset does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/00DC60AD b/strings/00DC60AD new file mode 100644 index 00000000..d5c28289 --- /dev/null +++ b/strings/00DC60AD @@ -0,0 +1,3 @@ +$DC00 + RTS + LDA (address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/012CA900 b/strings/012CA900 new file mode 100644 index 00000000..900f8140 --- /dev/null +++ b/strings/012CA900 @@ -0,0 +1,3 @@ +$01 + $2C (BIT) + LDA #$00 + +Instruction + part of the common BIT trick to save some memory. Trivial - not copyrightable. diff --git a/strings/04B12285 b/strings/04B12285 new file mode 100644 index 00000000..9661fafd --- /dev/null +++ b/strings/04B12285 @@ -0,0 +1,3 @@ +$04 + LDA ($22),Y + STA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/04B122856588B122856488B122856388B122 b/strings/04B122856588B122856488B122856388B122 new file mode 100644 index 00000000..b00b8058 --- /dev/null +++ b/strings/04B122856588B122856488B122856388B122 @@ -0,0 +1,3 @@ +$04 + LDA ($22),Y + STA $65 + DEY + LDA ($22),Y + STA $64 + DEY + LDA ($22),Y + STA $64 + DEY + LDA ($22),Y + +Unrolled loop to copy values from memory location to a fixed zeropage location. Trivial - not copyrightable. diff --git a/strings/04B122856D88B122856C88B122856B88B122 b/strings/04B122856D88B122856C88B122856B88B122 new file mode 100644 index 00000000..7bd466c8 --- /dev/null +++ b/strings/04B122856D88B122856C88B122856B88B122 @@ -0,0 +1,3 @@ +$04 + LDA ($22),Y + STA $6D + DEY + LDA ($22),Y + STA $6C + DEY + LDA ($22),Y + STA $6B + DEY + LDA ($22),Y + +Unrolled loop to copy values from memory location to a fixed zeropage location. Trivial - not copyrightable. diff --git a/strings/09808562 b/strings/09808562 new file mode 100644 index 00000000..e220392b --- /dev/null +++ b/strings/09808562 @@ -0,0 +1,3 @@ +ORA #$80 + STA $62 + +Store .A with highest bit enforced in a memoryy location (small piece of code manipulating floating point value) - trivial, not copyrightable. diff --git a/strings/122067F8 b/strings/122067F8 new file mode 100644 index 00000000..e7563bbe --- /dev/null +++ b/strings/122067F8 @@ -0,0 +1,3 @@ +$12 + JSR $F867 + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/18690285 b/strings/18690285 new file mode 100644 index 00000000..e8e426eb --- /dev/null +++ b/strings/18690285 @@ -0,0 +1,3 @@ +CLC + ADC #$02 + STA (address does not match) + +Adding 2 to .A regardless of Carry flag state, storing result in memoryy (address does not match) - trivial, not copyrightable. diff --git a/strings/2285618470 b/strings/2285618470 new file mode 100644 index 00000000..b587160f --- /dev/null +++ b/strings/2285618470 @@ -0,0 +1,3 @@ +$22 + STA $61 + STY $70 + +Small piece of floating point values manipulation code. Trivial - not copyrightable. diff --git a/strings/228569A56160 b/strings/228569A56160 new file mode 100644 index 00000000..97d81fe6 --- /dev/null +++ b/strings/228569A56160 @@ -0,0 +1,3 @@ +$22 + STA $69 + LDA $61 + RTS + +Small part of code manipulating bytes of a well-known floating point pseudo-register. Trivial - not copyrightable. diff --git a/strings/22856D88B122856C88B122856B88B122 b/strings/22856D88B122856C88B122856B88B122 new file mode 100644 index 00000000..8421e963 --- /dev/null +++ b/strings/22856D88B122856C88B122856B88B122 @@ -0,0 +1,3 @@ +$22 + STA $6D + DEY + LDA ($22),Y + STA $6C + DEY + LDA ($22),Y + STA $6B + DEY + LDA ($22),Y + +Part of unrolled loop to copy value from memor location to a floating point accumulator. Trivial - not copyrightable. diff --git a/strings/22D008A5D449 b/strings/22D008A5D449 new file mode 100644 index 00000000..92a47fb7 --- /dev/null +++ b/strings/22D008A5D449 @@ -0,0 +1,3 @@ +$22 + BNE (offset matches) + LDA $D4 + EOR (immediate value does not match) + +Small piece of code manipulating screen-related variable. Since EOR argument does not match, it's clear that the code does something different. The similar part is trivial - not copyrightable. diff --git a/strings/2CA90085 b/strings/2CA90085 new file mode 100644 index 00000000..2c911e18 --- /dev/null +++ b/strings/2CA90085 @@ -0,0 +1,3 @@ +$2C (BIT) + LDA #$00 + STA (zeropage address does not match) + +A common trick using BIT opcode to load (or not) value into to .A and continue execution. Trivial - not copyrightable. diff --git a/strings/2CA9042CA9 b/strings/2CA9042CA9 new file mode 100644 index 00000000..8ba049f5 --- /dev/null +++ b/strings/2CA9042CA9 @@ -0,0 +1,3 @@ +$2C (BIT) + LDA #$04 + $2C (BIT) + LDA (value does not match) + +A common trick using BIT opcode to load different values (depending on a condition) to .A and continue execution. Here the values does not even fully match. Trivial - not copyrghtable. diff --git a/strings/3504F334 b/strings/3504F334 new file mode 100644 index 00000000..9d6da7fe --- /dev/null +++ b/strings/3504F334 @@ -0,0 +1,3 @@ +1.0 / sqr(2.0) (partial similarity only, does not include exponent) + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/38E90285 b/strings/38E90285 new file mode 100644 index 00000000..9b4cfbac --- /dev/null +++ b/strings/38E90285 @@ -0,0 +1,3 @@ +SEC + SBC #$02 + STA (zeropage address does not match) + +Subtract 2 from accumulator, store result somewhere (location does not match) - trivial, not copyrightable. diff --git a/strings/490FDAA2 b/strings/490FDAA2 new file mode 100644 index 00000000..9d7affdb --- /dev/null +++ b/strings/490FDAA2 @@ -0,0 +1,3 @@ +PI / 2.0 (partial similarity only, does not include exponent) + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/4C0CED4C b/strings/4C0CED4C new file mode 100644 index 00000000..f59817ae --- /dev/null +++ b/strings/4C0CED4C @@ -0,0 +1,3 @@ +JMP $ED0C + JMP (address does not match) + +Instruction and some part. Trivial - not copyrightable. diff --git a/strings/608100000000 b/strings/608100000000 new file mode 100644 index 00000000..4ce43696 --- /dev/null +++ b/strings/608100000000 @@ -0,0 +1,3 @@ +RTS (end of previous routine) + floating point constant 1.0 + +Basically a fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/61D0034C b/strings/61D0034C new file mode 100644 index 00000000..d0520aa8 --- /dev/null +++ b/strings/61D0034C @@ -0,0 +1,3 @@ +$61 + BNE (skip next instruction) + JMP (address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/61F006A56649FF8566608138AA3B29 b/strings/61F006A56649FF8566608138AA3B29 new file mode 100644 index 00000000..372fdb96 --- /dev/null +++ b/strings/61F006A56649FF8566608138AA3B29 @@ -0,0 +1,8 @@ +$61 + BEQ (offset matches) + LDA $66 + EOR #$FF + STA $66 + RTS + floating point constant 1.0 / log_e(2.0) (last byte differs, probablyy due to rounding) + +A part of trivial routine, reversing the sign of floating point accumulator, if it is not 0. Afterwards a floating point constant - a fact (generated by a specially written tool), not creative work. +Locations of the routine/constant are not creative work either - we have to preserve them to keep the compatiibility. + +Not copyrightable. + + diff --git a/strings/62666366646665667060 b/strings/62666366646665667060 new file mode 100644 index 00000000..ca4930bf --- /dev/null +++ b/strings/62666366646665667060 @@ -0,0 +1,3 @@ +$62 + ROR $63 + ROR $64 + ROR $65 + ROR $70 + RTS + +Code for dividing multi-byte integer by 2 (this time a floating point mantissa), common technique for 6502 assembler. Not creative - not copyrightable. diff --git a/strings/63856BA5 b/strings/63856BA5 new file mode 100644 index 00000000..a4d47655 --- /dev/null +++ b/strings/63856BA5 @@ -0,0 +1,3 @@ +$63 + STA $6B + LDA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/64856CA5 b/strings/64856CA5 new file mode 100644 index 00000000..1e2c0e39 --- /dev/null +++ b/strings/64856CA5 @@ -0,0 +1,3 @@ +$64 + STA $6C + LDA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/65856DA5 b/strings/65856DA5 new file mode 100644 index 00000000..648ad890 --- /dev/null +++ b/strings/65856DA5 @@ -0,0 +1,3 @@ +$65 + STA $6D + LDA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/66456E85 b/strings/66456E85 new file mode 100644 index 00000000..9c596392 --- /dev/null +++ b/strings/66456E85 @@ -0,0 +1,3 @@ +$66 + EOR $6E + STA (zeropage address does not match) + +Small piece of floating point values manipulation code (single instruction and some parts). Trivial - not copyrightable. diff --git a/strings/6649FF8566 b/strings/6649FF8566 new file mode 100644 index 00000000..e08d4fe3 --- /dev/null +++ b/strings/6649FF8566 @@ -0,0 +1,3 @@ +$66 + EOR #$FF + STA $66 + +Part of ccode reversing sign oof floating point variable. Trivial - not copyrightable. diff --git a/strings/66626663666466656670 b/strings/66626663666466656670 new file mode 100644 index 00000000..45be6917 --- /dev/null +++ b/strings/66626663666466656670 @@ -0,0 +1,3 @@ +ROR $62 + ROR $63 + ROR $64 + ROR $65 + ROR $70 + +Code for dividing multi-byte integer by 2 (this time a floating point mantissa), common technique for 6502 assembler. Not creative - not copyrightable. diff --git a/strings/6662666366646665667060 b/strings/6662666366646665667060 new file mode 100644 index 00000000..753cc7a2 --- /dev/null +++ b/strings/6662666366646665667060 @@ -0,0 +1,3 @@ +ROR $62 + ROR $63 + ROR $64 + ROR $65 + ROR $70 + RTS + +Code for dividing multi-byte integer by 2 (this time a floating point mantissa), common technique for 6502 assembler. Not creative - not copyrightable. diff --git a/strings/6A85624C b/strings/6A85624C new file mode 100644 index 00000000..c76e8180 --- /dev/null +++ b/strings/6A85624C @@ -0,0 +1,3 @@ +$6A + STA $62 + JMP (addres does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/6AE56285 b/strings/6AE56285 new file mode 100644 index 00000000..1aa15687 --- /dev/null +++ b/strings/6AE56285 @@ -0,0 +1,3 @@ +$6A + SBC $62 + STA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/6B8563A5 b/strings/6B8563A5 new file mode 100644 index 00000000..7a1b8e3a --- /dev/null +++ b/strings/6B8563A5 @@ -0,0 +1,3 @@ +$6B + STA $63 + LDA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/6B8563A562 b/strings/6B8563A562 new file mode 100644 index 00000000..d254cb6a --- /dev/null +++ b/strings/6B8563A562 @@ -0,0 +1,3 @@ +$6B + STA $63 + LDA $62 + +Small piece of code manipulating copying bytes of a well-known location (floating point accumulator) - trivial, not copyrightable. diff --git a/strings/6C8564A5 b/strings/6C8564A5 new file mode 100644 index 00000000..c6866eb3 --- /dev/null +++ b/strings/6C8564A5 @@ -0,0 +1,3 @@ +$6C + STA $64 + LDA (zeropage address does not match) + +Single instruction + some parts. Trivial - not copyrightable. diff --git a/strings/6CE56485 b/strings/6CE56485 new file mode 100644 index 00000000..8f6f6459 --- /dev/null +++ b/strings/6CE56485 @@ -0,0 +1,3 @@ +$6C + SBC $64 + STA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/6D8565A5 b/strings/6D8565A5 new file mode 100644 index 00000000..f822248f --- /dev/null +++ b/strings/6D8565A5 @@ -0,0 +1,3 @@ +$6D + STA $65 + LDA (zeropage address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/6D8565A564 b/strings/6D8565A564 new file mode 100644 index 00000000..f5704def --- /dev/null +++ b/strings/6D8565A564 @@ -0,0 +1,3 @@ +$6D + STA $65 + LDA $64 + +Small piece of code manipulating copying bytes of a well-known location (floating point accumulator) - trivial, not copyrightable. diff --git a/strings/702665266426632662 b/strings/702665266426632662 new file mode 100644 index 00000000..82e40274 --- /dev/null +++ b/strings/702665266426632662 @@ -0,0 +1,3 @@ +$70 + ROL $65 + ROL $64 + ROL $63 + ROL $62 + +Code for multiplaying multi-byte integer by 2 (this time a floating point mantissa), common technique for 6502 assembler. Not creative - not copyrightable. diff --git a/strings/803504F334813504F334808000000080317217F8 b/strings/803504F334813504F334808000000080317217F8 new file mode 100644 index 00000000..97a9130b --- /dev/null +++ b/strings/803504F334813504F334808000000080317217F8 @@ -0,0 +1,3 @@ +floating point constants: 1.0 / sqr(2.0) , sqr(2.0), -0.5, log_e(2.0) + +List of facts (generated by a specially written tool) in a well-known memory location, not a creative work. Not copyrightable. diff --git a/strings/8100000000 b/strings/8100000000 new file mode 100644 index 00000000..00e855aa --- /dev/null +++ b/strings/8100000000 @@ -0,0 +1,3 @@ +floating point constant 1.0 + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/81490FDAA283490FDAA27F00000000 b/strings/81490FDAA283490FDAA27F00000000 new file mode 100644 index 00000000..0f1bb8a9 --- /dev/null +++ b/strings/81490FDAA283490FDAA27F00000000 @@ -0,0 +1,3 @@ +floating point constants: PI / 2.0, PI * 2.0, 0.25 + +List of facts (generated by a specially written tool) in a well-known memory location, not a creative work. Not copyrightable. diff --git a/strings/82490FDA b/strings/82490FDA new file mode 100644 index 00000000..76d39a83 --- /dev/null +++ b/strings/82490FDA @@ -0,0 +1,3 @@ +floating point constant PI, last byte (lowest byte of mantissa) differs, probably due to rounding + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/83490FDAA2 b/strings/83490FDAA2 new file mode 100644 index 00000000..20cdb268 --- /dev/null +++ b/strings/83490FDAA2 @@ -0,0 +1,3 @@ +floating point constant PI * 2.0 + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/8420000000 b/strings/8420000000 new file mode 100644 index 00000000..a0fd48f2 --- /dev/null +++ b/strings/8420000000 @@ -0,0 +1,3 @@ +floating point constant 10.0 + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/8561A56585 b/strings/8561A56585 new file mode 100644 index 00000000..040db5b9 --- /dev/null +++ b/strings/8561A56585 @@ -0,0 +1,3 @@ +STA $61 + LDA $65 + STA (zeropage address does not match) + +Small piece of code manipulating copying bytes of a well-known location (floating point accumulator) - trivial, not copyrightable. diff --git a/strings/8562856385648565 b/strings/8562856385648565 new file mode 100644 index 00000000..9f626ee9 --- /dev/null +++ b/strings/8562856385648565 @@ -0,0 +1,3 @@ +STA $62 + STA $63 + STA $64 + STA $65 + +Piece of code filling the floating point mantissa bytes with constant variable - trivial, not copyrightable. diff --git a/strings/8562B003 b/strings/8562B003 new file mode 100644 index 00000000..5cd99bfa --- /dev/null +++ b/strings/8562B003 @@ -0,0 +1,3 @@ +STA $62 + BCS (offset matches) + +Small piece of floating point values manipulation code. Trivial - not copyrightable. diff --git a/strings/8563A562 b/strings/8563A562 new file mode 100644 index 00000000..d7e64cb6 --- /dev/null +++ b/strings/8563A562 @@ -0,0 +1,3 @@ +STA $63 + LDA $62 + +Small piece of code manipulating copying bytes of a well-known location (floating point accumulator) - trivial, not copyrightable. diff --git a/strings/8566A561 b/strings/8566A561 new file mode 100644 index 00000000..abfd6ab4 --- /dev/null +++ b/strings/8566A561 @@ -0,0 +1,3 @@ +STA $66 + LDA $61 + +Small piece of code manipulating copying bytes of a well-known location (floating point accumulator) - trivial, not copyrightable. diff --git a/strings/867060 b/strings/867060 new file mode 100644 index 00000000..9b5ee0ab --- /dev/null +++ b/strings/867060 @@ -0,0 +1,3 @@ +STX $70 (FACOV) + RTS + +Storing .X register in a welll-known memory location, followed by end of subroutine. Trivial - not copyrightable. diff --git a/strings/88B122 b/strings/88B122 new file mode 100644 index 00000000..cb432334 --- /dev/null +++ b/strings/88B122 @@ -0,0 +1,3 @@ +DEY + LDA ($22),Y + +Part of the loop reading data via general purpose vector variable. Not creative and fairy trivial- not copyrightable. diff --git a/strings/88B12285 b/strings/88B12285 new file mode 100644 index 00000000..b74ab76c --- /dev/null +++ b/strings/88B12285 @@ -0,0 +1,3 @@ +DEY + LDA ($22),Y + STA (zeropage address does not match) + +Part of the loop reading data via general purpose vector variable. Not creative and fairy trivial- not copyrightable. diff --git a/strings/8D00DCAD01DC b/strings/8D00DCAD01DC new file mode 100644 index 00000000..2168599f --- /dev/null +++ b/strings/8D00DCAD01DC @@ -0,0 +1,3 @@ +STA $DC00 + LDA $DC01 + +Small part of the routine manipulating I/O registers (store value in one register, fetch from another). Trivial - not copyrightable. diff --git a/strings/9080000000 b/strings/9080000000 new file mode 100644 index 00000000..ac8bd96c --- /dev/null +++ b/strings/9080000000 @@ -0,0 +1,3 @@ +floating point constant -32768.0 + +A fact (generated by a specially written tool), not creative work. Not copyrightable. diff --git a/strings/A0008470 b/strings/A0008470 new file mode 100644 index 00000000..93b1e3d6 --- /dev/null +++ b/strings/A0008470 @@ -0,0 +1,3 @@ +LDY #$00 + STY $70 + +Store 0 in a zeropage location, using .Y register. Trivial - not copyrightable. diff --git a/strings/A5619122 b/strings/A5619122 new file mode 100644 index 00000000..72e9637f --- /dev/null +++ b/strings/A5619122 @@ -0,0 +1,3 @@ +LDA $61 + STA ($22),Y + +Copy value from zeropage to some memory location pointed by a general-purpose vector. Trivial - noot copyrightable. diff --git a/strings/A56649FF b/strings/A56649FF new file mode 100644 index 00000000..45d482ce --- /dev/null +++ b/strings/A56649FF @@ -0,0 +1,3 @@ +LDA $66 + EOR #$FF + +Load a floating point value sign and reverse it - trivial, not copyrightable. diff --git a/strings/A56649FF8566 b/strings/A56649FF8566 new file mode 100644 index 00000000..25494374 --- /dev/null +++ b/strings/A56649FF8566 @@ -0,0 +1,3 @@ +LDA $66 + EOR #$FF + STA $66 + +Reversal of all the bits in a register (where 0 means positive floating point value, $FF - negative). Trivial - not copyrightable. diff --git a/strings/A56AE56285 b/strings/A56AE56285 new file mode 100644 index 00000000..88a3f800 --- /dev/null +++ b/strings/A56AE56285 @@ -0,0 +1,3 @@ +LDA $6A + SBC $62 + STA (zeropage address does not match) + +Small piece of code subtracting one floating point mantissa from another - this is a common technique to subtract numbers over 8 bits size on 6502. Not creative - not copyrightable. diff --git a/strings/A56DE56585 b/strings/A56DE56585 new file mode 100644 index 00000000..681b0e56 --- /dev/null +++ b/strings/A56DE56585 @@ -0,0 +1,3 @@ +LDA $6D + SBC $65 + STA (address does not match) + +Calculate diiff between two zeropage values, store result in another location - trivial, not copyrightable. diff --git a/strings/A56E8566 b/strings/A56E8566 new file mode 100644 index 00000000..43958604 --- /dev/null +++ b/strings/A56E8566 @@ -0,0 +1,3 @@ +LDA $6E + STA $66 + +Copy value from one zeropage location to another - trivial, not copyrightable. diff --git a/strings/A5A745AB85AB b/strings/A5A745AB85AB new file mode 100644 index 00000000..e69d8cbd --- /dev/null +++ b/strings/A5A745AB85AB @@ -0,0 +1,3 @@ +LDA $A7 + EOR $AB + STA $AB + +Small part of a routine reading from tape, calculates XOR checksum of the stream. Trivial - not copyrightable. diff --git a/strings/A5C485C2 b/strings/A5C485C2 new file mode 100644 index 00000000..f5a12df3 --- /dev/null +++ b/strings/A5C485C2 @@ -0,0 +1,3 @@ +LDA $C4 + STA $C2 + +Copy value from one zeropage location to another. Trivial - not copyrightable. diff --git a/strings/A6D8F005 b/strings/A6D8F005 new file mode 100644 index 00000000..2d6cac22 --- /dev/null +++ b/strings/A6D8F005 @@ -0,0 +1,3 @@ +LDX $D8 + BEQ (offset matches) + +Decision based whether well-known zeropage loacation is 0 or not. Trivial - not copyrightable. diff --git a/strings/A9012CA9022CA9032CA9042CA9052CA9062CA9072CA9082CA909 b/strings/A9012CA9022CA9032CA9042CA9052CA9062CA9072CA9082CA909 new file mode 100644 index 00000000..be85a90c --- /dev/null +++ b/strings/A9012CA9022CA9032CA9042CA9052CA9062CA9072CA9082CA909 @@ -0,0 +1,3 @@ +LDA #$01 + $2C + LDA #$02 + $2C + LDA #$03 + ... + +Common size optimization to set different values to a variable depending on a jump address, using BIT instruction ($2C) to skip unnecessary instruction, this time a relatively long one. Well-known technique, not creative - thus not copyrightable. diff --git a/strings/A9802CA9 b/strings/A9802CA9 new file mode 100644 index 00000000..9f95a605 --- /dev/null +++ b/strings/A9802CA9 @@ -0,0 +1,3 @@ +LDA #$80 + $2C (BIT) + LDA (value does not match) + +A common trick using BIT opcode to load different values (depending on a condition) to .A and continue execution. Here the values does not even fully match. Trivial - not copyrghtable. diff --git a/strings/B12285 b/strings/B12285 new file mode 100644 index 00000000..77d4f8a4 --- /dev/null +++ b/strings/B12285 @@ -0,0 +1,4 @@ +LDA ($22),Y + STA (zeropage address does not match) + +Instruction (accessing data via general purpose vector) + some part. Trivial, not copyyrightable. + diff --git a/strings/B1228565 b/strings/B1228565 new file mode 100644 index 00000000..85096ecf --- /dev/null +++ b/strings/B1228565 @@ -0,0 +1,3 @@ +LDA ($22),Y + STA $65 + +Small part of a routine copying memory variable to floating point accumulator (copies 1 byte) - trivial, not copyrightable. diff --git a/strings/BA200CED b/strings/BA200CED new file mode 100644 index 00000000..3ce6f608 --- /dev/null +++ b/strings/BA200CED @@ -0,0 +1,3 @@ +$BA + JSR $ED0C + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/BAC902D0 b/strings/BAC902D0 new file mode 100644 index 00000000..e135fb06 --- /dev/null +++ b/strings/BAC902D0 @@ -0,0 +1,3 @@ +$BA + CMP #$02 + BNE (offset does not match) + +Instruction + some parts. Trivial - not copyrightable. diff --git a/strings/D885F46020 b/strings/D885F46020 new file mode 100644 index 00000000..64c665fa --- /dev/null +++ b/strings/D885F46020 @@ -0,0 +1,3 @@ +$D8 + STA $F4 + RTS + JSR (address does not match) + +End of the routine (store data in a well-known zeropage location) + some parts. Trivial - not copyrightable. diff --git a/strings/E69FE69F b/strings/E69FE69F new file mode 100644 index 00000000..c28b9b68 --- /dev/null +++ b/strings/E69FE69F @@ -0,0 +1,4 @@ +INC $9F + INC $9F + +Increase value of zeropage variable (which counts the number of vectors) by 2. Trivial - not copyrightable. + diff --git a/strings/F38810F5 b/strings/F38810F5 new file mode 100644 index 00000000..d8b917cf --- /dev/null +++ b/strings/F38810F5 @@ -0,0 +1,3 @@ +$F3 + DEY + BPL (offset matches) + +Small part of the loop indexeed by .Y, counting down. Trivial - not copyrightable. diff --git a/strings/F7B0034C b/strings/F7B0034C new file mode 100644 index 00000000..ee5ded44 --- /dev/null +++ b/strings/F7B0034C @@ -0,0 +1,3 @@ +$F7 + BCS (skip the JMP) + JMP (address does not match) + +Instruction + some parts. Trivial, not copyrightable. diff --git a/strings/F7C884C8A0 b/strings/F7C884C8A0 new file mode 100644 index 00000000..bfed6dc9 --- /dev/null +++ b/strings/F7C884C8A0 @@ -0,0 +1,3 @@ +$F7 + INY + STY $C8 + LDY (immediate value does not match) + +Small piece of code manipulating screen-related variable. Similarity is very limited, there is nothing creative here - not copyrightable.