byuu's message board

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


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

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

Posts: 1344
Post Re: emulator efficiency
ggalitz wrote:
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.
Heed those words, SoraK05. Grant knows what he's talkin' about.

_________________
http://helmet.kafuka.org

Fri 06 Jun 2014, 12:48:41
User avatar

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

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


Wrong. No one ever turned a Rom to an Exe. Do you know why? Because you need a computer that can make "flow of paths by steps". Only Sora has this kind of machine. :P

Fri 06 Jun 2014, 16:13:52
User avatar

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

Posts: 236
Location: Ann Arbor, MI
Post Re: emulator efficiency
cr1901 wrote:
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).
I wholeheartedly agree that you don't need a CS degree to understand the principles. But I do think that you don't really understand the formal methods, the math, and the details of how to publish the proofs without the practice of living out the research and going through peer review yourself. The concepts are actually pretty simple, but learning how to actually formally prove it yourself in a rigorous way is very difficult.

I mostly wanted a way to say that Sora should go into academia for 6 years where they could research and write papers on this and get slammed by others in academia rather than bugging us. I thought it would fit better with Sora's rambling approach with zero basis in reality.

Fri 06 Jun 2014, 17:06:15

Joined: Sat 18 Apr 2009, 16:06:52

Posts: 2208
Post Re: emulator efficiency
ggalitz wrote:
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.


It'll still work if you emulate periodic system level stuff by using timer callbacks that operate independently of the emulated instructions. For example, you'd still generate vblanks 60 times a second, and you'd do it by somehow injecting interrupts into the emulated code. This is what qemu does and AFAIK it's what current PSP emulators do. If you have a whole ton of events a second, like hblank IRQs or fast timers going off, this could end up overwhelming your host system.

Another caveat with this (outside of having severely inaccurate timing) is that it becomes a lot more cumbersome to speed up or slow down the emulation without breaking things, and virtually impossible to reproduce execution. And if the emulator is too slow there's a chance you'll break the game instead of just making it slower.

Fri 06 Jun 2014, 21:56:50

Joined: Thu 01 May 2014, 15:43:10

Posts: 2
Post Re: emulator efficiency
I'm glad sora voiced his misconceptions for so long here. Everyone's corrections here has been more on the basics of emulation than I've been able to find in one place before.

Also, hi.

Sat 07 Jun 2014, 01:49:18
User avatar

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

Posts: 1344
Post Re: emulator efficiency
tinkernaut wrote:
I'm glad sora voiced his misconceptions for so long here. Everyone's corrections here has been more on the basics of emulation than I've been able to find in one place before.
Let's see if we can get it to 40 pages. It'll be a goldmine of information by then.
Quote:
Also, hi.
Hi hi~

_________________
http://helmet.kafuka.org

Sat 07 Jun 2014, 11:18:32
User avatar

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

Posts: 5266
Location: 日本
Post Re: emulator efficiency
Goldmine of memes, also.
Also, hi.

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

Sat 07 Jun 2014, 11:26:43

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

Posts: 4543
Post Re: emulator efficiency
Best first post.

Also, hi.

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

Sat 07 Jun 2014, 11:37:55
User avatar

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

Posts: 502
Post Re: emulator efficiency
Also, hi.

Sat 07 Jun 2014, 12:21:43

Joined: Wed 09 Feb 2011, 13:29:34

Posts: 425
Post Re: emulator efficiency
Hell-o, indeed.

Sat 07 Jun 2014, 13:30:54

Joined: Tue 21 Feb 2012, 05:42:15

Posts: 2564
Post Re: emulator efficiency
Are we really doing this?

Why the fuck not.

Hello.

_________________
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." --Bjarne Stroustrup

Sat 07 Jun 2014, 16:06:12
User avatar

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

Posts: 1344
Post Re: emulator efficiency
Meanwhile, the new Broken Thumb-based Asspull III× has:
  • run a program from 0x00000000
  • that invoked a BIOS call from 0x0D000000
  • that wrote a string given by the program to VRAM at 0x0E000000

SoraK05, what have you done today?

_________________
http://helmet.kafuka.org

Sat 07 Jun 2014, 16:13:59
User avatar

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

Posts: 5266
Location: 日本
Post Re: emulator efficiency
Hi snesbot.

Did you mean: Asspush

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

Sat 07 Jun 2014, 16:56:28
User avatar

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

Posts: 1344
Post Re: emulator efficiency
Kakashi wrote:
Did you mean: Asspush
You can call it asspush if you want.

_________________
http://helmet.kafuka.org

Sat 07 Jun 2014, 17:13:10
User avatar

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

Posts: 5266
Location: 日本
Post Re: emulator efficiency
I will then. Can I call SoraK00000000005 Starvin' Marvin'?

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

Sat 07 Jun 2014, 17:33:44
Previous  1 ... 19, 20, 21, 22, 23, 24, 25 ... 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