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 -4
View File
@@ -12,8 +12,7 @@
clall_real:
// Store .Y register
tya
pha
_phy
// Original routine probably just sets LDTND to 0, but this is not really safe,
// so we actually close all the channels; at least IDE64 does the same for
@@ -27,8 +26,7 @@ clall_real:
jmp !-
!:
// Restore .Y register
pla
tay
_ply
// 'C64 Programmers Reference Guide', page 281, claims it calls CLRCHN too
jsr CLRCHN