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.013s
<1234567…34>
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…

    ...
    LD D,0
    ADD IX,DE

    POP BC ... YPos
    LD A,(IX+1)
    ADD A, (IX+5)
    CP ... /> LD A,(IX+3)
    ADD A,(ix+7)
    ld (IX+3),A ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ...
    LD D,0
    ADD IX,DE

    POP BC ... YPos
    LD A,(IX+1)
    ADD A, (IX+5)
    CP ... /> LD A,(IX+3)
    ADD A,(ix+7)
    ld (IX+3),A ...
    robpearmain robpearmain August 2004 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... br /> ADD A,A
    ADD A,A
    ADD A, ... tile is clipped
    ADD A,A ;then calculate ... displacement
    ADD A,A ;no. of ... clipping tile
    ADD HL,BC ;ADD ON A DISP. IF ... LD BC,80
    ADD IX,BC
    ADD IY,BC

    dmsmith dmsmith September 2004 Development
  • Spin save dissembly problemHey Dunny and others Spin dudes! There seems to be a small problem with the save dissembly function from the dissembler in Spin. This is the exact o…

    ... b ; 26603 4ts
    add a, 8 ; 26604 7ts< ... b ; 26616 4ts
    add a, 8 ; 26617 7ts< ... , a ; 26655 4ts
    add ix, de ; 26656 15ts
    ...
    Kiwi Kiwi May 2006 Emulators
  • SimCoupe 1.0 released[size=-2](for those of you that don't read CSS)[/size] SimCoupe, the SAM Coup? emulator, has been updated to version 1.0. This major release adds ma…

    ... setting N flag
    - Fixed ADD IX/IY,rr failing to set ...
    obo obo July 2006 Emulators
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... ix+0) ; add x move to a
    add a,(ix+2)
    ld (ix ... ix+1)
    add a,(ix+3)
    ld (ix ... ,8
    add ix,de
    ... 0-192)
    add a,(hl) ; a ...
    robpearmain robpearmain September 2006 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 …

    ... /> #asm
    push ix
    ld ix,0
    add ix,sp
    ld ... e,(ix+6)
    ld d,(ix ... br /> ld b,(ix+8)
    ld c,(ix+10)
    ... /> ld h,b
    pop ix
    #endasm
    }
    ... to use library I can add more power to the tool ...
    DonkeyPong DonkeyPong January 2007 Development
  • 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 IX,prat-start
    ADD IX,BC ; set IX to PRAT
    Dr BEEP Dr BEEP December 2008 Development
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... :
    [code] di
    ld ix, source
    ld hl, dest ... />
    start:
    ld sp, ix ; 10 T
    pop bc ... = 54

    add ix, de ; 15
    add hl, de ; 11
    ajmoss ajmoss August 2010 Development
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    Here's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to be combined or merged into other programs. It's sort of a slow version of copy & paste. The two line ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Is there a DD40 instruction?On this page: [URL="http://mdfs.net/Software/Z80/Exerciser/Spectrum/zexall.src"]Z80 instruction set exerciser for Spectrum[/URL] I noticed the belo…

    ... 't see it:
    DD39 ADD IX,SP
    DD44 LD B ...
    Korinel Korinel June 2012 Emulators
  • BeepFX ProblemHi All, I'm currently trying to integrate the BeepFX engine in my 100% Assembler Game and it plays the sound fine, but then plays the sound again, a…

    ... /> ret

    NEXTDATA: add ix,bc
    jr READDATA
    add a,(ix+10)
    ld (SFXRTDUTY ... ld a,e
    add a,(ix+6)
    ld e, ...
    Shando Shando September 2012 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... byte
    ADD HL,DE ADD HL,DE
    ADD IX,DE ADD IX,DE
    ADD HL,DE ADD HL,DE
    ADD IX,DE ADD IX,DE
    MatGubbins MatGubbins August 2013 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... remember counter
    ld a,(ix) ;# of keys to skip ( ... ;move to the next
    add ix,de ;table row
    < ... * .002)
    push ix ;preserve IX, as the BEEP routine destroys ... ROM beeper routine
    pop ix ;restore IX

    ex af ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... /> push iy
    ld ix,#0
    add ix,sp
    ld hl ... ,#-15
    add hl,sp
    ld a,8 (ix)
    add a, e
    ld ... e,-4 (ix)
    ld d,-3 (ix)
    add hl,de
    Sol_HSA Sol_HSA December 2018 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 c,a
    add ix,bc ; add sample value to total
    add a,remainder
    ld (remainder ...
    adc hl,bc ; add byte displacement
    ; to ...
    ....

    volume64:
    add a,(hl)
    ret
    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…

    ... channel, you could also add a simple DPCM compression to ... sample
    lsbtbl:
    add a,lsbtbl ; lsbtbl = 64*( ...
    ld e,(hl)
    add ix,de

    ; 65 -- ... ,pitchfrac
    remainder:
    add a,remainder
    ld (remainder ...
    Alcoholics Anonymous Alcoholics Anonymous April 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…

    ... A ;collision with
    ADD A,16 ;width of sprite ... LD A,(IX+11)
    LD B,A
    ADD A,16 ...
    LD A,D
    ADD A,15 ;Bottom-right X ... LD A,(IX+12)
    LD B,A
    ADD A,16 ... of data table
    ADD IX,DE ;for next sprite
    dmsmith dmsmith August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ...
    LD D,0
    ADD IX,DE

    POP BC ... YPos
    LD A,(IX+1)
    ADD A, (IX+5)
    CP ... /> LD A,(IX+3)
    ADD A,(ix+7)
    ld (IX+3),A ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ...
    LD D,0
    ADD IX,DE

    POP BC ... YPos
    LD A,(IX+1)
    ADD A, (IX+5)
    CP ... /> LD A,(IX+3)
    ADD A,(ix+7)
    ld (IX+3),A ...
    robpearmain robpearmain August 2004 Development
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... />
    loop_label:
    ld a, [ix + sprite_y]
    and %11000000
    call z, draw_sprite_pointed_by_IX
    add ix, de
    djnz loop_label

    ld a, 64
    add a, c
    ld c ...
    Fikee Fikee August 2006 Development
  • Harry Hedgehog 1K Source Code Available...Hello, For what it's worth, if it helps anyone, the Harry Hedgehog 1k game I did for the 2006 Games Compo can be downloaded [url=http://www.peargame…

    ... />
    ld l,(ix+SPRITE_X)
    ld h,(ix+SPRITE_Y)
    [...]
    ld bc,SPRITE_SIZEOF
    add ix,bc
    [/code]
    I ...
    Woody Woody August 2006 Development
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ...
    [code]
    inc (ix+4) ; increase counter
    ld ... = old x coord
    add hl,bc
    sub h ... ; hl = dy
    add hl,bc
    ld a ... br /> ld bc,8
    add ix,bc

    ex af ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Development
  • ZXSpin 0.61 Available nowHi all! Well, after a lengthy few testing cycles, I'm taking the plunge and uploading the latest version of ZXSpin, to replace the rather aged old 0…

    According to the [URL=http://www.mdfs.net/Software/Z80/Exerciser/Spectrum/]Z80 Exerciser[/URL], some flags are wrong.

    The failed tests are:
    hl,
    add hl,
    add ix,
    add iy,
    bit n,
    Metalbrain Metalbrain December 2006 Emulators
  • ZXSpin 0.61 Available nowHi all! Well, after a lengthy few testing cycles, I'm taking the plunge and uploading the latest version of ZXSpin, to replace the rather aged old 0…

    ... :
    hl,
    add hl,
    add ix,
    add iy,
    bit n ...
    Dunny Dunny December 2006 Emulators
  • Something completely different (new game tech-demo)Since finishing Stranded 2.5 (available soon from Cronosoft - plug!) I've been playing with the idea of doing an attribute-based, rather than pixel-b…

    ... ; 41330 14 8 7ts
    add ix, bc ; 41332 221 9 15ts ... ; 41372 14 8 7ts
    add ix, bc ; 41374 221 9 15ts ... ; 41414 14 8 7ts
    add ix, bc ; 41416 221 9 15ts ... ; 41456 14 8 7ts
    add ix, bc ; 41458 221 9 15ts ...
    Fikee Fikee August 2007 Games
  • 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…

    ... here... let's look at ADD IX,BC. That's two 16 ...
    Philip Kendall Philip Kendall March 2008 Emulators
  • 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…

    ... here... let's look at ADD IX,BC. That's two 16 ...
    ewgf ewgf March 2008 Emulators
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
add 20.8K 30K
ix 1.5K 6.5K

Related Threads

  • The point of IX+1 IX+2 ?the numbers that you can add-on to IX and IY seem hardcoded, so I dont see the use of that feature?<br /> any examples of the use of IX and IY plus …
  • what add-ons did.............what add-ons did people buy in the 80's for their zx spectrums? :)
  • Petition to persuade mobygames.com to add the SpectrumAs you may be aware, the excellent multi-format games documentation site [url="http://www.mobygames.com"]www.mobygames.com[/url] includes 36 differen…
  • The worst spectrum add on?I once had a light pen for my Spectrum that was really bad. I cannot remember what company made it. It was supposed to 'draw' by holding it directl…
  • Security Shelter by Add On ElectronicsHi,<br /> <br /> I have a copy of Security Shelter by Add on Electronics which I notice from the Archive is missing in action. <br /> <br /> I was a…
  • What was in the 'Shadow/Unicorn' add on box?'Shadow of The Unicorn'. What was actually contained in the add on box? Was it just extra memory?
  • CRASH called it "One of the best all-round music add-ons"!and from Sinclair User:<br /> <br /> "Its pedigree is interesting, too. The Music Machine has been developed by a group of ex-Sinclair employees - ca…
  • 3D Star Wars by ADD ON ELECTRONICS for SaleI have a copy of 3D Star Wars by Add On Electronics. As with all my other stuff, it was going on Ebay but I've been told that games from this compan…
  • 3D Star Wars by ADD ON ELECTRONICS for SaleI have a copy of 3D Star Wars by Add On Electronics. As with all my other stuff, it was going on Ebay but I've been told that games from this compan…
  • Add the numbers?Yesterday morning (about 1am) I was flicking through cable to see what was on, and I turned to ITV and that boring space filler "The Mint" was on. An…

Related Searches

  • ld ix
  • how to add picture post
  • ix registers
  • shortest add 32
  • how to add 32
  • add video
  • add more ram to 48k spectrum
  • add game to sinclair infoseek
  • add machine code sprite movement to basic
  • add constant value to ix
  • add pictures to post
  • add music a g d
  • add ay music to a game
  • ix 0
  • add z80 to start of tap file
  • add bas file to start of tap
  • add a letter
  • add kempston support
  • tape add kempston support
  • reset ix

Copyright © 2024 World of Spectrum