World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.009s
<1234567…34>
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... (x)))
    10 REM MARK RANDOM NUMBERS IN A ARRAY
    30 ... n
    112 REM PRINT RANDOM NUMBERS IN SETS OF 6
    Battle Bunny Battle Bunny July 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... (x)))
    10 REM MARK RANDOM NUMBERS IN A ARRAY
    30 ... n
    112 REM PRINT RANDOM NUMBERS IN SETS OF 6
    loonix loonix July 2011 Sinclair Basic
  • Games with best sound effects?I used the advanced search and couldn't find a topic dedicated to it. When I say "best" I mean not just sound effects that sound like what they're s…

    ... . By lowering the rate of random numbers you can effectively filter out ... into the noise (like a random high/low followed by a ...
    joefish joefish August 2011 Games
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... be written to generate pseudo-random number sequences, and that ... yields the same sequence of "random" output...

    ... 1 ) Takes two single byte numbers off the stack of data ... " for the Random number generator.
    4 ) Random numbers from our routine ...
    kgmcneil kgmcneil October 2011 Development
  • Classics ported or cloned on good ol' SpeccyHi, Spectrumists! I'm a fan of classic arcade games and I would like to know from you what do you think about ports or clones of such games on the S…

    ... of ROM (used to source random numbers) in page 3. During interrupt ...
    obo obo November 2011 Games
  • Canny use of the 'r' register?Seeing Sokurah's code in the [URL="http://www.worldofspectrum.org/forums/showthread.php?p=583188#post583188"]crunch sound thread[/URL] has made me th…

    Sometimes you can get away with using 'r' as a random number, the trouble is that it has a very limited range (0-127 or 128-255) and if you need random numbers often it can end up becoming rather predictable.
    AndyC AndyC November 2011 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... ; that's where the magic numbers always seem to come in ... quality of the streams of random numbers. So once you have a ...
    Patrik Rak Patrik Rak December 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... the code for generating the random numbers, I noticed that Patrik ... some interesting example code for random number generation that might ... exploring on the Xor-shift random number thread (check out ... to try inserting this new random generator into my example... ...
    kgmcneil kgmcneil December 2011 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... REM Display Counter, Random No(0-255), Random No(1-42)
    420 REM Error is Random No 42
    430 REM ... to run correctly and generates random number between 1 and 42 ...
    Paddy Coleman Paddy Coleman December 2011 Development
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... , you will get the same "random" numbers as result :).

    The ...
    Timmy Timmy January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... function doesn't create truly random numbers, they are from a ... which just appears to be random. The Randomize statement itself ... counter), effectively starting from a random part of the sequence. ... which plots pixels using the random number generator, after a ...
    Oktup Oktup January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... get a decent set of random numbers from RANDOMIZE/RND either. I ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... causal. Therefore there are no random numbers, and Wookie is wasting his ... continues to try to generate random numbers or not was pre-ordained ...
    ccowley ccowley January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    [QUOTE=ccowley;595301]It also means there's no free will either though, so whether or not Wookie continues to try to generate random numbers or not was pre-ordained at the moment the universe was created.[/QUOTE]
    Stoicism ahead! ;)
    Alessandro Grussu Alessandro Grussu January 2012 Sinclair Basic
  • How should an emulator handle being closed?A quick poll: what do you think an emulator [i]should[/i] do when it's closed and restarted? If you think the answer is "it should be configurable", …

    ... into FRAMES (to make BASIC random numbers more random).

    c. When ...
    ewgf ewgf January 2012 Emulators
  • Disable interrupts?Well, I've read the bits from the David Webb book about interrupt modes and (vaguely) appreciate the principles behind having a vector table, after r…

    ... />
    I'm generating some random numbers for the computer sprite movement ...
    Morkin Morkin February 2012 Development
  • Manic Miner ZX81Hi Guys, Can anyone explain why [url=http://www.worldofspectrum.org/infoseekid.cgi?id=0017539]Manic Miner ZX81[/url] is not able to reproduce the ex…

    ... 'characters' is a list of random numbers you have to hunt through ...
    joefish joefish March 2012 Sinclair Miscellaneous
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... throw away a quarter of "random" numbers, so why not to throw ...
    ub880d ub880d March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... Mame's AY emulation for random noise generation. I know this ... throw away a quarter of "random" numbers, so why not to throw ... the maximum length of unique numbers before they start repeating (we ...
    BloodBaz BloodBaz March 2012 Development
  • Deathchase improvementsI have spent the last couple of months bringing out an "enhanced" version of Deathchase which I called "Deathchase 2012". Unfortunately because it us…

    ... $6949)
    [*]The game uses random ROM data ($3CDD+) when drawing ... data ($0000-$07FF) to generate random numbers (routine at $6491).
    [/LIST ...
    Jimmy Jimmy April 2012 New game ideas
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... sure the bitstreams themselves are random - it doesn't care if ... I want successive 15-bit numbers independent of each other **.
    random numbers so I'd prefer to ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
  • Sound designer wantedAs you may or may not be aware, in a complete IP violation, and written up as a HOW-TO tutorial, I'm writing a pac-man clone. But I'm crap with soun…

    ... tool for playing around with random numbers in order to make something ...
    Gedlion Gedlion June 2012 Development
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... />
    [CODE] ld a,r ;random number
    and 31 ;make ... not tested!

    Your 'random' number is only as good ... others. For EFMB I generated random numbers in various ways, one of ...
    R-Tape R-Tape July 2012 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... moment. I normally just require random numbers 0-7, 0-15, or ...
    R-Tape R-Tape July 2012 Development
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…

    ... to make a table of random numbers beforehand (if they are called ...
    R-Tape R-Tape September 2012 Development
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…

    ... , there are times when weighted random numbers are very useful.
    jonathan jonathan September 2012 Development
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…

    ... , though - if you're generating random numbers in the same range each ... due to the way the numbers are rounded down. If your ... mechanism you use to map numbers 0-255 to the range ... means that some of your numbers are 20% less likely to ...
    gasman gasman September 2012 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... games usually need to generate random numbers frequently...
    Einar Saukas Einar Saukas September 2012 Development
  • RANDOMIZE USRI always thought that this particular basic command was not intuitive! If I understand correctly is means run the code from the memory address, is t…

    ... randomize implies the RAND function (random numbers), what should have it been ... BC register pair (Used by Random number generator), but you don ...
    LCD LCD February 2013 Sinclair Basic
  • RANDOMIZE USRI always thought that this particular basic command was not intuitive! If I understand correctly is means run the code from the memory address, is t…

    ... randomize implies the RAND function (random numbers), what should have it been ... />
    You can set the random generator with seed by giving ...
    Dr BEEP Dr BEEP February 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
random 6.6K 8.2K
numbers 5.6K 7.2K

Related Threads

  • random numbersCan you write a piece of code that gets you a truly random number from the Spectrum, or is it only capable of generating a pseudo-random number (ie. …
  • Pseudo random numbersHi everybody,<br /> I 'd like to convert a little program i wrote in VisualBasic6.0 to C or C++ to make it run faster and for training as i'm a very …
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…
  • Req' Help with Random numbersHello all, <br /> im new to the forum, i hope im putting this in the right place ...<br /> <br /> I would like to ask a question in the hope someone …
  • Random numbers...Hi Folks,<br /> <br /> I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then pro…
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ...<br /> <br /> I have been trying to write a simple ish basic program to compare rand…
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…
  • Wanted: Monty Mole and the random crushersA fairly good rip off of Jet Set Willy, this game suffers from one main weakness- the randomly falling crushers. You can be the best player in the wo…
  • Random Smiley FacesAs promised, here's the Syntax:<br /> <br /> ;Startup<br /> <br /> 5 CLS<br /> 7 PAPER 0: BORDER 0<br /> <br /> ;Graphics<br /> <br /> 10 FOR n=0 to …
  • Serial numbersHi,<br /> <br /> I have a 48k rubber key with the serial number D01-306635. Anyone know what the D is for? My other 48k models don't have it. I've ha…

Related Searches

  • random
  • serial numbers
  • 2 numbers in address
  • 2 numbers in address debugger
  • random assembly
  • spectaculator yellow numbers
  • random number code
  • 2 issue numbers
  • 2 issue board numbers
  • rutine random
  • random generated mapo
  • random generated map
  • random generated
  • sorting numbers
  • random z80
  • random crash with divide connected
  • prime numbers
  • prime numbers basic
  • random numbers
  • peek 23672 random numbers

Copyright © 2024 World of Spectrum