document many more cooincidental similarities with C64 ROMs

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-07 12:17:52 +09:30
1 parent 1bcdf6b738
commit 61b69ddf3d
46 files changed
+224

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
CLC / RTS / JSR $xxxx
CLC / RTS the obvious and simplest way to clear the carry flag
when returing from a routine. Many of the routines in the C64 KERNAL
public API indicate that they use the carry flag to indicate success
or failure, hence how often it shows up in the C64 KERNAL itself.
That a JSR instruction happens to be the first instruction in whatever
follows actually highly likely through chance, since several percent
of all instructions in a typical 6502 program are JSR instructions.
Not copyrightable.