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.013s
<1…18192021222324…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 …

    ... ?
    (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)
    ... read memory or just execute instruction on that page). it slows ...
    Fikee Fikee 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] ; ***********…

    ... with attributes (new .z80 file available from [url ... .co.uk/downloads/char5.z80"]http://www.peargames.co ... .uk/downloads/char5.z80[/url]

    ... Start

    ; **** START INTERRUPT ROUTINE ***

    MainLoop:
    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 ... generate the video, the z80 is briefly halted by stopping ... The memory region where the z80 and ULA might simultaneously access ... detailed description of how the z80 is effectively slowed when ...
    Alcoholics Anonymous Alcoholics Anonymous August 2004 Development
  • Where do you start!I am fairly new to spectrums, and have only been programming for a couple of years starting on bbc basic. where do you start programming a game. Is a…

    ... deeper understanding of how the Z80 works, instruction side-effects, undocumented opcodes ...
    cyborg cyborg 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…

    ... table or any other basic z80 document. You'll likely need ... 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…

    ... memory address of the next instruction, right?).
    [/quote]

    instruction opcode takes to execute, in ... the microcode breakdown of an instruction, the internal stages it goes ... . Once I have written a Z80 core (i.e. a loop ...
    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 …

    ... .uk/downloads/bb4.z80"]http://www.peargames. ... co.uk/downloads/bb4.z80[/url]

    ... RET

    ;PREPARES INTERRUPT HANDLING
    INITIM2:


    ; **** END INTERRUPT ROUTINE ***


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

    ... co.uk/downloads/bb5.z80"]http://www.peargames.co ... .uk/downloads/bb5.z80[/url]

    ... : DEFB 0
    ;PREPARES INTERRUPT HANDLING
    INITIM2:
    ... RETI

    ; **** END INTERRUPT ROUTINE ***


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

    ... .uk/downloads/bb9.z80"]http://www.peargames. ... co.uk/downloads/bb9.z80[/url].

    ;PREPARES INTERRUPT HANDLING
    INITIM2:
    ... RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR ...
    robpearmain robpearmain September 2004 Development
  • Techy Z80 questions****** Question 1 ****** Take the instruction SET b, (HL). This is broken down (in machine cycles) as follows (according to Microprocessor Technolo…

    ... /> My question: when does the Z80 read the opcode that would ... /> [quote]
    How is this instruction broken down ?

    LD ... seem to have missed this instruction.
    [/quote]

    Which ...
    Philip Kendall Philip Kendall September 2004 Development
  • Wanted: Code to wait until Border has been drawnWhen my IM2 interrupt fires, I want to wait until the ULA is past the first line of display before drawing. I know I need to wait about 14300T after…

    ... according to machine) tstates after interrupt?

    If you're ... you'll get from the Z80 sampling /INT only between instructions ... to the end before an interrupt occurs.

    Alternatively, read ...
    Philip Kendall Philip Kendall September 2004 Development
  • making games on a real speccy-------------------------------------------------------------------------------- i have recently bought a speccy on ebay and i want to try to make s…

    ... in some z80 assembly. Fortunately, it's a very simple instruction set ...
    Dunny Dunny October 2004 Games
  • Sparky eZX-BASIC Project in need of FPGA ExpertYou probably are not familiar with this project, but it is a computer system based on Zilog's new eZ80 chip and the OS is a superset of ZX BASIC. Ju…

    ... designs with the T80/Z80 core and a genuine ... The timing on a Z80 can be predicted and ... is nothing like the Z80, even though it's ... only valid once an instruction has completely finished, and ... for the current instruction.

    Unlike the Z80, which was ...
    Sparky Sparky October 2004 Sinclair Miscellaneous
  • Sprites flickeringI am trying to write a Spectrum game in machine code. I am still a beginner in programming, however I did much progress recently, i believe. Now I am…

    ... HALT instruction then the CPU will wait until the next interrupt. As ... screen drawing starts with this interrupt that is one way of ...
    cyborg cyborg October 2004 Development
  • Compressing SCREEN$Guys I'm trying to find an MC type-in routine for the 48K which compressed the screen (including attributes) into an area of memory and also restored…

    ... Northern decompression code there in z80 and a PC utility to ... a case of fixing the instruction layouts to make it compile ...
    sack sack November 2004 Development
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... gonna go and learn what z80 assembly is, how it works ... keyboard (is there an actual instruction to do this? I know ...
    Dunny Dunny November 2004 Development
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... gonna go and learn what z80 assembly is, how it works ... keyboard (is there an actual instruction to do this? I know ...
    monty.mole monty.mole November 2004 Development
  • OT: Disassembling 8080 codeAm I correct in believing that the Z80 is 100% backward-compatible with the 8080, in particular that a Z80 disassembler such as DZ80 will correctly d…

    As far as I can see, there's no instruction that the 8080 has and the Z80 doesn't. So the disassembler should work perfectly, unless it runs into invalid code (which it won't detect, but you'll recognize the 'Z80 only' instructions).
    GOC GOC December 2004 Development
  • Z80 register decoding document error?Hi, I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). [url="http://www.z80.info/decoding.htm…

    ... right; that would involve the Z80 reading the DD, then having ... out whether to accept an interrupt or not. Therefore it must ...
    Philip Kendall Philip Kendall December 2004 Development
  • Z80 register decoding document error?Hi, I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). [url="http://www.z80.info/decoding.htm…

    ... with which to form the instruction.

    Still, is DDED ... -state NOP (if the ED instruction is invalid), or a regular ... ED instruction that takes 4 more t ... % accurate, seeing as how the Z80 will perform fetches in the ...
    GOC GOC December 2004 Development
  • Z80 register decoding document error?Hi, I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). [url="http://www.z80.info/decoding.htm…

    ... :
    GOC,

    The instruction E9 is suppose to decode ... , do not exist in the Z80 instruction set. The "JP (HL)" notation ... , which corresponds to what the instruction actually does, i.e. makes ...
    GOC GOC December 2004 Development
  • Z80 register decoding document error?Hi, I've been working on a disassembler using the following document written by Cristian Dinu (aka GOC?). [url="http://www.z80.info/decoding.htm…

    ... operation, disable interrupts [for this instruction] ?' That's just what I ... test anything related to the Z80 myself... I'm hopeless at ...
    GOC GOC January 2005 Development
  • There's a bug in my Speccy, Dear Liza, Dear Liza...Hi guys, Just me being annoying again - Can anyone out there in 'Internetland' help me with ideas about what could be causing a bug in my Speccy em…

    ... you (I) can try each instruction in isolation, compare it with ... )) would be some kind of .Z80 or .SNA file - you load ...
    Speculator Speculator January 2005 Development
  • About z88dk and autoexecsThis weekend I was playing a little with z88dk C cross Compiler. Amazing tool! I have three questions: 1- Does anybody know how to change the initia…

    ... your sna or z80. You may need to adjust interrupt mode and ...
    Erlstoned Erlstoned February 2005 Development
  • 128k Shadow Screen?When emulating the shadow screen in bank 7 should that bank be switched into address C000? If so, what happens if bank 7 is switched out without canc…

    ... read with a Z80 memory read.
    The Z80 reads the first ... other for the ULA and Z80. Connect the buses differently and ... 's because the Z80 has to decode the LD instruction before it ...
    cyborg cyborg February 2005 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…

    ... is then read and the Z80 jumps to that location. Why ... a table of vectors of interrupt routines that service different devices ... the low byte of the interrupt vector is generated as FF ...
    cyborg cyborg February 2005 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…

    ... Z80.

    Effectively, 'I' is the MSB of an interrupt ... +1 to store its interrupt service routine address. A ... peripheral ids means that interrupt service routine addresses overlap ... the z80 will *always* call address $fefe whenever an interrupt occurs ...
    Alcoholics Anonymous Alcoholics Anonymous February 2005 Development
  • ADCI'm a little confused about how the Z80 manages the ADC instruction. I'm assuming two ADD instructions are performed (am I wrong?!) I can think of 3 …

    ... adder (as in a z80 8-bit add instruction), you would have ... you did ask how the z80 does it :)

    [quote ...
    Alcoholics Anonymous Alcoholics Anonymous February 2005 Development
  • Hypersports problem - freezes before 1st event?I am using Fuse on Mac OSX, have tried a few of the available Hypersports in the archive now, but each one appears fine until I start the first event…

    ... reveals that the "improved" retriggered interrupt code in 0.7.0 ... "tstates < 48" test in z80/z80.c:z80_interrupt() to (say) "tstates ...
    Philip Kendall Philip Kendall February 2005 Games
<1…18192021222324…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Goodbye Z80
    i love the z80s on 6:28PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • 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
z80 13.7K 21.5K
interrupt 2.6K 4.5K
unfinished 959 1K
instruction 3.8K 5.5K

Related Threads

  • Question about CP Z80 instructionSorry if this is the wrong folder, but it seems the most appropriate. <br /> <br /> When performing a CP instruction, is the P flag set when the comp…
  • Z80 RRCA instruction...Hi Folks,<br /> <br /> Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official…
  • "Decoding z80 Opcodes" (http://www.z80.info/decoding.htm#intro) - Incorrect HALT Opcode?Apologies if this is a dupe but I searched within the forums and couldn't find anything.<br /> <br /> I've been working on a z80 emulator (for acad…
  • Of course, when the M1 line of the Z80 CPU is failing, the Z80 CPU must be replaced![quote]Of course, when the M1 line of the Z80 CPU is failing, the Z80 CPU must be replaced![/quote]<br /> Err, why?<br /> <br /> If you are trying…
  • Is it possible to make the Z80 execute a bizarre instruction?What happens when it gets an unrecognised instruction OP Code, I mean something following a #ED that isn't one of the undocumented instructions eithe…
  • Z80/SNA Compiler under Windows???Does anybody know anything about Z80/SNA compiler under Windows???
  • Z80, TZX and TAP formatsHi again <br /> I?ve seen these three formats as the most common of all. The doubt is... Which is the best of them? What are the differences between …
  • Scooby Doo (unfinished version)Remember the early adverts for Scooby Doo? Totally different to the final game that came out about a year later.<br /> It looked as if some of it was…
  • Z80 to DSK?Does anyone know if there is a prog that can convert z80,tzx or tap files to<br /> dsk format? I have access to a friends pc that has a 3 inch drive …
  • Z80/SNA compiler under Windows???Does anybody know anything about Z80/SNA compiler under Windows???

Related Searches

  • z80
  • z80 to tape
  • z80 compiler
  • z80 m1
  • 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
  • nmi instruction from basic
  • z80 loader
  • z80 emulator
  • z80 pc emulator
  • save z80 listing as gif
  • firestorm interrupt

Copyright © 2024 World of Spectrum