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

    Okay, been fiddling around with IM 2 and have actually mastered (I ... think) how to use IM 2! Now I run my game ... off interrups
    im 1 ;switch to IM 1 and enable
    ld i,a
    im 2
    ei
    ret
    ekoman ekoman July 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 …

    ... /> POP BC

    ; Col 2
    INC C
    LD ... I,A ; I=FE
    IM 2 ; SELECT IM2
    EI
    ;Char Size: ( 2, 3)
    ;Sort Priorities: Mask ...
    robpearmain robpearmain September 2004 Development
  • The I register and IM 1Hi al! I've been doing some coding, replacing the BASIC ROM with my own code and upon examination of a few 16Kb cartridges, all the ones I've look…

    ... />
    ld i,a
    im 1

    ei
    IM 2. Indeed, commenting this line out ...
    Mysterion Mysterion November 2015 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…

    ... via the last IM 0, IM 1 or IM 2 instruction.
    ... in IM 2 will always be 0xff. This makes IM 2 ... random times, which makes using IM 2 slightly tricker.
    < ... standard method for using IM 2 reliably is to set ... example, if your IM 2 interrupt routine is just ...
    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] ; ***********…

    ... I,A ; I=FE
    IM 2 ; select IM2
    ei
    2,2,0,1,1
    ... ,12,0,0,SPRLEFT,SPRDOWN,2,2,0,1,1
    ... ,12,0,0,SPRLEFT,SPRUP,2,2,0,2,1

    < ... 1
    DEFB 1, 1, 2, 2, 2, 4, 56,192
    DEFB ...
    robpearmain robpearmain 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 …

    ... I,A ; I=FE
    IM 2 ; SELECT IM2
    EI
    robpearmain robpearmain September 2004 Development
  • 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…

    ... info or a link about IM 2. I know I need to ...
    Mr Millside Mr Millside February 2005 Development
  • Restore Registers Returning to BASICI should really know this, but I've not written code that requires a return to BASIC for a loooong time. What registers need to be preserved / resto…

    ... previous value).
    [*]IM 1 (my code uses IM 2).
    [*]...
    [/LIST ...
    icabod icabod July 2006 Development
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... something to do with IM 2 addressing, but I am ... nz,l88eb ; (-13)
    im 1
    ld hl,#2758 ... /> ld i,a
    im 2
    call l8c5c
    ... /> jr c,l8adb ; (2)
    l8ad9: ld a,# ... /> l8baf: djnz l8baf ; (-2)
    inc hl
    ...
    robpearmain robpearmain November 2006 Development
  • Help with creating .ayI am trying to create an .AY file for Sidewalk. Now this is the first time I am trying to do anything like this, so please bear with me. Using Spin's…

    ... called by the CPU in IM 2 mode. The setup part is ... $cf5c and it simply prepares IM 2 (fills memory to make sure ...
    pepak pepak March 2007 Sinclair Miscellaneous
  • 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 …

    ... the interrupt vector
    IM 2 ;Select interrupt mode 2 (custom)
    ei ... off:
    ;----------------------
    interrupts_off
    IM 1 ;Select interrupt mode 1 ...
    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 …

    ...
    LD SP,65516
    IM 2
    EI
    [/code]
    Ralf Ralf November 2009 Development
  • ISR's in lower ram, a.k.a. the snow effect - did any game or demo ever use this?Hi all I've been curious to see what the 'snow effect' looked like in real life for a while now so today I wrote a quick IM 2 ISR in lower ram to wi…

    ... today I wrote a quick IM 2 ISR in lower ram to ...
    cmonkey cmonkey January 2012 Games
  • joining lines of BASICDue to overwhelming demand - well, one demand - well, more of a suggestion, really - here's a routine to join together lines of BASIC. The vertical c…

    ... K48
    VECTOR: DEFW K48+2
    RST $38 ;MASK_INT
    LD I,A
    IM 2
    RET

    DISABLE ...
    LD I,A
    IM 1
    RET

    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • 28-character wide multicolour(ish) on 48k SpectrumLong-time lurker here... I've always been interested in rainbow effects on the 48k Spectrum, mainly from a perspective of "Just what [I]would [/I]ha…

    ... , for a total of 14*2=28 columns.

    Some ... /> nop
    DJNZ TSLP3
    IM 1
    LD A,3FH ...
    ; Hit here at 14238+2*224 t-states, just at ... (HL),0FDH
    LDIR
    IM 2
    RET

    LABEL ...
    AMW AMW April 2012 Development
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... runs as an interrupt mode 2 service routine and uses POP ... /> di ; restore IM1 mode
    im 1
    ei
    ret ... af

    enable_im2:
    im 2 ; switch it on
    ei ... /> REPT 8, cell
    REPT 2, line
    ld ix, bitmap ...
    chev chev April 2012 Development
  • 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…

    ... /> LD I,A
    IM 1
    RET
    ... br /> LD I,A
    IM 2
    RET

    bit 2,a
    jr z, ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • The need of having a 257-byte table for IM2 routinesThis came from a discussion at the speccy.org forum. I have understood that the reason behind the 257-table for IM 2 routines is due to certain joys…

    ... behind the 257-table for IM 2 routines is due to certain ... /> People who play with a +2/+2A/+3 will normally use ...
    mcleod_ideafix mcleod_ideafix August 2012 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 +…

    ... EQU 0
    DEBUG_BORDER EQU 2


    ;Initial entry ...
    ld i,a
    im 2

    ;Put stack pointer ...
    sla c ;bc = y*2
    ld hl,char_address

    ld hl,(SPRITE_BASE+2)

    ;now b=X ...
    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…

    ... way to ensure that an IM 2 interrupt handler starts always at ...
    mcleod_ideafix mcleod_ideafix November 2014 Development
  • How to be a hero - bugfixBug #1: Sometimes the game has frozen at the end of level (can see in RZX of the 3rd level by malcolm) Reason: The scrolling text works with…

    ... technology in the interrupt procedure (IM 2). If the interrupt occurs in ... ,4 ($D854)

    Bug #2:

    The map is ...
    Pgyuri Pgyuri April 2017 Games
  • 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…

    ... ; set high byte.
    im 2 ; Select interrupt mode 2.
    ei ; enable ...
    slenkar slenkar April 2017 Development
  • The I register pointing to $40–$7f causes ULA snow and a crash. Or does it?I have heard it from numerous sources, including a few members of this forum, that 128K/+2 machines crash if the I register points to a range of $40–…

    ... of this forum, that 128K/+2 machines crash if the I ...
    ld i,a
    im 2
    ret

    int_routine ...
    Ast_A_Moore Ast_A_Moore February 2018 Development
  • Help With infinite music on 128KHi :) I'm trying to play infinite simple music on 128K , but i don't know what is wrong with the loop I tried this routine but doesn't work I…

    ...
    ld i,a
    im 2 ; IM2 ON
    ei
    maeloterkim maeloterkim July 2019 Development
  • type in to learn about IM2I'm trying to mess around with learning about IM2 and I found a nice little article in Sinclair User September 1988, issue 78, Page 70-71 [url="https…

    ...
    ld I, A
    im 1
    ei
    ret ...
    ld I, A
    im 2
    ;
    ld HL, $fe00 ...
    andydansby andydansby July 2020 Development
<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
im 11.7K 14.4K
2 91.4K 149.6K

Related Threads

  • 2 x Spectrum cases,2 bust mobos,2 tape decks,2 Keyboards Free stuffHi,I am having a clear out of my old stuff I have the following to give away if who ever wants the stuff,pays the postage.<br /> <br /> 1 x Black 128…
  • Announce: EmuZWin 2.5 Release 2.2 Post-FinalEmuZWin Version 2.5 Release 2.2 post-FINAL (16-Oct-2004): <br /> [-] A small pause added between TAP blocks while loading tape from .TAP image (other…
  • ZX-Paintbrush 2.6.3 and ZX-Blockeditor 2.4.2 publishedDear readers,<br /> as you see in the subject, two of my ZX-Modules applications have been updated today. The very special change, kindfully and ver…
  • Beta versions of Fuse 0.6.2 and libspectrum 0.2.1 availableDear all,<br /> <br /> The Fuse team is pleased to announce the release of a beta version of the upcoming 0.6.2 release of Fuse and the Fuse utilitie…
  • question about EmuZWin 2.2can anyone please tell me how to load the games after the first 1 on a cover/complimation tape. i'm using emuZwin 2.2 i know the old way is [load"gam…
  • Fuse 0.6.2 and libspectrum 0.2.1 releasedThe Fuse team is pleased to announce the release of version 0.6.2 of the Free Unix Spectrum Emulator (Fuse) and associated utilities, as well as vers…
  • SpecEmu 2.2Just downloaded this emulator. Seems very nice. I like simplicity of user interface - I don't need toolbar and icons. Debugger is also good. The abil…
  • what is this? help! (may be a micro drive, im not sure, im confused).hey,<br /> <br /> i was at a car boot today and i found a tape drive that said "computer program data recorder" so i snapped it up thinking it could …
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…

Related Searches

  • saboteur 2 speed up
  • ula model 2
  • 2 buttons
  • fix missing message spectrum 2
  • fix missing message spectrum 128k 2
  • rom spectrum 128k 2
  • spectrum 128k 2 firmware
  • bifrost 2
  • issue 2 yellow screen
  • jet set willy 2
  • chuckie egg 2
  • the speccies 2
  • how many 2 made
  • zx 2 ula
  • zx 2 ula interchange
  • zx 2 ula swap
  • grey 2 ula swap
  • 2 grey sound
  • software only runs on 2
  • basic im 2

Copyright © 2024 World of Spectrum