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.003s
<1234567…34>
  • Randomize usrHi, I've often wondered why/how they came up with RANDOMIZE USR <memory address> to invoke machine code couldn't they have used a better keyword (e…

    ... a routine without upsetting the RANDOMIZE seed, PRINTing anything or changing the ...
    chev chev December 2009 Sinclair Basic
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... just need to store the seed to reproduce the sequence of ... num shuffles
    10 let seed=1234 : rem.. or use a ... , result is x.
    1000 randomize seed
    1005 let x=n ...
    i love the z80s i love the z80s December 2018 Sinclair Basic
  • Randomize USR xxxxxA weird topic: When I was a kid I use to mess around with the RANDOMIZE USR xxxxx, sad I know!!! For instance RANDOMIZE USR 51234 would give me a loa…

    ... to mess around with the RANDOMIZE USR xxxxx, sad I know ... !!!
    For instance RANDOMIZE USR 51234 would give me ...
    Anonymous Anonymous June 2002 Sinclair Miscellaneous
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects? As a start, try anything from RANDOMIZE USR 1216 to RANDOM…

    ... store of useful POKES, or RANDOMIZE USR statements with interesting effects ... start, try anything from RANDOMIZE USR 1216 to RANDOMIZE USR 1327. This ...
    The Mighty Dopethrone The Mighty Dopethrone October 2003 Sinclair Miscellaneous
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... 23672)
    ld (seed),hl ; RANDOMIZE equivalent
    ld a ... n-1
    ld hl,(seed) ; fetch RND pointer
    ld (seed),hl ; store next RND ... A holds RND value
    seed defw 0
    [/code ...
    Dr BEEP Dr BEEP August 2005 Development
  • Those RANDOMIZE USR lines that look like tape loading...I often see on here people mentioning those RANDOMIZE USR lines which when entered, seem to simulate a tape loading, with the colours and lines in th…

    ... on here people mentioning those RANDOMIZE USR lines which when entered ... I first ever found was RANDOMIZE USR 1280 which shows blue ...
    alexsut alexsut April 2007 Sinclair Miscellaneous
  • Suggestion: A new (and simple but good) feature for emulatorsOne slight but real problem with emulators is that when you load a tape file (.tzx/.tap) then the randomise seed system variables are always set to z…

    ... (.tzx/.tap) then the randomise seed system variables are always set ... game that uses the random seed (or any other) system ... issued/emulated, then the random seed system variables could be set ... $ " " then goto 3
    4 RANDOMIZE

    which solved the ...
    ewgf ewgf August 2008 Emulators
  • Randomize usrHi, I've often wondered why/how they came up with RANDOMIZE USR <memory address> to invoke machine code couldn't they have used a better keyword (e…

    ... they came up with
    RANDOMIZE USR to invoke machine code ...
    so what does the RANDOMIZE in front do ?

    All I know about RANDOMIZE is regarding random number sequence ...
    saiwong saiwong December 2009 Sinclair Basic
  • More on Randomize commandI always used to use randomize xxxxx then peek 23670 and 23671 to turn a 16 bit number into 2 8 bit numbers but only noticed yesterday that randomize…

    I always used to use randomize xxxxx then peek 23670 and 23671 to turn a 16 bit number into 2 8 bit numbers but only noticed yesterday that randomize 0 appears to do nothing. anyone know if this does anything?
    nuggetreggae nuggetreggae December 2009 Sinclair Basic
  • Random numbers...Hi Folks, I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then proceed to gene…

    ... numbers. If I have the RANDOMIZE statement the beginning of a ... generate random numbers from that seed I should get a pseudo ... should I really have a RANDOMIZE within my loop?

    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... /> NEXT s: INPUT ""
    9995 RANDOMIZE ap: LET bc=l+USR ...
    Battle Bunny Battle Bunny September 2011 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…

    ... right?

    The term randomize implies the RAND function (random ...
    Van_Dammesque Van_Dammesque February 2013 Sinclair Basic
  • Can anyone explain this result?This little sub-routine isn't always doing what it's supposed to; ie. transfer the value from SEED to VARS. Can anyone explain why? I've put in the P…

    ... ; ie. transfer the value from SEED to VARS. Can anyone explain ... "23627",PEEK VAL "23628":
    RANDOMIZE: RETURN

    a typical ... PEEK 23627,PEEK 23628:
    RANDOMIZE: RETURN
    [/code]
    The ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • 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: …

    ... the following:

    5 RANDOMIZE
    10 LET a=RND ... to 97...

    If RANDOMIZE is followed by a number ... , like

    5 RANDOMIZE number
    10 LET a ... please explain to me what RANDOMIZE actually does? Thank you!
    princm princm January 2015 Sinclair Basic
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... wondering why is it called RANDOMIZE UsR what does randomising have ... from adress x you type RANDOMIZE USR x. Why not RUN ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • 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 …

    ... at the upper screen
    RANDOMIZE USR will display at the ... /> RANDOMIZE USR will do something however. It sets the SYSTEMVARIABLE SEED with ...
    Dr BEEP Dr BEEP June 2004 Development
  • 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
  • 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
  • Pocket Clive - 2 QuestionsHello, I've just started using Pocket Clive on my iPaq pocket PC, excellent emulator BTW. 1. I have just wrote a small BASIC program to randomly pi…

    ... br /> Q. How does the randomize routine work?

    ... variable SEED.
    Otherwise, the parameter supplied to RANDOMIZE is ... copied ito SEED.

    RANDOMIZE statement with no parameters ...
    Digital Prawn Digital Prawn December 2005 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…

    ... must initially be "seeded". The seed is the starting value of ... need to ensure that the seed is the same.

    RANDOMIZE" is used to set the seed used in random ... generator is to base the seed on some value of the ...
    icabod icabod April 2006 Sinclair Miscellaneous
  • Sinclair Basic Vs PascalWith the rise of the structured programming movement (Jackson et al) was it wise to put the Basic programming language into the Spectrum. By this ti…

    ... 16 bit integer:

    RANDOMIZE 33333 or whatever

    PEEK system variable for SEED (random gen)
    PEEK (above ...
    piters piters September 2006 Sinclair Miscellaneous
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... is the RANDOMIZE command which, on its own, sets the SEED for ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • 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 …

    You will, I think the seed starts at a fixed value at power up. You need to RANDOMIZE to get it to do anything else.
    Winston Winston 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…

    ... something to randomize the pseudo-random number generator's seed value. As ... over again we try to randomize the seed value using a true ... started and communicating the same seed value to all machines on ... want to constantly increase the seed value while the game ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Random variablesI made some programs in BASIC and saved into z80 files and I realized that they have some problems with ramdom variables. For example, I programmed …

    RANDOMIZE

    When the word ... SEED as said in previous post isn't altered. By using RANDOMIZE ... the timer is set to the SEED-variable giving ... .

    Solution:
    place RANDOMIZE after starting (which by the ...
    Dr BEEP Dr BEEP December 2007 Sinclair Basic
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... using something like "INPUT s: RANDOMIZE s", so players could take ... the same labyrinth from a seed and draw its top-view ...
    Einar Saukas Einar Saukas February 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... =Dr BEEP;255110]Again the RANDOMIZE is set in a loop ... .[/QUOTE]

    Calling RANDOMIZE inside a loop is not ... , because this will "reset" the seed and so RND will produce ...
    Einar Saukas Einar Saukas March 2008 Development
  • Just wrote my first useful working Speccy BASIC program in years...A nice UK National Lottery number generator. And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replace…

    ... numbers but the random number seed on the Spectrum can only ... 0) and then running a RANDOMIZE statement between generating each number.
    Matt_B Matt_B November 2008 Development
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
randomize 1.9K 2.6K
seed 602 1.1K

Related Threads

  • Randomize USR xxxxxA weird topic:<br /> When I was a kid I use to mess around with the RANDOMIZE USR xxxxx, sad I know!!!<br /> For instance RANDOMIZE USR 51234 would g…
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects?<br /> <br /> As a start, try anything from RANDOMIZE USR 12…
  • List of RANDOMIZE USR code effects?Hi chaps,<br /> Does anyone have one of these please?<br /> Thanks.
  • Those RANDOMIZE USR lines that look like tape loading...I often see on here people mentioning those RANDOMIZE USR lines which when entered, seem to simulate a tape loading, with the colours and lines in th…
  • Happy Birthday Randomize UsrDon't know who you are, but have a good one dude! Hope you have many more.<br /> <br /> :)
  • Randomize usrHi,<br /> <br /> I've often wondered why/how they came up with<br /> RANDOMIZE USR to invoke machine code<br /> <br /> couldn't they have used a bet…
  • More on Randomize commandI always used to use randomize xxxxx then peek 23670 and 23671 to turn a 16 bit number into 2 8 bit numbers but only noticed yesterday that randomize…
  • RANDOMIZE USRI always thought that this particular basic command was not intuitive!<br /> <br /> If I understand correctly is means run the code from the memory a…
  • RANDOMIZE - still not sure what it does...Whenever I wish a random number I use RND like:<br /> <br /> 10 LET a=RND*100<br /> 20 PRINT a<br /> 30 GO TO 0<br /> <br /> and "a" will truly be ra…
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

Related Searches

  • randomize usr
  • strange loading randomize usr
  • tr dos randomize usr
  • randomize usr pokes
  • randomize usr 3280
  • quazatron randomize
  • randomize usr val
  • randomize
  • randomize val
  • randomize usr space
  • randomize usr 8
  • randomize usr 0
  • randomize usr size
  • randomize usr 15619
  • randomize usr ascii representation
  • randomize usr representation
  • randomise seed
  • let usr randomize seed
  • let usr randomize seed joefish
  • usr randomize seed

Copyright © 2024 World of Spectrum