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.188s
<1…6789101112…34>
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... what I got:

    a) Move PRINT score/lives to ... />
    e) Replace ((a-1)/10) with (a/10-.1)

    a life every time a letter matches (and ... /10);l+1:
    LET a=.5+RND*(l+1):
    LET ... c(l+1)=c(a):
    LET ...
    Einar Saukas Einar Saukas October 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... non-standard "single" variation uses a different theme.

    ... version looks fairly good for a one-liner:

    ... );l+1:
    LET a=.5+RND*(l+1):
    LET ... (l+1)=c(a):
    LET c(a)=1+INT (l ... t13,3*INT (a/10-.1),3*a-10*y-3, ... =0,s*q,s*r,a,l-s+m,t+ ...
    Einar Saukas Einar Saukas October 2007 Development
  • Benchmark timeWell, the BASIC benchmark posted in Creative Computing back in the 80s came up as a topic on the AtariAge forums. The article is available online an…

    ... the sqrt, square/add , and rnd(1)/add as one operation ... !=10; ++i)
    {
    a = sqrt(a);
    r += rand() / 32767.0;
    {
    a *= a;
    r += rand() / 32767.0;
    }
    Alcoholics Anonymous Alcoholics Anonymous December 2007 Sinclair Basic
  • Benchmark timeWell, the BASIC benchmark posted in Creative Computing back in the 80s came up as a topic on the AtariAge forums. The article is available online an…

    ... square/add , and rnd(1)/add as one ... ++i)
    {
    a = sqrt(a);
    r += rand() / 32767.0 ... 10; ++i)
    {
    a *= a;
    r += rand() / 32767.0;
    RND(1) function does.
    JamesD JamesD December 2007 Sinclair Basic
  • Minigame Compo 2007Hi there, also this year, there'll be a minigame competition, open to all 8-bit computers and consoles. It consists on writing games whose size (…

    ... is found.
    LD A,(NSPPC) Collect the statement ... end of program'.
    LD A,B
    JR Z ... ) If a line number was
    LD A,H specified ...
    Paolo Ferraris Paolo Ferraris January 2008 Development
  • 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…

    ... )
    but I have set a way to visit all fields ... = 1 TO 150:
    LET r=RND*(151-f)+999.5
    LET i=m(r)+66:
    LET w=6*RND-3:
    let m(r)=m(1150-f):
    LET ... maze
    and then pick a random coordinate and when ok ...
    Dr BEEP Dr BEEP March 2008 Development
  • Emulator accuracy test?When I first created my emulator it worked fine. But then I found one or two games that had odd quirks. Eventually I found the flag or command that w…

    ... changing.

    So, while a truly thorough test would checksum ... the undocumented BIT n,(IX)|r is doing what is expected ... thing is capable of doing a LD A, B.

    Whilst not ... someone would try to implement a given instruction they are unlikely ...
    Laser Laser March 2008 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…

    ... the embedded array technique for a program I sent in ... line 900.

    A much more recent program I ... PLOT FN r(RND*255,255,PEEK 23672),FN r(RND*175,175 ... BASIC and rather cleverly constructs a maze which can always ... , so it may be a mad idea.) The maze ...
    Battle Bunny Battle Bunny March 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…

    ... /> 5 let r=768
    10 let a=int(rnd*r)+1
    15 ... ]
    #include

    int a, r;
    char *x;

    do
    {
    a = (int)((rand()*(long)(r)) / RAND_MAX)+1;

    Alcoholics Anonymous Alcoholics Anonymous March 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…

    ... THEN LET r=INT (RND*c)+1:
    POKE CODE a$(r)+22528+256 ... *CODE b$(r),255 ... :
    LET a$=a$( TO r-1)+a$(r ... +1 TO ):
    LET b$=b$( TO r-1 ...
    Dunny Dunny March 2008 Sinclair Basic
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ...
    220 let r=r(a):let c=c(a):gosub 4000
    ... r=r+1:let c=c+fn r(3)-2
    250 let r(a)=r ... :if cw then let c=w
    270 let c(a ... br /> 2000 def fn r(n)=int(rnd*n)+1
    ... 270
    250 if r=r(k) and c=c(k ... /> 530 ink 0:if r=r(f) and c=c(f ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • 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…

    ... ]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ ... ,v,p:
    LET x=RND*36+10:
    POKE n ... )-40):
    LET c=FN a(3+PEEK 23673,256):
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    [code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ c$,m,n,v,p:
    LET x=RND*36+10:
    POKE n*(c$(x)>"O"),3:
    LET c$(x)=CHR$ (CODE c$(x)-40):
    LET c=FN a(3+PEEK 23673,256):
    CLS :
    LET x=x+n*(c$(p)
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    [code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ ... ,v,p:
    LET x=RND*36+10:
    LET x ... "),3:
    LET c=FN a(3+PEEK 23673,256):
    PRINT "Room:";FN a(CODE c$(p),40)^2 ... $=h$;"NESW"(g);":";STR$ (FN a(CODE h$,40)^2) AND ...
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    ... code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    The ... startfield

    LET x=RND*36+10:
    Calculate CUBE ... />
    LET c=FN a(3+PEEK 23673,256):

    PRINT "Room:";FN a(CODE c$(p),40)^2 ... $;"NESW"(g);":";STR$ (FN a(CODE h$,40)^2) AND ...
    Dr BEEP Dr BEEP March 2008 Development
  • Computer SpacegamesBook Title: [B][URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000089"]Computer Spacegames[/URL][/B] Authors: [B]Daniel Isaaman & Jenny Tyler…

    ... /> 30 let g=int(rnd*20+1)
    40 ... let w=int(rnd*40+1)
    50 ... effect"
    330 if rnd>.4 then goto 380 ... 90 let r=w
    100 let d=int(rnd*3-1 ... -d
    140 let r=r+d
    145 scroll< ... -1
    270 let r=r+1
    280 if ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • Computer BattlegamesBook Title: [B][URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000080"]Computer Battlegames[/URL][/B] Authors: [B]Daniel Isaaman & Jenny Tyle…

    ... br /> 40 r$=""
    50 let t=int(rnd*9+1)
    r$=r$+"o"
    80 if ... lt then let r$=r$+"."
    90 next l
    60 let a=int(rnd*20)
    70 let ... br /> 150 let r$=inkey$
    160 if r$=p$ then goto ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... /> ;Assume x^2+y^2=r^2 represents the real variable ... /> ld A,D ;Point #1
    add A,H
    ld c,A
    ld A,E ...
    add A,L
    ld b,A ... A,L
    ld c,A
    ld A,E
    add A,H
    ld b,A ...
    rtunes rtunes September 2008 Development
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... />
    ; x^2+y^2=r^2 represents the real variable ... ' is ddfy =5-2*r
    ld bc,3 ;bc' is ddfx ... A,H
    ld c,A
    ld A,E
    add A,L
    ld b,A ... A,L
    ld c,A
    ld A,E
    add A,H
    ld b,A ...
    rtunes rtunes September 2008 Development
  • Help using M3 ramFrom the Multiface 3 manual. [quote]6.0 The Use of Extra 8K RAM --------------------------- The MULTIFACE's 8K RAM extension can be accessed and us…

    ... in 8192
    ld hl, 8195
    ld (hl), 82 ; 'R'
    inc ... hl
    ld (hl), 85 ... />
    ld de, 9000
    ld hl, m3app

    get ld a, (hl ... />
    cmpn inc hl
    ld a, (hl)
    cp 110 ; 'n ...
    FrankT FrankT September 2008 Development
  • Question about something I don't know what is called.I am interested in reading about something which I don't know what is called (duh). I am looking for (online/offline) reading material which explain…

    ... loader is definitely a good idea. A copy of the ... actually nothing particularly complex. A value is set up with ... (you may also hear a click if the speaker bit ...
    10 OUT 254, INT(RND * 7):GOTO 10


    ld a,1
    ld c,254
    .loop ...
    Phu Phu September 2008 Hardware
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ... LD A,0
    INC A
    LD (CURND+1),A
    LD L,A
    LD ... /> LD L,A
    LD C,(HL)
    ADD A,24
    LD L,A
    LD A ... can do it using RND command.
    Shadow Maker Shadow Maker January 2009 Development
  • Questions about registers, stack, etc.I was told that if I wanted to export code and create unprotected versions of games I should do the following: 1-Find the starting address by using …

    ... /> [FONT=Arial][SIZE=2]LD A,255[/SIZE][/FONT]
    ... /> [FONT=Arial][SIZE=2]LD A,N[/SIZE][/FONT]
    ... /> [FONT=Arial][SIZE=2]LD A,N[/SIZE][/FONT]
    ... [FONT=Arial][SIZE=2]LD I,A[/SIZE][/FONT]
    [ ... [/code]

    The R-register is NOT set.
    Dr BEEP Dr BEEP January 2009 Sinclair Miscellaneous
  • Atic Atac speed.Dear all, Excuse the noob question, but does anyone know how fast Atic Atac runs at? What I mean is, frames per second, or the amount of pixels the…

    ... /> [QUOTE=Arjun;327444]The *what*??? R register?

    * ... keep writing a fixed value to the R register (e ... .g.

    [code]
    DI
    LD A ... , 10
    loop:
    LD R, A
    JR loop ...
    BloodBaz BloodBaz January 2009 Games
  • Atic Atac speed.Dear all, Excuse the noob question, but does anyone know how fast Atic Atac runs at? What I mean is, frames per second, or the amount of pixels the…

    ... of the R register? I thought the R register went ... is manually set with a [b]ld r,a[/b] in which case ... can be used as a boolean flag by the ... br />
    There was a discussion about this over on ... b]ld a,0x80 : ld r,a[/b] at one point, and [b]xor a : ld r,a[/b ...
    Digital Prawn Digital Prawn January 2009 Games
  • Interrupts - been a while !Not sure if this is the right place for this (1st post on WOS, but been a speccy user since Dec'84 :-o (yes I am that old ! :p) ), But I can't for …

    ... />
    ld a,0x80 ; flag the interrupt
    ld r,a

    ld a,(SpeedFlag) ; increase ... timer
    inc a
    ld (SpeedFlag),a
    frobush frobush March 2009 Sinclair Miscellaneous
  • Interrupts - been a while !Not sure if this is the right place for this (1st post on WOS, but been a speccy user since Dec'84 :-o (yes I am that old ! :p) ), But I can't for …

    ... />
    [CODE] ld a,0x80 ; flag the interrupt
    ld r,a[/CODE]

    evilpaul evilpaul March 2009 Sinclair Miscellaneous
  • Which is the most technically accurate Spectrum Emulator?Ok, which is the most technically accurate Spectrum Emulator? Please don't just vote but give reasons why.

    ...
    RLD/RRD
    LD A,I/R
    BIT n,(HL)

    LD A,I/R
    BIT n,(HL)

    So a total of 59 tests were ...
    rich_chandler rich_chandler June 2009 Emulators
  • Which is the most technically accurate Spectrum Emulator?Ok, which is the most technically accurate Spectrum Emulator? Please don't just vote but give reasons why.

    ... tests namely:-

    LD A,I/R
    BIT n,(IX+d ...
    rich_chandler rich_chandler June 2009 Emulators
<1…6789101112…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
ld 6.3K 67.3K
a 589.5K 1.7M
r 19.9K 26.7K
rnd 2.9K 4.1K

Related Threads

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it?<br /> <br /> Cheers
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • A.T.R.A.M. (AKA)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000319&amp;loadpics=3"]A.T.R.A.M.[/URL]<br /> <br /> Could get the AKA "A.T.R.A.M. Commander …
  • A.T.R.A.M. version 2?[url="http://www.worldofspectrum.org/infoseekid.cgi?id=0000319"]A.T.R.A.M.[/url] users were offered an updated version "From January 1985" with impro…
  • R.I.P. Mr. R.A. Montgomery[url]http://www.cyoa.com/pages/r-a-montgomery-1936-2014[/url]<br /> <br /> [quote]Raymond Almiran Montgomery, original publisher and author of the in…

Related Searches

  • r forum loading error 0 1
  • r tape loading error 0 1
  • f i r e
  • f i r e 2a
  • ld a r
  • ld r a
  • ld a b xor c loop
  • ld a b or c loop
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • ld a 5b5c
  • h a r d
  • ld a r counter
  • ld a r bug
  • ld a ix
  • ld bc 65533 a 254 out c
  • cpi ld a b or c
  • ld ixl a
  • ld a 1 call 1601

Copyright © 2024 World of Spectrum