I'm working on a game in asm but ran into a problem. When using the B_CALL(_Random), I have to do a bunch of floating point arithmetic and the calculator uses too many cycles to run at a decent speed.
I only need a random Boolean value, yes or no. And I need a routine to do this quickly. I figured I could just use the calculator's built in array of pseudo random numbers, see if a single digit is odd or even, and then advance my seed pointer. But I can't find anything on the internet that tells at what index this is located at and I don't know what to look for in the .inc file.
Does anyone know where it is? Or do you know of another fast way to generate random bits? Thanks.