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

    ... Mode 2
    EI ; Enable interrupts again

    LOOP: HALT ...

    Interrupt: DI ; Disable interrupts
    PUSH AF ; Preserve all ... AF
    EI ; Enable interrupts
    RETI ; Return from interrupt

    daveysludge daveysludge November 2016 Development
  • 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…

    ... /> pop hl
    ei
    reti

    start
    call ... 1 and enable
    ei ;interrupts. Jump to 0056 in ROM ...
    ekoman ekoman July 2004 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 …

    ... 'm fighting to understand how interrupts code handling works

    RETI command - end interrupt
    ;each interrupt automatically disables interrupts, so ...
    Ralf Ralf November 2009 Development
  • New discovery on Z80 interrupts.This is to announce the discovery of a new, hitherto unknown, behavior of the RETI and RETN instructions. As everyone knows, the maskable interrup…

    ... hitherto unknown, behavior of the RETI and RETN instructions.
    < ... interrupted immediately after re-enabling interrupts if the /INT line ... all forms of the RETI and RETN instructions defer the ... EI, a sequence of RETI/RETN instructions will not prevent ...
    rich_chandler rich_chandler April 2022 Emulators
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... a good tutorial on using interrupts? As soon as someone mentions ...
    b00mzi11a b00mzi11a September 2003 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... 3.54 MHz, so interrupts are still generated every ... interrupt routines; see the retriggered interrupts section below.

    interrupts were enabled beforehand.
    ... 'nnnn'.

    Retriggered interrupts

    If you ...
    Philip Kendall Philip Kendall July 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] ; ***********…

    ... AF

    ei
    reti

    Start:

    ei ;interrupts. Jump to 0056 in ROM ... /> ; 0FD00 - 0FDFCH Reserverd for IM2 Interrupts

    ORG 0FDFDH
    robpearmain robpearmain August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... and I want to use interrupts to measure time, draw the ... keyboard etc. What kinds of interrupts are there?

    At ... they were talking about maskable interrupts vs NMI. Are those generated ...
    Erlstoned Erlstoned 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 …

    ... previous thread to use IM2 interrupts to do the moving of ... AF

    EI
    RETI

    ; **** END INTERRUPT ROUTINE ... /> ; 0FD00 - 0FDFCH RESERVERD FOR IM2 INTERRUPTS

    ORG 0FDFDH
    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 …

    ... />
    EI


    RETI


    ; **** END INTERRUPT ... /> ; 0FD00 - 0FDFCH RESERVERD FOR IM2 INTERRUPTS

    ORG 0FDFDH
    robpearmain robpearmain September 2004 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... a little confused regarding the interrupts on the Spectrum. If I ... />
    I suspect that the interrupts does for example keyboard scanning ...
    Rickard Rickard May 2007 Development
  • InterruptsI need help emulating interrupts. My z80 core currently emulates all un-prefixed opcodes and the CB opcodes. I thought I would start on emulating co…

    I need help emulating interrupts.

    My z80 core ... to start - my understanding of interrupts is not great (having never ...
    MadDoc MadDoc July 2008 Emulators
  • SP and IM2 woesI have a function that writes the backbuffer to the screen using the method by which SP is stored, I "POP" a load of registers and then chnge SP to t…

    ... />
    All works super with Interrupts of (DI)

    I ... is)

    EI
    RETI

    If before I ... of an SP function with interrupts on without corruption
    robpearmain robpearmain November 2009 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how easy it actually is. (Actually I've already published this one some time ago, but this time the source is ...
    Timmy Timmy January 2012 Development
  • Simple explanation of interrupts (in the context of Z80/Speccy)I wondered if somebody on here could explain in simple terms how interrupts work on the Speccy and where interrupts are source from. Are they a natur…

    ... explain in simple terms how interrupts work on the Speccy ... via the ULA? Are Speccy interrupts per-frame, can you schedule ... Are there different types of interrupts that can instantly jump to ... hearing stuff about non-maskable-interrupts in the case of resetting ...
    takapa takapa June 2012 Development
  • 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…

    ... /> ei ; always re-enable interrupts before returning.
    reti ; done.
    ret ... mode 2.
    ei ; enable interrupts.
    #endasm

    }[/code ...
    slenkar slenkar October 2013 Development
  • Interupt service routinehas anyone set up a interupt service routing with pasmo? this one I tried resets the speccy EDIt- I placed the code after the END directive, I fi…

    ... $6000
    di ; interrupts off as a precaution.
    ei ; enable interrupts.
    INFINITELOOPLABEL1
    ... ; always re-enable interrupts before returning.
    reti ; done.
    ...
    slenkar slenkar April 2017 Development
  • Interrupts, 16k Spectrums and snowI'm writing something for the 16k Spectrum and I want to use interrupts. The avilable documentation doesn't seem clear enough for me to figure out ho…

    ... and I want to use interrupts. The avilable documentation doesn't ... can I do my own interrupts on a 16k machine? Is ...
    evilpaul evilpaul August 2017 Development
  • playing ay music using interruptsi seem to remember there is a way to play ay music using interrupts. (i.e. play music while you are typing, editing listings, running another program…

    i seem to remember there is a way to play ay music using interrupts. (i.e. play music while you are typing, editing listings, running another program, etc, in the background.) what is the simplest way of doing this?
    digital digital September 2018 Development
  • Which Emulator has a menu option to enable Interrupts (EI) if emulated Speccy hangs after DI / HALT?Which Emulator has a menu option / debugger option to enable Interrupts (EI) if emulated Speccy hangs after DI / HALT? I tried SpecEmu and Fuse, b…

    Which Emulator has a menu option / debugger option to enable Interrupts (EI) if emulated Speccy hangs after DI / HALT?

    I tried SpecEmu and Fuse, but I can not find a option for doing this in their debugger.
    Luzie Luzie June 2021 Emulators
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... maskable) and MI (maskable interrupts). Both are triggered by ... about maskable interrupts.

    MI interrupts are called ... The Z80 automatically disables interrupts when an interrupt service ... should reenable interrupts. ISRs end with a 'reti' instead ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    [quote]
    ei
    reti
    [/quote]

    ... ei instruction should be removed. Interrupts are disabled while a maskable ... the stack may collapse. reti itself is equivalent to ei ... opens the possibility of chained interrupts (although only for a ...
    Metalbrain Metalbrain September 2003 Development
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... the possibility of chained interrupts (although only for a ... CPU to recognize interrupts after a RETI you must execute ... fact makes RETI particularly useful in nesting interrupts and linking ... be popped off by 'reti'. Interrupts keep happening, pushing more ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... bus to see if a 'reti' instruction is executed. When it ... you used 'ret' instead of 'reti' to terminate the ISR with ... wait in vain for a 'reti' instruction that never gets executed ... and will not generate further interrupts to report changing mouse position ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... interrupt routines; see the retriggered interrupts section below.

    This allows for a RETI instruction after EI. Another ... .
    [quote]
    Retriggered interrupts

    If you ... .
    [/quote]
    RETI is the instruction to use ...
    Fraser Fraser July 2004 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... /> [quote]
    [quote]
    Retriggered interrupts

    If you have ... retriggered interrupt.
    [/quote]
    RETI is the instruction to use ... smallest interrupt routine possible ("EI;RETI") though an awful lot of ...
    Alcoholics Anonymous Alcoholics Anonymous July 2004 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... enable bit even if NMI interrupts become nested.

    Clearing ... interrupt state is maintained by RETI copying IFF2 back to IFF1 ...
    Woody Woody July 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] ; ***********…

    ... AF

    ei
    reti

    ; **** END INTERRUPT ... 1 and enable
    ei ;interrupts. Jump to 0056 in ROM ... /> ; 0FD00 - 0FDFCH Reserverd for IM2 Interrupts

    ORG 0FDFDH
    robpearmain robpearmain August 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] ; ***********…

    ... 1 and enable
    ei ;interrupts. Jump to 0056 in ROM ... AF

    ei
    reti

    ; **** END INTERRUPT ... /> ; 0FD00 - 0FDFCH Reserverd for IM2 Interrupts

    ORG 0FDFDH
    robpearmain robpearmain August 2004 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
interrupts 1.5K 2.2K
reti 154 227

Related Threads

  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…
  • 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…
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome.<br /> <br /> Notably:<br /> <br /> * How long does the 48K ULA hold /I…
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …
  • InterruptsCan someone help with providing some info or a link about IM 2. I know I need to create a vector table and want to store this as high in memory as po…
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…
  • InterruptsI need help emulating interrupts.<br /> <br /> My z80 core currently emulates all un-prefixed opcodes and the CB opcodes. I thought I would start on …
  • Interrupts - been a while !Not sure if this is the right place for this (1st post on WOS, but been a speccy user since Dec'84 :-o (yes I am that old ! :p) ),<br /> <br /> But …
  • Need help with interrupts againI'm fighting to understand how interrupts code handling works<br /> <br /> I'm trying to set my simple own interrupt routine, as I don't want to be d…
  • Disable interrupts?Well, I've read the bits from the David Webb book about interrupt modes and (vaguely) appreciate the principles behind having a vector table, after r…

Related Searches

  • sprite interrupts
  • interrupts im0
  • knightlore interrupts
  • firestorm interrupts
  • reti
  • ret or reti
  • interrupts
  • 128 bank interrupts
  • elite 128k interrupts
  • pentagon interrupts
  • pentagon interrupts line
  • pentagon interrupts 192 line
  • rzx recording interrupts disabled
  • ay interrupts
  • im2 reti
  • disable interrupts
  • disable interrupts im2
  • tape interrupts
  • debugger interrupts
  • interrupts keyboard

Copyright © 2024 World of Spectrum