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.005s
<1234567…34>
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... that I use the basic rnd function but there's no ... you suggest, basic rnd plot on left, rakky rnd on the right).
    rnd.png[/IMG][IMG]http://i1142 ...
    R-Tape R-Tape July 2012 Development
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... .
    I'm playing with RND function to show its cyclical ...
    15 LET r=INT (RND*n)
    20 LET y ... PRINT n: STOP
    50 PLOT x,y
    60 NEXT ...
    mattsteel mattsteel August 2013 Sinclair Basic
  • Where does the the Spectrum store the PLOT position ?So try this and it works just fine. The Spectrum must store the PLOT position somewhere as the line moves along. I'm sure someone knows where this is…

    ... . The Spectrum must store the PLOT position somewhere as the line ...
    10 PLOT 0,0
    20 DRAW RND*20,RND*20
    ivanb303 ivanb303 December 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…

    ... /check required. For instance, the RND routine is but a formula ... , [b]Timmy [/b]and [b]Hikoki[/b]! I guess such a ... from Timmy.
    The whole PLOT-line isn't needed. You ...
    40 let r= int(rnd*f)+1
    50 let ...
    Dr BEEP Dr BEEP November 2018 Sinclair Basic
  • 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 …

    ... ):

    10 LET x=RND* 255
    20 LET y ... LET p=RND* 16
    40 PEN p
    50 PLOT x ...
    DonkeyPong DonkeyPong June 2007 Sinclair Basic
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number. Huppy Burthus-day.

    Think of a number between 0-100 RND, go on, any number.


    Huppy Burthus-day.
    Graz Graz June 2007 Chit chat
  • the Plot - how to play?anyone tried to play this thingy? even with kempston chosen can't find the proper way to use the controls and to do anything :confused: just able …

    ... .... is this all of the plot down there?
    (no passing ...
    de Vandemar Croup de Vandemar Croup March 2008 Games
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... : M
    CODE : E : I PLOT : K : Q
    CONTINUE : K ... : Y
    EXP : E : X RND : E : T
    FLASH : E ...
    icabod icabod March 2008 Sinclair Basic
  • Vector font in BASiCHi guys) Some fifteen years ago I saw a quite short BASIC prog that could simulate a vector font with size/ thickness/ italicization params. I remem…

    ... BORDER 2: CLS
    210 PLOT 20,165: DRAW 0,-145 ... 2: LET j=INT 14-(RND*12): FOR z=18 TO ... IF o>2 THEN PLOT x+(j>2)+w ...
    NRA NRA February 2010 Sinclair Basic
  • Obtuse One-LinerFollowing a request in another thread, this could almost be crammed into one line. It uses a simple ON ERR CONTINUE to give a continuous display. [c…

    Following a request in another thread, this could almost be crammed into one line.
    It uses a simple ON ERR CONTINUE to give a continuous display.

    [code]
    10 INK RND*6
    20 IF RND
    Geoff Geoff May 2010 Sinclair Basic
  • Birthday PlotsHello all; When browsing the web, I stumbled across an oddity known as Birthday Plots. In effect somebody enters a numeric date and the computer prin…

    ... )*0.01
    50 I=RND(-Z*0.0000001)
    60 ... I=INT(RND(Z)*10)+5
    70 ...
    100 R[J,1]=RND(Z)
    110 IF R ... ]
    150 R[J,2]=RND(Z)
    160 IF R ... TO I+1
    260 PLOT R[K,1],R[K ... /> 310 NEXT J
    320 PLOT U1,U2,1
    330 ...
    Meurglys68 Meurglys68 July 2011 Sinclair Basic
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... :

    LET m=(INT (RND*sn)+k1)*k2-k1
    RND*sn)+k1)*k2-k1: PRINT ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... seem to recall a RANDOMIZE RND command which I've entered ...
    930 LET k=INT (RND*8)
    940 LET l ... =INT (RND*8)
    950 LET m ... =INT (RND*8)
    960 LET n ...
    Wookiee Wookiee January 2012 Sinclair Basic
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    How do I go about selecting from the numbers 4,9,14 and 19?

    (RND*4)*5-1 ????? :-?
    daveysludge daveysludge March 2012 Sinclair Basic
  • Basic BASIC help needed RNDHi all, I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers. I know little now, an…

    ... />
    Let b= 1+ INT (RND*49): PRINT b

    landorb landorb March 2012 Sinclair Basic
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... flummoxed, mainly due to the RND equation!

    Any ideas ...
    daveysludge daveysludge July 2012 Development
  • problems with rndGot past the whole INKEY$ issue and now am trying to pin down the combat section of the game. got a basic combat routine however, when i try and gen…

    ... LET PH=INT (RND*6)+(INT (RND*6))+(INT (RND*6)): LET PD ... =INT (RND*6): LET MH=INT (RND ... *18): LET MD=INT (RND*6)
    50 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    hi! please, help with code:
    [PHP]For x=-100 To 100
    For y=-100 To 100
    If (x/2-25)*(x/2-25)+(y-50)*(y-50)
    g0blinish g0blinish November 2012 Development
  • Hikoki's new gameSo putting together all Hikoki's suggestions: This is going to be an arcade maze but also a vertical/horizontal scrolling game; with puzzle element…

    So putting together all Hikoki's suggestions:

    This ... /> :D

    Just kidding Hikoki ;) I am sure you will ...
    gabriele amore gabriele amore November 2013 New game ideas
  • Convert AT co-ordinates to PLOT co-ordinatesHow do you convert the 2 from MC? I don't know how to convert the vertical value as they're differently ordered... Heres what I have so far: [CODE]…

    ...
    y defb 0 ;calculated plot points

    ld a ... /> ld (x),a ;store vertical plot point
    ret[/CODE]
    daveysludge daveysludge January 2014 Development
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ... /> plot
    poke
    print
    randomize
    return
    rnd
    pkersey pkersey February 2014 Development
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... was any way to get PLOT, etc. to address the full ... A,$AF)

    then PLOT, DRAW, CIRCLE, POINT will all ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • ZXSpin plotIs there a way I can plot on ZXSpin?;)

    Is there a way I can plot on ZXSpin?;)
    number1empalon number1empalon September 2014 Emulators
  • A game from an other machine.if someone interesting, this is a game I created in 1989. this is the basic source, maybe somebody can convert to specy. An image: http://www.ep128.…

    ... 6,STYLE 77,PITCH 55+RND(10),LEFT 40,RIGHT 40 ...
    endi endi June 2017 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…

    ... (i)
    LET r=INT(RND)*255
    LET A(i ...
    NRA NRA November 2018 Sinclair Basic
  • random number generator without using rnd in basicwhat is the simplest way to generate random numbers in basic (0-255), without using the rnd statement? i also want it to always generate the same…

    what is the simplest way to generate random numbers in basic (0-255), without using the rnd statement?

    i also want it to always generate the same numbers over and over again.
    digital digital June 2019 Development
  • Plot questionHi all Is there a way of detecting whether a plot position has been plotted, or whether it's still 'empty' ? In short, I need to know for a pro…

    ... way of detecting whether a plot position has been plotted, or ... line being drawn from one plot position to another, growing in ...
    Robbie Robbie October 2019 Sinclair Basic
  • Elon Musks's Blastar (Conversion)Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer) [url="https://www.t…

    Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer)

    [url="https://www.theverge.com/2015/6/9/8752333/elon-musk-blastar-pc-game"]https://www.theverge.com/2015/6/9/ ...
    Snial Snial November 2020 Sinclair Basic
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... br /> 110 LET x=40+RND*176
    120 LET ... y=40+RND*95
    130 LET ... r=10+RND*30
    140 CIRCLE ... pattern
    310 IF RND>0.8 THEN GO ... LET o=15624+8*INT(RND*30)
    330 REM ... br /> 410 LET c=56+RND*7
    420 POKE ...
    Volker Volker February 2021 Software
  • De zeven sleutels van TARKUSI've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now. And, it seems the game as it was printed in…

    I've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now.

    And, it seems the game as it was printed in the book, didn't work.

    So there are some modifications in there to make it work ...
    Timmy Timmy August 2022 Sinclair Basic
