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

    ... />
    I looked into S-RND (in ROM at addr #25F8 ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... call random ; fetch RND number
    add a ... ld hl,(seed) ; fetch RND pointer
    inc hl ... seed),hl ; store next RND-pointer
    ld a ... ret ; A holds RND value
    seed ...
    Dr BEEP Dr BEEP August 2005 Development
  • ZX-81 Ram Pack problemHi! I know this is a ZX Spectrum forum, but I am hoping someone here might be able to help me out... I have posted this to c.s.s. but noone was able…

    ...
    20 LET A = INT(RND*255)
    30 POKE N ...
    Tom-Cat Tom-Cat September 2005 Sinclair Miscellaneous
  • What happens during a reset?I always used to wonder about this, but only thought a bit more about it last night when noticing after all these years what actually happens. Obvio…

    ... to value 2 from address 65535 downwards, then reset to 0 ...
    Gwyn Gwyn February 2006 Sinclair Miscellaneous
  • Unpublished spectrum gameHi there I have a Spectrum PDS development environment and before I get rid of my old PC which has an ISA slot I thought I should ask this question i…

    ... code's from 16384 to 65535 and a binary file. I ...
    gregory.holmes gregory.holmes March 2006 Games
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    Hey all !

    Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia called "Mirko Tipka na Radirko" which is roughly translated as "Mirko types on rubber" ( ...
    Tom-Cat Tom-Cat March 2006 Games
  • 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…

    ... 5
    Print Int(1 + Rnd * 10);
    Next n
    andregiax andregiax April 2006 Sinclair Miscellaneous
  • Wow, I'm popular![quote] Welcome, wilsonsamm. You last visited: 17 Minutes Ago at 05:14 PM Private Messages: Unread 65535, Total 1. [/quote] oh, it's a bug :(

    [quote]
    Welcome, wilsonsamm.
    You last visited: 17 Minutes Ago at 05:14 PM
    Private Messages: Unread 65535, Total 1.
    [/quote]
    oh, it's a bug :(
    wilsonsamm wilsonsamm September 2006 Chit chat
  • Floating point representationI'm planning on picking up the [url=http://matt.west.co.tt/category/spectrum/openzxrom/]OpenZXRom[/url] project from where I left off a few months ba…

    ... ROM treats integers up to 65535 as a special case: 00 ...
    gasman gasman October 2006 Development
  • Help with creating .ayI am trying to create an .AY file for Sidewalk. Now this is the first time I am trying to do anything like this, so please bear with me. Using Spin's…

    ...
    INTERRUPT=#cf7d
    SongLength=65535
    FadeLength=0
    CodeName ...
    pepak pepak March 2007 Sinclair Miscellaneous
  • ONELINER : Finger TwisterFINGER TWISTER Do you all know TWISTER, that crazy game where you had to place your left foot on yellow, your right hand on green etc. etc. Well, n…

    ... =1 TO l: LET y=RND*(6-z)+.5:
    LET ... $(6
    -z): LET y=RND*3+.5: LET b$(y ...
    Dr BEEP Dr BEEP May 2007 Games
  • 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 ...
    30 LET p=RND* 16
    40 PEN p< ...
    DonkeyPong DonkeyPong June 2007 Sinclair Basic
  • Problem with replacing all upper memory with 4164 chipsGuys, i have a problem with the high memory of a 4B issue. At first the board had OKI chips for high memory and one of them was faulty. Since its ea…

    ... 23733*256 the result is 65535 (48K) but when i load ...
    gtsamour gtsamour December 2007 Hardware
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... 20:\
    LET o=INT (RND*3-1):\
    INK 7 ...
    bigjon bigjon January 2008 Development
  • Internal functions on ZX80 keyboardHi guys, I'm trying to do some bits and pieces for the ZX80. I was wondering how you access the functions that aren't on the keyboard (RND etc.). Th…

    Hi guys,

    I'm trying to do some bits and pieces for the ZX80. I was wondering how you access the functions that aren't on the keyboard (RND etc.). They're described as 'integral functions'. Does anyone know I can get to them?
    SnakeOilSteve SnakeOilSteve February 2008 Sinclair Basic
  • 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…

    ... version of my routine used RND and ATTR to paint randomly ...
    zxbruno zxbruno March 2008 Sinclair Basic
  • 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…

    ... : Y
    EXP : E : X RND : E : T
    FLASH : E ...
    icabod icabod March 2008 Sinclair Basic
  • Changing BASIC loader in Chuckie Egg 2Hi, My aim is to include "PAUSE 0" event at the end of the loading of the Chuckie Egg 2 game. The reason is that I use emulator to load the game and…

    ... this:

    1 CLEAR 65535: LOAD "CE2" CODE: LOAD "CE ...
    maiki maiki March 2008 Emulators
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... ,0
    20 OUT 251,RND*255
    30 GOTO 20 ...
    Jimmy Jimmy April 2008 Emulators
  • Porting 8k Adventure to SpectrumSomeone has tried to help me port 8k Adventure over to the spectrum. Here is the code thus far. It doesn't seem to work with the verbs, however. I tr…

    Someone has tried to help me port 8k Adventure over to the spectrum. Here is the code thus far. It doesn't seem to work with the verbs, however. I tried getting an object, but it said "Verb not recognized. Type help for clues".

    Here is the ...
    Paul Panks Paul Panks May 2008 Sinclair Basic
  • Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)

    Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
    GreenCard GreenCard June 2008 Chit chat
  • Just wrote my first useful working Speccy BASIC program in years...A nice UK National Lottery number generator. And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replace…

    A nice UK National Lottery number generator.

    And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replacement (i.e. using 48 of the 49 numbers from 1 to 49) without repeating any number twice.
    < ...
    BigBadMick BigBadMick November 2008 Development
  • Error Message on memory testI have just tried PRINT PEEK 23732 + PEEK 23733 * 256 on what I think is a 48K rubber key machine and instead of getting either (a) for a 48k unit…

    ... /> (a) for a 48k unit - 65535
    or
    (b) for ...
    ADJB ADJB November 2008 Hardware
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker: [quote] 20 RANDOMIZE : LET a$=""…

    ... 6: LET b=1+INT (RND*LEN a$): PRINT AT g ...
    Dunny Dunny November 2008 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…

    ... register:

    [CODE]
    rnd ld hl,0xA280
    ld ...
    Patrik Rak Patrik Rak December 2008 Development
  • 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
  • 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
  • Need help with interrupts againI'm fighting to understand how interrupts code handling works I'm trying to set my simple own interrupt routine, as I don't want to be dependent on …

    ... /> LD A,24
    LD (65535),A

    LD A ... at address 255*256+255 = 65535
    ;the next byte from ... 65535 is byte 0 which is ...
    Ralf Ralf November 2009 Development
<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
rnd 2.9K 4.1K
65535 665 844

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 …
  • 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…
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19?<br /> <br /> (RND*4)*5-1 ????? :-?
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • happy birthday RNDhave a good .. if not random one..

Related Searches

  • rnd
  • new rnd
  • rutine rnd
  • when a basic program is running what happening near 65535
  • 65535
  • out 65535
  • rnd rom
  • rnd in rom
  • rnd swarfega
  • rnd asm
  • rnd slow
  • rnd performance
  • rnd peek
  • rnd repetitio s
  • rnd repetition
  • rnd weights
  • rnd percentage
  • rnd chance
  • rnd probabilities
  • print 65535

Copyright © 2024 World of Spectrum