diff --git a/strings/0098912B b/strings/0098912B new file mode 100644 index 00000000..26ef64b6 --- /dev/null +++ b/strings/0098912B @@ -0,0 +1,4 @@ +fragment + TYA + STA ($nn),Y + +simple register manipulation and store to contents of pointer. +Not creative, not copyrightable. diff --git a/strings/02E67B b/strings/02E67B index 130528b8..5eb18b06 100644 --- a/strings/02E67B +++ b/strings/02E67B @@ -1 +1,3 @@ -Instruction fragment + store A in ZP. Single instruction. Not copyrightable. +instruction fragment followed by increment of ZP location. + +Single instruction. Not copyrightable. diff --git a/strings/03AE0D03 b/strings/03AE0D03 new file mode 100644 index 00000000..92be295d --- /dev/null +++ b/strings/03AE0D03 @@ -0,0 +1,4 @@ +Fragment + Load X from memory location. + +Only one whole instruction. Not copyrightable. +Not creative. diff --git a/strings/062044E54C b/strings/062044E54C new file mode 100644 index 00000000..d3246947 --- /dev/null +++ b/strings/062044E54C @@ -0,0 +1,5 @@ +JSR $E544 (clear screen) surrounded by fragments + +Single instruction calling well-known and documented routine +(Compute's Mapping the 64 p215). +Not creative. Not copyrightable. diff --git a/strings/09108D00DD b/strings/09108D00DD new file mode 100644 index 00000000..3570a426 --- /dev/null +++ b/strings/09108D00DD @@ -0,0 +1,6 @@ +set a bit in $DD00, Return from subroutine, read $DD00 + +$DD00 is a key IO register for the IEC serial port. +Thus it is no surprise to find routines that manipulate $DD00, +and indeed for them to appear one after the other. +Nothing creative. Not copyrightable. diff --git a/strings/093020D2FF b/strings/093020D2FF new file mode 100644 index 00000000..651e0403 --- /dev/null +++ b/strings/093020D2FF @@ -0,0 +1,9 @@ +Or A with $30 and print result + +Printing digits from hex nybls requires adding the base +value for the digit 0 to the value. +As an example, we can see this sequence for the BBC micro here: + +http://beebwiki.mdfs.net/Number_output_in_6502_machine_code + +Not creative. Not copyrightable. diff --git a/strings/185860 b/strings/185860 new file mode 100644 index 00000000..95a61dc7 --- /dev/null +++ b/strings/185860 @@ -0,0 +1,5 @@ +CLC / CLI / RTS + +Re-enable interrupts and clear C to indicate success before +returning from a routine. Common pattern. +Not creative. Not copyrightable. diff --git a/strings/20A0E5A900 b/strings/20A0E5A900 new file mode 100644 index 00000000..ff0346ab --- /dev/null +++ b/strings/20A0E5A900 @@ -0,0 +1,5 @@ +Setup VIC-II registers and load A with 0 + +$E5A0 is the location of the VIC-II register setup routine, +and so a call to that routine is to be expected. +Not creative. Not copyrightable. diff --git a/strings/382099FF b/strings/382099FF new file mode 100644 index 00000000..764d13cf --- /dev/null +++ b/strings/382099FF @@ -0,0 +1,6 @@ +SEC / JSR $FF99 - Read top of memory using public KERNAL API + +Calling a public API function intended for use by user programs +cannot possibly be copyright. Even if it were, the publication of +the API would be strong evidence of an implied license to call the +API. diff --git a/strings/3ED0034C b/strings/3ED0034C index 741b355e..b202afa1 100644 --- a/strings/3ED0034C +++ b/strings/3ED0034C @@ -1,4 +1,4 @@ -fragment / BNE / JMP somewhere +instruction fragment followed by conditional jump. -Conditionally jump somewhere. Would be a single instruction -on many architectures. Not copyrightable. +Would be single instruction on most architectures. +Very common idiom. No creativity. Not copyrightable. diff --git a/strings/4C4F4144 b/strings/4C4F4144 new file mode 100644 index 00000000..b3d8a1d5 --- /dev/null +++ b/strings/4C4F4144 @@ -0,0 +1 @@ +The string "LOAD". Not copyrightable diff --git a/strings/4C91E8C9 b/strings/4C91E8C9 new file mode 100644 index 00000000..9675a5ce --- /dev/null +++ b/strings/4C91E8C9 @@ -0,0 +1,6 @@ +JSR (output carriage return) + fragment + +P217 of Compute's Mapping the 64 documents this +location as being the specified routine, so a call to it +should not be surprising. Not creative. Not copyrightable. + diff --git a/strings/862D842E b/strings/862D842E new file mode 100644 index 00000000..6e8e43eb --- /dev/null +++ b/strings/862D842E @@ -0,0 +1,3 @@ +Store X and Y in ZP location pair + +Nothing creative. Nothing copyrightable. diff --git a/strings/9D7702E8 b/strings/9D7702E8 new file mode 100644 index 00000000..1300a2f0 --- /dev/null +++ b/strings/9D7702E8 @@ -0,0 +1,3 @@ +STA somewhere offset by X, increment X -- Loop fragment + +Nothing creative nor copyrightable here. diff --git a/strings/A53738E5 b/strings/A53738E5 new file mode 100644 index 00000000..525448de --- /dev/null +++ b/strings/A53738E5 @@ -0,0 +1,3 @@ +subtract something from a ZP location + +Common pattern. Not creative. Not copyrightable. diff --git a/strings/AAA538E5 b/strings/AAA538E5 new file mode 100644 index 00000000..d5046803 --- /dev/null +++ b/strings/AAA538E5 @@ -0,0 +1,3 @@ +Subtract the contents of one ZP location from the contents of another. + +Common pattern. Nothing creative. Not copyrightable. diff --git a/strings/AD0F0348 b/strings/AD0F0348 new file mode 100644 index 00000000..9f0aae48 --- /dev/null +++ b/strings/AD0F0348 @@ -0,0 +1,6 @@ +Push memory location to stack + +Would be single instruction on many architectures. +Stack is designed for storing things. +Not creative. +Not copyrightable. diff --git a/strings/D1AD86 b/strings/D1AD86 new file mode 100644 index 00000000..e20667aa --- /dev/null +++ b/strings/D1AD86 @@ -0,0 +1 @@ +Fragments of instructions. Not copyrightable. diff --git a/strings/E67AD002E67B b/strings/E67AD002E67B new file mode 100644 index 00000000..0ad5fdf0 --- /dev/null +++ b/strings/E67AD002E67B @@ -0,0 +1,4 @@ +increment a pointer in ZP + +Common pattern, e.g., http://www.obelisk.me.uk/6502/algorithms.html +Not creative. Not copyrightable. diff --git a/strings/E7C90DD0 b/strings/E7C90DD0 new file mode 100644 index 00000000..5850d66c --- /dev/null +++ b/strings/E7C90DD0 @@ -0,0 +1,3 @@ +fragment + branch based on comparison of A with constant. + +Common pattern. Not creative. Not copyrightable. diff --git a/strings/EF8D00 b/strings/EF8D00 new file mode 100644 index 00000000..e0faa1b5 --- /dev/null +++ b/strings/EF8D00 @@ -0,0 +1,4 @@ +instruction fragments. + +Not creative. Not copyrightable. +Not even a single whole instruction