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.006s
<1…17181920212223…34>
  • 64x48 monochrome big pixels display ideaHi. I was playing with this idea of having a simple 64x48 bytes buffer, 1 byte per pixel, then a renderer which would take that buffer and render it…

    ... br /> [CODE] ld (exit+1),sp
    REPT 48 ; copy 48 ... to screen
    ld sp,nn ; start of buffer ... 4 times
    ld sp,nn ; start of screen ... bc
    exx
    ex af,af'
    push af ...
    Einar Saukas Einar Saukas December 2014 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    ... to the address pointed by SP, not to BASIC.

    IY=23610, but that is a ...
    Zup Zup January 2015 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    ... /> ld hl, 11563
    ld sp, hl
    [/code]

    IY=23610, "good" system variables...). I ...
    Zup Zup January 2015 Development
  • SDCC DivuIntwhen I divide an integer sdcc wants to import a function called divuint I think it used to be in z80.lib but now it doesnt seem to be in there. Im …

    ... beginning:
    __asm
    LD SP,#50000


    __endasm ... what is going on with sp.

    [quote]
    it ... tried compiling with "--reserve-regs-iy" for all your files? I ... running, which uses iy. sdcc may use iy if you don't ...
    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,…

    ... im1, enable interrupts and restore IY,HL',SP. If you've overwritten ...
    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,…

    ... changing how I add to SP but nothing seems to work ... hl,2
    add hl,sp
    ; skip over return address ... is compiling and clib uses iy) but I see I may ... hl,7
    add hl,sp

    ld d,( ... hl,2
    add hl,sp

    ld e,( ...
    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,…

    ... -vn -clib=sdcc_ix --reserve-regs-iy -Ca-D__SDCC -no-cleanup -I ... hl,2
    add hl,sp ; skip over return address on ... hl,2
    add hl,sp ; skip over return address on ... hl,2
    add hl,sp
    ; skip over return ...
    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,…

    ... -vn -clib=sdcc_ix --reserve-regs-iy -Ca-D__SDCC -no-cleanup -I ... hl,2
    add hl,sp ; skip over return address on ... hl,2
    add hl,sp ; skip over return address on ... ix,+0
    add ix,sp

    IF 1< ... hl,2
    add hl,sp
    ; skip over return ...
    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,…

    ... ,6
    add hl,sp

    ld ... ,2
    add hl,sp

    ld ... ,6
    add hl,sp

    ld ... 2
    add hl,sp

    ld ... clib=sdcc_ix --reserve-regs-iy -Ca-D__SDCC test.c ...
    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,…

    ... can return to basic (save SP, HL', IY, IM 1) so there ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • New SpecEmu<span style="font-family: Arial, Verdana; font-size: 10pt; line-height: normal;">Finally a small update available </span><a href="http://homepage.ntl…

    ... /> [code]; Masm doesn't like "SP" in the structure definition as ... z80regpair
    IX z80regpair
    IY z80regpair
    I BYTE ?
    Woody Woody August 2015 Emulators
  • 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…

    ... FD21E829 LD IY,PUTSRTAB
    29BC FD19 ADD IY,DE ;IY=ADDR OF ... TO A'
    29D2 08 EX AF,AF' ;A=WIDTH
    29D6 08 EX AF,AF'
    29D7 4F ... MASK
    29D8 FDE9 JP (IY) ;JUMP TO XOR, OR, ... C ;INVERSE
    29DB 08 EX AF,AF' ;PROTECT INVERSE MASK ...
    rogerjowett1 rogerjowett1 October 2015 Development
  • Definitive list of games incompatible with +2A/+3 and of compatible versions (if any)I am trying to compile the definitive list of games which are incompatible with the +2A and the +3 and of their compatible versions, if they are pres…

    not quite. I fixed them all by measuring where in the frame (t-states) the #FF routine triggers, then just pause that amount after interrupt using a loop and the sprites look just like running on 48k with $FF. Different fixes and pauses for each game. for ...
    nuggetreggae nuggetreggae December 2015 Games
  • 128K programmingDoes anyone know any good resources on assembly programming for the 128? All I'm after is an "idiot's-getting-started-guide" on how to utilise the…

    ... /> LD (HL),081
    LD SP, HL
    LD BC,32765 ... (C), A
    RES 4, (IY+001)
    RET
    [/code ...
    Alessandro Grussu Alessandro Grussu February 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…

    ... 'll use HL to retrieve SP value (+2, where your PUSHed ... in A.
    ; but restores SP so that return to BASIC ... return address
    add hl,sp ; HL now points to what ... there. Using IX+n or IY+n is even more readable ...
    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…

    ... memory and sometimes IX/IY indexing will be the ... few instances where IX/IY indexing is used as ... what is needed. IX/IY find uses in other capacities ... One is because the ix/iy addressing is 'slow' and ... penalty is gone and ix/iy addressing become much more ...
    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…

    ... ]

    Regarding IX/IY access, I agree that it ... />
    1. Combined SP/IX access. This is useful ... frequent case as an 'SP area' within the object ... set IX/IY such that it points to this SP area ... .
    Naturally, since SP is involved, there's the ...
    Hikaru Hikaru April 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... and alternates and IX and IY to shift the remaining 20 ... as well do EXX and EX AF,AF' and use up ... think of it, IX and IY are also 4 cycles longer ... IX and EX AF,AF' in front of PUSH IY in the ...
    joefish joefish April 2016 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... />
    LD SP,HL
    PUSH AF
    EX DE,HL
    LD SP,HL
    PUSH ...
    joefish joefish May 2016 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ... ,sp ; make space on stack for one byte

    ex ... call zx_pxy2saddr_callee + ASMDISP_ZX_PXY2SADDR_CALLEE
    inc sp ; clear byte from stack

    call asm_zx_pxy2saddr
    ex de,hl

    ; ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ... /> [code]
    dec sp
    add hl,sp ; make space on stack ... br />
    [code]
    dec sp
    ld hl,0
    add hl,sp
    [/code]

    ... =31 -clib=sdcc_ix --reserve-regs-iy --max-allocs-per-node200000 hello ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • 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…

    I use the IX and IY registers, and IXH, IXL, IYH, ... PUSH and POP IX and IY for the same penalty. Of ... time penalty.

    Sadly, EX DE,HL doesn't have ... an IX or IY equivalent. You can read about ... you do the IX or IY version of the HL instruction ...
    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…

    ... 't use the IX or IY registers at all, except for ... ' etc., or the EXX or EX commands
    - I didn't ...
    Morkin Morkin 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…

    ... computed addresses via ix,hl,iy is another problem. You may ...
    ld a,(hl)
    ex de,hl
    or a ...
    Alcoholics Anonymous Alcoholics Anonymous September 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…

    ... PUSH IX
    EXX
    EX AF,AF'
    PUSH AF ... br /> PUSH HL
    PUSH IY
    ; Do some interrupt ... stuff
    POP IY ; Restore all registers
    ... POP AF
    EXX
    EX AF,AF'
    POP IX ...
    daveysludge daveysludge November 2016 Development
  • Mysterious error message ?Something just occurred to me, when I try to load certain JSW games which require 128k memory into my emulator in 48K mode I get this error message. …

    ... ;Error string
    LD IY,5C3AH ;Spectrum system veriables
    LD SP,(RAMTOP) ;Clear machine & GOSUB ... CALL 16B0H
    RES 5,(IY+37H)
    CALL 0D6EH
    ;
    BERRP3: BIT 4,(IY+1) ;Running +3BASIC?
    JR ...
    John Elliott John Elliott December 2016 Sinclair Miscellaneous
<1…17181920212223…34>

Latest Posts

  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on 11:22PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
ex 4.4K 7K
sp 1.7K 4.2K
iy 979 2.4K

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…
  • 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?
  • 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…
  • 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

  • im1 rom interrupt routine iy
  • reset sp ffff
  • set iy
  • res 4 iy 1
  • deus ex machina
  • caf turco com os ex jugoslavos
  • sp format
  • snapshot sp format
  • clear sp
  • ex af carry
  • regular ex
  • sp 1000
  • sp 800
  • inc sp
  • dec sp
  • ex sp hl
  • ex sp ix
  • sp
  • sp dos
  • extension sp

Copyright © 2024 World of Spectrum