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

    ... from ROM to get their random numbers, presumably because they want to ... ]
    randommove
    ld a,(23672) ;lsb of FRAMES
    and ...
    bigjon bigjon March 2008 Development
  • 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…

    ... trying out Jon Ritman's random number routine, published in Your ... /> "This is the 32-bit random number generator routine I used ... fast and returns a reasonable random
    number. This version ... Spectrum version. So for a random number function 3*speed of ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • 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…

    ... in VB gets 5 random generated numbers (min=1 max=10 ... have the very same random generated numbers (not only the first ... More generally:Can the pseudo random numbers generated in VB environment be ... some way synchronized to pseudo random numbers generated in C or ...
    andregiax andregiax April 2006 Sinclair Miscellaneous
  • 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…

    ... expert when it comes to random numbers. If I have the RANDOMIZE ... and then proceed to generate random numbers from that seed I should ... get a pseudo random sequence - correct?

    However ...
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... program to compare random sets of numbers
    for ... multiple sets of 6 numbers without repeating a ... sets of 6 numbers that the random generating routine ( ...
    10 REM PUT RANDOM NUMBERS INTO X ARRAY
    20 ... /> 130 REM PRINT RANDOM NUMBERS IN SETS OF 6< ...
    loonix loonix July 2011 Sinclair Basic
  • 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. …

    ... that gets you a truly random number from the Spectrum, or ... pseudo-random number (ie. one from a run of 65000+ numbers already ...
    Spector Spector April 2001 Sinclair Miscellaneous
  • Req' Help with Random numbersHello all, im new to the forum, i hope im putting this in the right place ... I would like to ask a question in the hope someone will be able to as…

    ... can choose at random,(or at least as random as spectrum basic ... can), a series of numbers between ...
    djloonix djloonix November 2009 Sinclair Basic
  • 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…

    ... Assembler and I want a random number. I looked up previous ... of the links said that random numbers are in the ROM at ...
    49 if you PRINT PEEK 14000
    ivanb303 ivanb303 November 2016 Assembler
  • 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…

    ... poke:

    POKE PEEK 23633 + 256 * PEEK 23634, 111

    PEEK 23613 + 255*PEEK 23614
    20 PRINT PEEK A; TAB ... 10; PEEK (A+1 ... ); TAB 20; PEEK (A ...
    na_th_an na_th_an April 2005 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... remember how I generated the numbers for the array - using RND ... came about following the "Random plot not so random" thread on c ... (RND*255,255,PEEK 23672),FN r(RND*175,175,PEEK 23672)
    20 ... interest is Simon Goodwin's random maze generator in [url=http ...
    Battle Bunny Battle Bunny March 2008 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…

    ... i.e. I get 10 random numbers that go up and down ... />
    [CODE]100 RANDOMIZE PEEK 23672+256*PEEK 23672
    110 FOR a=1 ...
    Paddy Coleman Paddy Coleman May 2011 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…

    ... [FONT="Courier New"]xx10 RANDOMIZE PEEK 23672+256*PEEK 23672[/FONT]

    PEEK 23672 will always be zero ... br /> [CODE]100 RANDOMIZE PEEK 23672+256*PEEK 23672
    110 FOR a ... the same sequence of random numbers because of the ...
    Alcoholics Anonymous Alcoholics Anonymous May 2011 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…

    ... different sequences of "pseudo" random numbers. The RANDOMIZE statement chooses one ... Paddy Coleman;532359]10 RANDOMIZE PEEK 23672+256*PEEK 23672[/QUOTE]

    30 LET a=PEEK 23672
    40 IF INKEY$"" ...
    70 LET b=PEEK 23672
    80 RANDOMIZE a ...
    Einar Saukas Einar Saukas May 2011 Sinclair Basic
  • 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…

    ... REM Display Counter, Random No(0-255), Random No(1-42)
    420 REM Error is Random No 42
    430 REM ... to run correctly and generates random number between 1 and 42 ...
    Paddy Coleman Paddy Coleman December 2011 Development
  • Random Smiley FacesAs promised, here's the Syntax: ;Startup 5 CLS 7 PAPER 0: BORDER 0 ;Graphics 10 FOR n=0 to 7 20 READ row: POKE USR "P"+n,row 30 NEXT n 31 DATA BI…

    ... DATA BIN 00000000

    ; Random Numbers

    40 LET INKY ...
    Takashi64 Takashi64 January 2003 Sinclair Miscellaneous
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... equivalents can handle 16-bit numbers. This is because dealing with ... /> DEF FN P(a)=PEEK a+256*PEEK (a+1)
    [/code ... /> DEF FN T()=(1 AND PEEK (1+FN P(23639))=34 ... )+(2 AND PEEK (FN P(23639))>13 ... AND PEEK (1+FN P(23639))> ...
    chev chev November 2004 Sinclair Basic
  • issue 6a faultyHi All I got issue 6a pcb from ebay with status faulty pcb had bad voltages when I power up I changed tr4 ztx650 and all voltages got back on ic6 I h…

    ...
    print peek 23732+peek 23733*256 get back random numbers after every restart ... with 85 and 170 and peek after this get back 85 ... no problems, with 32767 from peek 23732+peek 23733*256

    gorski gorski March 2009 Hardware
  • Speed tip - "e" notationHi Folks, Whilst reading my "new" Sinclair ZX Spectrum BASIC manual I came across "e" notation again. In MRT I have the following line which is use…

    ... COLOR="Red"]65536[/COLOR]*PEEK [COLOR="red"]23674[/ ... 256*PEEK [COLOR="red"]23673[/COLOR]+PEEK [COLOR="red"]23672[/ ... COLOR]):
    LET m=([COLOR="red"]65536[/COLOR]*PEEK ... 256*PEEK [COLOR="red"]23673[/COLOR]+PEEK [COLOR="red"]23672[/ ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • numbers on cassetes with games ?for an example games from codemasters fantasy world dizzy - 2236 treasure island dizzy - 2131 these are random numbers (for a lottery) ? or serial n…

    for an example games from codemasters
    fantasy world dizzy - 2236
    treasure island dizzy - 2131

    these are random numbers (for a lottery) ?
    or serial numbers ?
    goodboy goodboy October 2012 Games
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    ... a shed load of line numbers for icon drawing - perhaps high ...
    RetroPhase2014 RetroPhase2014 December 2015 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
  • Computer Haiku (converted from C64)[url=https://archive.org/details/Computer_Haiku_1983_CES]Here's the original C64/PET program - "Computer Haiku" by Commodore Educational Software, 19…

    ... to the original programmer - the random number generator was set by ... . I thought it unnecessary to PEEK 23672 (the Spectrum's equivalent) and ...
    The Mighty Dopethrone The Mighty Dopethrone September 2020 Sinclair Basic
  • 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. …

    ... get a random number, you could use the addresses 23672, 23673 and ... you peek 23672, you get what could be thought of as a random ... you peek with regularity within a program....

    Also, a random ...
    Alessandro Tommasi Alessandro Tommasi April 2001 Sinclair Miscellaneous
  • 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 …

    ... ?lnk=gst&q=pseudo+random&rnum=6#34e1fddfe531ae62]discussed ... (RND*255,255,PEEK 23672),FN r(RND*175,175,PEEK 23672)
    20 ... is a much better pseudo-random generator (in that it generates ... ]appear[/i] to be truly random - suitability for other uses may ...
    Dunny Dunny 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…

    ... code]
    extern int std_seed(23672);
    extern uchar *d_chars( ... system variable FRAMES at address 23672. The value "int_seed" ... amp;std_seed") would be 23672. This means the value ... program generates different sequences of random numbers on every run.
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • 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…

    ...
    extern int std_seed(23672); // random number seed placed on top ...
    extern int std_seed(23672); // random number seed placed on top ... correlated sequences of random numbers generated are --a poor random number generator will ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • 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…

    ... from ROM to get their random numbers, presumably because they want ... /> randommove
    ld a,(23672) ;lsb of FRAMES
    ... />
    [code]
    random ld hl,(23672)
    inc hl
    ld (23672),hl
    ld a,(hl ...
    Dr BEEP Dr BEEP March 2008 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... to check so many line numbers when processing a [B]GO ... /> 9000 DEF FN t()=(PEEK 23672+256*PEEK 23673+65536*PEEK 23674)/50
    Einar Saukas Einar Saukas October 2010 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…

    ... get the same sequence of random numbers generated. This happens if ... get the same sequence of random numbers.

    In #2 ... by RND to generate random numbers is not sensitive to ... RANDOMIZE yourself. Like "RANDOMIZE PEEK x + 256*PEEK x" where x = ...
    Alcoholics Anonymous Alcoholics Anonymous May 2011 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…

    ... see the same sequence of numbers generated. In this case if ... the beginning of the program, PEEK 23672 will always be zero (or ...
    Philip Kendall Philip Kendall May 2011 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
peek 1.9K 4.4K
23672 204 359
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 …
  • Spectrum 2003 News and Info Special at PEEK N' POKE[url="http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.html"]http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.h…

Related Searches

  • random
  • 23672
  • rom peek 128k pentagon
  • rom peek 128k pentagon 004c
  • identify pentagon 48k 128k rom peek
  • peek rom identify model
  • peek rom detect model 48k 128k 3 pentagon
  • serial numbers
  • 2 numbers in address
  • 2 numbers in address debugger
  • random assembly
  • spectaculator yellow numbers
  • harlequin random numbers
  • random numbers
  • peek 23672
  • peek 23672 timer
  • peek random ivanbasic
  • peek 23672 countdown
  • peek 23673 256 23672 50
  • rnd based on peek 23672

Copyright © 2024 World of Spectrum