-
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…
... the game runs within the interrupt.
[ This Message was ... -
How can I see how long it took for IM2 to runHow can i see how many cycles it took for my interrupt routine to run, is there some way with Spectaculator debugger etc to see how long it has taken…
Hi,
Ok, worked out using Spectaculator and 2 breakpoints,
My function takes 26622 TStates
How many TStates are in 1/50th, i.e. one IM2 update? -
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…
... will wait until the next interrupt. As the screen drawing starts ... with this interrupt that is one way of ... -
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…
... for (128 + 64) * 224 = 43008 tstates. The 64 is the number ... (64 + 55 + 64) * 224 = 40992 tstates in which to draw your ... 128K, +2 etc. take 228 tstates per screen line. Hope this ... -
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…
... able to do in 40000 tstates is dependant on a number ... -
Avalon and DragontorcAlways wandered why these games are so highly rated. I never liked them - never had the time and patience to get involved. This morning I was going t…
... , there's the issue of interrupt retriggering - which means that there ... some instances can be an interrupt generated very shortly after the ... may be related to the interrupt-retriggering.
Unfortunately, for ... -
Avalon and DragontorcAlways wandered why these games are so highly rated. I never liked them - never had the time and patience to get involved. This morning I was going t…
... , there's the issue of interrupt retriggering - which means that there ... some instances can be an interrupt generated very shortly after the ... -
Avalon and DragontorcAlways wandered why these games are so highly rated. I never liked them - never had the time and patience to get involved. This morning I was going t…
... , there's the issue of interrupt retriggering - which means that there ... some instances can be an interrupt generated very shortly after the ... 3 part 6 (which has interrupt retriggering on every frame) to ... -
Will Spectrum run @ 60Hz?Sorry to overlap w/ my other recent post, but want to know, if I grab a Spectrum and use it in America with a voltage converter or a different power …
... as I say above the interrupt signal is not generated internally ... , and have better hardware based interrupt architechture).
[ This Message ... -
Will Spectrum run @ 60Hz?Sorry to overlap w/ my other recent post, but want to know, if I grab a Spectrum and use it in America with a voltage converter or a different power …
... and 50/60Hz vertical blanking interrupt.
The Spectrum's ... -
Games that won't work with the +2a/bIs there a list of all the games that don't work with the +2a/b? Like Fairlight for example. Ta :)
... depends massively on timing and interrupt tricks.
If it ... -
MemoryI am writing a game for the Spectrum and need to store a lot of map data. What is the lowest address I can start to store the data at ?
... - and that goes for the interrupt routine too, so if you ... -
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…
... nothing, rather than two 4 tstates which do nothing. If the ... -
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…
... " (to show it's 8 tstates rather than 4) or something ... -
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…
... which takes an extra 4 tstates.
If anyone does ... -
Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…
... DE ;+ 10
Total TStates = 46
Which you ... ,A ;+ 4
Total TStates = 30
Which avoids ... -
Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…
... able to shave off 16 Tstates giving at least 256 TState ... -
BASIC performance tips?Been fiddling around with an old project a little after rescuing it from tape, and I'm toying with the idea of completing it (hey, better late than n…
... that it logs how many tstates are spent at each instruction ... -
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…
... . You may need to adjust interrupt mode and int falgs also ... -
Does ScanLine[0] have a left border?My emulator couldn't handle Cobra or ShortCircuit so I added some rough port FF values. I now want to make it a bit more accurate. The FAQ gives me a…
... be the start of the interrupt just for convenience; there's ... -
Does ScanLine[0] have a left border?My emulator couldn't handle Cobra or ShortCircuit so I added some rough port FF values. I now want to make it a bit more accurate. The FAQ gives me a…
... , so for the first 14336 tstates the border is sent out ... screen lines consisting of 128 tstates of actual screen data followed ... by 96 tstates of border, and after these ... -
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…
... address takes at least 7 tstates but the ULA can load ... pixel data in only 4 tstates? -
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…
... address takes at least 7 tstates but the ULA can load ... pixel data in only 4 tstates?
[/quote]
No ... -
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…
... a table of vectors of interrupt routines that service different devices ... the low byte of the interrupt vector is generated as FF ... -
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…
... get the address of the interrupt service routine that is ... 256+1 to store its interrupt service routine address. A ... odd peripheral ids means that interrupt service routine addresses overlap in ... call address $fefe whenever an interrupt occurs in im2.
< ... -
Port 0x7ffd Partial DecodingI'm trying Pitfighter on my emulator and it runs in +2A/+3 mode but crashes in 128k/+2 mode. I traced it down to an OUT instruction which sends 4 to …
... the I register =0x7e in interrupt mode 2. Not a problem ... -
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 ... -
Interrupt timingsHow long does the ULA hold /INT low for on interrupt on each of the Spectrum models?
... /> We know the number of tstates/frame from the TS2068 Technical ... -
Interrupt timingsHow long does the ULA hold /INT low for on interrupt on each of the Spectrum models?
... . Fuse was previously using 48 tstates for all machines (causing the ...