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

    ... screen, and then LDIR to real screen at interrupt time.

    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…

    ... start

    ;a test interrupt function located
    ;at 35002 ... Basic


    ;prepares interrupt handling
    prepint
    ld ...
    ld (hl),229
    ldir

    ld hl,58853 ...
    ekoman ekoman July 2004 Development
  • Interrupt driven code at overclocked pace....Is it possible for a MC coder to do a routine (i.e. interrupt music player, for within/during Basic)if he knows said machine is running at 400 percen…

    ... do a routine (i.e. interrupt music player, for within/during ...
    CKay CKay August 2004 Sinclair Miscellaneous
  • 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 …

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


    ... RET

    ;PREPARES INTERRUPT HANDLING
    INITIM2:


    ; **** END INTERRUPT ROUTINE ***


    ...
    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:
    ... RET


    ;PREPARES INTERRUPT HANDLING
    INITIM2:



    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR ...
    robpearmain robpearmain September 2004 Development
  • Interrupt timingsHow long does the ULA hold /INT low for on interrupt on each of the Spectrum models?

    How long does the ULA hold /INT low for on interrupt on each of the Spectrum models?
    Philip Kendall Philip Kendall February 2005 Development
  • Data bus at interrupt timeIt is "well known" that some peripherals can put values other than 0xff on the data bus at interrupt time, thus meaning that IM2 is slightly more fid…

    ... on the data bus at interrupt time, thus meaning that IM2 ...
    Philip Kendall Philip Kendall March 2009 Hardware
  • 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 …

    ... ;---------------------
    interrupts_on
    ;Configure interrupt vector table,
    ;set 65024 ... 256 ;Make 256 copies
    ldir ;Thusly

    ; ... />

    ;Main interrupt routine:
    ;-----------------------
    interrupt_main
    joefish joefish May 2009 Development
  • Need help with interrupts againI'm fighting to understand how interrupts code handling works I'm trying to set my simple own interrupt routine, as I don't want to be dependent on …

    ... variables normally and Basic interrupt routine overwrites this ... /> LD (HL),C
    LDIR

    LD A ... RETI command - end interrupt
    ;each interrupt automatically disables interrupts, ... even after setting this interrupt, Spectum still seems to ...
    Ralf Ralf November 2009 Development
  • 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
  • Jelly-Vision!As threatened in the "'Spectrum Play' Error" thread, here's a ruff'n'reddy interrupt driven full screen wobbling routine which has no practical use w…

    ... 's a ruff'n'reddy interrupt driven full screen wobbling routine ...
    ld de,16384
    ldir
    jr MOVEDONE
    MOVEUP ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • 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
  • multi-scroll m/c subroutine for BASICArising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. whe…

    Arising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. where width is
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • 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…

    ... pop bc ;bc=lenght
    ldir
    pop hl ;Keep HL ... s used by Amstrad CPC interrupt routine. Also there is ... pop bc ;bc=lenght
    ldir
    pop hl ;Keep HL ...
    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! …

    ... .
    + Monitor can step over LDIR, INIR and other block commands ... options to break on interrupt and re-triggered interrupt.
    * Made the ...
    Arjun Arjun January 2013 Emulators
  • z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…

    ... /> //copy backbuffer to screen
    LDIR



    LDIR
    ; ROM routine, read ... byte.
    im2 ; select interrupt mode 2.
    ei ; ...
    slenkar slenkar October 2013 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... br /> di

    ;Interrupt vector table to go at ...
    ldir

    ;Copy main interrupt handler into ... />

    ;Main multicolour interrupt
    ;--------------------------
    multicolour_interrupt_A
    ...
    joefish joefish March 2014 Development
  • Ensure my interrupt handler begins at the same T-stateHi! Is there a way to ensure that an IM 2 interrupt handler starts always at the same T-state (related to the moment the ULA triggers the INT line, w…

    ... ensure that an IM 2 interrupt handler starts always at the ... ,20,21 and 22, each interrupt, and then 19,20,21 ...
    mcleod_ideafix mcleod_ideafix November 2014 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
  • 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…

    ... been trying to create an interrupt routine for playing AY music ... /> Does the bank switching mean interrupt routines cant be used?
    daveysludge daveysludge November 2016 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
  • converting sna to tapsince i'm struggling to find a simple sna to tap converter that works fine on gnu/linux, i'm about starting to code one on my own (using a scripting …

    ...
    ld hl,16384
    ldir
    ld hl,nn
    $17 SP
    $19 Interrupt mode: 0, 1 or 2 ...
    nitrofurano nitrofurano April 2019 Development
<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
interrupt 2.6K 4.5K

Related Threads

  • Interrupt driven code at overclocked pace....Is it possible for a MC coder to do a routine (i.e. interrupt music player, for within/during Basic)if he knows said machine is running at 400 percen…
  • Interrupt timingsHow long does the ULA hold /INT low for on interrupt on each of the Spectrum models?
  • Data bus at interrupt timeIt is "well known" that some peripherals can put values other than 0xff on the data bus at interrupt time, thus meaning that IM2 is slightly more fid…
  • 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…
  • Ensure my interrupt handler begins at the same T-stateHi! Is there a way to ensure that an IM 2 interrupt handler starts always at the same T-state (related to the moment the ULA triggers the INT line, w…
  • 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…

Related Searches

  • 16k interrupt
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • best place for interrupt table
  • interrupt table
  • ldir
  • move ldir
  • vortex interrupt
  • interrupt rom
  • firestorm interrupt
  • non maskable interrupt
  • non maskable interrupt error
  • non maskable interrupt start
  • interrupt
  • 128k shadow ldir
  • picture ldir
  • ldir picture

Copyright © 2024 World of Spectrum