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>
  • Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…

    [QUOTE=48K;715459]the only way I can see to calculate the cut fragment lengths requires to first reorder the random numbers first.[/QUOTE]

    You don't need to reorder them, just to find the minimum of them.
    Einar Saukas Einar Saukas August 2013 Sinclair Basic
  • MC LPRINT 23681Having problems with this routine to print large on the screen using LPRINT, it works ok in BASIC, but cant seem to get it to loop for some reason in…

    ... the colours are not very random either!
    [/QUOTE]
    ...
    The not-very-random colours probably comes from masking ... my head, some choices for random numbers:

    1) ... /> cols: ld hl,22816 ;random colours
    ld b,159 ...
    u6c87 u6c87 September 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ... () worked too - for the few random numbers I tried it with, at ...
    szeliga szeliga December 2013 Development
  • Deterministic random number generatorI'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a …

    ... it only generates 8-bit numbers (again a plus if that ... you want!). If you want random numbers larger than 8-bit you ... degrades the quality of the random numbers generated.

    I ... RAND_MAX = 32767
    ;
    ; This random number generator is a 32 ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... />
    ps. I hope your random numbers are the same for each ...
    seedy1812 seedy1812 May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... /> ps. I hope your random numbers are the same for each ... resides uses a different random number generator so ... a different sequence of random numbers. That's why I ... set was large -- 5000 numbers, so that differences in ... a large set of numbers will still give ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... of finding the actual median, random pivot selection might be the ... -recursive" qsort. Sorting of 5k random numbers only uses about 56 bytes ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... partitions. For sorting 5000 random numbers and using the middle ... br />
    5000 Random numbers
    Random pivot: 53,737,251 ...
    5000 numbers in reverse order
    Random pivot: 52,298 ...
    5000 equal numbers
    Random pivot: 7,175,390,775 ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... for partitions:

    5000 Random Numbers:

    middle no insertion ... in order followed by 100 random swaps
    middle, no insertion ... :D )

    * qsort with random pivot

    * apply insertion ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... and follow the guidelines for random numbers, integers etc then you'll ... done.

    When using random numbers for directions I used a ... the list to give a random movement for nasties and other ...
    MatGubbins MatGubbins June 2014 Sinclair Basic
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... will do the same for random numbers, eventually. C++ now has a ... means to select a random number generator and shaper to ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... not easy to get a random number between arbitrary values from ... way, of course. Adding multiple random numbers together always converges to normal ... it. Simply sum 2^k random numbers, then shift the result k ...
    Patrik Rak Patrik Rak September 2014 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... way, of course. Adding multiple random numbers together always converges to normal ... it. Simply sum 2^k random numbers, then shift the result k ...
    Paddy Coleman Paddy Coleman September 2014 Development
  • Trying to remember a film!Hello folks! Trying to remember the title of a film I saw quite a few (10+) years ago on telly. I don't know why but it's stuck in my mind and I'd l…

    ... putting him off by shouting random numbers. I wished he just punched ...
    Vampyre Vampyre October 2014 Chit chat
  • Trying to remember a film!Hello folks! Trying to remember the title of a film I saw quite a few (10+) years ago on telly. I don't know why but it's stuck in my mind and I'd l…

    ... putting him off by shouting random numbers. I wished he just punched ...
    Maroc's Other Projection Maroc's Other Projection October 2014 Chit chat
  • What is the Sinclair ZX Spectrum Vega and what does it mean?Just stumbled upon this Indiegogo page following a tweet from SpeccyNews [url]https://www.indiegogo.com/projects/sinclair-zx-spectrum-vega[/url] it…

    ... device capable of generating pseudo random numbers with some additions, and synthetise ...
    mcleod_ideafix mcleod_ideafix December 2014 Sinclair Miscellaneous
  • RANDOMIZE - still not sure what it does...Whenever I wish a random number I use RND like: 10 LET a=RND*100 20 PRINT a 30 GO TO 0 and "a" will truly be random. But if is do the following: …

    Random numbers on a speccy (read: computers) ... because the numbers aren't generated in a truly random fashion but ... every time the sequence of numbers changes.

    Thus, in ... /zxmanchap11.html"]chapter[/URL] on Random numbers in the Spectrum manual.
    Arjun Arjun January 2015 Sinclair Basic
  • Random object placementI'm looking for some advice on placing objects randomly in a game. I have a routine that reads a table and prints the corresponding object: 0 prints…

    ... doesn't always fetch two random numbers. There is nothing wrong with ...
    Patrik Rak Patrik Rak February 2015 Development
  • New Demake: Super 48k BoxNew game to kick off the weekend... a demake of Super Crate Box by Vlambeer.&nbsp; This is not connected, affiliated (i.e. they don't know shhhh!) wi…

    ... - we've stopped believing in random numbers, that speccy was trolling us ...
    andrewvanbeck andrewvanbeck May 2015 Brand new software
  • Procedurally generated levelsThere seems to be a myth roaming the internet that Spelunky was the first game to use procedurally generated levels. I'm pretty sure there are ear…

    ... the 'random' numbers in a computer are really just 'pseudo-random'. They ... exactly the same sequence of numbers coming out. So you ... make sure that a 'random' sequence of numbers is actually repeatable. If ... , are happy to repeat numbers and thus can have much ...
    joefish joefish June 2015 Chit chat
  • maths help 'JSW'JET SET WILLY uses a lookup table to play the opening tune (Moonlight Sonata) this is the table [code] 34299 DEFB 81,60,51,81,60,51,81,60,51,81,…

    ... then just started plugging in random numbers until they produced roughly the ...
    Zoep Zoep August 2015 Sinclair Basic
  • Mr. Jido makes some noiseA little something to analyse and discuss for you. [code] ORG 60000 ; RND Generator: RND LD HL,EARTH LD A,(WIND) ADD A,L LD …

    This is a Random Number Generator together with an ... first results. They are not random enough. To get the idea ... one needs to have 256 Random Numbers fast. Code can generate them ...
    Andy Schraepel Andy Schraepel December 2015 Development
  • Original specy game that can be a big hit on mobile nowThere are old games with very good gameplay. Some of them are big hit on mobile gaming, for example: Frogger / Crossy Road. Is there original specy …

    ... well, but I felt the random numbers were off in the version ...
    Pobbit Pobbit February 2016 Games
  • Help! I'm learning Machine Code...Having decided to take the plunge and learn to machine code a while ago, I have started in earnest using the much recommended 'Mastering Machine Code…

    ... 40000 and there are mostly random numbers with some small differences, but ...
    namtip namtip March 2016 Development
  • Usbourne books available for downloadDunno if this has been noticed here before, but you can now download the generally awful Usbourne programming books for free: http://www.usborne.c…

    ... rubbish and based around guessing random numbers, and were limited around trying ...
    PrimitivePerson PrimitivePerson March 2016 Development
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    ... of the links said that random numbers are in the ROM at ... Most people write their own random number generator rather than relying ... Obviously this isn't especially random, since it reads values from ... runs, the results will be random enough for most purposes. ...
    GReW GReW November 2016 Assembler
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    The only random number generator in a digital ... a seed for a pseudo-random number generator.

    Unless ... can help generate some nice random numbers. Or amplifying white noise from ...
    1024MAK 1024MAK November 2016 Assembler
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    I always thought there was a midget goblin inside called Modnar that handed out random numbers, ;)
    polomint polomint November 2016 Assembler
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    ... used wise, or your numbers never will be random. ;)
    [/quote]< ... also not normally generating one random number per frame - you' ... code that seems to generate random patterns might be 'good enough ... on how often you need random numbers and which bits you're ...
    Alcoholics Anonymous Alcoholics Anonymous November 2016 Assembler
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    ... arguing between a good quality random number generator and a bad ... code that seems to generate random patterns might be 'good enough ... on how often you need random numbers and which bits you're ... as filling the screen with random attributes or changing the colors ...
    Hikaru Hikaru November 2016 Assembler
<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