You must have been very proficient, my understanding is the Elite code was particularly optimised.
I tried 6502 on the beeb but really found it a slog.
I tried 6502 on the beeb but really found it a slog.
I recommend everyone should read some well optimised code occasionally, and figure out how it works, to see how it's done.
I didn't know much in the way of assembler techniques before reading the Elite code. For example I didn't even know how to do things like multiply or square root, or draw lines efficiently. That's where I learned those things.
It did take quite a lot of studying the printout to get it. So many "aha! that's how they do it" moments.
I do remember seeing this in 68K.
Lots more info here:
https://www.bbcelite.com/explore/articles/deep_dive_pitching...