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>
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... all. I'm learning Z80 asm on Speccy 48K, and to ... here it is, the first asm I've ever written using ... [url=http://clrhome.org/asm/]the excellent ORG web ide ... . Remember this is my first asm code so be gentle :)
    ST1 ST1 November 2018 Development
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... (i)
    LET r=INT(RND)*255
    LET A(i ...
    NRA NRA November 2018 Sinclair Basic
  • random number generator without using rnd in basicwhat is the simplest way to generate random numbers in basic (0-255), without using the rnd statement? i also want it to always generate the same…

    what is the simplest way to generate random numbers in basic (0-255), without using the rnd statement?

    i also want it to always generate the same numbers over and over again.
    digital digital June 2019 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... write a simple C/asm horizontal scrolling game[/b ... up a good C/asm development environment can take ... __FASTCALL__ scroll_left()
    {
    #asm
    db 6,191,33 ... {
    scroll_left();

    #asm
    halt
    #endasm
    Timmy Timmy September 2020 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... br /> 110 LET x=40+RND*176
    120 LET ... y=40+RND*95
    130 LET ... r=10+RND*30
    140 CIRCLE ... pattern
    310 IF RND>0.8 THEN GO ... LET o=15624+8*INT(RND*30)
    330 REM ... br /> 410 LET c=56+RND*7
    420 POKE ...
    Volker Volker February 2021 Software
  • How to write a simple game in C+asm.This is just a link to an old post in Development, about a post of making a simple game in C for the Spectrum. It was suggested that this thread shou…

    ... -to-write-a-simple-c-asm-horizontal-scrolling-game-tutorial-z88dk ...
    Timmy Timmy April 2021 C
  • Pocket Clive - 2 QuestionsHello, I've just started using Pocket Clive on my iPaq pocket PC, excellent emulator BTW. 1. I have just wrote a small BASIC program to randomly pi…

    ... on subsequent calls to the RND function, making it not ... the same value produced by RND if you are manually ... /> 100 LET p=INT (RND*n)+1
    110 PRINT ... /> 130 LET p=INT (RND*n)+1
    140 PRINT ... using BASin using the below asm listing:-

    org ...
    Digital Prawn Digital Prawn December 2005 Emulators
  • 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…

    ... it is acceptably fast in asm or C.

    Basic ...
    10 let a=int(rnd*r)+1
    15 for ... .php?h5bfiiddhaw[/url]

    Asm would probably be around 4x ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Sinclair Basic
  • New game: Knights & DemonsHi everybody! Our new game is here. Knights & Demons is a puzzle game in which you have to turn all demons into knights before time is up. [IMG]htt…

    ... 80: POKE 65283+f, int(rnd*8): next f
    BIFROSTstart ... to 30
    asm
    halt
    end asm
    next f ...
    Einar Saukas Einar Saukas February 2013 Brand new software
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... .co.uk/~jg27paw4/pourri/txt2emu.asm[/url]

    The If ... : LET b=POINT (5,6)+RND: LET c$=SCREEN$(7,8 ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... [B]PEEK[/B] and [B]RND[/B]), and a [B]sub ... /> [CODE]sub FASTCALL sync()
    asm
    ld a, i ; check ... frame before returning
    end asm
    end sub[/CODE]
    Einar Saukas Einar Saukas August 2013 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…

    ... just tried something similar in asm and it looks very random ... ?

    I take this RND generator for granted now because ...
    R-Tape R-Tape September 2013 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…

    ... just tried something similar in asm and it looks very random ... ?

    I take this RND generator for granted now because ... FASTCALL randomBase () AS UBYTE
    ASM
    random:
    ld de ... TO the END)
    END ASM
    END FUNCTION

    Gedlion Gedlion September 2013 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... 22, it will print the RND token.

    To treat ... the simple one in UDG256.ASM, or the comprehensive one which ... .co.uk/~jg27paw4/pourri/printa0.asm[/url]

    which treat ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... 22, it will print the RND token.

    To treat ... the simple one in UDG256.ASM, or the comprehensive one which ... .co.uk/~jg27paw4/pourri/printa0.asm[/url]

    which treat ...
    Speccy_James Speccy_James February 2014 Development
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... the changes for the new RND routine. Even with this extra ... run time.

    The .ASM file now holds two routines ... ; the remainder is the Baker RND routine.

    Two small ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... 2, read better) for two RND, good one. i have to ... i saved it with 1000stars.asm
    edit
    a single ...
    digital digital July 2020 Assembler
  • Emulation and Debugging functionality[Cut n Paste from the original CSS post] Hi all, I'm currently working on SPIN's debugger, which is coming along nicely. Mostly, it's been devel…

    ... language (compiled
    to x86 asm) which can be run before ...
    Dunny Dunny June 2002 Emulators
  • 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…

    ... /> 40 LET INKY = 1+INT ( RND* 7)
    50 LET X ... = 1+INT ( RND* 30)
    60 LET Y ... = 1+INT ( RND* 20)

    ; Printout!
    Takashi64 Takashi64 January 2003 Sinclair Miscellaneous
  • SPIN-Lite (Working Title) test availableHi all, I've been having a break from SPIN, pursuing my original goal of a BASIC interpreter. Well, I took SPIN's main core and hacked it around…

    ... so a lot of x86 asm was used, so this is ...
    Dunny Dunny January 2003 Sinclair Basic
  • BASin Release 4a available for Download[Cut'n'Paste from CSS] Ok, after a reasonably successful test in #speccy, I've released BASin's latest version to an unforgiving world. New in this…

    ... almost completely rewritten in x86 asm,
    Syntax Helper bar,
    Dunny Dunny April 2003 Sinclair Basic
  • BASin Release 6 available for DownloadHi all - It's another cut'n'paste from CSS :) I've been tapping away again, and seeing as a couple of people have recently seen BASin's latest bits…

    ... if a program uses z80 asm, and locks up on startup ...
    Dunny Dunny June 2003 Emulators
  • 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 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 be random gets stuck on a number. I've tried RANDOMISE but it didn't work - unless I used it incorrectly. ...
    Pirate Pirate June 2003 Sinclair Basic
  • A great ROMBack in the early 90s my ZX clone (called "Cobra" if anyone's interested) had a sort of a "SamRam" (actually an alternate ROM accessed via a NMI) tha…

    ... , but compared to many other asm/mon systems it is absolutely ...
    GOC GOC August 2003 Sinclair Miscellaneous
  • Z80 Emulator Source?Found a link to this on comp.sys.amstrad.8bit. i havent been with the discussion long but supposedly this is the source for a Z80 emulator. Forgive m…

    ... .com.au/~zhulien/dev/z80emu2.asm"]http://homepages.ihug.com.au ... /~zhulien/dev/z80emu2.asm[/url]

    [code]
    Amigo Amigo August 2003 Emulators
  • The REAL minigames thread - TK, you are BANNED !!!!!!First of all: Martijn, don't delete this too. If we delete every topic with TK BS, he'll simply move to another one, and another one, and another on…

    ... in comparison with C or ASM it is inherently much more ...
    GOC GOC August 2003 Sinclair Miscellaneous
  • YM effects on Atari ST reproducable on Speccy?From the YM music format site: "SID-Voice SID-Voice is a great sound trick on the ATARI, because of low CPU consuming and great sound effects. It …

    ... and actually learned to code asm!
    b00mzi11a b00mzi11a August 2003 Sinclair Miscellaneous
<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