To get a random number between 0 and 18 I use the following routine :
BOM LDA RANDOM
STA TMP2 ;holds the random numer between 0 - 18
CLC
ADC #237
BCS BOM
But this consumes way too much time because most of the times the random numer is too high...
Could somebody show me the right way to do this ?
Thanks !
- AtariAge Forums
- → Viewing Profile: Topics: Thelen




Send me a message
Find content
Male
