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
<1…45678910…34>
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... :

    LD SP, HL
    POP AF
    EX AF, AF'
    POP IY
    LD SP, HL; THE SECOND ONE :)
    PUSH ... test of adress in HL by BIT x, HL JP Z/NZ ... fast and then
    modify hl to next char line
    Fikee Fikee May 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] ; ***********…

    ... ), SP
    EX DE, HL
    LD SP, HL
    EX DE, HL

    POP DE
    LD (HL ... /> .
    restore LD SP, 0
    EI
    Fikee Fikee August 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... /> LD L,A
    LD SP,HL
    POP IY ;Store address ... /> DEC H
    LD A,(HL)
    EX AF,AF'
    LD ... /> DEC H
    LD A,(HL)
    EX AF,AF'
    LD ... /> DEC H
    LD A,(HL)
    EX AF,AF'
    LD ...
    dmsmith dmsmith August 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... br /> POP BC
    LD SP,HL
    PUSH BC
    ... /> ADD HL,DE ; Add onto GFX
    EX DE,HL ; Let ... /> POP BC
    LD SP,HL
    PUSH BC
    ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> POP BC
    EXX
    ex af,af'
    POP AF ... br /> POP BC
    LD SP,HL
    PUSH BC
    PUSH ...
    add hl,de
    EXX
    ex af,af'
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> ADD HL,DE ; Add onto GFX
    EX DE,HL ; Let ... BC
    EXX
    EX AF,AF'
    POP AF ... EXX

    LD SP,HL
    POP AF
    POP ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> ADD HL,DE ; Add onto GFX
    EX DE,HL ; Let ... POP BC
    EXX
    EX AF,AF'
    POP AF ... INC H

    LD SP,HL
    POP AF
    POP ...
    robpearmain robpearmain September 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... skipped first time
    fastcopy2 ex af, af'
    exx< ... /> push af ;33
    ex af, af'
    exx
    push af ;33
    ex af, af'
    exx



    ld sp, hl ;6


    pop ...
    Fikee Fikee May 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... hl,2
    add hl,sp
    ld a,(hl) ; a = N
    inc hl ...
    inc hl
    hl)
    inc hl
    ld b,(hl) ; bc = colours
    ex de,hl ; hl ...
    Alcoholics Anonymous Alcoholics Anonymous September 2005 Development
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    ... sp, hl
    ex de, hl
    pop hl
    ld (memory1), hl
    pop hl
    ld (memory2), hl

    ex ... de, hl
    Fikee Fikee December 2005 Development
  • Shoot-em-up Development UpdateHi Folks, I am still working away at my horizontal scroller. Here is a link to let you see progress. I have re-written the scrolling routine to make…

    ... ]
    [FONT=Courier New] LD SP,HL

    POP BC: LD ... LD H,A
    LD SP,HL
    LD H,D: LD ... =Courier New] EX AF,AF'

    LD SP,HL[/FONT]
    [FONT ...
    dmsmith dmsmith April 2006 Development
  • Pimp my code...Erm, this is just the result of a mental exercise - I wanted to repeatedly display a UDG but decided against using a ROM routine and UDGs! Any sugges…

    ... hl
    ld (hl),a : inc hl
    ld (hl),a : inc hl
    ld (hl ... /> ; hl = 0x4000
    ; de = bitmap

    ld (temp),sp
    ld sp,hl ...
    ex de,hl
    ld c ...
    Alcoholics Anonymous Alcoholics Anonymous August 2006 Development
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... /> ld e,(hl)
    inc hl
    ld d,(hl)
    ex de,hl
    ld e,(hl)
    inc hl
    ld d,(hl)
    ex de,hl
    ld sp,hl
    adc a,h
    ld sp,hl
    adc ...
    robpearmain robpearmain November 2006 Development
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... C,(HL)
    INC HL
    LD B,(HL)
    INC HL
    PUSH HL ... br /> ADD HL,HL ;x4
    ADD HL,HL ;x8
    ADD HL,BC ;add ... /> EX DE,HL ;result back into DE
    POP HL
    INC HL

    reloc1:
    LD SP,$0000 ;value gets modified by ...
    Jimmy Jimmy April 2008 Emulators
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... />
    [CODE] ld hl, (lines+2)
    ld de ... lines
    ...
    ld hl, (lines+382)
    ld ... Also we can just make SP=lines and all the scroll ... the registers, like LD HL, 16384: LD DE, ... br /> ld hl, (y_off)
    add hl, hl
    ex de, hl
    ...
    Shadow Maker Shadow Maker October 2008 Sinclair Miscellaneous
  • Usr 0 ?I'm not sure I've ever seen this explained before, but why do some programs (only demos, as far as I can see, so far) need USR 0 mode when run on a 1…

    ... ] LD HL,#1303
    PUSH HL
    LD (#5C3D),SP
    LD HL,#1BB0 ...
    PUSH HL
    LD HL ... /> LD DE,#1B5E
    EX DE,HL
    LD BC,4
    SP & get HL.
    Shadow Maker Shadow Maker December 2008 Sinclair Miscellaneous
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... DI
    LD SP,SPADR
    LD HL,MSSTR
    CALL ... CALL PRNT
    REP1 LD HL,MS1K
    CALL PRNT< ... (PORT),A
    LD HL,MS1K
    CALL PRNT
    LD HL,MS2K
    CALL PRNT
    BD EX DE,HL
    LD HL,MSBD
    CALL PRNT ...
    jp jp January 2009 Games
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... ;Disable Interrupts

    LD SP,MyStack ; Move stack to screen ... preserving HL
    CALL RAND16
    EX DE,HL

    POP HL
    EX DE,HL
    ADD HL,BC ; temporarily use HL register pair ...
    Digital Prawn Digital Prawn January 2009 Games
  • 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…

    ... HL,14
    ADD HL,SP
    LD SP,HL ; undo USR command
    LD HL ...
    Dr BEEP Dr BEEP January 2009 Development
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ... />
    Assuming HL holds the address of the ... [code]
    ld sp, hl
    ex de, hl
    ld ( ... ), sp

    pop de
    pop bc
    ld (hl), ... /> inc l
    ld (hl), b

    ...
    Fikee Fikee May 2009 Development
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ... disable interrupts
    ld hl,gfx ; hl points to graphics
    ... br /> ld sp,hl ; SP = Graphics Block
    ex de,hl ; hl now has ... a1:
    ; Store Counter
    ex af,af'
    ;-------------------------------------
    ; ...
    robpearmain robpearmain May 2009 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 …

    ... /> add hl, hl ;
    add hl, hl ;
    add hl, bc ;
    ex de, hl ; character ... push iy
    ld (sp_cache),sp

    ;Pause for ... per row
    ld sp,colour_map+(16*pixel_row)+(128* ... pop de
    pop hl
    ld sp,22552+(32*char_row) ; ...
    chev chev May 2009 Development
  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…

    ... LD HL,#1303
    PUSH HL
    LD (#5C3D),SP
    LD HL,#1BB0 ...
    PUSH HL
    LD HL ... /> LD DE,#1B5E
    EX DE,HL
    LD BC,4
    SP & get HL.[/QUOTE]

    ...
    zxbruno zxbruno March 2010 Development
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... />
    chk: ld hl, 0
    add hl, sp ;HL = current stack pointer
    ex de, hl ;DE = stack pointer, HL = entry address
    add hl, bc ;HL = address of chk
    ld sp, hl ;SP now equals ...
    John Elliott John Elliott May 2010 Sinclair Basic
  • Common pitfalls and solutionsLet's discuss some of the common problems in Speccy programming, and the methods we use to avoid them. For an example, here is a piece of code that …

    ... /> LD HL,#1303
    PUSH HL
    LD (#5C3D),SP
    LD HL,#1BB0 ...
    PUSH HL
    LD HL ... /> LD DE,#1B5E
    EX DE,HL
    LD BC,4
    BiNMaN BiNMaN August 2010 Development
  • Common pitfalls and solutionsLet's discuss some of the common problems in Speccy programming, and the methods we use to avoid them. For an example, here is a piece of code that …

    ... ]LD HL,#1303
    PUSH HL
    LD (#5C3D),SP
    LD HL,#1BB0 ...
    PUSH HL
    LD HL ... /> LD DE,#1B5E
    EX DE,HL
    LD BC,4
    zxbruno zxbruno August 2010 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ...
    exx
    pop hl
    ld sp,hl

    add a ...

    fm01 ex de,hl
    ld (hl),e
    inc l ... /> ex de,hl
    add hl,bc

    ex de,hl
    ld (hl),e ... /> ld (hl),d
    inc hl
    ex de,hl
    add hl,bc
    ASM ASM November 2010 Development
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... br /> start: di
    ld sp,copy_tab ; **MUST RELOCATE**
    < ... memory
    pop hl
    dec sp
    pop de< ...
    ex de,hl ; HL = 0
    add hl,sp ; Point HL to change_tab ... inc hl
    ld d,(hl)
    inc hl
    ld c,(hl) ; ...
    ASM ASM November 2010 Announcements
  • 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…

    ... thread
    ld (thread_sp), sp ; store SP, no flags affected; 6 M ... iy ; 3 M-cycles
    ex af,af' ; 1 M-cycle ... stack ptr
    push hl ; push sp
    ; hl points to return address ... c,(hl)
    inc hl
    ld b,(hl)
    inc hl
    push hl ...
    tstih tstih January 2011 Development
  • Push/Pop data copyingWe all know that stack pointer cheese and push/pop is faster to move data than LDIR - which in turn is slower than unrolled LDI's anyway. I rewrote …

    ... this.

    Updating the SP for POP/PUSH can be ... this also.
    DE=destination, HL=source.
    [code] ld de ... ; 10ts

    ld sp, hl ; 6ts
    pop bc ; 10ts ... bc ; 10ts
    ex de, hl ; 4ts
    ld sp, hl ; 6ts
    push ...
    FrankT FrankT March 2011 Development
<1…45678910…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
hl 6.2K 48K

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?
  • 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…
  • new forum for ex retro gamer refuges[url="http://forum.retrosurvival.co.uk/index.php?act=idx"]http://forum.retrosurvival.co.uk/index.php?act=idx[/url]<br /> <br /> :)

Related Searches

  • ld hl de
  • return to basic hl
  • reset sp ffff
  • call hl
  • deus ex machina
  • caf turco com os ex jugoslavos
  • sp format
  • snapshot sp format
  • slt format hl
  • 16 bit hl load
  • clear sp
  • jp hl
  • ex af carry
  • regular ex
  • sp 1000
  • sp 800
  • ex sp ix
  • ex sp iy
  • screen buffer pop bc ld sp hl
  • ex hl de

Copyright © 2024 World of Spectrum