byuu's message board

For discussion of projects related to www.byuu.org/


Previous  1 ... 18, 19, 20, 21, 22, 23, 24 ... 27  Next
emulator efficiency 
Author Message
User avatar

Joined: Wed 08 Sep 2010, 17:05:03

Posts: 133
Post Re: emulator efficiency
SoraK05 wrote:
porting/rewriting a game/ROM to suit a specific platform


Ah ok, let's start to rewrite all Snes games to suit other plataforms.

Quote:
and adjust any offset information met during instructions to have a ROM that will load as an EXE and have a requirement in a range close(r) to 20Mhz like the SNES


So your "big ideia" is to change all the 65816 opcodes in a Rom to x86 equivalents, so the Rom can be used like an .exe and run directly?

Image

Tue 03 Jun 2014, 12:57:01
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: emulator efficiency
The Doug wrote:
Words.

Image

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Tue 03 Jun 2014, 13:00:55
User avatar

Joined: Sun 05 Sep 2010, 15:42:48

Posts: 1344
Post Re: emulator efficiency
Kakashi wrote:
The Doug wrote:
Words.
macro
ONE MORE MONTH.

_________________
http://helmet.kafuka.org

Tue 03 Jun 2014, 14:07:16
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: emulator efficiency
Kawa wrote:
Kakashi wrote:
The Doug wrote:
Words.
macro
ONE MORE MONTH.

Are you referring to AnusPush?

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Tue 03 Jun 2014, 14:15:28
User avatar

Joined: Sun 05 Sep 2010, 15:42:48

Posts: 1344
Post Re: emulator efficiency
No, I'm n....teeheehee XD

_________________
http://helmet.kafuka.org

Tue 03 Jun 2014, 14:23:21
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: emulator efficiency
Kawa wrote:
No, I'm n....teeheehee XD

Image
Image

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Tue 03 Jun 2014, 14:31:54
User avatar

Joined: Mon 08 Nov 2010, 19:09:18

Posts: 236
Location: Ann Arbor, MI
Post Re: emulator efficiency
SoraK05 wrote:
Also, as for the computer doing math <arithmetic / logic>:

This is really quite simple. All Sora needs is to enroll in a master's degree program in Computer Science from a well-regarded accredited university with a strong emphasis on the theory of computing, number theory, and algorithms.

Then Sora will see first hand just how fun it is to mathematically describe Turing machines and algorithms and can move past the Wikipedia level education that's been demonstrated by Sora's posts.

Sora's got these great new ideas though, so it shouldn't be long before we see a paper on how they've solved P=NP.

Wed 04 Jun 2014, 23:01:12

Joined: Fri 03 May 2013, 06:51:50

Posts: 410
Location: NJ
Post Re: emulator efficiency
HitokiriEric wrote:
SoraK05 wrote:
Also, as for the computer doing math <arithmetic / logic>:

This is really quite simple. All Sora needs is to enroll in a master's degree program in Computer Science from a well-regarded accredited university with a strong emphasis on the theory of computing, number theory, and algorithms.

Then Sora will see first hand just how fun it is to mathematically describe Turing machines and algorithms and can move past the Wikipedia level education that's been demonstrated by Sora's posts.

Sora's got these great new ideas though, so it shouldn't be long before we see a paper on how they've solved P=NP.
You don't need to have a degree in computer science to understand the basic principles of P=NP or a Turing machine. Just some patience to get through all the set theory symbols a Turing Machine throws at you :P. I'd dare say you don't even need a computer science background to appreciate the limits of computation (I've also seen a decent P=NP explanation for the laymen before).

_________________
"It wouldn't be a byuu.org forum thread if the thread topic didn't derail at least once."- Some byuu.org forum member
"Clearly the answer to [cross platform portability] is to write a DOS application and then everybody can run DOSBox. Except for [cr1901], who can run it natively."- Screwtape

Fri 06 Jun 2014, 02:19:36
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: emulator efficiency
I guess it's safe to say that our friend from Kenya got bored. This thread was thread was ultra-epic.

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Fri 06 Jun 2014, 02:30:34

Joined: Fri 26 Oct 2012, 14:47:06

Posts: 81
Post Re: emulator efficiency
Lost net :)

Once SNES opcodes are translated to suit opcodes of another hardware (with shortcuts where applicable), within an emulator framework the ROM can be automatically patched to make it an EXE with opcode/offset changes.
My point is from a cycle accurate algorithm a shortcutted/step reduced algorithm which will retain accuracy and break the cycle accurate cycle/hardware state data can be done to have a functional emulator using the least steps to maintain accuracy as well as be specific to another hardware's opcodes.

That can then be patched automatically into any ROM with some extra data to adjust offset information and also have additional emulator code for controls, display etc embedded (as well as trim padding data).


For shorcutting/step reducing the original cycle accurate algorithm, one can keep in mind that the expected result is matching numbers for output/temp and is done using math.


From there, individual tweaks is generally something else :)

Fri 06 Jun 2014, 08:09:13
User avatar

Joined: Thu 22 Mar 2012, 04:37:56

Posts: 502
Post Re: emulator efficiency
PEOPLE HAVE DONE THIS BEFORE
PEOPLE HAVE BEEN DOING THIS FOR DECADES
PEOPLE HAVE BEATEN IT TO DEATH OVER THEIR ENTIRE CAREER

Fri 06 Jun 2014, 08:28:02

Joined: Wed 06 May 2009, 04:13:19

Posts: 4543
Post Re: emulator efficiency
SoraK05 wrote:
Once SNES opcodes are translated to suit opcodes of another hardware (with shortcuts where applicable), within an emulator framework the ROM can be automatically patched to make it an EXE with opcode/offset changes.
My point is from a cycle accurate algorithm a shortcutted/step reduced algorithm which will retain accuracy and break the cycle accurate cycle/hardware state data can be done to have a functional emulator using the least steps to maintain accuracy as well as be specific to another hardware's opcodes.

That can then be patched automatically into any ROM with some extra data to adjust offset information and also have additional emulator code for controls, display etc embedded (as well as trim padding data).


For shorcutting/step reducing the original cycle accurate algorithm, one can keep in mind that the expected result is matching numbers for output/temp and is done using math.


From there, individual tweaks is generally something else :)


I don't rightly have any response to this other than the oft-repeated "you have no idea what you're talking about"

_________________
This post best viewed at 800x600
;write ! ! !

Fri 06 Jun 2014, 08:39:50
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: emulator efficiency
Here we go again...

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Fri 06 Jun 2014, 11:19:28
User avatar

Joined: Sun 05 Sep 2010, 15:42:48

Posts: 1344
Post Re: emulator efficiency
Kakashi wrote:
Here we go again...
Image

Seriously though. SoraK05, what do you have to show us that is not just more text? A practical demonstration would be very welcome.

_________________
http://helmet.kafuka.org

Fri 06 Jun 2014, 12:34:00

Joined: Thu 31 Mar 2011, 07:24:12

Posts: 439
Post Re: emulator efficiency
Skipping architectural and clock cycle accuracy impossibilities, it'd be a bad idea to vanilla compile port everything anyhow. Many ROMs busy wait, so they'd tie up a core on a modern system, while an emulator would throttle said clocking to that of the arch the ROM was made for.

_________________
ERROR: GGALITZ HAS REACHED HIS IMAGE MEME QUOTA AND CAN'T FOLLOW RULES

Fri 06 Jun 2014, 12:38:20
Previous  1 ... 18, 19, 20, 21, 22, 23, 24 ... 27  Next

Who is online

Users browsing this forum: No registered users and 0 guests

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