▲ | Someone 3 days ago | |||||||||||||||||||||||||
The ARM1 ran at 6MHz, three times as fast as the 6502 in the BBC B. It also had more (16 user registers vs, counting optimistically, 3) and larger (32 bit vs 8bit) registers, compared to the 8 bit registers of the 6502, and a 3-stage pipeline. I expect that means the BASIC interpreter kept the current program position in a register, where the 6502 one used memory (likely in self modifying code), and could fetch the next token in a single cycle vs at least 5 or so for the 6502 version. Having a faster CPU and more memory also may have meant they could be smarter in the way programs get stored. I guess all that combined means there are programs were that goal can be met, for example programs computing a Mandelbrot image. ARM2 added a hardware multiplier. | ||||||||||||||||||||||||||
▲ | JdeBP 3 days ago | parent | next [-] | |||||||||||||||||||||||||
There was no self-modifying code. BBC BASIC was in ROM. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | klelatti 3 days ago | parent | prev [-] | |||||||||||||||||||||||||
The interpreter is doing a lot that you’ve not mentioned here; parsing the BASIC source code for example. | ||||||||||||||||||||||||||
|