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
<1…11121314151617…34>
  • 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 …

    Is the 50Hz interrupt a MI or NMI ?
    cispasoiu cispasoiu 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 …

    ... TV], the ULA(?) generates a interrupt and is doing this 50 ... ?
    (Dont answer before the interrupt occurs)
    I am trying ...
    cispasoiu cispasoiu 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 …

    IIRC, you have approximately 70000T (some are used by the Z80 to respond to the interrupt) at your disposal, but 16000T seems way too much for a small sprite... are you sure it wasn't a typo ?
    GOC GOC 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 …

    ... x 32 masked sprite: 16084 tstates.

    No attempt has ...
    cispasoiu cispasoiu 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 …

    [quote]
    On 2004-08-25 12:40, cispasoiu wrote:
    quote:
    Timing for 32 x 32 masked sprite: 16084 tstates.
    [/quote]

    Which is why real programmers don't use generic sprite routines! :)
    AndyC AndyC 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 …

    ... code I placed on an interrupt vector would run on some ... /> 2) Emulators handle the IM2 interrupt "correctly" except they don't ... any code placed on IM interrupt.

    Oh yes, thank ...
    Erlstoned Erlstoned 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 …

    ... , which doesn't run my interrupt routine, and found that their ... interrupt routines all get executed. But ...
    Erlstoned Erlstoned 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 …

    ... TV], the ULA(?) generates a interrupt and is doing this 50 ... ?
    (Dont answer before the interrupt occurs)
    I am trying ... video) generates a signal. if interrupt (IM 0, IM1, IM2) is ... enabled, processor jumps to interrupt routine (TIME: 0)
    in ...
    Fikee Fikee 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 …

    ... snapshot file I set the interrupt flipflop byte to 0, because ... 0 ;IX
    .byte $ff ;Interrupt (bit 2 contains IFF2, 1 ... /> jr repeat


    ; interrupt routine
    ; it does the ...
    Erlstoned Erlstoned 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] ; ***********…

    ... Start

    ; **** START INTERRUPT ROUTINE ***

    MainLoop:

    ; **** END INTERRUPT ROUTINE ***

    Start:

    ;prepares interrupt handling
    initIM2:

    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] ; ***********…

    ... to LD (HL),A - 3 tstates faster.

    Derek
    dmsmith dmsmith 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] ; ***********…

    ... />

    ; **** START INTERRUPT ROUTINE ***

    MainLoop:

    ; **** END INTERRUPT ROUTINE ***

    MoveAndPrintSprite:

    ;prepares interrupt handling
    initIM2:

    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 …

    ... video display and generates an interrupt just before it starts drawing ...
    Alcoholics Anonymous Alcoholics Anonymous August 2004 Development
  • 3d Code... simple Anyone know where I can get some examples of 3d routines written in basic... I`ve done some googling, and come up with some source for PowerBasic or…

    ... shave another 1000 or so tstates of a routine :)

    dmsmith dmsmith September 2004 Development
  • 3d Code... simple Anyone know where I can get some examples of 3d routines written in basic... I`ve done some googling, and come up with some source for PowerBasic or…

    ... shave another 1000 or so tstates of a routine :)
    [/quote ...
    Quazar Quazar September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... some method of timing the interrupt frequency - and handily enough, each ... reach 69888 then cause your interrupt and update your display.
    Dunny Dunny September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... updates its screen every 69888 Tstates?
    [/quote]

    ... and it *finishes* at 69888 TStates on a 48k. That value ... update the screen after 69888 TStates.

    [quote]
    - ... .
    [quote]

    TStates are just a measurement of ...
    Dunny Dunny September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... System time (in ms)
    TStates = 0
    PC = 0
    Call Opcode_Handler
    |
    Test TStates = 69888
    |(no) |(yes)
    |
    Increment TStates by X (depends on opcode ...
    Dunny Dunny September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    If its DI (disable interrupt) then I think I may have turned a corner :)

    I'm working on the opcodes at the mo. Me thinks it will take some time :)

    @ Woody:
    Thanks a lot. Really appreciate it.

    MadDoc,
    MadDoc MadDoc September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... :
    If its DI (disable interrupt) then I think I may ...
    Dunny Dunny 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 …

    ... 4 as opposed to 6 tstates.

    In fact using ...
    dmsmith dmsmith 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 …

    ... />
    RET

    ;PREPARES INTERRUPT HANDLING
    INITIM2:

    RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR ...
    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 …

    ... for a period after the interrupt so that the TV raster ...
    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 …

    ... /> COUNT2: DEFB 0
    ;PREPARES INTERRUPT HANDLING
    INITIM2:

    RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR ...
    robpearmain robpearmain September 2004 Development
  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&forum=11"]http://www.worldofspectrum.org/forums/v…

    ... be either immediately after the interrupt or immediately after the first ...
    gasman gasman 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 …

    ... /> COUNT2: DEFB 0
    ;PREPARES INTERRUPT HANDLING
    INITIM2:


    RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR ...
    robpearmain robpearmain September 2004 Development
  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&forum=11"]http://www.worldofspectrum.org/forums/v…

    ... T states since the last interrupt -- set a breakpoint at the ... your copy routine after the interrupt. There are about 14000 T ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&forum=11"]http://www.worldofspectrum.org/forums/v…

    ... to wait about 14300T after interrupt but there is way how ...
    Fikee Fikee September 2004 Development
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ... would shave a good few tstates off its worst case timing ...
    dmsmith dmsmith October 2004 Development
  • Cobra - scrollingHi everyone, I have been studying some of the code in Ocean' Cobra game using a debugger, in the hope of improving my own scrolling routines. In cas…

    It's waiting for bit 7 of R to be set. Bit 7 can only be changed in software using LD R,A. Look in the interrupt service routine.
    The delay must be measured in multiples of 20ms.
    Woody Woody October 2004 Development
<1…11121314151617…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
interrupt 2.6K 4.5K
tstates 356 701

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…
  • 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…
  • Interrupt routineI have been trying to create an interrupt routine for playing AY music in the background but cant seem to get anything working.<br /> <br /> I have…

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
  • vortex interrupt
  • interrupt rom
  • firestorm interrupt
  • non maskable interrupt
  • non maskable interrupt error
  • non maskable interrupt start
  • interrupt
  • beeper interrupt
  • interrupt vector
  • interrupt driven sound
  • interrupt sound
  • im2 interrupt 16k

Copyright © 2024 World of Spectrum