diff --git a/bin/basic_generic.rom b/bin/basic_generic.rom index 318870c5..5adcd38c 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 63333a93..d39223eb 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 ba80d3f4..d03026e6 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 972dd4a6..5cf03a31 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 f66e3b19..4db16e98 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 cd7b5002..cd8e33aa 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 1cc28398..63418690 100644 Binary files a/bin/mega65.rom and b/bin/mega65.rom differ 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.