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 101 results in 0.000s
<1234>
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... :
    ld (hl), d
    cpi
    jp pe, loop
    CPI, and the tweaking above. At ...
    u6c87 u6c87 October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... nice, both the use of CPI, and the tweaking above. At ...
    jamorski jamorski October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... . Whats the point of exploiting CPI when you do not know ...
    catmeows catmeows October 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... . Whats the point of exploiting CPI when you do not know ...
    Arjun Arjun October 2013 Development
  • Issue 3 board with strange piggy-back boardIn case you are interested. I?ve never seen something like this before. I have an Issue 3 board here. When I opened the case and found a strange pig…

    ... /> JR Z, a289 ; 0282
    CPI ; 0284
    JP PE, a262 ...
    roko roko October 2013 Hardware
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ...
    ld (hl),e
    cpi
    jp pe,loop
    ld (hl),a
    cpi
    jp pe,loop
    Einar Saukas Einar Saukas January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    This CPI as loop control is a nice thing. I'll add it to my tricks :)
    Ralf Ralf January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ...
    ld (hl),a
    cpi
    jp pe,.lp0
    Hikaru Hikaru January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    This just sorta came up all of a sudden.

    [code]InPlaceV2
    ld hl,StringAddress
    ld bc,StringLength
    scf
    .loop
    rr (hl)
    jr nc,.loop
    cpi
    jp pe,.loop
    ret[/code]
    Hikaru Hikaru January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... )
    jr nc,.loop
    cpi
    jp pe,.loop
    Einar Saukas Einar Saukas January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... )
    jr nc,.loop
    cpi
    jp pe,.loop
    antoniovillena antoniovillena January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... )
    jr nc,.loop
    cpi
    jp pe,.loop
    Dr BEEP Dr BEEP January 2014 Development
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... ; length, original position

    cpi ; hl++, bc--

    ld ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... IX
    INC DE
    CPI ;INC HL,DEC BC no ...
    LD (HL),A
    CPI ;INC HL,DEC BC no ...
    Ralf Ralf February 2014 Games
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... idea of how to use CPI and JP PE,nn . A ...
    MatGubbins MatGubbins February 2014 Games
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... 't work the same as CPI where the flags indicate if ... and Z flags like the CPI instruction does.
    Basher Basher March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    [QUOTE]Why would it be doing that?
    [/QUOTE]

    Because LDI and CPI probably share most of the same internal circuitry.
    The CPI just disables the part that uses the DE and the LDI dosen't write the subtraction of the A to the flags.
    Basher Basher March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    [QUOTE=Basher;757328]Because LDI and CPI probably share most of the same internal circuitry.
    The CPI just disables the part that uses the DE and the LDI dosen't write the subtraction of the A to the flags.[/QUOTE]

    That makes sense! :)
    Arjun Arjun March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... the microcode for LDI and CPI etc. might share the same ...
    BloodBaz BloodBaz March 2014 Development
  • Address bus contents (i.e. PC) during execution of HALTI'm wondering if anyone can tell me what's placed on the address bus during execution of HALT, beyond the initial M1 cycle. The Z80 user manual state…

    ... behaviour of the LDI and CPI instructions. As in this thread ...
    Basher Basher March 2014 Hardware
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... 't work the same as CPI where the flags indicate if ... and Z flags like the CPI instruction does.[/QUOTE]

    CPI/CPIR/CPD/CPDR is unchanged ...
    zub zub March 2014 Development
  • Address bus contents (i.e. PC) during execution of HALTI'm wondering if anyone can tell me what's placed on the address bus during execution of HALT, beyond the initial M1 cycle. The Z80 user manual state…

    ... behaviour of the LDI and CPI instructions. As in this thread ...
    Jonathan Harston Jonathan Harston March 2014 Hardware
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... LDI is HEX A0
    CPI is HEX A1

    CPI where the flags indicate if ... and Z flags like the CPI instruction does. [/QUOTE]

    Basher Basher March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... 's interesting that LDI and CPI both take 16 T-states ... as the CPI instruction isn't having to ... the final M cycle of CPI. My guess is that they ...
    Basher Basher March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    [QUOTE=Basher;761210]I will be interested to see if the contents of the DE registers appear on the address bus during the final M cycle of CPI.[/QUOTE]

    Contention tests have shown only the HL value on the address bus at that time.
    Woody Woody March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... 's interesting that LDI and CPI both take 16 T-states ... as the CPI instruction isn't having to ... the final M cycle of CPI. My guess is that they ...
    Jonathan Harston Jonathan Harston March 2014 Development
  • Latin-1 font for FZXI'm currently creating some [URL="http://en.wikipedia.org/wiki/Latin-1"]Latin-1[/URL] (ISO 8859-1) characters to be added into [URL="http://www.world…

    ... =http://www.seasip.info/DOS/CPI/]GSANS and TSANS[/url]) I ... using psftools to generate the .CPI files. Similarly when I did ...
    John Elliott John Elliott April 2014 Development
  • Latin-1 font for FZXI'm currently creating some [URL="http://en.wikipedia.org/wiki/Latin-1"]Latin-1[/URL] (ISO 8859-1) characters to be added into [URL="http://www.world…

    ... =http://www.seasip.info/DOS/CPI/]GSANS and TSANS[/url]) I ... using psftools to generate the .CPI files. Similarly when I did ... out that psftools can generate CPI files. I will convert the ...
    zub zub April 2014 Development
  • Latin-1 font for FZXI'm currently creating some [URL="http://en.wikipedia.org/wiki/Latin-1"]Latin-1[/URL] (ISO 8859-1) characters to be added into [URL="http://www.world…

    ... support a greater range of CPI files, but it seems to ... like to create a Spectrum CPI file to go with GSANS ...
    John Elliott John Elliott April 2014 Development
  • Latin-1 font for FZXI'm currently creating some [URL="http://en.wikipedia.org/wiki/Latin-1"]Latin-1[/URL] (ISO 8859-1) characters to be added into [URL="http://www.world…

    ... support a greater range of CPI files, but it seems to ... like to create a Spectrum CPI file to go with GSANS ...
    zub zub April 2014 Development
<1234>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 4:10PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
cpi 101 164

Related Threads

  • CPI emulationI'm currently writing Sinclairean's emulation assembly for the CPI/CPD/CPIR/CPDR instruction group. Does anybody know what exactly the behavior of th…

Related Searches

  • cpi copy
  • cpi ld a b or c
  • cpi ldecrement bc
  • cpi decrement bc
  • cpi ldecrement bc chris pile
  • cpi chris pile
  • cpi trick

Copyright © 2024 World of Spectrum