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.005s
<1…78910111213…34>
  • (Collected) Darkhog's noob question about z80 assemblySince when I'm learning new language or library, I tend to ask lots of stupid (for any advanced person) questions and I don't want it to have mess up…

    [quote="Darkhog;52514"]
    - Regular IF z80 equivalent. e.g. If A
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... br /> push ix

    ld ix,0
    add ix,sp

    ; ix+4 = parameter '7'
    ; ix ... ; return value by register DEHL

    pop ix
    ret
    register but in a compiler environment ...
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... is it standard to use IX and IY?

    IX or IY are used because ... Gameboy Z80 there were no IX or IY registers, so ... only slightly slower than using IX or IY!)

    ... to it, in the index register (IReg) you choose. It ...
    Jmk Jmk April 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... , and -in combination with A register- even some arithmetic.

    IX+n or IY+n is ...
    RetroTechie RetroTechie April 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... directly without using an extra register. Having said that, and ... buffer at address SP1V_PIXELBUFFER. ix points to the sprite ... block pointer
    196 ; ix + 03/04 investigate block pointer ...
    197 ; ix + 01/02 new block pointer ...
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • 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 RET or Register Indirect JP, such as JP (IX).

    AndyC AndyC May 2016 Development
  • Help needed with MIA software with custom (?) loaderHi, I've got into my hands recently a bunch of Polish educational software which are unknown MIA on WOS. I believe they are protected with some…

    ... PUSH IX ; Save IX (source address)
    0xEB58 EXX ; Swap to altenate register ... to main register file
    0xEB77 POP IX ; Restore new IX (source address ...
    lfaria lfaria August 2016 MIA/STP/SDP
  • IXL and IXHI don't know much about undocumented instructions but I get the impression that [b]LD A,IXH[/b] or [b]LD A,IXL[/b] (B, C, D, E also fine, HL not) are…

    ... of these instructions that use IX or IY, IXH, IXl, IYH ... to the address in the register at the time of use ...
    joefish joefish August 2016 Development
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... it (in)directly using the ix (or iy) register.
    Sol_HSA Sol_HSA September 2016 Development
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... halves of IX/IY registers, as well as the shadow register set ... regular ones.
    The shadow register set is very useful when ... and offload that onto index register halves/shadow regs/the memory ... can't find a spare register for one (although, depending on ...
    Hikaru Hikaru September 2016 Development
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... needed. Don't waste a register pair if all possible values ... fit in an 8-bit register.

    A (really) simple ... AF,AF' / EXX
    * Use IX/IY if possible
    * PUSH ... stack manipulation (IX/IY+... operations, use SP as work register etc)
    RetroTechie RetroTechie September 2016 Development
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... into the block. The register pressure is then relieved ... br /> push de
    pop ix

    ; use generic ... br /> ; bc = radix
    ; ix = char *buf

    ; ... to string

    ; ix = char *buf
    ; stack ...
    Alcoholics Anonymous Alcoholics Anonymous September 2016 Development
  • Optimized (in size) Z80 simulatorI am evaluating Z80 simulators to try to create a tool to analyse z80 programs. I'd like to start with a simple register coverage tool and t-state cy…

    ... variable)
    5) JP (IX) f.e. Where does it ... your program uses pre-set IX value (for example, from ... know that LD IX,100 writes to IX. You can follow ... also know that if IX is changed somewhere in between ... A. If you have register coverate you should know when ...
    tstih tstih September 2016 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... the calculation because the register assignments have made it ... [19] 343 ld a,-4 (ix)
    010C C6r00 [ 7] ... FD [19] 348 ld -3 (ix),a
    [/code]
    ... in the stack so relative ix addressing is actually best. ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • Interrupt routineI have been trying to create an interrupt routine for playing AY music in the background but cant seem to get anything working. I have a music rou…

    ... interrupt routine
    LD IX,&FFF0 ; Where to ... this code
    LD (IX+04h),&C3 ; Z80 ... LD I,A ; Set I register to this
    IM 2 ... /> PUSH HL
    PUSH IX
    EXX
    EX ... EX AF,AF'
    POP IX
    POP HL
    ...
    daveysludge daveysludge November 2016 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... hl
    ix_store:
    ld ix,0fc00h
    ld a,40h ... bit 7 of the data register lo-byte to determine if ... counter

    ld a,(ix+00h) ;A=data byte
    Arkannoyed Arkannoyed March 2017 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... /> ld a,00h
    ld ix,0fc00h
    rra
    jr ... bit 7 of the data register lo-byte to determine if ...

    ld a,(ix+00h) ;A=data byte
    Arkannoyed Arkannoyed March 2017 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... 7 of the data register lo-byte to determine ... />
    ld a,(ix+00h) ;A=data byte
    register lo-byte to determine ... counter B first. The register is checked, and if ... the stream using address IX and bit number D ...
    Arkannoyed Arkannoyed March 2017 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... counter

    ld a,(ix+00h) ;A=data byte
    IX address register if needed.
    Arkannoyed Arkannoyed March 2017 Development
  • The HL Register Pair Naming. An Observation.This isn’t really a question or a tip. Just an observation about the naming convention of the registers in the Z80 CPU. It seems that every register …

    ... to use I for Interrupt register!"

    "What about A ... ."

    "But they are register pairs!"

    "OK, let ... pairs, let's call them IX and IY."

    "But ... same high value, taken from register I."

    "Oh sh ...
    Einar Saukas Einar Saukas March 2017 Development
  • The HL Register Pair Naming. An Observation.This isn’t really a question or a tip. Just an observation about the naming convention of the registers in the Z80 CPU. It seems that every register …

    ... pairs, let's call them IX and IY."

    "But ... same high value, taken from register I."

    "Oh sh ... , I originally thought that with IX and IY, the value in ...
    MatGubbins MatGubbins March 2017 Development
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... outward from there. Optimal register assignment and stack usage will ... directly address with "ld a,(ix+n)" type instructions. Many ... a human, using an IX-indexed stack to access temporaries ... Slightly more common is using IX-indexed data structures where code ...
    Alcoholics Anonymous Alcoholics Anonymous April 2017 Development
  • 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? any examples of the use of IX and IY plus number…

    ... in z80 code using IX that can access object ... data with (ix+n) addressing and can ... a call to jp(ix) with IX pointing at a jp ... name in the "A" register. Inheritance is done by appending ... This simple functionality around IX almost makes it seem ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Assembler
  • 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? any examples of the use of IX and IY plus number…

    ... in z80 code using IX that can access object ... data with (ix+n) addressing and can ... a call to jp(ix) with IX pointing at a jp ... name in the "A" register. Inheritance is done by appending ... This simple functionality around IX almost makes it seem ...
    slenkar slenkar July 2017 Assembler
  • 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? any examples of the use of IX and IY plus number…

    ... /> push de
    pop ix ; ix = pointer to player
    ... l_jpix:

    jp (ix)
    [/code]

    register. In this case " ... handle_character_add_hp:

    ; ix = pointer to a character
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Assembler
  • What is the maximum fps the spectrum can achieve?I have been doing some reading and from what I understand the Spectrum outputs a PAL signal, but that means it will display @50fps or @25fps? If t…

    ... tiles can be held in register pairs ready for PUSHing.
    IX and IY pairs within the ... very complicated to track the register swaps back and forth on ...
    joefish joefish August 2017 Hardware
  • ZX Spectrum Z80 Development Environment on WindowsHi Folks, Just wondering what the recommendation is for a ZX Spectrum Z80 Development environment on Windows? Getting fed up with hand coding Z80…

    ... you could somehow use another register in there anyway), or EXA ... especially stuff like 'LD HL,IX' realized as 'PUSH HL: POP ... IX' (an actual example from Sjasm+) ... syntax like 'LD A,+0(IX)'. This is exactly the sort ...
    Hikaru Hikaru August 2017 Development
  • ZX Spectrum Z80 Development Environment on WindowsHi Folks, Just wondering what the recommendation is for a ZX Spectrum Z80 Development environment on Windows? Getting fed up with hand coding Z80…

    ... you could somehow use another register in there anyway), or ... especially stuff like 'LD HL,IX' realized as 'PUSH HL: ... br />
    "LD HL,IX" as soon as you remember ... like 'LD A,+0(IX)'. This is exactly the ... />
    Yes, the "n (ix)" syntax is not right, a ...
    Alcoholics Anonymous Alcoholics Anonymous August 2017 Development
  • ZX Spectrum Z80 Development Environment on WindowsHi Folks, Just wondering what the recommendation is for a ZX Spectrum Z80 Development environment on Windows? Getting fed up with hand coding Z80…

    ... you could somehow use another register in there anyway), or EXA ... bring up the 'LD HL,IX' example as bad because it ...
    Hikaru Hikaru August 2017 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…

    ... otherwise, use a 16-bit register
    ;pair, such as ... first keycode
    ld ix,controls_i ;location of the ... .002)
    push ix ;preserve IX, as the BEEP routine destroys ... ROM beeper routine
    pop ix ;restore IX

    ex ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
