It is currently Tue Sep 18, 2018 8:51 pm

All times are UTC - 7 hours

Forum rules

Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Dec 16, 2016 6:40 pm 

Joined: Wed May 19, 2010 6:12 pm
Posts: 2749
Optiroc wrote:
I agree with all of the above. The not so "straight forward" part of what I said is that for data to end up in the direct page, it almost always has to take the detour through an actual CPU register. Pushing/popping stuff between direct page and the stack quickly eats up cycles.

I'm glad I don't need to pass parameters all that often.

PostPosted: Mon Dec 19, 2016 5:05 am 
User avatar

Joined: Mon Jun 09, 2014 1:18 pm
Posts: 11
Location: Gothenburg, Sweden
Thanks for all your replies! Very helpful and interesting to read.

PostPosted: Mon Dec 19, 2016 3:41 pm 

Joined: Thu Feb 07, 2013 1:15 am
Posts: 116
Location: Sweden
tomaitheous wrote:
I wish emulators hand an option for opcode statistics when a running game; record the occurrence rate of each opcode.

That would be super easy to add to bsnes+ (and any other emulator, of course, but bsnes+ is a good candidate since the debugging side is in good shape and very malleable). I'm not sure what I'd do with the info, but my interest is piqued nontheless... (:

tomaitheous wrote:
Some opcodes look great, but if they're not particular useful or used in most iterations that make up the larger chunks of resource, then they won't have much of an impact regardless of how nice they are to use. In such cases, macros serve the same purpose on lesser processors.

Maybe true, but I'm quite sure that most console cpu/graphics/audio features that have been overlooked over the years have had such a fate more of "not worth the hassle" reasons. The Saturn had simply astonishing audio features, but why would any commercial developer put any significant resources into that? Precisely that makes obscure and underused features more interesting to me, today.

The SPC700 was snappy enough for its tasks most of the time to make any significant optimizations and changing of habits rather moot. But if you, today, want to add software synthesis to a music engine you can't be sloppy with those cpu cycles and those new direct page addressing modes are certainly worth exploring for optimization opportunities.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours

Who is online

Users browsing this forum: Tomy and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group