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.003s
<1234567…34>
  • 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…

    ...
    LD (05CE9h),A ;overwrite end of LDIR routine with a RET ...
    CALL 05CD0h ;execute the LDIR routine then return to us ... /> LD A,0BFh ;first we overwrite references to port 9F
    LD A,03Fh ;then we overwrite references to port 1F
    StuBruise StuBruise October 2007 Sinclair Miscellaneous
  • 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 ... printer buffer and don't overwrite the System Variables and BASIC ... and used M.C. to LDIR the data to 23296 before ...
    zxbruno zxbruno June 2008 Sinclair Miscellaneous
  • 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 ... BASIC editor.

    "Why overwrite 1703 bytes just to make ...
    zxbruno zxbruno May 2009 Sinclair Miscellaneous
  • 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
  • High score table routineI wrote this general purpose high score table routine. It stores 5 scores and displays them alongside the player names, which are 8 characters long. …

    ... address of the row to overwrite in DE
    CALL ... br /> LD BC,2
    LDIR ; ...and becomes the new fifth ... br /> LD BC,8
    LDIR
    OR A ; do we ...
    LD BC,8
    LDIR
    RET

    ...
    Alessandro Grussu Alessandro Grussu July 2017 Assembler
  • [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
  • 48K protectionWhich games were 'protected' by loading a full 48K block of code so that no copy program could fit in to memory? I know of 2 by heard. Pole Positio…

    ... block, with decompressor placed to overwrite a part of screen area ... to the right adress with LDIR and then starts the decompressor ...
    LCD LCD August 2001 Games
  • screen$I'm wanting to create a game which is written mostly is Basic, due to lack of MC skills but i need a MC routine if someone would kindly supply it I…

    I'm not sure 23296 is the right address for your screen 1 as it would overwrite your BASIC. But whatever address you use, you need just this:

    [code]
    ld hl,ScreenAddr
    ld de,16384
    ld bc,6912
    ldir
    ret
    [/code]
    baze baze August 2005 Development
  • tips on optimizing assemblyI wrote a small routine to rotate right a whole screen character line complete with attributes. This is my third ever assembly routine, so I guess i…

    ... can be handled by the LDIR instruction - character-based scrolling is ... so that you don't overwrite the data you're about ... row rather than use one LDIR... but that's the sort ...
    gasman gasman November 2006 Development
  • tips on optimizing assemblyI wrote a small routine to rotate right a whole screen character line complete with attributes. This is my third ever assembly routine, so I guess i…

    ... so that you don't overwrite the data you're about ... row rather than use one LDIR... but that's the sort ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Development
  • Converting games from tap to dskHi to all from Greece, Being an old Speccy user and now owner of most models of Spectrum (48k , 48k+ , 128K, +2 grey and +3) , I desided to salvage m…

    ... code in at 23872 (again overwrite the loader) and follow steps ... halfway through the bank move LDIR!!!!

    USR0 mode resets ...
    nuggetreggae nuggetreggae January 2010 Emulators
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... />
    db 237,176 ; ldir

    db 123 ; ... as the depacker will never overwrite itself.

    ... memory fill operation will overwrite those 3 BYTES during ...
    ; ------------

    .copy: ldir ; Memory copy

    .next ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • 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…

    ... depacker continued then it would overwrite itself. To detect this and ... /> ; ------------

    db 237,176 ; ldir

    db 123 ; ld ...
    ASM ASM November 2010 Announcements
  • Supertest 128 - Loader QuestionI wonder if someone could explain (in simple terms please) :) , the purpose of the switch code. I see what is doing (going to 48k mode via spectrum)…

    ... out +3DOS [now we can overwrite its memory buffers]
    ... br /> ld (hl),l
    ldir
    ;
    ; Move ... br /> ld (hl),l
    ldir
    ;
    ; Ca. ... br /> ld bc,0300h
    ldir
    ;
    ; G. ... br /> ld (hl),l
    ldir
    ;
    ; Run ...
    John Elliott John Elliott January 2011 Games
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... 15.

    So, the overwrite happens with a FN parameter ... an outer FN, the LDIR won't overwrite the new parameter, as ... the LDIR will take place before ... hidden place. After the second LDIR, call RECLAIM-SPACE to free ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... 're going to have to overwrite that memory area sooner or ... elsewhere
    [*]Load a short LDIR / JP routine ( genFixup() ) into some ... RAM
    [*]Jump to the LDIR/JP code, exiting the loader ... () )
    [/LIST]
    I do overwrite the loader while it is ...
    GoingDigital GoingDigital August 2013 Development
  • Copying data between memory banks in USR0 modeI am experimenting with Funky Fungus to load the majority of its data (levels, screens, music etc.) into memory banks 1, 3, 4, 6 and (partly) 7 by sw…

    ... don't want to overwrite BASIC
    LDIR[/code]

    If ...
    chev chev September 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... /> Realising that this would inevitably overwrite the screen I then decided ...
    ld bc,8
    ldir
    ex af,af'
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    ...
    ld bc,16384
    ldir
    ld a,$10
    overwrite your precious code).
    Zup Zup October 2014 Development
  • Games not compatible with the 128+ & grey +2Like the +2A & +3 thread, there are a few games that do not work correctly on the original 128+ and the grey +2. Two games that I know of that wil…

    ...
    ld a,value
    ldir[/code]

    The actual ... c
    ld (hl),33 ; overwrite c3 with 33, which is ... and is harmless
    notjp ldir ; copy the decrypter down
    ldir ; copy pokes down
    ;
    jp jp October 2015 Games
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
overwrite 512 576

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

  • ldir
  • 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 contended
  • ldir ldi
  • ldir ldi unrolling
  • ldir unrolling

Copyright © 2024 World of Spectrum