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.009s
<1234567…34>
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... location (SP) and HL.
    EX (SP),IX Exchange the location (SP) and IX.
    EX (SP),IY ... Exchange the location (SP) and ...
    Ralf Ralf October 2011 Development
  • z88dk sticky?I've just tried to PM Alcoholics Anonymous and couldn't because "Alcoholics Anonymous has exceeded their stored private messages quota and cannot acc…

    ... for inapplicable functions.

    IX is reserved as FILE*/FD ... structure can be addressed using IX+n indexing and sending/forwarding ... . The device driver can than 'ex (sp),ix' to get hold of its ... the caller is then 'pop ix; ret'

    Regarding ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • Shadow registers.I assume it's faster to transfer the registers to the shadow registers rather than using the stack? Let's say that I want to temporarily preserve the…

    ... also do:

    [B]EX DE,IX[/B]
    and [B ... ]EX DE,IY[/B] ?[/QUOTE]
    < ... only one that works with IX is [B]EX (SP),IX[/B].
    Einar Saukas Einar Saukas March 2012 Development
  • Shadow registers.I assume it's faster to transfer the registers to the shadow registers rather than using the stack? Let's say that I want to temporarily preserve the…

    ... one that works with IX is [B]EX (SP),IX[/B].[/QUOTE]

    Alcoholics Anonymous Alcoholics Anonymous March 2012 Development
  • DK Tronics Compilation Tapes....MIA ??I have two tapes (no inlays) of compilaitons of DK Tronics games. One is from DK Tronics themselves, has a white label with black text, and contains…

    ... /> 16389 PUSH HL
    16390 EX (SP),IX
    16392 XOR A
    16394 EX AF,AF'
    16395 LD SP,65302
    16398 ...
    Andrew Barker Andrew Barker May 2012 MIA/STP/SDP
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ...
    push hl
    ex af, af' ;'
    exx ... bc
    pop af
    ex af, af' ;'
    exx ... in IY -16
    ld sp, ix
    pop af ; read ... de
    pop hl
    ex af, af' ;'
    exx ...
    push af
    ex af, af' ;'
    exx ...
    chev chev April 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... ;hl=origin
    push ix
    pop bc ;bc= ... call exo_getpair ;bc=offset
    ex (sp), hl
    ld d, h ... ;hl=origin
    push ix
    pop bc ;bc= ...
    antoniovillena antoniovillena November 2012 Development
  • Zero 0.5 ReleasedAfter a bit of a hiatus, the next update of Zero is now available [URL="www.ramtop.wordpress.com"]here[/URL]. Feedback and bug-reports appreciated! …

    ... ).
    - Fixed timing for EX (SP), HL/IX/IY instructions (Woody).
    - Fixed ...
    Arjun Arjun January 2013 Emulators
  • LZ4 decoderI encountered the [URL="http://code.google.com/p/lz4/"]LZ4 compressor[/URL] a few weeks ago. Reading the [URL="http://fastcompression.blogspot.co.uk…

    ... in BC. Does not use IX or IY. Uses the ... copy of the token
    ex af,af' ; move token ... many bytes

    ex af,af' ; switch token back ... additional length if so
    ex (sp),hl ; switch destination pointer ...
    stephenw32768 stephenw32768 October 2013 Development
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... /> 65122: JR 65161
    65124: EX AF, AF'
    65125: JR ... /> 65155: INC IX
    65157: DEC DE
    65158: EX AF, AF ... /> 65240: EXX
    65241: LD SP, IX
    65243: PUSH BC
    65365: JR 65408
    65367: EX AF, AF'
    65368: JR ...
    Speccy_James Speccy_James February 2014 Development
  • Machine Code: quicksort optimisationI came across this z80 quicksort implementation when going through the wikipedia article on the same. It's 44 bytes long. I was wondering if any of …

    ... /> ; MUST PRESERVE BC,DE,HL,IX registers)
    ; exit : array ... /> ld (bc),a
    ex af,af
    ld (hl ... />
    ld a,(bc)
    ex af,af
    ld a ... br /> ld h,b
    ex de,hl ; de = left+1 ...
    Alcoholics Anonymous Alcoholics Anonymous January 2006 Development
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    ... br />
    ld ix,22528
    attrloop: ... add iy,sp
    ld sp,ix
    ex (sp),hl
    ex (sp),hl
    ld sp,iy
    Woody Woody November 2006 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... I need some horrible 'ex(sp), hl'-type instructions ... br />
    ex (sp),hl takes 19 cycles ... .destination

    ld sp,0 ; to be filled in ... perhaps the push ix/pop ix actually slows things ... The "ld sp,hl; ld sp,ix; ld sp,iy" instructions ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... use IX:

    [code]
    ld ix, 2
    add ix, sp
    pop ix ; my_addr structure
    ex (sp), hl ; restore return addr ... here is the last instruction, EX (SP), HL. This just swaps whatever ...
    Winston Winston January 2009 Development
  • AY programming and notes frequencyHello everybody, I'm Targhan from the french CPC group Arkos, perhaps you've heard of us. I'm currently working on a music tool and I'd like to k…

    ... :
    ld (pdsp_+1),sp
    ld sp,ix
    ld h,a ... ),sp
    ld l,(ix+00dh)
    ld h,(ix+00eh)
    ld sp ... /> ld (ix+009h),h
    ch_noac:
    ex de,hl
    ex af ... /> ld sp,03131h
    ex (sp),hl
    xor a
    or (ix+005h ...
    chev chev November 2009 Development
  • AY programming and notes frequencyHello everybody, I'm Targhan from the french CPC group Arkos, perhaps you've heard of us. I'm currently working on a music tool and I'd like to k…

    ... :
    ld (pdsp_+1),sp
    ld sp,ix
    ld h,a ... ),sp
    ld l,(ix+00dh)
    ld h,(ix+00eh)
    ld sp ... /> ld (ix+009h),h
    ch_noac:
    ex de,hl
    ex af ... /> ld sp,03131h
    ex (sp),hl
    xor a
    or (ix+005h ...
    chev chev November 2009 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... function address

    ex (sp),hl ; hl = message parameter
    IX,nn" opcode
    uchar ... hl,graphic_address
    ld ix,graphic_address_char_to_left_of_this_one
    call sprite_draw_function ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... /> ex (sp),hl
    ld (r_pc),hl
    ex (sp),hl
    ld sp,r_r ... />


    ; > IX = Return address
    ; >'HL ... nz,rbyte

    jp (ix) ; Return


    ; ...
    ASM ASM November 2010 Hardware
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... absolute addresses, loading up SP and performing a task ... iy
    60 pop ix
    61 pop hl< ...
    75
    76 ex (sp),hl
    77 push af ... hl
    86 push ix
    87 push iy< ... stack

    ; save SP in task structure
    ; perhaps ...
    Alcoholics Anonymous Alcoholics Anonymous January 2011 Development
  • AY Magic version for ZX81 was bornModified Ay magic ,my previous interface for zx48. On board, ay chip based on Zonx interface but with stereo output and rampack 16 or 32 kilo on boa…

    ... :
    ld (pdsp_ + 1), sp
    ld sp, ix
    ld h, a ... /> set_stp:
    ld (ix + 12), a
    ex af, af'
    ld ... ), sp
    ld l, (ix + 13)
    ld h, (ix + 14)
    ld sp ... /> ld sp, 03131h
    ex (sp), hl
    xor a
    or (ix + 5 ...
    chev chev May 2011 Hardware
  • Kobrahsoft DB1 - doesn't work?Hi, I've tried loading [URL="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DB1$&pub=^Kobrahsoft$&loadpics=3"]DB1 by Kobrahsoft[/URL] into two …

    ... /> XOR B ; 8007 A8
    EX (SP), HL ; 8008 E3
    XOR ... /> DI ; 8018 F3
    LD IX, $4000 ; 8019 DD 21 00 ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... say SP=16385 and PUSH IX is about to be executed. SP-1 ... half of IX be placed on a stack? Would SP be decremented ... of where SP points to?

    Another example: EX (SP),HL. What ... if SP points to an address ...
    PeterP PeterP September 2011 Emulators
  • Need help with tzxingI recently got a copy of this Polish text game: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0006622[/url] I can't make a tzx of it howeve…

    ...
    [CODE]EXX
    LD IX,L49600
    LD DE,(23635 ... ,L49465
    BIT 0,(IX+0)
    JR NZ, ... /> NEG
    ADD A,(IX+51)
    SUB (IY+ ... 0)
    ADD A,(IX+52)
    DAA
    ... /> LD HL,L49650
    EX (SP),HL
    JR L49557
    Ralf Ralf October 2011 MIA/STP/SDP
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said: [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg uses for screen…

    ...
    push hl
    ex af, af' ;'
    exx ... bc
    pop af
    ex af, af' ;'
    exx ... in IY -16
    ld sp, ix
    pop af ; read ... de
    pop hl
    ex af, af' ;'
    exx ...
    push af
    ex af, af' ;'
    exx ...
    p13z p13z January 2012 Sinclair Miscellaneous
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ...
    push hl
    ex af, af' ;'
    exx ... bc
    pop af
    ex af, af' ;'
    exx ... in IY -16
    ld sp, ix
    pop af ; read ... de
    pop hl
    ex af, af' ;'
    exx ...
    push af
    ex af, af' ;'
    exx ...
    R-Tape R-Tape April 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... $2bf1 ;STK_FETCH
    pop ix ;IX=(DEFADD)
    ld a,"E ... pop de
    ld a,(ix+12) ;A =maximum integer ... pop hl ;HL=$000D
    ex (sp),hl ;HL=$106E
    push ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…

    ... a few things: they use IX as function pointer (standard functions ... .

    sdcc reserves IX as frame pointer (it also ... br />
    [code]
    push ix ; maybe not done for __naked ... bc
    pop de
    ex (sp),hl

    asm_memset:
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... SP,IX ; write in SP the first cell

    INC SP
    INC SP ... /> LD SP,IX ; write in SP the first cell

    EX (SP),HL ; the ... return address restored
    EX DE,IX ; the old IX restored ...
    Einar Saukas Einar Saukas June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... br /> pop de
    ex (sp),hl

    asm_itoa ... br /> ld ixh,d ; ix = char * (current write ... ; bc = radix
    ; ix = char * (current write location)

    ; ix = char * (current write location ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • 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

HitBox

Word Docs Hits
ex 4.4K 7K
sp 1.7K 4.2K
ix 1.5K 6.5K

Related Threads

  • deus ex and deus ex invisible war ?3 on steam.Just downloading these two games at the mo. I think there are a few fans of these games on here, if you want to grab em there cheap on steam at the m…
  • 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 …
  • Deus Ex MachinaAm I the only person who loved Deus Ex Machina on the speccy?<br /> Just wondering.<br /> <br /> I've even got the soundtrack that i downloaded as mp…
  • An ex-Bloodwych fanatic speaks...I've got a s**t-load of maps that I carefully (and painstakingly) made back in the day, with the intention of sending them into YS, only for the maga…
  • Anyone here an ex speccy-journalist or programmer?Anyone here used to write for the Spectrum magazines or program the Speccy? Just curious ;)
  • ex-YU homepage updatedThe ex-YU Homepage has been updated, after almost 2 years. Added some really nice new stuff, including some commercial games that were developed by e…
  • ex-YU Homepage Updated !Hey All...<br /> <br /> This will probably be interesting only for the people here that are from ex-Yugoslav countries, but it might be interesting f…
  • Deus Ex MachinaHas anyone got a copy?
  • TransVersion EXHopefully my latest game will be of some interest here. :)<br /> <br /> A remake of an old 16k Spectrum game, but with online scores and Care Bears. …
  • XBasic or EX-Basic ???I found couple NIB Artic x- or ex-basic.<br /> Case and manual seys X-Basic but casette is EX-Basic.<br /> Is this MIA ?<br /> <br /> [url="http://ko…

Related Searches

  • ld ix
  • ix registers
  • add ix
  • add constant value to ix
  • reset sp ffff
  • ix 0
  • reset ix
  • deus ex machina
  • ix register
  • caf turco com os ex jugoslavos
  • sp format
  • snapshot sp format
  • undocumented ix assembler
  • ix displacement before after
  • ix displacement byte
  • clear sp
  • ex af carry
  • regular ex
  • ex sp hl
  • ex sp iy

Copyright © 2024 World of Spectrum