Previous Thread
Next Thread
Print Thread
Page 2 of 6 1 2 3 4 5 6
qmc2 #94794 06/25/14 09:58 AM
Joined: Jun 2014
Posts: 32
T
tjcbs Offline OP
Member
OP Offline
Member
T
Joined: Jun 2014
Posts: 32
Originally Posted By qmc2
I actually don't see a real performance issue with "regular" hardware (AMD Phenom II X4 945 here). C64 runs at nearly 100% for me all the time...


Mine is a bit south of "regular" (intel E2180). But still, "nearly"?

tjcbs #94795 06/25/14 11:33 AM
Joined: May 2008
Posts: 4,899
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,899
Originally Posted By tjcbs
But still, "nearly"?

Last time I checked it showed 99.7% average, which is fine.

EDIT: I just tried again, and with current code from SVN I even get 99.94% (ran Ghostbusters from cartridge). Only when loading from disk it goes down to about 70%, but that's what you have to "pay" for accuracy. I'm sure it's always possible to optimize things here and there, but don't compare apples and oranges (aka MAME/MESS vs. "hacky" emulators).

Last edited by qmc2; 06/25/14 12:06 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
tjcbs #94796 06/25/14 12:28 PM
Joined: May 2004
Posts: 1,676
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,676
the problem is it's a lot slower than anything else that emulates the c64, and the compatibiity is still rough, and it doesn't support every image format yet either (wouldn't load .nib for example)

the part people most like to skip (the loooong disk loads on the c64) and are therefore most likely to want to fast forward through are even slower than the rest, so it's like a giant 'fuck you' slap in the face to people who want to use it.

sure, we support a good number of obscure cards / add-ons, but people look at the base emulation and performance more than those, and from what i've gathered from glancing across other forums it's one of the systems people are using as a big 'avoid MESS completely, look how shit it is' which is a real shame considering the amount of work put into the driver.

(the hundreds of obscure add-ons while the base emulation is still ropey is of course not exclusive to the c64 emulation, so the same "it's a shame" applies to those as well. of course when the base emulation improves it they will all be rather awesome AND have support for plenty of things nobody else has really bothered with)


tjcbs #94797 06/25/14 01:47 PM
Joined: Mar 2001
Posts: 16,806
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,806
Likes: 32
The performance is pretty easily fixable by pre-computing or caching the PLA outputs, but I gather Curt wants to find all the possible ways things abuse the hardware before optimizing anything to avoid having to rewrite it later. Which is why we're getting all the add-ons up front.

R. Belmont #94799 06/26/14 02:41 AM
Joined: Jun 2014
Posts: 32
T
tjcbs Offline OP
Member
OP Offline
Member
T
Joined: Jun 2014
Posts: 32
Originally Posted By R. Belmont
The performance is pretty easily fixable by pre-computing or caching the PLA outputs, but I gather Curt wants to find all the possible ways things abuse the hardware before optimizing anything to avoid having to rewrite it later. Which is why we're getting all the add-ons up front.


I tried pre-calculating these values in a table. This gave a decent speedup, but not the revelation I was hoping for, around 5% speedup. Any other low hanging fruit you're aware of?

tjcbs #94800 06/26/14 02:46 AM
Joined: Mar 2001
Posts: 16,806
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,806
Likes: 32
Nope, the disk drive is always going to be heavy in order to support copy protection, unfortunately. Running a profile might be worthwhile in case there's something else low-hanging, but in general please go enjoy VICE instead ;-)

tjcbs #94802 06/26/14 03:41 AM
Joined: Jun 2014
Posts: 32
T
tjcbs Offline OP
Member
OP Offline
Member
T
Joined: Jun 2014
Posts: 32
Actually w/o the disk drive enabled this just barely puts me over the edge smile syncrefresh was also screwing up my performance. The problem with the disk drive is that you always are paying for it, even on the start screen. Do you think that would be easy to fix?

tjcbs #94805 06/26/14 06:56 AM
Joined: Apr 2005
Posts: 585
Senior Member
Offline
Senior Member
Joined: Apr 2005
Posts: 585
The disk drive contains its own CPU, RAM and peripherals that are always running when it's turned on. There's no proper way to "fix" that since it's not broken...

tjcbs #94808 06/26/14 10:34 AM
Joined: Jun 2014
Posts: 32
T
tjcbs Offline OP
Member
OP Offline
Member
T
Joined: Jun 2014
Posts: 32
Why emulate the disk drive spinning idly if it produces no observable behavior?

tjcbs #94809 06/26/14 11:36 AM
Joined: Dec 2004
Posts: 111
P
Senior Member
Offline
Senior Member
P
Joined: Dec 2004
Posts: 111
The end_cycles calculation at the start of m6502_device::execute_run() is not cheap and will be executed very frequently as the CPU time slices are short. Remove it or improve it smile

Page 2 of 6 1 2 3 4 5 6

Link Copied to Clipboard
Who's Online Now
4 members (mixmaster, R. Belmont, 2 invisible), 27 guests, and 8 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,973
Posts117,882
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com