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.003s
<1…45678910…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…

    ... register:

    [CODE]
    rnd ld hl,0xA280
    ld ...
    Patrik Rak Patrik Rak December 2008 Development
  • Please help me complete this lil'programI'm editing Basic programs that were saved in Timex TOS discs, and every load command starts with LOAD *"filename". If I want to go through these pr…

    ... />
    [CODE]IF PEEK (F-1) =239 AND PEEK (F+1)=34 ...
    zxbruno zxbruno December 2008 Sinclair Basic
  • I need a bit of (speccy-related) help with my web-comic...I've posted before that I do fancy stuff for landmark episodes of my comic...well, I've reached episode 199, and for No. 200, I've drawn it as a .scr…

    ... 'll be getting a sneaky peek at the episode before I ...
    The Lone Magpie The Lone Magpie March 2009 Sinclair Miscellaneous
  • 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…

    ... 16kb machine
    print peek 23732+peek 23733*256 get back random ... 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
  • Couple of questions...Howdy, 1. Is there a decent way to get a random number in BASIC/MC? I've been using LET a=INT(RND*2)+1 but the numbers tend to stay at 1 or 2 most …

    ... been using LET a=INT(RND*2)+1 but the numbers ...
    polomint polomint March 2009 Development
  • Very simple 128k memory test?Just an idle thought, but... If on a 48K machine: [INDENT][B]PRINT PEEK 23732 + PEEK 23733*256[/B] [/INDENT]yields the last reliable RAM address, …

    ... />
    [INDENT][B]PRINT PEEK 23732 + PEEK 23733*256[/B]

    szeliga szeliga April 2009 Hardware
  • Writing internet servers in ZX BASICNew Spectranet news! I have just finished adding the code to allow listening sockets to be used from BASIC. A simple example: [code] 10 %listen #4,…

    ... ,4
    30 PRINT #5;RND
    40 GO TO 30 ... m
    50 PRINT #i;RND
    60 NEXT i
    Winston Winston August 2009 Hardware
  • ** new cronosoft range ***If you fancy a peek at the new Cronosoft range, pop over to the website! A lot more games are now available - and hopefully, the website will work a…

    If you fancy a peek at the new Cronosoft range, ...
    chaosmongers chaosmongers September 2009 Games
  • More on Randomize commandI always used to use randomize xxxxx then peek 23670 and 23671 to turn a 16 bit number into 2 8 bit numbers but only noticed yesterday that randomize…

    I always used to use randomize xxxxx then peek 23670 and 23671 to turn a 16 bit number into 2 8 bit numbers but only noticed yesterday that randomize 0 appears to do nothing. anyone know if this does anything?
    nuggetreggae nuggetreggae December 2009 Sinclair Basic
  • Need help with controls in some programI've been able to preserve some software for WOS recently. Among the titles there is a Polish drawing utility called Graphic's Master. The WOS entry…

    ... /> Maybe some would like to peek into the code and see ...
    Ralf Ralf January 2010 Development
  • 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 …

    ... able to do teh POKE - PEEK command to check the memory ...
    hedge hedge January 2010 Hardware
  • Peter Mckinstry Concept Art OnlineOf Doctor Who fan interest, however he's also got his 'RARE' doodles for Sabre Wulf on there too. Its well worth a peek. [url]http://www.petermckins…

    Of Doctor Who fan interest, however he's also got his 'RARE' doodles for Sabre Wulf on there too. Its well worth a peek.

    [url]http://www.petermckinstry.com/index.htm[/url]
    ZX Beccy ZX Beccy February 2010 Chit chat
  • 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…

    ... 2: LET j=INT 14-(RND*12): FOR z=18 TO ...
    NRA NRA February 2010 Sinclair Basic
  • Peter Giblin 1984/1985Philip Giblin Early boards on eBay As revealed in the letters pages of YS in 1984, Philip Giblin produced boards for the SOFT-ROM and two of his bo…

    ... or RAM is used by PEEK and POKE.

    In ...
    Geoff Geoff April 2010 Hardware
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... ].
    [code]LET a = PEEK 23635 + 256 * PEEK 23636[/code]

    ajmoss ajmoss June 2010 Development
  • Happy birthday RND!!Merry birthday... drink lots!! :smile:

    Merry birthday... drink lots!! :smile:
    GreenCard GreenCard June 2010 Chit chat
  • DivIDE with gray +2 LOAD not workingI have 128+2 gray. It has faulty upper memory. PEEK 23733 shows 191. I wanted to use divIDE to load some test programs, but it always hangs when exec…

    ... has faulty upper memory.
    PEEK 23733 shows 191.
    I ...
    kpuchatek kpuchatek June 2010 Hardware
  • Broken ram or what?Hi! I own ZX Spectrum 48K. When i run command PRINT PEEK 23732 + 256 * PEEK 23733, I should get answer 65535? But i get 49151. In my machine the upp…

    ... i run command PRINT PEEK 23732 + 256 * PEEK 23733, I should get ...
    lillaolle64 lillaolle64 July 2010 Hardware
  • Die Rolling sound?Digging out my old Fighting fantasy programs (so far unsuccessfully... thanks c60) had me wondering how I'd program it these days. Hopefully better,…

    ... to 12
    BEEP rnd/100,(-14-(rnd*5))
    NEXT n ...
    Gedlion Gedlion July 2010 Sinclair Basic
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ...
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • 48K Speccy Repair Log.Some people may know my love for writing up my repairs of arcade PCBs on various forums so thought I would do the same for this little fella. Had th…

    ... membrane ribbons.

    The PEEK test to determine if the ...
    Womble Womble August 2010 Hardware
  • Robert Harding: The Court of Re-LifeHere's a sneaky peek at my new Space Adventure novel, due out next year. [url]http://www.youtube.com/watch?v=ZCFM_UmysG8[/url]

    Here's a sneaky peek at my new Space Adventure novel, due out next year.

    [url]http://www.youtube.com/watch?v=ZCFM_UmysG8[/url]
    Graz Graz September 2010 Chit chat
  • Spectrum lost upper memoryHi again, I have a Rubber key Spectrum(issue 4S) which lost it's whole upper memory. It's worked okay, but i forgot it on over last night. My son wa…

    ... . So i wrote PRINT PEEK 23732+256*PEEK 23733 and got result ...
    lillaolle64 lillaolle64 September 2010 Hardware
  • Another machine code problem, sorry[CODE] OPCODE HEX ADD LD A,00 3E00 F000 PUSH AF F5 F002 LD B,05 0605 F003 LD C,06 0E06 LOOP F005 POP AF F1 ADD A,C 80 DEC B 05 …

    ... but when i type print peek 64000 it says 15
    Robin Robin September 2010 Sinclair Basic
  • Looking for cursor routineIt's been a long time since I programmed a little bit in Basic, so I decided to create a simple cursor routine: [url]http://db.tt/SPnSdpx[/url] I k…

    ... returns to Basic (maybe via PEEK?)
    -Return to Basic if ... could also be read via PEEK). Maybe up to n keys ...
    zxbruno zxbruno September 2010 Sinclair Miscellaneous
  • A bug in BASin?Hi Folks, Have I found another bug in BASin? I wrote the following small program: [CODE]10 PRINT AT 0,0;CHR$ PEEK 23556;" " 20 GO TO 10[/CODE] …

    ... PRINT AT 0,0;CHR$ PEEK 23556;" "
    20 GO TO ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    ... *PEEK 23674+256*PEEK 23673+PEEK 23672):
    LET mm=(65536*PEEK 23674+256*PEEK ... 23673+PEEK ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • For those that are interested: SpecBAS 0.0.601 available nowWith added bug fixes! This build allows you to PEEK and POKE strings to memory banks (for very fast movement of bytes in memory) and to send variable…

    ... ! This build allows you to PEEK and POKE strings to memory ...
    Dunny Dunny December 2010 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
rnd 2.9K 4.1K
peek 1.9K 4.4K

Related Threads

  • 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 …
  • 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…
  • Speed of variables vs. POKE/PEEKGreetings,<br /> <br /> I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone a…
  • 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…

Related Searches

  • 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
  • rnd
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • new rnd
  • rutine rnd
  • address of basic program peek
  • ram test basic poke peek program
  • ram test basic poke peek program data
  • rnd based on peek 23672

Copyright © 2024 World of Spectrum