4 ms·
Some good discussion of that on The BBC BASIC wiki entry: https://en.wikipedia.org/wiki/BBC_BASIC https://en.wikipedia.org/wiki/BBC_BASIC (paragraph beginning "
by KerrAvon 3y ago
Some good discussion of that on The BBC BASIC wiki entry: https://en.wikipedia.org/wiki/BBC_BASIC https://en.wikipedia.org/wiki/BBC_BASIC (paragraph beginning "Due to a number of optimizations[…]".
- crimbles 3y agoAlso you could swap out hot spots with assembly trivially as it had an inline assembler. And you had indirect pointers in it!
- mavhc 3y agoThe OP's code has REM based assembly it in to save space
- kragen 3y agois that assembly or is that the dithering table
- alphabetter 3y agoYes, the REM is the lookup table used in line 70. Because BBC Basic had a built-in assembler it was pretty uncommon for BBC programs to inline machine code as raw data (unlike some other computers from BITD).
- londons_explore 3y agojust a table of constants.