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.019s
<1234567…34>
  • 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…

    ... br />
    The term randomize implies the RAND function (random ... use PRINT USR to display it, or LET x=USR to store ... with DRAW USR,USR.
    RANDOMIZE simply modifies the SEED system Variable ... pair must been read. RANDOMIZE is simple space saving and ...
    LCD LCD February 2013 Sinclair Basic
  • Making a mapI should learn Z80 assembly, but I don't have the time (really busy) and I feel like making a game. I've tried with Colt which gives me enough speed…

    ... br /> [code]
    9101 LET x=2: LET y=2: FOR i ... IF x=30 THEN LET x=2: LET y=y+2

    [code]
    9100 LET DIR=BASE + ETC...
    9101 ... GOSUB 9000+T
    9105 LET DIR=DIR+1
    ...
    i.e PRINT USR
    RANDOMIZE USR will make the print in ...
    Dr BEEP Dr BEEP March 2004 Development
  • 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 ...
    40 PRINT FN a$(USR 40000);
    [/code]

    chev chev December 2009 Sinclair Basic
  • New presentation for ZX Spectrum: "New Wave"DOWNLOAD: [url]http://pouet.net/prod.php?which=61133[/url] [img]http://pouet.net/screenshots/61133.png[/img] Enjoy.

    ... {=\ LLIST !?
    2>RANDOMIZE USR VAL a$: BORDER z: PAPER ... DRAW ",NOT PI: READ a$: RANDOMIZE USR VAL "15363+256*(PEEK 15363195 ... 4 OUT CODE " DRAW ",CODE "USR ": RANDOMIZE USR VAL "24576": GO TO PI ... [CODE]
    LET z=0 : LET t=3 : LET c=24575 : LET a$=CHR ...
    TK90XFan TK90XFan March 2013 Brand new software
  • Speeding up programs by hacking the SysVarsPositively pleased to properly discover this area of the forum! I have a couple of recent tricks that might be of interest - they're probably old hat…

    ... "23563": LET dt=VAL "23639": LET seed=VAL "23670":
    RESTORE 7: RANDOMIZE FN ... p(dt)+8: LET zlo ... =PEEK seed: LET zhi=PEEK (seed+1 ...
    Battle Bunny Battle Bunny September 2016 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…

    ... need to store the seed to reproduce the sequence ... my phone.
    1 let asize=10 : rem array ... rem num shuffles
    10 let seed=1234 : rem.. or use a ... x.
    1000 randomize seed
    1005 let x=n
    ... *asize)+1
    1030 let j = int(rnd*asize ...
    i love the z80s i love the z80s December 2018 Sinclair Basic
  • 48K vs 128KWhat does everyne think is the best machine - the 48k or the 128k? Personally i prefer the 128K+2. It has more memory, built in tape deck (so no fid…

    One of the reasons i prefered the +2 was the keyboard. If you were a programmer with a 48k you would spent ages looking for the combination on the keyboard for the LET or RANDOMIZE commands (or whatever). Still it does look cute as someone said.
    zx1 zx1 September 2007 Games
  • OCR'd magazine scansHi all, I've been working on OCR'ing some magazine scans over the last few weeks, and combining the images together into a searchable, indexed PDF f…

    ... done also, I'll let this one seed for a little bit ... them Speccy-related, but please let me know if you have ...
    KenD KenD March 2011 Sinclair Miscellaneous
  • PokesAfternoon people, before i begin can i just stress that i am an ultimate newbie when it comes to the spectrum so forgive me for my ignorance,but i ne…

    ... statments then a PRINT USR, RANDOMIZE USR or something USR, which is what starts ... hand, then do the PRINT USR yourself too.

    But ...
    joefish joefish June 2011 Games
  • Emulator licenses for free distributionAre there any emulators that allow a distribution whereby I could package them up with a game and a single shortcut to run the emulator + game, then …

    ... then :smile:

    [QUOTE=joefish;560538]And that's saying ... a helping hand let me know.

    [QUOTE=joefish;560549]That ...
    serbalgi serbalgi September 2011 Emulators
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... b$(b,u)=("" AND USR u)+"0000000000000000"
    ... $(b,u)=("" AND USR u)+"0000000000001110": REM ... DATA "2A0B5C010400095E2356012400090610A7CB1ACB1B38043630180236312B10F0C9"
    1005 LET a$=""
    1010 READ ... 2022 LET usr=FN x(a$)
    2023 PRINT "usr",usr
    mattsteel mattsteel September 2011 Sinclair Basic
  • The Curlicue FractalSpotted a couple of fractal listings, that are new to me, over at [URL="http://oolong.co.uk/curlicue.htm"]http://oolong.co.uk/curlicue.htm[/URL] The …

    ... =88
    25 INPUT seed
    26 LET df=0
    27 ... LET f=0
    30 FOR ... 0.1
    35 LET df=df+seed*2*PI
    36 ... LET f=f+df
    40 LET ... =x+COS f
    50 LET y=y+SIN f
    0olong 0olong June 2012 Sinclair Basic
  • The Curlicue FractalSpotted a couple of fractal listings, that are new to me, over at [URL="http://oolong.co.uk/curlicue.htm"]http://oolong.co.uk/curlicue.htm[/URL] The …

    ... LET x=SCRw/2
    40 LET y=SCRh/2
    50 LET seed ... =RND
    60 LET df=0
    70 LET f=0 ...
    80 LET i=0
    90 LET df=df+seed ... *2*PI
    100 LET ... f=f+df
    110 LET ...
    Dunny Dunny June 2012 Sinclair Basic
  • The Curlicue FractalSpotted a couple of fractal listings, that are new to me, over at [URL="http://oolong.co.uk/curlicue.htm"]http://oolong.co.uk/curlicue.htm[/URL] The …

    ... LET x=SCRw/2
    40 LET y=SCRh/2
    50 LET seed ... =RND
    60 LET df=0
    70 LET f=0 ...
    80 LET i=0
    90 LET df=df+seed ... *2*PI
    100 LET ... f=f+df
    110 LET ...
    kgmcneil kgmcneil June 2012 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 a ...
    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?
    RANDOMIZE USR 1216 to RANDOMIZE USR 1327. This should at ...
    The Mighty Dopethrone The Mighty Dopethrone October 2003 Sinclair Miscellaneous
  • 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, seem ... I first ever found was RANDOMIZE USR 1280 which shows blue and ...
    alexsut alexsut April 2007 Sinclair Miscellaneous
  • 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

    I read somewhere that USR is the keyword that executes ...
    so what does the RANDOMIZE in front do ?
    < ... br /> All I know about RANDOMIZE is regarding random number sequence ...
    saiwong saiwong December 2009 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 …

    ... LET l1=0: LET a0=prog
    9992 LET r=0: LET ... 9996: LET la=l1: LET ap=a0 ... LET r=1: LET l=a2: GO SUB 9996: LET lz=l1: LET ... m/c setup": LET c$="AF111100DD2A4B5C010600DD09CDC204CDA22D3EFFC5D1DD2A765CCDC204CD2B2DC9":
    9995 RANDOMIZE ap: LET bc=l+USR (vars+29 ...
    Battle Bunny Battle Bunny September 2011 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 to ... x you type RANDOMIZE USR x. Why not RUN USR x ? I just ... tried PRINT USR 65368 it resets the machine! ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • 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…

    ... br /> [code]
    LD bc,(SEED)
    call $2d2b ;STACK_BC stack ... form, thus ensuring that the USR call returns the required decimal ... pointers to be returned from USR calls. Refer to the " ... br /> [code]
    9991 LET limit=1: LET tint=0: REM any ...
    Battle Bunny Battle Bunny January 2017 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 …

    Not only does the USR routine give back ... /> RANDOMIZE USR will display at the lower screen
    LET X=USR will ... display at the lower screen
    LLIST USR ...
    RANDOMIZE USR will do something however. It sets the SYSTEMVARIABLE SEED with ...
    Dr BEEP Dr BEEP 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…

    ... .

    1 LET Y=10: LET X=10
    5 ... PRINT AT Y,X;"*": LET OY=Y: LET OX=X
    ... 30 PAUSE 0: LET K$=INKEY$: REM READ MOVE ... X=X+(XCHR$ 164 THEN LET A$=""

    Incidentally, ... of.

    10 LET A=PEEK 23613 + 255*PEEK ...
    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…

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

    Q ... /> 30 RANDOMIZE USR 65268
    40 LET s=2
    50 LET n=49 ... the high byte of the seed
    ; (Changes once every 20ms ...
    Digital Prawn Digital Prawn December 2005 Emulators
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    ... 0 use RANDOMIZE 255, as RANDOMIZE 0 puts FRAMES into SEED, not 0 ... p$="p" THEN RANDOMIZE prog: LET bc=USR put:
    LET prog=prog AND ... A,(23670) ;A =program# from SEED (255=0)
    25603 60 ... A,(23670) ;A =program# from SEED (255=0)
    25632 60 ...
    Battle Bunny Battle Bunny September 2010 Development
  • 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…

    ... [B]LET a=USR x[/B] instead of [B]RANDOMIZE USR x[/B ... could also code RESTORE USR to run a machine ... avoids the problem of resetting SEED.

    [B][Edit ... VAL r$ (I had RANDOMIZE VAL r$ before) and ... generation i.e. a RANDOMIZE near the beginning of the ...
    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 …

    ... RETURN gets changed to RANDOMIZE by the initialisation sequence.< ... 9990 CLS: RANDOMIZE USR VAL "FN p(23637)+96":
    LET v=FN ... RANDOMIZE USR VAL "m+88": STOP
    9995 LET l=av-ap: LET ... 9991": READ f$: RANDOMIZE ap: LET s=l+USR VAL "m+20":
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • How to safely maximise available memoryHi All, I'm toying with an idea that will require I have as much memory available as possible. I'm a little embarrassed I have to ask this tbh. As…

    ... : 10 CLEAR 23999: LOAD "" CODE: RANDOMIZE USR 24000) then you'll have ... ie. 23755. This will still let you use most ROM routines ... /> BTW, if you go with joefish's suggestion and use your ...
    Marko Marko January 2012 Development
  • A quick newbish questionI'm reading through 'mastering machine code on your spectrum',as kindly posted by Mr bert on this forum. Correct me if I'm wrong from what i read,bu…

    ... enter a basic line with USR on its own (e. ... is.

    PRINT USR x will obviously print the ... to do that.
    RANDOMIZE is used simply because it ... much (it sets the seed value for the BASIC RND ... a value, for example LET a = USR x would store the return ...
    guesser guesser March 2013 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
let 29.3K 51.6K
usr 3.4K 6.2K
randomize 1.9K 2.6K
seed 602 1.1K
joefish 11.9K 12.6K

Related Threads

  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • 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…
  • 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.
  • Let is snow let it snowFor those of use in the south and west of the country including those in Northern Ireland its going to be a snowy one tonight and tomorow.<br /> <br …
  • 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…
  • 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…

Related Searches

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

Copyright © 2024 World of Spectrum