RE: sam instruction timings

2002-06-06 Thread me me
On Thu, 30 May 2002 11:58:55 +0100 Simon Owen [EMAIL PROTECTED] wrote: There's actually a TurboMON-style mock-up in SimCoupé 0.82a - press '/' on the numeric keypad to show a quick code/register dump at the end of each frame. The new version won't look anything like that tho, fortunately!

RE: sam instruction timings

2002-05-30 Thread Winkless, Geoff
Si Owen wrote: It's quite possible that's just a visual effect caused by the monitor sync not being a perfect match to the timer used by SimCoupé. I'm happy to believe this - also I tried it on my machine at home and it was actually worse so I figure it has to be a SimCoupe problem. I use

RE: sam instruction timings

2002-05-30 Thread Simon Owen
Geoff Winkless wrote: I use 50Hz :) How d'ya manage that? I'd definitely be interested in using that rate myself if possible, as even a smooth 100Hz still suffers from ghosting. I didn't think modern monitors were happy running at such a low rate though? IMO yes, definitely, if you want to

RE: sam instruction timings

2002-05-30 Thread Winkless, Geoff
Si Owen wrote: Geoff Winkless wrote: I use 50Hz :) How d'ya manage that? I'd definitely be interested in using that rate myself if possible, as even a smooth 100Hz still suffers from ghosting. I didn't think modern monitors were happy running at such a low rate though? Uhh. I dunno, I

RE: sam instruction timings

2002-05-30 Thread Simon Owen
Geoff Winkless wrote: I just went into the settings in the display properties, changed the refresh rate to 50Hz. :) I don't remember ever seeing drivers that supported below 60Hz :-/ I'll have to see if my GeForce2 card will let me roll my own mode to support it. My Mitsubishi monitor at

RE: sam instruction timings

2002-05-29 Thread Winkless, Geoff
Dave Laundon wrote: Ok, my first post here in ages, here goes... the official Z80 cycles rounded up to the next multiple of 4 (or 8 in screen time), or, 4 (or 8) times the number of memory accesses; whichever is greater. Thanks! I vaguely remembered something like that but wasn't sure.

RE: sam instruction timings

2002-05-29 Thread Dave Laundon
Geoff Winkless wrote: border scrolltext jerking around occasionally It can be difficult to synchronise an interrupt routine exactly when the CPU is busy in the foreground - when the interrupt occurs the CPU has to finish the current instruction first. Could this explain it in your case? It's

RE: sam instruction timings

2002-05-29 Thread Simon Owen
Geoff Winkless wrote: I thought the problem I was experiencing (border scrolltext jerking around occasionally) had stopped when I changed the code to use RES - but now it seems otherwise It's quite possible that's just a visual effect caused by the monitor sync not being a perfect match to

RE: sam instruction timings

2002-05-28 Thread Dave Laundon
Geoff Winkless wrote: OK, so my memory isn't too hot. Given that this code will probably execute in screen time, is it quicker to do: Ok, my first post here in ages, here goes... Simplistic rule of thumb for timings on SAM - an instruction's cycles is the official Z80 cycles rounded up to the