deal with remaining similar strings
This commit is contained in:
1 parent
2a21f4d367
commit
e7b1b22eb0
16 files changed
+63
No files matched your search
@@ -152,6 +152,7 @@ int main(int argc,char **argv)
|
|||||||
// Similarly for random byte before such instructions
|
// Similarly for random byte before such instructions
|
||||||
if (f1[i+1]==0x85) break;
|
if (f1[i+1]==0x85) break;
|
||||||
if (f1[i+1]==0xa9) break; // LDA #$xx
|
if (f1[i+1]==0xa9) break; // LDA #$xx
|
||||||
|
if (f1[i+1]==0xa2) break; // LDX $xx
|
||||||
if (f1[i+1]==0xa5) break; // LDA $xx
|
if (f1[i+1]==0xa5) break; // LDA $xx
|
||||||
if (f1[i+1]==0xa0) break; // LDY #$xx
|
if (f1[i+1]==0xa0) break; // LDY #$xx
|
||||||
if (f1[i+1]==0x69) break; // ADC #$xx
|
if (f1[i+1]==0x69) break; // ADC #$xx
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
fragment / PLA / PLA
|
||||||
|
|
||||||
|
2x PLA is a common way to pop a return address from the stack.
|
||||||
|
Nothing copyrightable here.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fragment / STA $0277,X / INX
|
||||||
|
|
||||||
|
loop fragment. Not copyrightable.
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
JSR $FFCF / branch based on C flag
|
||||||
|
|
||||||
|
$FFCF is a publically documented call point in the C64 KERNAL,
|
||||||
|
and indicates its response via the C flag, so such constructions
|
||||||
|
in callers are totally expected and anticipated normal use of the
|
||||||
|
API. Since using an API is an expected use of a system, it can
|
||||||
|
be argued that there is an implicit license to do such things, in
|
||||||
|
the non-existent reality where such a sequence could be copyrighted.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
PHA / TXA / PHA
|
||||||
|
|
||||||
|
Save A and X registers to stack.
|
||||||
|
Nothing creative or copyrightable here.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
PLA / TAX / PLA
|
||||||
|
|
||||||
|
Pop A and X registers from the stack.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
ADC #40 / STA $D3
|
||||||
|
|
||||||
|
Add 40 to a memory location. Single instruction on many architectures.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
TXA / PHA / LDA $D0 / BRANCH somewhere
|
||||||
|
|
||||||
|
Save X register before loading A and branching somewhere.
|
||||||
|
Nothing copyrightable here.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
LDY $D3 / LDA ($D1),Y / STA $xx
|
||||||
|
|
||||||
|
Derefernce a pointer in ZP and store retreived value somewhere.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
LDA $D8 / BEQ <skip 2 byte instruction>
|
||||||
|
|
||||||
|
Take a branch based on contents of a ZP location.
|
||||||
|
Not creative or copyrightable.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
DEX / BRANCH backwards / RTS
|
||||||
|
|
||||||
|
Loop fragment. Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
Fragment / RTS / JSR
|
||||||
|
|
||||||
|
A routine ends, and another starts with a JSR. Very common.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
INC $D3 / JSR somewhere
|
||||||
|
|
||||||
|
Only one whole instruction.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
fragment / DEC $D6
|
||||||
|
|
||||||
|
Only a single complete instruction.
|
||||||
|
Not copyrightable.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
fragment / SEC / SBC #$xx
|
||||||
|
|
||||||
|
Set carry before subtracting. This is normal procedure.
|
||||||
|
Nothing copyrightable or creative here.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
fragment / INY / STY $C8
|
||||||
|
|
||||||
|
increment Y and store somewhere.
|
||||||
|
Not copyrightagble.
|
||||||
Reference in new issue
Block a user