tom-seddon / acorn_mos_disassembly

WIP disassembly of Acorn MOS, operating system for Acorn's 8-bit Master series
8 stars 0 forks source link

OSWRCH improvement ideas #40

Open tom-seddon opened 5 months ago

tom-seddon commented 5 months ago

Squeeze out a bit more speed in the common case. In my quick test of LISTing a 200-odd line BASIC program, the LIST took 0.95 the time. Insert before this line: https://github.com/tom-seddon/acorn_mos_disassembly/blob/1bcd69d1eb9f590962e3e492eb79666dfa7942d2/src/mos.s65#L8371

                ; Early out when doing VDU output only.
                lda characterDestinationStatus
                beq LE8A5
tom-seddon commented 5 months ago

jsr selectMOS in MOS 3.50 here that could be inlined (as per MOS 3.20): https://github.com/tom-seddon/acorn_mos_disassembly/blob/1bcd69d1eb9f590962e3e492eb79666dfa7942d2/src/mos.s65#L8353

tom-seddon commented 5 months ago

Some pointless-looking code here: https://github.com/tom-seddon/acorn_mos_disassembly/blob/1bcd69d1eb9f590962e3e492eb79666dfa7942d2/src/mos.s65#L266