Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NGPC Z80 instruction timing
#3
To answer my own question: there's nothing strange about the Z80 clock or the instruction timings. The results I got was because the Z80 apparently can't run at full speed if the TLCS900H is accessing the shared RAM area at the same time

E.g. having a wait loop like this on the TLCS side:

Code:
vbw1:
   ld a,(Z80_COUNTER)  ; this address is in the shared RAM area
   ld a, (VBCOUNTER)
   cp a, w
   jr nz, vbw1

would make the Z80 run at approx 88% of it's normal speed.
Reply


Messages In This Thread
NGPC Z80 instruction timing - by mic_ - 04-13-2012, 06:30 AM
RE: NGPC Z80 instruction timing - by mic_ - 04-13-2012, 04:01 PM
RE: NGPC Z80 instruction timing - by mic_ - 04-14-2012, 08:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)