small 65C02 optimizations in many places

This commit is contained in:
FeralChild64 committed 2019-10-10 19:45:40 +02:00
1 parent 3e5c80bbf1
commit ce8c84a20c
22 files changed
+103 -159

No files matched your search

+2 -14
View File
@@ -98,15 +98,9 @@ list_not_quote:
// Display a token
// Save registers
#if CONFIG_CPU_MOS_6502
tax
pha
tya
pha
#else
phx
phy
#endif
_phy
// Get pointer to compressed keyword list
lda #<packed_keywords
@@ -124,13 +118,7 @@ list_not_quote:
ldy #$ff
jsr packed_word_search
#if CONFIG_CPU_MOS_6502
pla
tay
#else
ply
#endif
_ply
pla
cmp #$8f