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.007s
<1234567…34>
  • 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 ...
    49 if you PRINT PEEK 14000
    ivanb303 ivanb303 November 2016 Assembler
  • 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
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    ... b] is the ability to "random read access" an OPEN# ... FN p(a)=256*PEEK (a+1)+PEEK a : REM DPEEK ... 1
    1040 IF CHR$ PEEK (cha+4)"M" THEN PRINT ... Sect
    1110 LET sect=PEEK (cha+41)
    1120 ... /> 1430 PRINT #N;CHR$ PEEK (cha+593);
    1440 RETURN ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • 16k and PEEK 40000 (on a real 16k Spectrum)?Imagine a real 16k Spectrum (without any RAM expansion or circuits fitted). What would I get if I do a PEEK or try to access memory over 32767? Wo…

    ... get if I do a PEEK or try to access memory ... 49152?
    - some kind of random (I mean, not a fixed ...
    Zup Zup June 2020 Hardware
  • 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 ... capable of generating a pseudo-random number (ie. one from a ...
    Spector Spector April 2001 Sinclair Miscellaneous
  • 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…

    ... . Does anyone else agree that random elements like this ruin a ...
    Spector Spector July 2002 Games
  • 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 ...
    Takashi64 Takashi64 January 2003 Sinclair Miscellaneous
  • 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 …

    ... bad guys shoot you at random, it works fine, but after ... that is supposed to be random gets stuck on a number ...
    Pirate Pirate June 2003 Sinclair Basic
  • 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…

    ... ZX81 POKE (or, more probably, PEEK) once which would display the ...
    The Mighty Dopethrone The Mighty Dopethrone October 2003 Sinclair Miscellaneous
  • Random Pick.I finished the game 'Simpsons Hit & Run' on the weekend and I am about to choose another game to start playing in a few days time. I was thinking of…

    ... got me thinking that a 'random pick' feature might be a ... archive so that a totally random game could be choosen for ...
    Adventurer Adventurer March 2004 Sinclair Miscellaneous
  • 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 …

    I 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 the above

    Cheers
    robpearmain robpearmain September 2004 Development
  • 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…

    ... simple routine to get a random number from 1 to 4 ... very complex or that much random, it just have to produce ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... 't it be faster to PEEK/POKE values at an absolute ...
    GOC GOC September 2005 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…

    ... program in VB gets 5 random generated numbers (min=1 max ... to have the very same random generated numbers (not only the ... /> More generally:Can the pseudo random numbers generated in VB environment ... some way synchronized to pseudo random numbers generated in C or ...
    andregiax andregiax April 2006 Sinclair Miscellaneous
  • Windows Vista Sidebar Gadget - Random World of Spectrum gameWell, now you all have a reason to upgrade to Windows Vista... I knocked up a sidebar gadget to load random games from World of Spectrum. Every 15 m…

    ... a sidebar gadget to load random games from World of Spectrum ...
    mjwilson mjwilson May 2007 Sinclair Miscellaneous
  • 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 ...
    bigjon bigjon March 2008 Development
  • Random Gamer ep1 - Spectrum SpecialHi, in Random gamer I randomly choose 3 games for a given system and do a sort of video review of them. The first attempt is with Spectrum games and …

    Hi, in Random gamer I randomly choose 3 ... YouTube Gaming Video's inc. Random Gamer Ep2[/b][/u][/url]
    SirClive SirClive June 2008 Announcements
  • 10 Random things about you.Have a butchers of this. 1. I fell thirty feet out a window when I was 1 year old onto concrete, landed on my ass and survived totally unscathed. …

    ... />
    Now tell me ten random things about you.
    Ælita Ælita August 2008 Chit chat
  • Random access, file sizes and more.A few days ago Aowen mentioned that random access to saved data is not a problem. Here are my thoughts, doubts and suggestions regarding this subject…

    ... days ago Aowen mentioned that random access to saved data is ...
    zxbruno zxbruno November 2008 Development
  • 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 ... 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
  • 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 ...
    djloonix djloonix November 2009 Sinclair Basic
  • 48k spectrum restarts by itselfFirst of all hello from a newb and thank you for your help. This site has already offered me a lot of insight. I have a 48k spectrum that will boot …

    ... and will stay working for random times say 10secs to 20 ... able to do teh POKE - PEEK command to check the memory ...
    hedge hedge January 2010 Hardware
  • Kung Fu Knights / Random things on tapesI've just sampled 'Kung Fu Knights' by Top Ten and was cropping the samples and thought there was some garbage or random data at the end of side 2. W…

    ... there was some garbage or random data at the end of ... else ever come across any random stuff hidden away on tapes ...
    richl richl April 2010 Infoseek database
  • Random game text funMy wife is watching Nigella Lawson shovelling her cooking into her pie hole, and she was making Chocolate hotpots. But it sounded like she said Hot-a…

    ... ?"

    Anyway this totally random train of thought got me ... me wonder if typing other random bits of text or conversations ...
    dm_boozefreek dm_boozefreek April 2011 Chit chat
  • 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 ... 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…

    ... ish basic program to compare random sets of numbers
    for ... of 6 numbers that the random generating routine (that i thought ... !

    10 REM PUT RANDOM NUMBERS INTO X ARRAY
    130 REM PRINT RANDOM NUMBERS IN SETS OF 6 ...
    loonix loonix July 2011 Sinclair Basic
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... 23231: POKE a,PEEK a-(64 AND PEEK a>64): NEXT ... 0-21 are filled with random blocks of bright paper and ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... .php?t=23070"]Xor-Shift random number generator for Z80[/URL ...
    Patrik Rak Patrik Rak June 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…

    How 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 can make it 0-127,0-63,0-31 and so on. But what if my range isn't that "equal"?
    Ralf Ralf September 2012 Development
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... "roaming" type needs a better random movement algorithm, and it needs ... DEF FN p(a)=PEEK a+256*PEEK (a+1): DEF FN ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 5:39PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
peek 1.9K 4.4K
random 6.6K 8.2K
ivanbasic 138 147

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. …
  • 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…
  • 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 …
  • More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…
  • You live you learn - random ramblingsWell I've been around for some time now and I continue to be amazed at the new things I find on WoS.<br /> <br /> For example, today I came across Ma…
  • 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…
  • Random Pick.I finished the game 'Simpsons Hit &amp; Run' on the weekend and I am about to choose another game to start playing in a few days time. I was thinkin…
  • 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.<br /> <br /> Any ideas on …

Related Searches

  • random
  • 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
  • random assembly
  • random number code
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • rutine random
  • ivanbasic peek
  • random ivanbasic
  • peek 23672 random numbers

Copyright © 2024 World of Spectrum