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.002s
<1…45678910…34>
  • 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 …

    ... br />

    [code]
    rnd push hl
    push de ... br /> ld a,(hl) ; fetch rnd
    inc l ; increase pointer ... timer and then call the RND-routine with A holding the ... /> LD A,6
    CALL RND

    will produce a ...
    Dr BEEP Dr BEEP September 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 …

    ... /> ORG 32768
    LD HL, (23672)
    LD (_RANDOM_SEED), HL ; Initialize ...
    horace horace September 2004 Development
  • I cant belive this website and the activity round here!Hi! I?m new to this site (hope i have not posted in the wrong place already!). In the last few months I have got my self a PC to play games on from…

    ... it all works if i RND USR 15619: REM: LOAD "whatever ... " and then RND USR ADDR, directly from sinclair ...
    Sadako Sadako September 2004 Games
  • games written using game writng programsI was reading through some issues of crash not long back and one article was about some 16 year old that wrote Frank n stein for the speccy(never pla…

    ... be called with a different RND USR so that a prompt ...
    Sadako Sadako September 2004 Games
  • How the hell does this work then??[url="http://www.dslextreme.com/users/exstatica/psychic.swf"]http://www.dslextreme.com/users/exstatica/psychic.swf[/url]

    ... ;*+=\@#{}[]()/:"
    70 LET b=INT (RND*20)+1:\
    FOR f ... THEN LET a(f)=INT (RND*20)+1
    90 NEXT ...
    Dunny Dunny November 2004 Sinclair Miscellaneous
  • Vanished without a trace.Hi everyone, I've just noticed that ENERGY4UK's posts have been deleted in their entirety. That's great. Hopefully our beloved administrator will co…

    ... "
    30 LET A=INT(RND*100)+1
    40 IF ...
    chaosmongers chaosmongers November 2004 Sinclair Miscellaneous
  • CGC2004 - almost there!The competition ended on 31st. Guess jil (who incidentally has been missing for some time now and was presumably busy with the competition - or so we…

    ... />
    10 LET vote = INT(RND*59)+1
    20 IF ...
    monty.mole monty.mole February 2005 Sinclair Miscellaneous
  • 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. …

    ... FN r(x,y) = INT (RND * (y+1-x) + x)
    Arjun Arjun April 2005 Sinclair Basic
  • 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. …

    ... =0
    10 PRINT PEEK (23672)+256*PEEK (23673)
    20 ... f
    60 PRINT PEEK (23672)+256*PEEK (23673)

    10 PRINT PEEK (23672)+256*PEEK (23673)
    20 ... f
    60 PRINT PEEK (23672)+256*PEEK (23673)

    Dunny Dunny April 2005 Sinclair Basic
  • 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. …

    ... wrote:

    PRINT PEEK (23672)+256*PEEK (23673)


    Def FN Tim=PEEK (23672)+256*PEEK (23673
    CKay CKay April 2005 Sinclair Basic
  • 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. …

    ... :
    Def FN Tim=PEEK (23672)+256*PEEK (23673
    [/quote ... PRINT FN p(23672)

    Replace 23672 with whatever address you ...
    Arjun Arjun April 2005 Sinclair Basic
  • 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. …

    Won't PAUSE 1: LET f=PEEK 23672+256*PEEK 23673 do the trick as PAUSE ends just after an interrupt?
    Philip Kendall Philip Kendall April 2005 Sinclair Basic
  • 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. …

    ... :
    Def FN Tim=PEEK (23672)+256*PEEK (23673
    [/quote ... PRINT FN p(23672)

    Replace 23672 with whatever address you ...
    CKay CKay April 2005 Sinclair Basic
  • RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …

    The first random number that RND always generates if you ... />
    [code]NEW
    PRINT RND[/code] (gives 0.0011291504)

    [code]NEW
    PRINT RND * 255[/code]

    (value ...
    [code]NEW
    PRINT RND * 10000[/code]

    (I ...
    BloodBaz BloodBaz April 2005 Sinclair Basic
  • 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…

    ... a,r
    ld hl,23672
    add a,(hl)
    Dr BEEP Dr BEEP May 2005 Development
  • Speeding up BasicHi, Does anyone know whether it is faster to use variables than numbers in Sinclair basic? What I mean for example, is Poke A,D quicker than Poke 5…

    ... using the the system variables 23672 etc. and executing the command ...
    dmsmith dmsmith July 2005 Sinclair Basic
  • Spectrum SE emulator for WindowsAre there binaries for a Spectrum SE emulator for Windows available anywhere? For instance, FUSE compiled for Windows. Anything with installation in…

    ... seems from testing) I*256+RND(255)? If the latter, is ...
    Jonathan Harston Jonathan Harston August 2005 Emulators
  • Spectrum SE emulator for WindowsAre there binaries for a Spectrum SE emulator for Windows available anywhere? For instance, FUSE compiled for Windows. Anything with installation in…

    ... seems from testing) I*256+RND(255)? If the latter, is ...
    Jonathan Harston Jonathan Harston August 2005 Emulators
  • Spectrum SE emulator for WindowsAre there binaries for a Spectrum SE emulator for Windows available anywhere? For instance, FUSE compiled for Windows. Anything with installation in…

    ... seems from testing) I*256+RND(255)? If the latter, is ...
    mel the bell mel the bell August 2005 Emulators
  • 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. …

    using USR RND in any way (either PRINT USR RND or LET A = USR RND etc) will always reset Speccy
    FRGT/10 FRGT/10 November 2005 Sinclair Basic
  • 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. …

    ... /10 wrote:
    using USR RND in any way (either PRINT ... USR RND or LET A = USR RND etc) will always ... course,
    because 0 < RND < 1
    so the ... to 0 or 1 (when RND > .5)

    But ...
    Dr BEEP Dr BEEP November 2005 Sinclair Basic
  • 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. …

    [quote]
    On 2005-11-08 19:40, FRGT/10 wrote:
    using USR RND in any way (either PRINT USR RND or LET A = USR RND etc) will always reset Speccy
    [/quote]


    Not always ;)
    Woody Woody November 2005 Sinclair Basic
  • 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. …

    ... /10 wrote:
    using USR RND in any way (either PRINT ... USR RND or LET A = USR RND etc) will always ...
    Dr BEEP Dr BEEP November 2005 Sinclair Basic
  • 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. …

    ... /10 wrote:
    using USR RND in any way (either PRINT ... USR RND or LET A = USR RND etc) will always ... course,
    because 0 < RND < 1
    so the ... to 0 or 1 (when RND > .5)

    But ...
    Alessandro Tommasi Alessandro Tommasi November 2005 Sinclair Basic
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    ... +1
    130 LET a=(RND*4)-2
    140 LET ...
    Tom-Cat Tom-Cat March 2006 Games
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    long live the basin!
    love this [I]copy?n?paste[/I] feature...but something went wrong

    [quote]
    [I]22:11:19 Could not paste line: ' 200 IF RND
    de Vandemar Croup de Vandemar Croup March 2006 Games
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    ... ;*+=\@#{}[]()/:"
    70 LET b=INT (RND*20)+1: FOR f=1 ... THEN LET a(f)=INT (RND*20)+1
    90 NEXT ...
    Dunny Dunny March 2006 Games
  • 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…

    ... />
    ok,so visual basic "RND" and C/C++ "RAND" use ... pseudorandom numbers generated by VB "RND",is to define a new ...
    andregiax andregiax April 2006 Sinclair Miscellaneous
  • CLEAR does not RESTORE the DATA pointer??According to the Spectrum manual, one of the things that a CLEAR command does RESTORE the DATA pointer. Either it doesn't actually do this, or some…

    ... a minor error in the RND explanation and Steven Vickers pointed ...
    Geoff Geoff September 2006 Sinclair Basic
  • Currah MicrosourceHi Anyone here got a Currah Microsource ? I have one, its one of the original eval units complete with 'draft' manual. Just interested to see how …

    [QUOTE=rnd usr 1234]Hi

    ... .[/QUOTE]


    Hi rnd usr 1234,
    Yes, I ...
    BloodBaz BloodBaz October 2006 Sinclair Miscellaneous
<1…45678910…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
23672 204 359
rnd 2.9K 4.1K

Related Threads

  • RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number.<br /> <br /> <br /> Huppy Burthus-day.
  • Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
  • Happy birthday RND!!Merry birthday... drink lots!! :smile:
  • Happy birthday RND!Merry birthday... drink Chaos! :smile:
  • problem with RND (or maybe INT)I'm using this statement:<br /> <br /> LET m=(INT (RND*sn)+k1)*k2-k1<br /> <br /> to give a pointer m to a 2-byte segment of a string l$. Items k1 &a…
  • RND CommandsExactly how random are they?<br /> <br /> Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement c…
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19?<br /> <br /> (RND*4)*5-1 ????? :-?
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • happy birthday RNDhave a good .. if not random one..

Related Searches

  • 23672
  • rnd
  • new rnd
  • rutine rnd
  • rnd rom
  • rnd in rom
  • rnd 65535
  • rnd swarfega
  • rnd asm
  • rnd slow
  • rnd performance
  • rnd peek
  • peek 23672
  • rnd repetitio s
  • rnd repetition
  • rnd weights
  • rnd percentage
  • rnd chance
  • rnd probabilities
  • rnd based on peek 23672

Copyright © 2024 World of Spectrum