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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 122 123 124 125 126 ... 369 Next »

New Prototype GCN GBA Link Cable Emulation Demo
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
New Prototype GCN GBA Link Cable Emulation Demo
05-21-2014, 10:27 AM
#15
byuu
Unregistered
 
> If you consider any of the vba-m code, this becomes less of a mystery.

Ah. Reminds me of Snes9X. The code itself isn't horrible, but there's absolutely no structure to it. CPU serialization, PPU rendering, ROM loading, an embedded ROM, BIOS HLE, DMA transfers, system reset, really long functions, a function called CPULoop that does colorspace conversion blitting, etc ... weighing in at over 4,400 lines, all in a single source file. I would add virtually no comments, but I'm not really great at that myself either.

Sadly, I'd say that most emulators are written this way. If you ever want to really wreck your brain, take a look at the ZSNES source. It's all of the above, in x86 assembly (no code flow indentation), with zero comments, and cryptic names (often just registers.)

I have my warts as well, of course. Shared processor cores means the ARM logic isn't in the gba/ project, so that it can be shared by the ST018 SNES CPU. And I tried to do this operator overloaded thing for the MMIO registers that just totally didn't work out at all like I wanted. Undoing that is high on my todo list. If you do have any constructive criticism on my code, I'd be happy to improve upon it, time permitting.

> The fortunate thing here is that any computer capable of running dolphin can do (at least one instance of) higan, no problem.

Oh, I mean the simulation is too slow. So parts of some games will feel like they are slowing down, even though you are at 60fps output.

> See, it's a good thing that dolphin doesn't use all your cores!
> The ultimate test will be 4 Higans, Dolphin on LLE audio, and recording it at the same time!

From the way I see it, a PC fast enough to run Dolphin should be no problem for higan.

higan is entirely single-threaded, so you'll basically need a system that has one core for each instance of higan, plus however many more you need for Dolphin. It would probably make sense to use the scheduling APIs to make sure higan and Dolphin don't try and share a core at the same time.

So ... 4x higan + Dolphin will probably want something like a Core i7-3930K or better.

1x higan + Dolphin should be okay on a more modest i7-2600K, presuming that the two don't end up fighting each other for a shared resource.
Reply
« Next Oldest | Next Newest »


Messages In This Thread
New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 05-19-2014, 11:14 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 05-19-2014, 11:41 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - mbc07 - 05-19-2014, 12:34 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 05-19-2014, 12:40 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 05-19-2014, 01:38 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 05-19-2014, 02:00 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - CryZENx - 05-20-2014, 08:42 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - daicon - 05-21-2014, 12:25 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Gir - 05-21-2014, 02:28 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 05-21-2014, 04:26 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-17-2014, 08:24 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - AnyOldName3 - 05-21-2014, 02:32 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - byuu - 05-21-2014, 06:23 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - shuffle2 - 05-21-2014, 07:22 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 05-21-2014, 07:36 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - byuu - 05-21-2014, 10:27 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 05-21-2014, 10:34 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - AnyOldName3 - 05-22-2014, 02:39 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-16-2014, 08:53 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - mbc07 - 07-16-2014, 11:57 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-16-2014, 07:43 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-16-2014, 08:15 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-16-2014, 08:29 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-16-2014, 08:36 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-16-2014, 09:49 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-17-2014, 02:56 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-17-2014, 08:55 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - mudlord - 07-17-2014, 12:21 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 07-17-2014, 09:12 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - ExtremeDude2 - 07-17-2014, 09:13 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - KruZ - 07-17-2014, 11:28 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - AnyOldName3 - 07-18-2014, 06:55 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 07-18-2014, 08:09 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-18-2014, 08:18 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 07-18-2014, 12:57 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - AnyOldName3 - 07-19-2014, 08:11 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 07-19-2014, 11:38 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 07-19-2014, 11:50 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - shuffle2 - 07-19-2014, 01:28 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 07-19-2014, 02:36 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - KHg8m3r - 07-23-2014, 02:19 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-03-2015, 12:51 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Darkness Knight - 02-03-2015, 08:09 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-07-2015, 04:33 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-03-2015, 01:48 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Some1Else - 02-03-2015, 02:37 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-03-2015, 02:42 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - tueidj - 02-03-2015, 02:42 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Qaazavaca Qaanic - 02-03-2015, 04:20 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 02-07-2015, 05:35 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-08-2015, 04:54 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-07-2015, 12:19 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-08-2015, 05:29 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Ramoth - 02-15-2015, 02:25 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-08-2015, 09:49 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-08-2015, 10:11 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-08-2015, 10:24 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-15-2015, 02:07 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-15-2015, 02:18 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 02-15-2015, 03:45 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-15-2015, 09:40 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Shonumi - 02-15-2015, 02:47 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 03-14-2015, 02:42 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - JMC47 - 03-14-2015, 09:32 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Soupa Face - 03-14-2015, 10:47 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - The_Master_E - 03-14-2015, 11:26 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - tueidj - 03-14-2015, 11:59 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - The_Master_E - 03-15-2015, 05:58 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - tueidj - 03-15-2015, 07:36 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Player X - 03-15-2015, 10:53 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - tueidj - 03-15-2015, 12:17 PM
RE: New Prototype GCN GBA Link Cable Emulation Demo - The_Master_E - 03-17-2015, 04:20 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - mbc07 - 03-17-2015, 04:43 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Soupa Face - 03-17-2015, 09:14 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - tueidj - 03-17-2015, 09:25 AM
RE: New Prototype GCN GBA Link Cable Emulation Demo - Soupa Face - 03-17-2015, 09:56 AM

  • 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