explained similarities >3

This commit is contained in:
FeralChild64 committed 2020-06-01 19:57:08 +02:00
1 parent 6a61d93a03
commit a87d6bd065
27 files changed
+81

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
$02 + LDA #$01 + RTS
End of subroutine putting $01 into accumulator + some part. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
ASL $6D + ROL $6C + ROL $6B + ROL $6A
Arithmetic shift left of 32-bit value. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
ASL $70 + ROL $65 + ROL $64 + ROL $63 + ROL $62
Arithmetic shift left of 40-bit value. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$06 + INC $A1 + BNE (offset does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$26 + STA $62 + LDA (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$26 + LDA #$00 + STA (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$28 + STA $29 + LDA (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$2C + LDA #$02 + BIT (to skip 2 bytes) + LDA (value does not match)
Part of the common 6502 trick to set accumulator value depending on jump address. Not creative - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
SEC + SBC $61 + STA (zeropage address does not match)
Small piece of code subtracting two values. Trivial -not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
JMP $B867 + JSR (address does not match)
Jump to a well-known routine + some part. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
JMP $B86A + JSR (address does not match)
Jump to a well-known routine + some part. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$61 + BEQ (offset matches) + LDA $66
Conditional jump + retrieving zeropage variable + part of one more instruction. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
ROR $63 + ROR $64 + ROR $65
Rotating right a multi-byte value. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$6B + STA $6D + LDA (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$70 + RTS + LDA $61 + BEQ (offset does not match)
Jump depending whether zeropage variable is 0 or not + some small part (return + a byte) of previous routine. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
STA $26 + STA $27 + STA $28 + STA $29
Part of code clearing 32-bit value. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$A4 + JSR $FFD2
Call of a documented routine + some part. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $27 + STA $63 + LDA (zeropage address does not match)
Part of code copying one floating point value to anotheer one. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $28 + STA $64 + LDA (zeropage address does not match)
Part of code copying one floating point value to anotheer one. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $29 + STA $65
Part of code copying one floating point value to anotheer one. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $61 + BEQ (offset matches)
Jump depending whether zeropage variable is 0 or not. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $69 + BNE (skip the JMP) + JMP (address does not match)
Far jump (address does not match) depending whether zeropage variable is 0 or not. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$B7 + LDY #$00 + LDA (...), Y (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$E0 + LDA #$00 + STA (zeropage address does not match)
Instruction + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$E2 + JSR $FFC0 + BCS (offset does not match)
Call of a documented routine + some parts. Trivial - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
BEQ (offset matches) + LDA $66 + EOR #$FF + STA $66 + RTS + floating point constant 1.0 / log_e(2.0)
Most of a trivial routine to toggle floating point variable sign + floating point constant (generated by a special tool). The addresses has to remain as they are for compatibility. Not creative - not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
$FF + JSR $EEBB
Instruction + some part. Trivial - not copyrightable.