mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 23:18:05 +11:00
feeedcc55c
I had more ambitious goals, but I backed out of it: not worth it. This small optimization is an easy picking though.
15 lines
352 B
Plaintext
15 lines
352 B
Plaintext
L3 BSET PC ORG @ 0x34 + ! ( execute. DE -> wordref )
|
|
( We don't apply BIN( reliably on stable ABI stuff, we
|
|
might need to adjust addr. Ugly, but well... )
|
|
BIN( @ [IF]
|
|
A XORr, D ORr, IFZ, D BIN( @ 256 / LDrn, THEN,
|
|
[THEN]
|
|
LDA(DE),
|
|
L A LDrr,
|
|
H BIN( @ 256 / LDrn,
|
|
DE INCss,
|
|
( DE points to PFA )
|
|
JP(HL),
|
|
|
|
|