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
<1…15161718192021…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…

    ... theory of these bit-twiddling random-number generators so ended up ... on the internet for a random number generator for [I]Buzzsaw ... can tweak (like the three numbers used in the generator above ...
    Patrik Rak Patrik Rak December 2011 Development
  • 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…

    ... to. That gives you a random number from 0-255 in ... because it copies the resulting numbers back into the commands at ...
    Paddy Coleman Paddy Coleman December 2011 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... to code in specific line numbers.
    [code]
    5 INPUT ... ():
    DEF FN c()=PEEK 23621+256*PEEK 23622
    10 GO ...
    Battle Bunny Battle Bunny December 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…

    ... -1, just multiply the b random bits by n, then divide ... you view the random bits as fixed point numbers with b fractional ... want to make sure no numbers are biased, you will have ...
    Patrik Rak Patrik Rak December 2011 Development
  • Alkatraz protection systemI recently became interested in the Alkatraz protection system, a very widely used tape protection (a infoseek search returns more than one hundred r…

    ... usr peek etc stuff too ? :-o or just any other random things ...
    spider spider December 2011 MIA/STP/SDP
  • Emulator for windows 7 mobile?I've recently had to buy a new phone and always had windows smartphones. So I got the HTC HD7 thinking it would still run pocket Clive. Doh! Totally …

    ... does frown upon apps downloading random content from the internet onto ... Google Android scenario where vast numbers of apps are malware.
    Korinel Korinel January 2012 Emulators
  • Amazonia (BUGFIX)This is a bugfix for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0027280"]Amazonia[/URL], please add the following "known errors" des…

    ... =48304 TO 48443: POKE f,PEEK (f+9): NEXT f: POKE ... 49359 STEP -1: POKE f,PEEK (f-2): NEXT f: POKE ... (143):=40 ; move 'COBRA' to random location
    e317: 0b 8f ... (143):=40 ; move 'COBRA' to random location
    e317: 0b 8f ...
    Einar Saukas Einar Saukas January 2012 Infoseek database
  • WANTED: Britain Invaded! instructions[deleted]

    ... /> I've had a quick peek at the listing and played ... appears to have a pseudo-random element. As can be seen ... "dice" is rolled. Although the random seed is apparently set to ...
    Digital Prawn Digital Prawn February 2012 Wanted
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    ... go about selecting from the numbers 4,9,14 and 19 ... I would probably generate a random number between 1 and 4 ...
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • Issue 3B only sees 16k (and RAMTOP NO GOOD on loading)A ZX+ with issue 3B board that i got recently, does not see anything more than 32768 (sometimes 37267..) on "PRINT PEEK 23732 + PEEK 23733 * 256 (Ent…

    ... 32768 (sometimes 37267..) on "PRINT PEEK 23732 + PEEK 23733 * 256 (Enter)".

    Your numbers say that D7 and D6 ... POKE 32769,0 and PRINT PEEK 32769. You should get 192 ...
    mcleod_ideafix mcleod_ideafix March 2012 Hardware
  • Issue 3B only sees 16k (and RAMTOP NO GOOD on loading)A ZX+ with issue 3B board that i got recently, does not see anything more than 32768 (sometimes 37267..) on "PRINT PEEK 23732 + PEEK 23733 * 256 (Ent…

    [QUOTE=mcleod_ideafix;610320]Your numbers say that D7 and D6 ... POKE 32769,0 and PRINT PEEK 32769. You should get 192 ...
    Asure Asure March 2012 Hardware
  • countdown timer ?just curious if there was a pre-made one about that I could use to count down from 999 to 0. in MC / under interrupt, that returns to basic? but how…

    Use the clock, it increases each 1/50 sec.
    Set 23672 to 231 (=999-768 ) and 23673 to 0.
    Then read PEEK 23673 or INKEY$. When PEEK 23273 = 4 then at least 999 counts have passed (depending on how fast you can read in BASIC).
    Dr BEEP Dr BEEP April 2012 Sinclair Basic
  • Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…

    If:
    DEF FN n()=PEEK 23621+256*PEEK 23622+(INKEY$="")
    then ... line numbers!

    And if:
    DEF FN n(k$)=PEEK ... 23621+256*PEEK 23622+(INKEY$=k$)
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…

    ... :
    DEF FN n()=PEEK 23621+256*PEEK 23622+(INKEY$="")
    then ... line numbers!

    And if:
    DEF FN n(k$)=PEEK ... 23621+256*PEEK 23622+(INKEY$=k$)
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... , all 16 combinations representing binary numbers 0..15. It seems to ... TO 7
    LET p = PEEK (u+b)
    LET h ...
    joefish joefish May 2012 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... not used any explicit line numbers, so the routine can ... routine itself have consecutive line numbers. The DEF FNs aren' ... DEF FN p(a)=PEEK a+256*PEEK (a+1):
    ... (gs):
    LET gss=PEEK (gs+2): IF FN ... the line & statement numbers in the DEF FN space ...
    Battle Bunny Battle Bunny May 2012 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…

    ... introduce some correlation between successive numbers and only retaining the bottom ... [B]bitstreams[/B] themselves are random - it doesn't care if ...
    Patrik Rak Patrik Rak May 2012 Development
  • 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…

    ... fixed point numbers, it's pretty trivial to code for random number ... ; w = t
    ld (random+4),hl
    ret
    numbers.

    To make ... a decimal, like basic's random number:
    print randomFixed()< ...
    Gedlion Gedlion May 2012 Development
  • 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…

    ... ). It also has a good random distribution. It is described in ... alternate between even and odd numbers, this one included - that's ...
    Patrik Rak Patrik Rak May 2012 Development
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... /> RESTORE 100: LET da=PEEK 23639+256*PEEK 23640+8:
    POKE ... on every discarded LET, plain numbers can be used in the ...
    Battle Bunny Battle Bunny May 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…

    ... /> I use the timer from 23672 as seed and pointer in ... the timer. This makes enough random for me. I also use ...
    Dr BEEP Dr BEEP July 2012 Development
  • 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…

    ... /> So you could grab a random number between 0 and 3 ... just assign one of these numbers accordingly? Then again I'm ... . It might not be uber-random but it suits me fine ...
    Morkin Morkin July 2012 Development
  • 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…

    ... sequence of numbers that is evenly distributed, "looks" very random, and only ... will start generating the same numbers... obviously!


    [ ... such that the sequence of numbers doesn't follow any ... need for a great random generator implementation.
    Einar Saukas Einar Saukas July 2012 Development
  • Sending key presses to the spectrumfor a project I want to send automated keyboard presses to the ZX via a micro-controller. Is it possible to send these through the expansion slot? …

    ... " and "ENTER", whose row/columns numbers would be: 1,3 and ... to be read, or just random data from other CPU operation ...
    mcleod_ideafix mcleod_ideafix August 2012 Hardware
  • 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…

    ... i want to do a random roll i just pick some ... that's always changing and peek the value then look up ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • .tapein load crashes if no CLEAR performed first(!)Hi Guys, Can anyone explain the following as it has be stumped: I came across an unexpected crash today when loading in a 16K block of code at 8000…

    ... ,201
    30 PRINT PEEK 23730+256*PEEK 23731, USR here
    numbers to be less than 49152 ...
    Battle Bunny Battle Bunny August 2012 Hardware
  • Steve Wilcox quote in latest 'Retro Gamer' magOn page 7, in a feature on his IOS Spectrum emulator, he is quoted as saying: "The Android market has been 'poisoned' by a number of very shoddy Spec…

    ... .[/QUOTE]Do you have any numbers to support your theory? Just ... 'm interested in the real numbers, so it would be nice ...
    Timmy Timmy August 2012 Emulators
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... .uk/%7Ejg27paw4/pourri/randplot.zip"]Random Plot[/URL] routine. This will ... ect.. there were no line numbers ect..

    I guess ... OK I will use the random plot routine to show how ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…

    ... does provide you with a random number in the specified range ... range 0-200 and a random number 0-255


    So some numbers are more probable than others ...
    Ralf Ralf September 2012 Development
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…

    ... mentioned by RTape where a random number is repeatedly generated ... This depends on the original random number generator being perfectly uniform ... of the generator. Storing numbers ahead of time is ok ... R repeatedly into the large random number range 0-L. ...
    Alcoholics Anonymous Alcoholics Anonymous September 2012 Development
<1…15161718192021…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • 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
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

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