<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
hikoki 3.7K 4K
rnd 2.9K 4.1K
plot 2.8K 4.4K

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 …
  • the plot(firebird)hello<br /> <br /> i have been trying to make a map of this game,but i cannot find the final screens.could somebody please try and help me(i am going…
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number.<br /> <br /> <br /> Huppy Burthus-day.
  • the Plot - how to play?anyone tried to play this thingy?<br /> <br /> even with kempston chosen can't find the proper way to use the controls and to do anything :confused:…
  • Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
  • Have Sony lost the plot ?I have had some money for Christmas from my mum and dad and as always I will use it to buy myself something I normally wouldn't consider.<br /> <br /…
  • Happy birthday RND!!Merry birthday... drink lots!! :smile:
  • Gunpowder, Treason and Plot missing creditsGraphics by David A. Shaw<br /> Music by Adrian "Lemon" Shaw (Adrian R. Shaw)
  • Happy birthday RND!Merry birthday... drink Chaos! :smile:
  • line, plot and circle in whole 256x192 displayhi!<br /> are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i …

Related Searches

  • qaop hikoki
  • hikoki
  • hikoki suggest
  • hikoki suggestion
  • rnd
  • plot assembly
  • cookie hikoki
  • cookie hikoki embed
  • zoom hikoki
  • new rnd
  • rutine rnd
  • plot basic
  • plot third parameter
  • basic hikoki
  • plot
  • plot assembler
  • plot rom assembler
  • draw arc plot
  • peer to hikoki
  • hikoki point rnd

Copyright © 2024 World of Spectrum