06-20-2012, 07:01 AM
RND was made float to be 100% compatible with Sinclair BASIC. In fact, much of it slowness comes from multiplying with another float number. E.g.
Not only generates an RND float number (0, 1), but also multiplies it by another float, 128. Thus much slower than the others.
I think it could be possible to put your routine in the library while taking the code fron rnd.asm (which already contains the random bit generator you use here). :?:
Code:
PRINT RND * 128
I think it could be possible to put your routine in the library while taking the code fron rnd.asm (which already contains the random bit generator you use here). :?: