6502 Advanced BASIC

Hated_moron
edited December 2024 in General BBC BASIC
I had assumed that 6502 Advanced BASIC was substantially compatible with ARM BASIC V, but I discovered today - if the Help file can be believed anyway - that it doesn't support the whole array operations. Since they are arguably some of the most important features of BASIC 5 this is a major limitation.

I assume, but don't know for sure, that this omission includes everything listed below. Can anybody confirm whether this is indeed the case?
  • Pass a whole array to a FN/PROC
  • Whole array assignment
  • Whole array arithmetic
  • Array dot-product operator
  • Array initialisation lists
  • Array compound assignment (+= etc.)
  • Make a whole array LOCAL
  • DIM a LOCAL array (on the stack)
Incidentally I can't find any explicit reference in the 6502 Advanced BASIC help file to the compound assignment operators +=, -= etc. working with ordinary scalar variables. Neither is there any mention of the bit-shift operators <<, >> and >>> nor binary constants %10101010.

Are these really missing too?

Comments

  • Jonathan Harston has a copy on his MDFS site here https://mdfs.net/Software/BBCBasic/BBC/AdvBasic/ as a DFS disc image, if you feel like having a play. BeebEm should be able to run it, with a 6502 Tube enabled (and possibly BBC Master mode so you have sideways RAM). I have it on my Master but I'm away from home over Christmas and New Year.