Terry Yager
Veteran Member
Yeah, I thought that might be the case, too. The Sinclair & Amstrad (CP/M) versions of BBC are available at the link I posted above, as well as a plain-vanilla CP/M version.carlsson said:In the case of Z88, I think the answer is BBC Basic, which is known to be really quick and elegant on both 6502 and Z80 implementations. There is a Sinclair Spectrum implementation of BBC Basic too, I think, but I don't know if it is freely distributable and how common it is.
I can try the prime numbers on some computers/emulators when I get home. The most interesting part with the Kilobaud benchmarks is to see how time differs between each benchmark, and which factors slow down more than others. In almost all cases except Sinclair Basic, using numeric constants is slower than using variables.
That makes sense, since a variable has to be re-calculated each time it is used, but a constant is always "known" to the program. (I wonder if numeric variables take longer than strings, since string variables only have to be stored and read when needed?)
--T