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.004s
<1234567…34>
  • 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
  • Zaf-forth to Z80 compiler Build 5This forth like complier is changing almost every day with new items been added. Here is a new Zaf-forth word add it the sptword.fth file - which is…

    ... br /> =zxcircley
    =zxcirclex
    asm
    ld a,(zxcirclex)
    ;"rnd, swap, zxcircle,"

    < ... "


    50 rnd
    ;" get a random number ... mul 255 swap sub
    rnd ?rrandom add =xrandom
    ;" ...
    Steve(spt) Steve(spt) October 2004 Development
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as "Grabbed" by SmallC. I can see the assembler implementation but I …

    ... what I see in the asm is this ( grabs from screen ... width, int length )
    {
    #asm
    push ix
    ld ...
    DonkeyPong DonkeyPong January 2007 Development
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number. Huppy Burthus-day.

    Think of a number between 0-100 RND, go on, any number.


    Huppy Burthus-day.
    Graz Graz June 2007 Chit chat
  • [WANTED] ASM routinesHi there, 1.) i really need 5-6 working and well commented routines, showing assembler capabilities. They should be simple, but not too much complic…

    ... many books about programming in asm but the codes were too ...
    JuPo JuPo May 2008 Emulators
  • How do I load .ASM text files into an assembler ?I notice that the old Sinclair magazines contain assembler routines that someone has put into .ASM files. These files are text files. I have a copy …

    ... that someone has put into .ASM files. These files are text ... suitable for loading in the .ASM files ?

    So how ... do I use the .ASM files without typing the assembler ... Linux tool that converts the .ASM file into a .tzx/.tap ...
    bladerunner bladerunner January 2009 Sinclair Miscellaneous
  • What's the best prog to read .asm files?I'm talking about on the PC, i.e. grab an .ASM speccy file, read it and plop it on-screen with all the fancy colours for each word/remarks/numbers et…

    ... PC, i.e. grab an .ASM speccy file, read it and ... [U]BASIC[/U] and not asm ... oh, well)

    Thanks ...
    ZnorXman ZnorXman June 2009 Sinclair Basic
  • reimport of exported asm in 7upI know it may seem a cryptic title but is there a way of importing an asm file ( created using the export data option within 7up) back into 7up or an…

    I know it may seem a cryptic title but is there a way of importing an asm file ( created using the export data option within 7up) back into 7up or any other editing software , i have a bunch of asm graphic files and have lost the original sev files ???
    CodenameV CodenameV February 2010 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... classic 'Hello World' print with ASM code ?
    I cant figure ... handle strings with the spectrum asm.

    I imagine that ...
    arfgh arfgh June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    ... , and not in ASM. For example in asm with the follow definition ...
    arfgh arfgh June 2010 Sinclair Basic
  • Full ASM code or a mixed solution ?Ok another important question. Building a program in asm, is it interesting that all the program is done in asm or always is interesting for some r…

    ... />
    Building a program in asm, is it interesting that all ... the program is done in asm or always is interesting for ... , to be used into our asm code.
    or
    define ... the gdu into the asm code and only have the ...
    arfgh arfgh June 2010 Sinclair Basic
  • Building a menu in ASMWEll as probably some figured, i am learning asm at least to make the basic menu i did in basic. It is a menu where we can select games to be loaded.…

    ... some figured, i am learning asm at least to make the ... wanted to do it in asm. Also in the 80's ... and always wanted to make asm but never had the required ... idea to make this in asm is that each line of ... all this, but now in asm and due to my limited ...
    arfgh arfgh June 2010 Sinclair Basic
  • Arrays in asm ?Just following the idea to make the menu entirely in asm, how can i handle arrays in asm to store the each game loader to be loaded ? thx in advance

    Just following the idea to make the menu entirely in asm, how can i handle arrays in asm to store the each game loader to be loaded ?

    thx in advance
    arfgh arfgh June 2010 Sinclair Basic
  • Do a load "file" with ASMFollowing the idea to build a menu with asm, now i need to know how to do a load "file". I can use the Rom routine but i am not sure if the rom rout…

    ... to build a menu with asm, now i need to know ...
    arfgh arfgh June 2010 Sinclair Basic
  • quick - Zx80 ASM questionWhile I am ploughing through lots of ASM listings, one of my earlier adaptation attempts surprised me [B][asm code][/B] [code] org 32768 start: ld…

    ... am ploughing through lots of ASM listings, one of my earlier ... surprised me

    [B][asm code][/B]
    [code]
    Zetr0 Zetr0 May 2011 Development
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... :

    LET m=(INT (RND*sn)+k1)*k2-k1
    RND*sn)+k1)*k2-k1: PRINT ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... seem to recall a RANDOMIZE RND command which I've entered ...
    930 LET k=INT (RND*8)
    940 LET l ... =INT (RND*8)
    950 LET m ... =INT (RND*8)
    960 LET n ...
    Wookiee Wookiee January 2012 Sinclair Basic
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    How do I go about selecting from the numbers 4,9,14 and 19?

    (RND*4)*5-1 ????? :-?
    daveysludge daveysludge March 2012 Sinclair Basic
  • Basic BASIC help needed RNDHi all, I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers. I know little now, an…

    ... />
    Let b= 1+ INT (RND*49): PRINT b

    landorb landorb March 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…

    ... flummoxed, mainly due to the RND equation!

    Any ideas ...
    daveysludge daveysludge July 2012 Development
  • 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…

    ... LET PH=INT (RND*6)+(INT (RND*6))+(INT (RND*6)): LET PD ... =INT (RND*6): LET MH=INT (RND ... *18): LET MD=INT (RND*6)
    50 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • ASM returnsHi WOS, I used to be an active member on the WOS forums back in 2010. I left the scene (along with some other members) due to various personal reaso…

    ... :)

    Regards

    ASM
    ASM ASM March 2013 Chit chat
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... .
    I'm playing with RND function to show its cyclical ...
    15 LET r=INT (RND*n)
    20 LET y ...
    mattsteel mattsteel August 2013 Sinclair Basic
  • Asm routine for AY playback?Hi, is possible to create and "name" an asm routine for playing some ay data? If yes, how? Example: Ok , I've finished a sound tracker song, now I n…

    ... to create and "name" an asm routine for playing some ay ... to use it inside an asm program. Also I need to ...
    DaRkHoRaCe DaRkHoRaCe September 2013 Development
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ...
    and
    align
    asm
    asn
    at
    randomize
    return
    rnd
    save
    sgn
    pkersey pkersey February 2014 Development
  • Hungarian notation for asm - Yes or No ?There is thing called hungarian notation - https://en.wikipedia.org/wiki/Hungarian_notation Basically it is all about using prefixed indetifier to i…

    ... for languages with types but asm is different story.
    So ...
    catmeows catmeows July 2015 Development
  • Where can I get some AY music asm/binary files?Is there an online repository for these types of file that people can download and use on their projects? Seen something similar for MSX (Z80 base…

    Is there an online repository for these types of file that people can download and use on their projects?

    Seen something similar for MSX (Z80 based AY I think), will those .asm files work on the 128 with a little tweaking?
    daveysludge daveysludge March 2016 Development
  • Communal Project for ASM NewbiesHi Folks, I tend to learn best by trying stuff and then going through the pain of it not working so that I can research and fix mistakes. I suspec…

    ... us less experienced in Z80 ASM to help us in the ...
    KrazyKattapilla KrazyKattapilla October 2016 Assembler
  • Reading Disks via ASMI'm hoping to port my Amstrad game to the spectrum (See the link in my sig for info) I will be targeting the 128 and +3 - the game will not work on …

    ... 'm trying to find some ASM examples of disk reading, documentation ... !
    3. links to example ASM source code would be a ...
    keith56 keith56 July 2017 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
asm 3.8K 6.7K

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 …
  • 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 …
  • saving to asmMy another question...<br /> I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt …
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as <br /> "Grabbed" by SmallC. I can see the assembler implementation …
  • Wanted: z80 asm routines...for the Sam.<br /> <br /> This call goes out to Colin and others who know how it should be done.<br /> <br /> If you look on the Sam C disk you ca…
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number.<br /> <br /> <br /> Huppy Burthus-day.
  • searching for ASM bookI am searching for a book with simple examples of assembler code. I found one, but i cant remember where.. i forgot even the title.. it was a scanned…
  • [WANTED] ASM routinesHi there,<br /> 1.) <br /> i really need 5-6 working and well commented routines, showing assembler capabilities. They should be simple, but not too …
  • Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
  • How do I load .ASM text files into an assembler ?I notice that the old Sinclair magazines contain assembler routines that someone has put into .ASM files. These files are text files.<br /> <br /> I …

Related Searches

  • print a char in asm
  • asm draw character
  • circle in asm
  • asm examples
  • asm
  • asm zx7
  • http clrhome org asm
  • asm tzx
  • rnd
  • new rnd
  • rutine rnd
  • asm poke function
  • asm text print
  • stack pointer location asm
  • change stack pointer location asm
  • keyboard asm
  • asm snapshot loading tape
  • snapshot loading asm
  • user asm
  • asm noise

Copyright © 2024 World of Spectrum