<1…78910111213…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
ix 1.5K 6.5K
register 4.2K 6.1K

Related Threads

  • IX register woes - or is SPIN buggy?Or am I missing something? <br /> <br /> I'm trying to use the IX reg to acess a table containing an x and y coord. My code below just doesnt seem to…
  • IX register - using/problemsAre there any rules on using the IX register? Are there any restrictions on the memory <br /> locations that it can access? Yes, I know it's slower t…
  • IX register wonderings...***noob alert***<br /> <br /> I'm doing a lot of these in my program:<br /> <br /> <br /> ld a,(ix+n)<br /> cp 0<br /> jp z<br /> <br /> I know you c…
  • 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 …
  • Index register questionDoes anyone know whether the DD / FD prefix works on the ex de,hl instruction, ie. modifying it to ex de,ix or ex de,iy.<br /> <br /> Derek
  • Index register subtractionHi,<br /> <br /> Just wondering if there a way to perform SBC HL,BC on the IX or IY registers. I can't find an op code for it, and my assembler doesn…
  • Is the IY register used by the spectrum rom?Hi<br /> <br /> I've been writing a sprite routine and have noticed that the sprite data gets corrupted at some points. I have no idea why and can on…
  • Z80 register decoding document error?Hi, <br /> <br /> I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). <br /> <br /> [url="http://w…
  • R Register, Contended RAM and ClonesHi.<br /> I've had a quick look at the CSS FAQ but didn't spot quite what I'm looking for (also the CSS FAQ doesn't have much detail of the clones - …
  • which domain to register?I'm about to register a domain under my country's top domain. almost all of the keywords are available to buy and I'm a bit indecisive person.<br /> …

Related Searches

  • ld ix
  • ftp register
  • register error
  • forum register error
  • ix registers
  • fuse register i
  • reset register
  • add ix
  • add constant value to ix
  • call address held in register
  • ay register selection
  • register
  • register to site
  • how to register
  • r register
  • q register
  • ix 0
  • i register
  • reset ix
  • register r write

Copyright © 2024 World of Spectrum