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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 50 51 52 53 54 … 117 Next »

How did you guys find the Instruction Set of the Broadway Processor?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
How did you guys find the Instruction Set of the Broadway Processor?
06-22-2012, 05:09 AM
#1
Magn3s1um
Unregistered
 
Hey, I'm an aspiring programmer, and I was noticing that the CPU inside the wii is undocumented commercially (No publically released documentation on what hte OP codes are). Obviously to emulate the wii, you needed to code the Op codes in. How did you go about finding what each specific OP code was and what should go in the Instruction Register of the CPU? Did you use Jtag and try and decipher it through debugging?

Any information would be much appreciated!
Reply
06-22-2012, 05:11 AM
#2
sktsqrl Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 21
Threads: 1
Joined: Jun 2012
http://lmgtfy.com/?q=Instruction+Set+of+...+Processor
Find
Reply
06-22-2012, 05:15 AM
#3
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
ninja skills and lots of liquor
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
Reply
06-22-2012, 05:16 AM
#4
Magn3s1um
Unregistered
 
Okay, so I get that theres a manual for the processor. But what if there were no manual? Any ideas on how it could be done?
Reply
06-22-2012, 08:50 AM
#5
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
If there was absolutely no documentation at all and no major similarities to existing ISAs then all you would be able to do it play a long, tedious, and ultimately pointless guessing game.
"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
06-22-2012, 09:53 AM
#6
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
Broadway is a PowerPC processor with some extensions.

If the CPU is undocumented, write a lot of tests and note their results. This is how the DSP was emulated.
Find
Reply
06-23-2012, 05:56 AM
#7
siferion Offline
Junior Member
**
Posts: 20
Threads: 1
Joined: Nov 2010
(06-22-2012, 05:16 AM)Magn3s1um Wrote: Okay, so I get that theres a manual for the processor. But what if there were no manual? Any ideas on how it could be done?

When I first found an NES cartridge with a serial interface in it I went to town poking an prodding with no technical documentation and only a mediocre understanding of CPUs. Took me months to figure out how many individual instructions existed, years to figure out what enough did to create a game around them (pong was my test). Eventually I posted my findings on a hardware hacking BBS and a bunch of other guys joined in whom were doing the same, before we knew it we had a very confusing mess that documented every last instruction.

Finding similar chips to the one your trying to understand goes a long way to solving all the headaches. If you can establish a minimum commonality then it allows you to write smart test that can save a lot of time otherwise spent reading debug spews.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma