Kelvin Sherlock
e0e0bce92d
add comment about generation time.
2019-08-10 17:01:51 -04:00
Kelvin Sherlock
67805de910
use y register to save character
...
tay+tya is 4 cycles/2 bytes.
lda (dp),y is 7 cycles/2 bytes
2019-08-09 22:29:31 -04:00
Kelvin Sherlock
f1b2db8e0b
add dummy segment, cleanup label cleanup
2019-08-09 21:52:23 -04:00
Kelvin Sherlock
3101873578
only do masking if case-insensitive
2019-08-09 19:08:29 -04:00
Kelvin Sherlock
ea0ad78225
remove old code
2019-08-09 19:08:14 -04:00
Kelvin Sherlock
cb4c2bc541
include full string as comment with return value.
2019-08-09 18:56:58 -04:00
Kelvin Sherlock
07cad750c9
improved lowercase matching algorithm.
...
only ora #$20 IF the target character is lowercase. order the comparisons so accumulator can be successively modified.
worst case, 2 loads are needed per word
"##" -> load, no ora
"A#" -> ora $0020
"#A" -> reload, ora #$2000
"AA" -> ora $#2020
2019-08-09 18:52:20 -04:00
Kelvin Sherlock
67a7107142
v2
2019-08-09 18:28:32 -04:00