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.002s
<1234567…34>
  • LDIR timings in contended RAM?The 48K Spectrum technical reference page ([URL="http://www.worldofspectrum.org/faq/reference/48kreference.htm"]here[/URL]) describes the detailed ti…

    ... /> My program will have the LDIR instruction in non-contended memory ... to the duration of a LDIR instruction (normally 21T) means ... that when LDIR synchronises with the gaps in ... per byte.

    Using LDIR to scroll the full screen ...
    ajmoss ajmoss June 2010 Development
  • 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…

    ... long time that uses an LDIR instruction to move the screen ...
    mjwilson mjwilson January 2012 Sinclair Miscellaneous
  • Quickest way to fill the attributes using LDIRI'm looking for a small routine to fill the entire attribute area of the memory with a single value, I've used LDIR in the past, but forgotten how to…

    I'm looking for a small routine to fill the entire attribute area of the memory with a single value, I've used LDIR in the past, but forgotten how to do it... :confused:
    daveysludge daveysludge August 2012 Development
  • Addressing mode of LDIR and LDDRWhat addressing mode would the instructions LDIR and LDDR be classed as using? Would I correct in thinking that they're register indirect, as both t…

    What addressing mode would the instructions LDIR and LDDR be classed as using?

    Would I correct in thinking that they're register indirect, as both the source (HL) and destination (DE) registers are pointing into memory?
    cmonkey cmonkey January 2015 Development
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... relying on ROM calls or LDIR) as a learning exercise. What ... this code is faster than LDIR because that is operating on ...
    ST1 ST1 November 2018 Development
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... a hidden screen, and then LDIR to real screen at interrupt ...
    windenNTW windenNTW July 2003 Games
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    ...
    ld (hl),229
    ldir

    ld hl,58853 ...
    ekoman ekoman July 2004 Development
  • Z80 core testing ?OK, my z80 core is almost finished (apart from RRD, RLD, and block instructions except LDI,LDIR,LDD,LDDR). I run the 48K rom and hurray, it resets co…

    ... , and block instructions except LDI,LDIR,LDD,LDDR). I run the ...
    GOC GOC July 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 …

    ... [/url]

    Instead of LDIR or multiple LDI's I ...
    LD (HL),%01000111
    LDIR


    MAIN:
    robpearmain robpearmain September 2004 Development
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ...
    LD BC,1800h
    LDIR

    MAIN:

    robpearmain robpearmain September 2004 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... the screen. I know that ldir/lddr are slow, but not ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Push/Pop methodMachine code question: Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another? I've heard it i…

    Machine code question:
    Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another?
    I've heard it is one of quickest methods, faster then e.g using ldir or writing a loop.
    Is it true?
    Ralf Ralf July 2005 Development
  • Old emulators on DOSBOX.Sadly, my Win'98 machine is going loco a bit too often. I've finally decided that I'll have to move everything over to the noisy, underused XP machi…

    ... : :)

    (Z80 V3.02 - LDIR on, all other slowdowns off ...
    Jmk Jmk November 2005 Emulators
  • 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…

    ...
    ld bc,6143
    ldir

    ; Copy from store ...
    robpearmain robpearmain November 2005 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…

    ...
    ld (hl),a
    ldir
    pop bc
    djnz ...
    jp jp August 2006 Development
  • Mode 2 Tile Editor SourceA Timex Mode 2 Tile Editor incorporating a byte mirror table. The compiled version is available in the CSSCGC 2008 collection from the WoS archive. …

    ... remaining bytes to clear
    ldir ; wipe screen
    ret ; done ...
    chev chev January 2007 Development
  • Currah MicroSource emulationIt appears to be impossible to emualte the MicroSource in software on the ZX Spectrum SE as hardware polling is required. The following patch is not …

    ... /> ld bc,$4000 ; length
    ldir ; copy

    ; page ... /> ld bc,$2000 ; length
    ldir ; copy

    ; emulate ... /> ld bc,13 ; length
    ldir ; copy

    ; ... /> ld bc,22 ; length
    ldir ; copy

    ; move ...
    chev chev March 2007 Emulators
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ...
    ld bc,6143
    ldir
    ret

    ;---------------------------------------------------------------;< ... of bytes per line
    ldir ;draw line

    ...
    HexDump HexDump April 2007 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... E,1 30 1
    LDIR 237 176
    RET 201 ...
    bobbyjaykid bobbyjaykid July 2007 Development
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ...
    ld bc,40832
    ldir[/CODE]

    I know ...
    zxbruno zxbruno August 2007 Sinclair Miscellaneous
  • Blok*Load on Multiface 128Spinning this off into a new thread to avoid cluttering up the original: [url]http://www.worldofspectrum.org/forums/showthread.php?t=17999&page=7[/u…

    ... (05CE9h),A ;overwrite end of LDIR routine with a RET
    CALL 05CD0h ;execute the LDIR routine then return to us ...
    StuBruise StuBruise October 2007 Sinclair Miscellaneous
  • The direct bus or indirect one... that is the questionThe Ethernet project continues...and I'm in a quandry. So I've managed to implement enough socket library for the W5100 that socket, bind, listen, a…

    ... to copy a buffer, simply LDIR it to wherever it ought ... number of T-states as LDIR.

    I shall ponder ...
    Winston Winston November 2007 Hardware
  • Alternative ROM on original DivIDEOriginal DivIDE interface contain too allram mode (16kB paging). [url]http://raww.org/index.php?name=News&file=article&sid=2471[/url] Switch to ALLR…

    ...
    LD BC,16384
    LDIR ;rom instalation (from 49152 to ...
    velesoft velesoft June 2008 Hardware
  • Unprotecting games without knowning m.c.DivIDE or MB02 users don't need unprotected games, but those who still use the Microdrive, Wafadrive, Timex FDD, +3, Plus D, Disciple or use the new …

    ... a basic concept of JP, LDIR, etc. What did I miss ... and used M.C. to LDIR the data to 23296 before ...
    zxbruno zxbruno June 2008 Sinclair Miscellaneous
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

    I wondered what the faster than LDIR methods of writing to the screen were.
    chev chev October 2008 Development
  • So... you want to format your 3.5" as 720K eh?Well, i've been trying to get hold of an application to make proper use of my 3.5" +3 floppy disks but i haven't been able to find any. I stumbled up…

    ... made of 16 bytes
    LDIR ; Transfer it to the desired ... be filled with $E5
    LDIR ; And here we fill the ...
    NaMcO NaMcO December 2008 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... , here's the plain stock LDIR solution:
    [CODE]
    LD ... (HL),L ; 1B 7T
    LDIR ; 2B 6910*21+16=145126T ...
    Patrik Rak Patrik Rak February 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 …

    ... , 256 ;Make 256 copies
    ldir ;Thusly

    ;Interrupts will ...
    joefish joefish May 2009 Development
  • Jumping to BASIC after importing 23296,1703Sorry for the confusing title. :-D Now that I've learned how to stop a game from starting after loading (in Fuse and Specemu), I have a few more que…

    ... know how to use LD, LDIR, JP, RET, but not much ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
ldir 1K 1.7K

Related Threads

  • LDIR timings in contended RAM?The 48K Spectrum technical reference page ([URL="http://www.worldofspectrum.org/faq/reference/48kreference.htm"]here[/URL]) describes the detailed ti…
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said:<br /> <br /> [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg use…
  • Quickest way to fill the attributes using LDIRI'm looking for a small routine to fill the entire attribute area of the memory with a single value, I've used LDIR in the past, but forgotten how to…
  • Addressing mode of LDIR and LDDRWhat addressing mode would the instructions LDIR and LDDR be classed as using?<br /> <br /> Would I correct in thinking that they're register indirec…
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

Related Searches

  • move ldir
  • 128k shadow ldir
  • picture ldir
  • ldir picture
  • ldir picture to shadow
  • ldir and parity
  • ldir or djnz
  • when to use ldir
  • z80 ldir
  • z80 snapshot ldir
  • z80 ldir emulation
  • ldir emulation
  • fusetest ldir
  • ldir failed 0x05
  • ldir interrupt
  • ldir overwrite
  • ldir contended
  • ldir ldi
  • ldir ldi unrolling
  • ldir unrolling

Copyright © 2024 World of Spectrum