more work on reducing residual similarity with C64 KERNAL

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-24 15:31:36 +09:30
1 parent 18b862cce5
commit ddbb673682
11 files changed
+55 -13

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
Fragment + STA $028D
Only one whole instruction here. Nothing creative or copyrightable.
+5
View File
@@ -0,0 +1,5 @@
ORA $028D / STA $028D
This sequence of ORA + STA on a location is the simplest way to
perform a logical OR of the contents of the A register and a memory
location. Nothing creative or copyrightable.
+6
View File
@@ -0,0 +1,6 @@
Most likely LDA $0288 / STA $D2 - Set upper half of screen RAM address
$0288 is publicly documented as the location where screen RAM lives.
$D1/$D2 is the current pointer to screen memory. This is the simplest
way to set this. Also, copying one memory location to another is not
copyrightable.
+4
View File
@@ -0,0 +1,4 @@
STA $D1 / LDA $F3 / STA $D2 - manipulate screen pointers
$D1 = screen RAM pointer
$F3 = colour RAM pointer
+5
View File
@@ -0,0 +1,5 @@
$00 -> $028D
Simplest way to achieve this effect. Zeroing the contents
of a memory location is not copyrightable.
+5
View File
@@ -0,0 +1,5 @@
$nn -> $nnnn
Byte sequence is whole or part of instruction sequence
to store a specific value in a specific memory location.
Nothing creative or copyrightable.
+5
View File
@@ -0,0 +1,5 @@
LDA #$20 / STA ($D1),Y - Write a space onto screen memory
No simpler sequence for this. There are many functional requirements
that require writing space characters to the screen. Not copyrightable.
No creativity.
+4
View File
@@ -0,0 +1,4 @@
LDA $D018 / EOR #$02 / STA $D018
This is the shortest simplest sequence to toggle bit 1 in
$D018. No creativitity. Not copyrightable.
+3
View File
@@ -0,0 +1,3 @@
LDA $0286 / STA $F3
Copying a byte from one memory location to another is not copyrightable.