Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Functions
#6
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.
Code:
PRINT RND * 128
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). :?:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)