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.008s
<1234567…34>
  • 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
  • Deterministic random number generatorI'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a …

    I'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a different sequence, but same seed = same sequence.

    Any pointers?
    na_th_an na_th_an February 2014 Development
  • Spectrum assembly programming Hi, I'm passionated in assembly programming and I'd like to find some documents talking about Spectrum (not Z80). Do someone have interesting refer…

    Hi, I'm passionated in assembly programming and I'd like to find some documents talking about Spectrum (not Z80). Do someone have interesting references ? Thanks for all !
    Seb Seb April 2001 Sinclair Miscellaneous
  • 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
  • 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
  • Quickest Assembly to find if point in rectangleWhat is the fastest way to see if a point is in a rectangle. e.g rectangle is 10,10 100,10 100,40 10,40 how do i know if a point (e.g 20,20) is in…

    What is the fastest way to see if a point is in a rectangle.

    e.g rectangle is 10,10 100,10 100,40 10,40

    how do i know if a point (e.g 20,20) is in the rectangle, as fast as possible in assembly
    robpearmain robpearmain March 2005 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
  • 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
  • SjASMPlus cross compiler of Z80 assembly languageHi! I want to present you cross-compiler of Z80 assembly language: [B]SjASMPlus[/B]. [SIZE="4"]Features:[/SIZE] [LIST] [*]Z80/R800 documented and un…

    ... you cross-compiler of Z80 assembly language: [B]SjASMPlus[/B].
    [*]Conditional assembly
    [*]Macro definitions
    [*]Local ...
    aprisobal aprisobal September 2006 Development
  • tips on optimizing assemblyI wrote a small routine to rotate right a whole screen character line complete with attributes. This is my third ever assembly routine, so I guess i…

    ... /> This is my third ever assembly routine, so I guess it ... how much I suck at assembly coding ;)
    na_th_an na_th_an November 2006 Development
  • 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
  • New Discussion Group? Sinclair Machine Code/AssemblyHello, What do people think about whether we should have a new discussion group relating to machine code for Z80? We have a Sinclair Basic discussi…

    ... forum but not one about assembly code/machine code for the ...
    BloodBaz BloodBaz May 2007 Sinclair Miscellaneous
  • Preferred way of determining Y co-ord in assembly?I know of 2 ways of calculating the y-cord of a pixel row for the speccy in assembly. One is to calculate the address by ways of shifting and masking…

    ... row for the speccy in assembly. One is to calculate the ...
    Arjun Arjun 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 ...
    bigjon bigjon March 2008 Development
  • Spectrum & Spectrum+ Assembly Language Course +Software[url]http://www.worldofspectrum.org/infoseekid.cgi?id=0014640[/url] Is this the one on ebay now? [url]http://cgi.ebay.co.uk/Spectrum-Spectrum-Assem…

    ... .ebay.co.uk/Spectrum-Spectrum-Assembly-Language-Course-Software_W0QQitemZ370030659183QQihZ024QQcategoryZ11994QQssPageNameZWDVWQQrdZ1QQcmdZViewItem[/url]
    zxspecticle zxspecticle March 2008 MIA/STP/SDP
  • 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
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... about learning some basic or assembly programming.

    I have ... docs on learning basic or assembly?

    Cheers ...
    lat00uk lat00uk October 2008 Sinclair Miscellaneous
  • 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
  • Assembly (getting my bearings)I wish the WoS book database was organized by theme and contained reviews :) I need your folks help. I'm interested in bringing my assembly into the…

    ... 'm interested in bringing my assembly into the Z80 and eventually ... years since I last used assembly, and that was for the ...
    rahtgaz rahtgaz December 2008 Development
  • how to reflect a byte's bit-pattern in assembly?I'm trying to use 16 pixel-wide graphics which are symmetrical around the vertical, i.e. if the left byte is 01001110 the right byte will be 01110010…

    ... there a fast way in assembly to generate the right byte ...
    bigjon bigjon January 2009 Development
  • Tips on optimizing some newbie assembly routinesI'm starting to learn some assembly language. The best way to learn is to actually code something you are going to use, so I'm creating a very simple…

    ... 'm starting to learn some assembly language. The best way to ... as I can. Sadly, my assembly skills are very, very basic ...
    na_th_an na_th_an June 2009 Development
  • Assembly code in The TerminatorSo I was watching The Terminator on T.V today. What a great movie eh? Anyway, towards the end of the movie when the terminator reaches the Tiki Mot…

    ... the readouts looks like an assembly language listing complete with ORG ... says the readouts were "primitive assembly language program code, probably from ... /> Anyone knows which microprocessor the assembly language code was for? Yes ...
    Arjun Arjun August 2009 Chit chat
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... /> ;scroll road
    ;random road left or right
    The assembly language instruction for 'return ... where the are 256 random looking bytes and add ... ld hl,14000 ;source of random bytes in ROM
    ... ld hl,14000 ;source of random bytes in ROM
    ...
    bigjon bigjon November 2009 Development
  • 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
  • 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
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
random 6.6K 8.2K
assembly 3.2K 4.3K

Related Threads

  • Spectrum assembly programmingHi, I'm passionated in assembly programming and I'd like to find some documents talking about Spectrum (not Z80). Do someone have interesting referen…
  • 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 …
  • 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…
  • 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 …
  • Quickest Assembly to find if point in rectangleWhat is the fastest way to see if a point is in a rectangle.<br /> <br /> e.g rectangle is 10,10 100,10 100,40 10,40<br /> <br /> how do i know if a…

Related Searches

  • random
  • assembly games
  • assembly games listing
  • random number code
  • cross assembly
  • assembly
  • assembly zxspin
  • first assembly
  • z88dk assembly example
  • plot assembly
  • rutine random
  • random generated mapo
  • random generated map
  • random generated
  • assembly print text
  • assembly print text at pixel
  • save to tape from assembly
  • assembly save
  • random z80
  • best emulator for assembly

Copyright © 2024 World of Spectrum