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>
  • An intriguing question...Well, intriguing for me anyway. As we all know, when calling a Machine Code function from BASIC, we use the USR (address) function. But for this to …

    [quote]
    RANDOMIZE USR do nothing with it.
    [/quote]

    RANDOMIZE will set the value as seed for random numbers, in the appropiate system variable.
    Metalbrain Metalbrain June 2004 Development
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23. Any ideas on how to code …

    ... real crap)
    to rescale random values you can mask it ... 31) or multiply it (HL=random(0..255)*(max.value+1 ... time)

    making real random generator is true science.
    random-numbers.html"]http://www.saliu.com/random-numbers.html[/url]
    Fikee Fikee September 2004 Development
  • RZX for Sabre WulfI was just about to send an RZX for Sabre Wulf to the RZX Archive when I noticed they don't accept Ultimate's (and other companies' who haven't given…

    ... ? The seed used for the random function? Isn't that simply ... ROM function for getting pseudo-random numbers)? If so, it would be ...
    J?rg Pleumann J?rg Pleumann October 2004 Games
  • RZX for Sabre WulfI was just about to send an RZX for Sabre Wulf to the RZX Archive when I noticed they don't accept Ultimate's (and other companies' who haven't given…

    ... ROM function for getting pseudo-random numbers
    [/quote]

    Which ...
    Philip Kendall Philip Kendall October 2004 Games
  • RZX for Sabre WulfI was just about to send an RZX for Sabre Wulf to the RZX Archive when I noticed they don't accept Ultimate's (and other companies' who haven't given…

    ... ROM function for getting pseudo-random numbers
    [/quote]

    Which ...
    robert@fm robert@fm October 2004 Games
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    This is what I've compiled so far:

    [quote]Resources
    =========

    * Make all caps
    ---------------

    You can turn CAPS LOCK on or off using a simple poke to 23658:

    POKE 23658,8: REM CAPS ON
    ...
    na_th_an na_th_an April 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... />
    A function to generate random numbers between x and y (inclusive ... />
    This will generate a random number between 10 and 100 ...
    Arjun Arjun April 2005 Sinclair Basic
  • What do other nationalitieswho live abroad think of UKI would be interested to know what others think about UK, are we in US pockets is Tony Blair good or bad leader etc _________________ As featured i…

    ... looks like a bunch of random numbers! If you scroll up the ...
    Arjun Arjun May 2005 Chit chat
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    ... as a good source for random numbers, but I'll give it ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    ... as a good source for random numbers
    [/quote]

    That ...
    Philip Kendall Philip Kendall May 2005 Development
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    ... to come up with some random numbers and at the end of ... the conclusion that the numbers wouldn't be random (per se) if ... ... banged away and got these numbers, without using the thumbs as ...
    Skarpo Skarpo May 2005 Development
  • Emulator File types...SNA/TAP/TZX/Z80/ZXS All I knew about the Spectrum was how to play games on it, but since being introduced to pc emulations back in '97 I've always w…

    ... has consequences for pseudo-random number generators. Most programs ... would seed their random number generators using system ... a different sequence of random numbers generated each time so ... the same sequence of random numbers are generated each time ...
    Alcoholics Anonymous Alcoholics Anonymous January 2006 Emulators
  • Pseudo random numbersHi everybody, 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 very n…

    ... indeed any computer*) Random numbers are never truly random - they use an ... the "random" sequence of numbers generated by whichever random function you ... the same sequence of "random" numbers to be generated in ... the seed used in random number generation (I think ...
    icabod icabod April 2006 Sinclair Miscellaneous
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... more questions...

    1/ Random number generator: I've started ... quick succession, the numbers are obviously not very random at all.
    random numbers? I cannot decipher what William ...
    48K 48K May 2006 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... quick succession, the numbers are obviously not very random at all.
    random generator I converted
    ; them ... .

    ; 16-bit seed random generator
    ; ----------------------------
    ; Faster than ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Question about snapshot files....I've noticed that everytime I play "The Boss" (football management) it produces the same scores. I've played the first 5 games 3 or 4 times now and t…

    ... /> Computers cannot generate true random numbers; instead they must use pseudo ... get the same sequence of random numbers generated.

    random numbers but that would ... the same sequence of random numbers generated. This was ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Games
  • The Non Randomness of Sam BasicHows about this for weird. Hardly ever bothered with such simple stuff before but this is what I just did on the Sam ( as in a real one now I've got …

    ... factor of how BASIC generates random numbers?

    :smile:

    Hehe bet modern random number generators are just as ... non random :D[/QUOTE]

    I ...
    mjwilson mjwilson June 2007 Sinclair Basic
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... functions for converting numbers to strings, strings to numbers, generating random numbers, etc. There ... and lets you simply declare numbers with the basic interpretter automatically ... poking a value to a random memory location. This would happen ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... a pseudo random number generator; all pseudo random number generators ... actually calculate the next random number from the previous ... up will be a random value determined by how ... program generates different sequences of random numbers on every run.
    ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... score, creating the map, generating random numbers, etc. These are the first ... .h).

    u_binomial() generates random numbers that are binomially distributed. This ... have a uniform random number generator that can produce random numbers between 0 ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> int outcome[9];

    /// RANDOM NUMBERS

    uint u_rnd(uint ... graph of the distribution of random numbers generated by rand(). The following ... correlated sequences of random numbers generated are --a poor random number generator will ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... random number generator is not very good at generating uniformly distributed numbers ...
    :-?

    All pseudo-random number generators are uniform by ... you only generate a few numbers, they may not be ... it's supposed to give random numbers, ain't it?
    Metalbrain Metalbrain July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... , it's supposed to give random numbers, ain't it?[/QUOTE]
    random numbers. So, eg, the generator may ... each random number generated is highly correlated with bits in previous numbers ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... you probably know, the random numbers generated by computers are not ... "seed" value (the last random number generated). A consequence of ... exactly the same sequence of random numbers. In order to prevent ... will generate the same random number sequence while the ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Starting on machine code - BASIC first?Howdy. If I wanted to start learning machine code for the speccy, from scratch, would you recommend I learn BASIC first or is it entirely possible to…

    ... , but they are just (mostly) random numbers and you do not have ...
    Rickard Rickard November 2007 Development
  • Benchmark timeWell, the BASIC benchmark posted in Creative Computing back in the 80s came up as a topic on the AtariAge forums. The article is available online an…

    ... I don't think that random number test really determines ... correlation between bits on successive random numbers to measure the quality of ... uses to represent floating point numbers; the actual run would ... time, accuracy 0.000001 and random 13.8998. z88dk uses ...
    Alcoholics Anonymous Alcoholics Anonymous December 2007 Sinclair Basic
  • Benchmark timeWell, the BASIC benchmark posted in Creative Computing back in the 80s came up as a topic on the AtariAge forums. The article is available online an…

    ... between bits on successive random numbers to measure the quality ... uses to represent floating point numbers; the actual run would ... you found out, multiplying numbers directly was faster. Yes it ... turned in less than average numbers. Another less than optimal ...
    JamesD JamesD December 2007 Sinclair Basic
  • 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…

    ... from ROM to get their random numbers, presumably because they want to ... place

    [code]
    random ld hl,(23672)
    inc ...
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    ... wanted, say, 10 random numbers in a row you' ... d get 10 identical numbers as FRAMES will ... which should give better quality random numbers.

    Here ... better than the ROM for random number generation.
    < ... one for 16-bit random numbers and one for 8- ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Development
  • 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…

    ... more, one for 16-bit random numbers and one for 8-bit ... found to be not nearly random enough for this application, but ...
    Digital Prawn Digital Prawn March 2008 Development
<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