CPCWiki forum

General Category => Emulators => Topic started by: freemac on 17:20, 13 February 17

Title: Z80 WAIT_n generator
Post by: freemac on 17:20, 13 February 17

Is some CPC emulator implementing Instruction Timing using a "WAIT_n generator" ?
I have seen an 8 years old topic http://www.cpcwiki.eu/forum/emulators/cpc-z80-timing/ (http://www.cpcwiki.eu/forum/emulators/cpc-z80-timing/) but I don't know if it did progress this way.


If some has a description around the interrupt/io_ack behaviour, you're welcome  8)


http://www.cpcwiki.eu/index.php/FPGAmstrad#Instruction_timing (http://www.cpcwiki.eu/index.php/FPGAmstrad#Instruction_timing)
Title: Re: Z80 WAIT_n generator
Post by: Lone on 10:41, 14 February 17
Hello,


Next version of Sugarbox will have a new Z80 code, using the WAIT_n generator to reach correct timings.


Currently working (but still few bugs remains), I was able to run tming tests corretly without any trick or timing tables.



Title: Re: Z80 WAIT_n generator
Post by: Docent on 04:17, 15 February 17
Quote from: freemac on 17:20, 13 February 17
Is some CPC emulator implementing Instruction Timing using a "WAIT_n generator" ?
I have seen an 8 years old topic http://www.cpcwiki.eu/forum/emulators/cpc-z80-timing/ (http://www.cpcwiki.eu/forum/emulators/cpc-z80-timing/) but I don't know if it did progress this way.


If some has a description around the interrupt/io_ack behaviour, you're welcome  8)


http://www.cpcwiki.eu/index.php/FPGAmstrad#Instruction_timing (http://www.cpcwiki.eu/index.php/FPGAmstrad#Instruction_timing)

There was a discussion about it recently in another thread - have a look at this thread http://www.cpcwiki.eu/forum/programming/cpc-z80-commands-and-how-long-they-take (http://www.cpcwiki.eu/forum/programming/cpc-z80-commands-and-how-long-they-take),  I posted  there at the end of it some information related to GA-introduced delay, that might be useful for you.
Title: Re: Z80 WAIT_n generator
Post by: Executioner on 20:38, 22 February 17
Quote from: freemac on 17:20, 13 February 17
Is some CPC emulator implementing Instruction Timing using a "WAIT_n generator" ?

The JEMU source on SourceForge has used this for many years now (unfortunately not used for JavaCPC).
Powered by SMFPacks Menu Editor Mod