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.129s
<1…28293031323334>
  • Making a mapI should learn Z80 assembly, but I don't have the time (really busy) and I feel like making a game. I've tried with Colt which gives me enough speed…

    ... /> Lower Upper Printer
    LD A,0 LD A,2 LD A,3
    CALL #1602 ...
    Dr BEEP Dr BEEP March 2004 Development
  • How to program Machine Code on a PC, and then run it on a speccy?Well, I've been looking into MC a bit more deeply recently - I reckon I could get my head round MC now. Back when I was a teenager, I couldn't see th…

    ... like to use instructions like ld a, lx and so... yes, u ...
    Fikee Fikee March 2004 Development
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... /> ld a,(ay_inc)
    ld l,a
    ld h,

    ld d,8
    ld ...

    ld a,(ay_inc)
    inc a
    ld (ay_inc),a
    cp 0 ...
    cyborg cyborg March 2004 Sinclair Miscellaneous
  • Why Hex in place of Denary?Ok - most MC books / tutorials advocate the use of hex instead of denary. But the Speccy doesn't actually have a Hex converter so you need to write …

    ...
    ld b,0
    ld a,(30000)
    ld c,a
    ret ... 117 translates to an opcode LD (HL),L, so your ... />
    ld (hl),l
    ld c,a
    ret

    So if the A register ...
    ld b,0
    ld a,(30004)
    ld c,a
    ret ...
    monty.mole monty.mole March 2004 Development
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    ... add hl,de
    ld a,(hl)

    ; a = array index
    a,MyArray%256
    ld l,a
    ld a,0
    adc a,MyArray ... /256
    ld h,a
    ld a ... ,(hl)

    ; a = ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Basic
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    Why not simply

    ld hl, MyArray
    ld a,(hl)

    too obvious I suppose. BTW, the speccy has index registers too, which would appear to be perfect to access arrays in memory. Are there any performance hits in using them though?
    Arjun Arjun April 2004 Sinclair Basic
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    ... simply

    ld hl, MyArray
    ld a,(hl)

    ... IY). Typical instruction:

    ld c,(ix+5)


    ld c,(ix+a)

    which doesn ... the index is typically a constant and not a variable.

    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Basic
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    ... you wanted to print such a string, you would perhaps do ... of the string
    loop: ld a, (hl) ; get first character
    display the value in a
    inc hl ;move to ...
    Arjun Arjun April 2004 Sinclair Basic
  • help with sprites from SevenUpHas anybody got source for a short m/c rountine that can send sprites designed in SevenUp to the screen or to a dummy screen? A long time ago, I wor…

    ... start address for a sprite in Misc ... br /> INC H
    LD A,H
    AND 7
    LD A,L
    ADD A,32
    LD L,A
    RET C
    LD A ... ,H
    SUB 8
    LD ... H,A ...
    Metalbrain Metalbrain April 2004 Development
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... into sample data
    ld a,h ; if 0, ... volume setting
    ld c,a
    add ... ld a,pitchfrac ; 8 bit binary fraction
    add a,remainder
    ld (remainder),a ... ; pokes byte into prev. add
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... the appropriate page into A, then...
    ; ld bc,32765
    ; ... out (c),a ; move to appropriate page

    ld l,h ... restrict it to a certain page...

    ld a,(hl) ; fetch ... byte of lookup table
    ld a,(hl) ; final sample output level ...
    gasman gasman April 2004 Sinclair Miscellaneous
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ...
    ptr:
    ld bc,ptr
    ld a,b
    or c ... -- apply volume to sample
    ld a,(bc) ; 6 bit sample
    ld a,pitchfrac
    remainder:
    add a,remainder
    ld (remainder+1),a
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... ld a,pitchfrac
    remainder:
    add a,remainder
    ld (remainder+1),a
    ld ... ld a,1 ; "ld bc" or "jp" mnemonic
    ld (ptr),a
    repeatstart:
    ld ... '
    ld l,a
    ld h,msbvoltbl
    ld a,(hl)
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • Does Screen Flipping work on a 48k Spectrum?On the other post it showed some basic code to flip the screen on a +3. Does it work on a 48k Spectrum. Can anyone show me the machine code to: Se…

    ... /> [code]
    LD HL,16384 'start screen< ... of screen
    LOOP LD A,(DE) 'fetch value backupscreen ... from LDI
    LD (HL),A 'write backup to ... to compensate
    LD A,B 'test for end ... /> The test
    LD A,B
    OR C
    Dr BEEP Dr BEEP May 2004 Development
  • How to get Grahics to wrap vertically around the screen?I am using the following code to draw an image to the screen. First I use HL to contain ROW and COLUM I then call the MapScreenFunction As I draw m…

    ... /> ld a,h
    sub 8
    ld h,a
    NextPixelLn_1:
    ld a,l ...
    add a,32
    ld l,a ...
    ld a,h
    add a,8
    ld h,a

    ld a,h ...
    robpearmain robpearmain May 2004 Development
  • VSYNC FunctionI have written a VSYNC function, so that I can clear the screen before redraw without flicker on the screen, I do this by peeking at the address 2367…

    [code]
    interrupt_init:
    ld hl,0xBE00 ; create a table of 257 bytes ...
    ld de,0xBE01 ; so ...
    interrupt_on:
    di
    ld a,0xBE ; point I to table ... at 0xBE00
    ld i,a
    im 2
    gasman gasman May 2004 Development
  • new programmer needs information hi , i have been learning c++ for a while and am trying to make games using windows but being 28 and nostalgic , i thought it would be fun try and f…

    ... 23683 with 25
    ld a,2 ; load A with the stream number ... tab
    -g3 to dump a bin file (see TASM manual ... assemble file
    prog.bin a code file which can be ... imported to a emulator. Rememeber to Clear the ...
    Steve(spt) Steve(spt) May 2004 Development
  • 16k/48k Sound FXI am now moving on from graphiocs to trying to build up a library of sound fx to be used with a 16k/48k Spectrum. Does anyone have any example m/cod…

    Here is a ZAP effect using the Beeper< ... : LD BC,180
    LD HL,10
    ZAP3: LD DE,4
    LD A ...
    ;change frequency
    DEC A
    JR NZ,ZAP4
    robpearmain robpearmain May 2004 Development
  • 16k/48k Sound FXI am now moving on from graphiocs to trying to build up a library of sound fx to be used with a 16k/48k Spectrum. Does anyone have any example m/cod…

    ...
    noise0 push bc
    ld a,(hl) ; next "random" number.
    out (254),a
    ld a,e
    cpl
    noise1 ... noise0
    pop de
    ld a,e
    sub 24 ; size ...
    robpearmain robpearmain May 2004 Development
  • 16k/48k Sound FXI am now moving on from graphiocs to trying to build up a library of sound fx to be used with a 16k/48k Spectrum. Does anyone have any example m/cod…

    ... /> ld d,a
    rlca
    rlca
    ld e,a

    ld a,l ...
    Woody Woody May 2004 Development
  • 16k/48k Sound FXI am now moving on from graphiocs to trying to build up a library of sound fx to be used with a 16k/48k Spectrum. Does anyone have any example m/cod…

    ... /> RandomBit: ld hl,(RandomSeed)
    ld a,h
    rlca
    ld d,a
    rlca
    rlca
    ld e,a

    ld a,l ...
    robpearmain robpearmain May 2004 Development
  • crashonlineI don't know if anyone from here is involved in this website but I think it is truely amazing representation of Crash as it was and I love visiting i…

    Wow! Isn't it a small world Gerard!

    Maybe we could start an Alloa Real Spectrum Enthusiasts club or, for short, A.R......on second thoughts lets not bother ;)
    highlandstew highlandstew May 2004 Sinclair Miscellaneous
  • MC 101Hello Group Members: Can't spectrum MC be embedded in a BASIC program

    ... /> RandomBit: ld hl,(RandomSeed)
    ld a,h
    rlca
    ld d,a
    rlca
    rlca
    ld e,a
    ld a,l ...
    dalmudlee dalmudlee July 2004 Development
  • found old magazineHello fellow Spectrum worshipers :) As I was not sure where to post this, so I posted it here. I guess anything can be posted under miscellaneous. …

    ... hardware...

    Give me a R Tape Loading Error any time. :)
    monty.mole monty.mole August 2004 Sinclair Miscellaneous
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... for value
    [code]
    LD A,B
    CP 100
    Dr BEEP Dr BEEP August 2004 Development
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... 6
    case7:
    ld c,a
    ld a,d
    ret
    case2:
    ld c,a
    ld a,d
    ret
    ld a,b
    ret
    case3:
    ld c,a
    ld a,b ...
    or a
    ret
    Alcoholics Anonymous Alcoholics Anonymous August 2004 Development
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... /> LD B,A ;collision with
    ADD A,16
    LD C,A

    LD A ... )
    LD B,A
    ADD A,16
    LD C,A

    LD A,D ... )
    LD B,A
    ADD A,16
    LD C,A

    LD A
    dmsmith dmsmith August 2004 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ... Y-coor
    LD C,X-coor
    LD A,B
    ... CALL #22B1 ; HL returns screenaddress
    ; A returns ... /> LD C,A
    LD B,0
    ADD HL,BC
    LD A,(HL ...
    Dr BEEP Dr BEEP August 2004 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ... written as follows:

    LD A,C
    AND 248
    LD H,(HL)
    LD L,A

    LD A,C
    AND 7
    LD DE ... A,E
    LD E,A
    LD A,(DE)
    XOR (HL)
    LD (HL),A ...
    dmsmith dmsmith August 2004 Development
<1…28293031323334>

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