• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Hardware v
« Previous 1 ... 159 160 161 162 163 ... 189 Next »

A CPU for any game with LLE sound@ 60fps? Exists or wait.
View New Posts | View Today's Posts

Pages (4): « Previous 1 2 3 4 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
A CPU for any game with LLE sound@ 60fps? Exists or wait.
09-15-2012, 09:19 AM
#21
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
NaturalViolence Wrote:Axxer Wrote:
pre-assembly language even

I doubt that. He would have to be insanely old to have worked on anything in the pre-assembly era. Assemblers have been around since the 1950s.

He did everything using pure binary in his first class. He just flipped switches and loaded it into the computer to either run that instruction or put it on tape. Assembly language that I've seen uses some language (I.e. word 10101010) while he just input two bytes.

I also didn't mean to antagonize ncknck, I just couldn't understand that sentence because there wasn't any end-of-sentence marker.

Everything else you said I agree with, such as:
Quote:I suppose to a certain extent you could try to call a recompiler an interpreter

Which you referred to, but the end of that sentence says "but you really can't" which is the point I was trying to make.

I think I just got caught up in semantics.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
09-15-2012, 09:35 AM (This post was last modified: 09-15-2012, 09:36 AM by NaturalViolence.)
#22
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
Quote:Right, sorry, but some stuff here goes against what I'd been told by reliable sources, yet hasn't been flamed by NaturalViolence. I'd been told that:

Interpreter just used equivalent x86 instructions to the power PC instructions, with no optimisations, so was slow.

JIT translated each block from PPC to C++ (or similar), then recompiled it for x86 with optimisations.

JITIL translated each block from PPC to C++ (or similar), then to another language which was easier to optimise, then compiled it as x86 with optimisations. The extra optimisations have a chance of countering wasted time translating twice, but usually only noticeably on a 32bit OS.

Please correct any and everything wrong with this.

That's a very simplified version, but yes that's essentially what each method does. But then again pretty much all of this has already been stated in the thread.

Quote:Static Recompilation was effectively the exact source code but compiled and optimised for x86, like porting the game to PC, instead of emulating it. This is fastest, but needs a guy to rewrite the whole game before it can be played.

Not really. Static recompilation in this case would compile all of the games PPC code into x86 code before running the game. Thus producing an executable binary file to run (.exe). It has nothing to do with porting and it certainly does not require the games source code to be rewritten. It's fast and efficient but it won't work if the application uses any self modifying code, which these games do.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
09-15-2012, 09:38 AM
#23
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,533
Threads: 1
Joined: Feb 2012
[Image: closeenough.png?1317606898]
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
Find
Reply
09-15-2012, 10:06 AM
#24
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
What kind of self-modifying code are these games using? Just curious.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
09-15-2012, 10:14 AM
#25
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
??????

I didn't know that there were "kinds" of self-modifying code. Self-modifying code is self-modifying code.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
09-15-2012, 12:28 PM
#26
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
No, i don't literally mean there are types of code, I am asking what the self modifying code is doing.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
09-15-2012, 02:39 PM (This post was last modified: 09-15-2012, 02:40 PM by NaturalViolence.)
#27
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
Quote:I am asking what the self modifying code is doing

......modifying code. That's why we call it self-modifying code.

http://en.wikipedia.org/wiki/Self-modifying_code

It can be a very useful optimization for some algorithms.
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
09-15-2012, 02:57 PM (This post was last modified: 09-15-2012, 02:58 PM by Axxer.)
#28
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
-_- I know what it does in a technical sense (it modifies the executable machine code) I was just wondering if it helped with any features or anything. If its just an optimization thing than ok.

EDIT: yeah self-modifying code generally doesn't do that I was just curious if it did in this specific case or if that could even be possible. It evidently either isn't possible or isn't useful for that sort of thing.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
09-15-2012, 03:50 PM
#29
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
Quote:EDIT: yeah self-modifying code generally doesn't do that I was just curious if it did in this specific case or if that could even be possible. It evidently either isn't possible or isn't useful for that sort of thing.

????

If what is possible? What sort of thing?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
09-16-2012, 02:09 AM (This post was last modified: 09-16-2012, 03:49 AM by delroth.)
#30
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
(09-15-2012, 02:57 PM)Axxer Wrote: -_- I know what it does in a technical sense (it modifies the executable machine code) I was just wondering if it helped with any features or anything. If its just an optimization thing than ok.

You don't often get self modifying code in GC/Wii games AFAICT, but some games (all if you emulate the apploader and not just the DOL) load code at runtime from DVD. That cannot be anticipated by a static recompiler.

EDIT: The only case of self modifying code I've seen so far with the EA ELF packer, which uncompressed the DOL at runtime.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode