Author Topic: Z80 WAIT_n generator  (Read 927 times)

0 Members and 1 Guest are viewing this topic.

Offline freemac

  • 464 Plus
  • *****
  • Posts: 314
  • Country: 00
  • Liked: 243
  • Likes Given: 244
Z80 WAIT_n generator
« on: 18: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/ 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
 

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
Re: Z80 WAIT_n generator
« Reply #1 on: 11: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.




Offline Docent

  • CPC6128
  • ****
  • Posts: 166
  • Country: pl
  • Liked: 104
  • Likes Given: 0
Re: Z80 WAIT_n generator
« Reply #2 on: 05:17, 15 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/ 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

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,  I posted  there at the end of it some information related to GA-introduced delay, that might be useful for you.

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: Z80 WAIT_n generator
« Reply #3 on: 21:38, 22 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).