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.095s
<1234567…34>
  • Best way to codeHi, I've been using Zeus Assembler to code MC programs so far. Nothing fancy just the odd scroll left or animation stuff. Wot I'd like to know is, …

    ... 3 IM mode's IM 0, IM 1 and IM 2. IM 0 is never used. IM 1 ... OF TABEL
    . LD B,0
    . LOOP LD (HL),# ... high byte of table.
    . IM 2 ; selecty mode
    . ...
    Dr BEEP Dr BEEP August 2001 Sinclair Miscellaneous
  • 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…

    ... is in:

    IM 0 : an 8080 compatible mode where ... the Spectrum.

    IM 1 : When a maskable interrupt ... code there.

    IM 2 : This is a vectored ... code that will set up IM 2 mode:

    ld i,a
    im 2
    ei
    ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • Memory Available for 16k and 48kAm I right in thinking that if I am writing a 16k Game, I have 8k available for the machine code prog 6000h to 8000h, and for a 48k game I have 40K a…

    ... even if you're in IM 0 as that's basically equivalent ... to IM 1 unless you've got ... is therefore to be in IM 2 :) As has been pointed ...
    Philip Kendall Philip Kendall May 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…

    ... set via the last IM 0, IM 1 or IM 2 instruction.
    IM 2 slightly tricker.

    In IM 0, the Z80 will read an ... be executed, which makes IM 0 essentially useless on the ...
    The timings for IM 0 depend on which opcode is ...
    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…

    ... :
    ...
    The timings for IM 0 depend on which opcode is ... again. For example, if your IM 2 interrupt routine is just ...
    Alcoholics Anonymous Alcoholics Anonymous July 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 …

    ... ) generates a signal. if interrupt (IM 0, IM1, IM2) is enabled, processor ... jumps to interrupt routine (TIME: 0)
    in the same time ...
    Fikee Fikee August 2004 Development
  • Is the IY register used by the spectrum rom?Hi I've been writing a sprite routine and have noticed that the sprite data gets corrupted at some points. I have no idea why and can only guess tha…

    Assuming you're in IM 1 and using the standard ROM, of course. (IM 0 probably needs the same as well).
    Philip Kendall Philip Kendall December 2004 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... modes it is in: "im 0", "im 1" or "im 2". These are also ... that mode.

    In "im 0" mode, the attached peripheral that ... 8080 compatibility.

    In "im 1" mode, the z80 responds ... our programs.

    In "im 2" mode, the attached peripheral ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • He's back......and he's got a new trick! AY Chip here. I've been away far too long. I would like to announce 'HatStand': for no adequately explored reason, I h…

    Implementing the interrupts is easy. IM 0 and IM1 just involve a jump to address 0x38 at the end of a frame and IM 2 needs an address constructed from the I reg (high byte) and 0xFF and then jump to that.

    Simple!!
    rich_chandler rich_chandler September 2007 Chit chat
  • He's back......and he's got a new trick! AY Chip here. I've been away far too long. I would like to announce 'HatStand': for no adequately explored reason, I h…

    ... ]Implementing the interrupts is easy. IM 0 and IM1 just involve a ... end of a frame and IM 2 needs an address constructed ...
    Winston Winston September 2007 Chit chat
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    ... Intrupt Mode

    IM 0 and IM 1 are for the common ... (=read keyboard)

    With IM 2 you can set your ... own IM routine, but it needs an ... intruptvector table.
    By setting IM 2 without a table defined ...
    Dr BEEP Dr BEEP March 2008 Sinclair Miscellaneous
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    There are three IM commands... IM 0, IM 1, IM 2.
    They basically set ... . Most games and demos use IM 2 to set up their ... (to play music or whatever). IM 1 by causes an RST ... stuff. Can't recall what IM 0 does.

    Have a ...
    icabod icabod March 2008 Sinclair Miscellaneous
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    ... 't recall what IM 0 does.
    [/QUOTE]

    IM 0 is the ... instruction.

    Different from IM 2 where the interrupting device ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Sinclair Miscellaneous
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... wait"
    20 FOR i=0 TO 1200:POKE i+32768 ... "start tape!"
    40 LOAD "0" CODE 36864
    50 LOAD ... Rom
    B22F IM 1 ;remember Z80 starts in IM 0
    B231 ...
    Jimmy Jimmy April 2008 Emulators
  • Announce: BASin r14b availableHere's the fix mentioned earlier for those of you that either are too lazy to update your OS (XP SP2 has been out aaaaages, Arjun!) or even junk that…

    ... usually says it's in IM 0. This is never a good ... (point after ZX ROM sets IM 1) and then typed in ... in and reported being in IM 1 - so far so good ... code only to return to IM 0. Is this correct behaviour? I ... think that my use of IM 2 was causing BASin to ...
    Jimmy Jimmy June 2008 Emulators
  • 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…

    ... Interrupt:

    if intreq != 0
    increment PC
    intreq ... /> increment R

    if im = 0
    pc = 0x38
    tstate ... br /> endif

    if im = 1
    pc = 0x38
    endif

    if im = 2
    address = I * 0x100 ...
    rich_chandler rich_chandler July 2008 Emulators
  • Questions about registers, stack, etc.I was told that if I wanted to export code and create unprotected versions of games I should do the following: 1-Find the starting address by using …

    ... /> SP=....
    DI/EI
    IM=0/1/2
    R=...
    Dr BEEP Dr BEEP January 2009 Sinclair Miscellaneous
  • Questions about registers, stack, etc.I was told that if I wanted to export code and create unprotected versions of games I should do the following: 1-Find the starting address by using …

    ... ]
    [FONT=Arial][SIZE=2]IM 0/1/2 [/SIZE][/FONT]
    Dr BEEP Dr BEEP January 2009 Sinclair Miscellaneous
  • Batman crashes on MobileZXDear all, I'm one of the authors of MobileZX ([url]https://sourceforge.net/projects/mobilezx/[/url]) and find that Batman crashes within a few secon…

    You can ignore IM 0 on the Spectrum. IM 1 is easy as it ... always jumps to $0038. IM 2 is relatively straightforward, as ...
    Jimmy Jimmy February 2009 Emulators
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... and it talks of the IM instruction and says [B]"Under ... wonder if it was actually "IM 0" that Toni Baker recommended against ... ? This would make sense as IM 0 looks a lot like it ... do the same thing as "IM 1" on a Speccy, except ...
    ccowley ccowley September 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... wonder if it was actually "IM 0" that Toni Baker recommended against ... ? This would make sense as IM 0 looks a lot like it ... do the same thing as "IM 1" on a Speccy, except ... . Page 102

    [B]IM[/B] [I]DANGER!!![/I] Under ...
    Scottie_uk Scottie_uk September 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... if it was actually "IM 0" that Toni Baker recommended ... would make sense as IM 0 looks a lot like it ... do the same thing as "IM 1" on a Speccy, ... ])

    "Mode 0
    This mode is similar ... automatically enters
    interrupt Mode 0."

    It can ...
    The_Bert The_Bert September 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... (which is RST 38h), so IM 0 will [i]often[/i] do ... the same thing as IM 1, but not [i]always ...
    ccowley ccowley September 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... mode the Speccy supports is IM 1. IM 0 needs hardware support that ... won't ever have and IM 2 kind of does too ...
    AndyC AndyC September 2010 Sinclair Basic
  • Z80 Processor Interupt helpHi everyone, Currently designing a Z80 computer and i need a little help with these interupts. If i have an I/O device that sends a pulse to the int…

    ... the interrupt mode set:
    - IM 0: the Z80 will issue an ... one byte restart instruction.
    - IM 1: the Z80 will issue ... address 0038h (interrupt routine)
    - IM 2: the Z80 will issue ...
    mcleod_ideafix mcleod_ideafix January 2011 Hardware
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... high bytes gives us F + 0 = F and no carry from ... your current EI, DI, and IM 0/1/2 implementations do? They ... every 69888 t-states - for IM 0 or 1, push the PC ... takes 13 t's), for IM 2 you need to push ...
    ccowley ccowley June 2011 Emulators
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... /> while(!exit)
    {
    t_state=0;
    while( t_state < 69888 ... 't want to set t_state = 0, because you don't run ... to get the maskable interrupts IM 0/1/2 to work for ... ). If bit is not set (0) set the equivalent paper colour ...
    Arjun Arjun June 2011 Emulators
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    [QUOTE=karingal;557460]
    A massive change in the value of PC could be a conditional JP or CALL being misinterpreted.[/QUOTE]

    Or our old friends IM 0/IM 1 triggering an interrupt and subsequently RST #38....
    Arjun Arjun August 2011 Emulators
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... and repeat until BC=0.
    CPL Complement ... .
    IM 0 Set interrupt mode 0.
    IM 1 Set ... interrupt mode 1.
    IM ... and repeat until BC=0.
    NEG Negate ...
    Ralf Ralf October 2011 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
0 940.2K 1M

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • 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,…
  • ANNOUNCE: Fuse 0.6.0 and friendsThe Fuse team announce the release of version 0.6.0 of Fuse, along with version 0.6.0 of the Fuse utilities and version 0.1.1 of libspectrum, the Spe…
  • ANNOUNCE: Fuse 0.6.0 for Mac OS XHot on the heels of the UNIX release of Fuse 0.6.0, the native Mac OS X port is now released.<br /> <br /> It has all the great features of Fuse 0.6.…
  • ANNOUNCE: Fuse 0.6.0.1 (security fix)Fuse 0.6.0 has been found to contain a small security hole in the TRDOS disk handling code. Due to multiple race conditions, it is (in theory) possib…
  • ANNOUNCE: Fuse For Mac OS X 0.6.0.1 (security fix)The Mac OS X version of the Fuse 0.6.0.1 security patch release is complete and should be available shortly from WoS and the Fuse homepage:<br /> <br…
  • 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…

Related Searches

  • r forum loading error 0 1
  • r tape loading error 0 1
  • speccy 4 0
  • esxdos 0 8 5
  • 0 44548571
  • esxdos 0 8 6
  • usr 0
  • usr 0 128
  • fuse 1 0
  • spud 0 21
  • fuse 1 0 released
  • fuse 1 2 0
  • spectrum 2 0
  • zx spin 0 6
  • wav2pzx 2 0
  • trdos stealth track 0
  • zxspin 0 7
  • the hobbit 1 0
  • bad address line 0
  • bit 0

Copyright © 2024 World of Spectrum