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.110s
<1…28293031323334>
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... of getting arguments from a function into asm seems ... br /> I have a asm rountine to print a 8x8 block
    #asm
    ld hl,2
    add hl,sp
    ; skip over ... sure if there is a flag to stop this ... I may have made a mistake by passing these ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... /> #asm

    ld hl,2
    add hl,sp ; skip over return ... /> add a,l ; add to low byte.
    ld l,a
    LD (HL),E ... />
    LD HL,#16384
    LD A,B
    ADD A,L
    LD ...
    slenkar slenkar February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... /> add a,l ; add to low byte.
    ld l,a
    LD (HL),E ... />
    LD HL,#16384
    LD A,B
    ADD A,L
    LD ... /> ld hl,7
    add hl,sp
    ld d,(hl)
    dec hl

    LD HL,#16384
    LD A,B
    ADD A,L
    LD ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... /> add a,l ; add to low byte.
    ld l,a
    ld (hl),e ... />
    LD HL,16384
    LD A,B
    ADD A,L
    LD ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... bc,0
    add hl,bc

    ld a,c ; i = ( i ... />
    rnd ld hl,table

    ld a,(hl) ; i = ( i + 1 ... ),a

    xor a
    ld b,a

    ld c,(hl ...
    Patrik Rak Patrik Rak May 2015 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... 7
    inc a
    ld (hl),a

    inc hl ; hl = &cy ... q[i]
    add a,l
    ld c,a
    jr nc ... ;q[i]
    add a,l
    ld c,a

    ld ...
    Patrik Rak Patrik Rak May 2015 Development
  • AYFX .afb files<p>I've been creating sound effects using AYFX v 0.4.&nbsp;How do you go about implementing these files into .asm to use in a game?</p><p>I cant make…

    ... when bit6 is
    set, a single byte with noise period ... c,(hl)
    inc hl
    ld b,(hl)
    add hl,bc
    hl= ... every effect there could be a null terminated text
    ... was saved
    into a file using corresponding item of ...
    Alcoholics Anonymous Alcoholics Anonymous May 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... (HL),A
    PUSH HL
    LD DE,$20
    ADD HL,DE
    LD (HL),A ... HL
    LD L,A
    LD H,0
    ADD HL,HL
    ADD HL,HL
    ADD HL,HL ...
    dbolli dbolli June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... which might render a floating point result. ... br /> DoubleHeight:
            ld   a,2
            call $1601           ... ;CHAN-OPEN open channel A
            ld   ix ... )      ;DEFADD
            ld   a,(ix+6)        ;  =d$ length ...
    Battle Bunny Battle Bunny June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... nc,print_string
     ld a,d
     add a,8
     ld ... HL at graphic
     ld h,0
     ld l,a
     add hl,hl ...  ;x2
     add hl,hl ;x4
     add hl,hl ;x8
      ... address here
     add hl,bc ;HL now pointing at graphic
    R-Tape R-Tape June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... />         ld   h,0
            add  hl,hl
            add  hl,hl
            add  hl,hl           ;HL=CODE d$(c)*8 ... />         inc  hl
            djnz LoopB
            ld   a,e
            add  a,32            ;increment ...
    Battle Bunny Battle Bunny June 2015 Development
  • Multiplying. Again.Is there a faster way of hl=a*32 than doing add hl,hl 6 times?<div><br></div><div>I get the feeling that working with 8 bit registers for most of it …

    Is that any value in A, or is it limited?I'm pretty bad at the maths stuff but I'd be surprised if you'll do significantly better than ADD HL,HL, even with a flabby lookup table.EDIT - ooh what abour RLD?
    R-Tape R-Tape June 2015 Development
  • Multiplying. Again.Is there a faster way of hl=a*32 than doing add hl,hl 6 times?<div><br></div><div>I get the feeling that working with 8 bit registers for most of it …

    ... ,a  ;4t
     add hl,hl ;11t
     add hl,hl ;11t
     add hl,hl ;11t
     add hl,hl ;11t
     add hl,hl ...  ;11thowsabout
     xor a  ;4t ...
    R-Tape R-Tape June 2015 Development
  • Multiplying. Again.Is there a faster way of hl=a*32 than doing add hl,hl 6 times?<div><br></div><div>I get the feeling that working with 8 bit registers for most of it …

    ... l,a
    REPT 5
    add hl,hl
    ENDR

    HL=A*32 ... using RLD:

    ld hl ...
    ld l,(hl)
    ld h,a
    add hl,hl

    The ...
    Einar Saukas Einar Saukas June 2015 Development
  • Multiplying. Again.Is there a faster way of hl=a*32 than doing add hl,hl 6 times?<div><br></div><div>I get the feeling that working with 8 bit registers for most of it …

    ...     ld l,0
        or a
        rra
        rr ... rr l
        ld h,a

    Otherwise, if ... with ADD A,A's and the rest with ADD HL,HL's< ... br />
    That or using a look ... h,MultTable/256
        ld a,(hl)
        inc h
    ...
    Hikaru Hikaru June 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... ,a
    ld de,VectorTable
    add hl,de
    ld a,(hl)
    inc hl ...
    ld h,(hl)
    [code] add a,a
    ld (addr+1),a
    addr:
    ld hl,(jump_table ...
    MatGubbins MatGubbins August 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... ,a
    ld de,VectorTable
    add hl,de
    ld a,(hl)
    inc hl ...
    ld h,(hl)
    [code] add a,a
    ld (addr+1),a
    addr:
    ld hl,(jump_table ...
    Einar Saukas Einar Saukas August 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... /> ld a,(hl) ;a=1 or 2
    inc a ;a=2 or ... ld a,(hl) ;a=1 or 2
    dec a ;a=0 or ... a,(hl) ;a=1 or 2
    cpl ;a=-2 or -3
    add a,4 ;a ... /> ;Best
    ld a,(hl) ;a=1 or 2
    xor ...
    Einar Saukas Einar Saukas August 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ...
    ld e,a
    add hl,de
    add hl,hl
    add hl,hl ; hl=a*12
    ; 9 ...
    ld l,a ;hl=a*3
    add hl,hl ;hl=a*6
    add hl,hl ; Einar Saukas Einar Saukas August 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... a, (frame_count)
    ld e, a ; Set index low byte
    add hl, de ; Add ... offset to base
    ld a, (hl) ; Look up ...
    Einar Saukas Einar Saukas August 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... ,a
    ld de,VectorTable
    add hl,de
    ld a,(hl)
    inc hl ...
    ld h,(hl)
    ld a,(Number)
    add a,a ; a*2 (limits Number to 128)
    add a,VectorTable ...
    Einar Saukas Einar Saukas August 2015 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... l,a ; char
    push hl ; store hl
    add hl,hl ; hl=hl*2
    add hl,hl ; hl=hl*4
    pop de ; de=original hl
    add hl,de ; hl=hl ...
    tstih tstih August 2015 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ...
    REPT 5
    add hl, bc ; character gfx offset = ... with screen
    ld (hl), a ; store on screen
    ... or c
    ld (hl), a
    inc h
    ...
    Kiwi Kiwi September 2015 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... a
    ld d, 0
    REPT 6
    add hl ... , de ; * 6
    ENDM
    ex de, hl ; ... ld (hl), a
    ld a, c
    and a
    ...
    Kiwi Kiwi September 2015 Development
  • Subtract 4 from an addressThis is a novice Z80 question really: I'm trying to vertical scroll my back buffer, but I'm not sure of the quickest way to apply an offset and mo…

    ... the fastest possible implementation. A shorter alternative is also possible ...

    ld hl,-40
    add hl,sp
    ld sp ... next step and implement a circular buffer as others ... decreasing the addresses before a byte is copied therefore ...
    Einar Saukas Einar Saukas September 2015 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... - correct for missing sbc a,' '
    add hl,bc ; now hl = FONT_ADDR + 7 * ... br /> ld (hl),a ; write background color to screen
    add hl,bc ; next ... br /> ld (hl),a ; write background color to screen
    add hl,bc ; next ...
    JamesD JamesD October 2015 Development
  • Heavy on the magick bugsDo you know any "Heavy on the magick" bugs or glitches? As far I know cheat with realign status and not well drawn cyclops arm http://i.imgur.com/VY…

    ... /> [code]
    ld hl, keyboard_buff
    inc (hl) ;increase length
    ld ... d, 0
    add hl, de
    ld (hl), a ;put letter to buffer ...
    Bedazzle Bedazzle October 2015 Games
  • r-type in development for the sam coupehttp://cookingcircle.co.uk/ we need z80 coders graphics artists and audio this is the amstrad cpc 6128 version: https://www.youtube.com/watc…

    ... A
    29B2 87 ADD A,A
    29B3 87 ADD A,A ;*8
    29B4 83 ADD A ... /> 29BE 5E LD E,(HL) ;GET WIDTH FROM STRING ... 29C1 23 INC HL
    29C2 E5 PUSH HL
    ... NEXT SCAN, A'=INVERSE MASK
    29D5 ;HL' CAN ... WIDTH)
    29E0 09 ADD HL,BC ;DROP 1 SCAN ...
    rogerjowett1 rogerjowett1 October 2015 Development
  • Games not compatible with the 128+ & grey +2Like the +2A & +3 thread, there are a few games that do not work correctly on the original 128+ and the grey +2. Two games that I know of that wil…

    ... /> inc hl
    inc hl
    type3 ld a,(hl) ; a=first byte< ... type 3
    patch add hl,bc ; hl=address after jp pe< ... br /> add hl,bc ; go forward 10 bytes
    ld a,(hl) ; a=value ... itself now
    add hl,bc ; otherwise add another 10 so we ...
    jp jp October 2015 Games
  • Drawing some spritesI figured I want to draw some sprites. My target was to do a 16x16 masked sprite. There's no clearing here, just drawing the sprites. My first ite…

    ... h, 3 (iy)
    add hl, bc ; add x offset
    ex de ... the data
    ld (de),a ; and back to screen we ... de

    pop hl ;repeat
    ld a, (de)
    and ...
    Sol_HSA Sol_HSA November 2015 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
add 20.8K 30K
hl 6.2K 48K
a 589.5K 1.7M

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…
  • 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…
  • 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…
  • Add quite a lot of items to my site and a Make an Offer Button.Hi everyone, I asked for some feedback on my site a month or so ago ([URL="http://www.worldofspectrum.org/forums/showthread.php?t=33521"]link[/URL]).…
  • Take a game - add a letterBecause all good threads deserve a sequel. Same as before but adding a letter so:<br /> <br /> Beach Head becomes Bleach Head, the adventures of a bl…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • ld hl de
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • add music a g d
  • add ay music to a game
  • add a letter
  • how do i comment add a post
  • how do you add a post
  • how do i add code to a game
  • add adc hl a
  • how do i add a game
  • add hl

Copyright © 2024 World of Spectrum