Coding Question

Discussion in 'Wii - Hacking' started by blackdog, Jun 5, 2009.

Jun 5, 2009

Coding Question by blackdog at 12:28 PM (777 Views / 0 Likes) 6 replies

  1. blackdog
    OP

    Newcomer blackdog Newbie

    Joined:
    May 16, 2009
    Messages:
    5
    Country:
    United States
    Hi, i'm not sure if this is in the right place, but i couldn't find a better 1. Does any1 know how or even if it's possible to constantly be running a small piece of code in the "background".
    If not is there a way that I can get it to run while in the system menu?
    Thanks in advance for any help.
     
  2. KirovAir

    Member KirovAir Dutch Alcoholic Programmer

    Joined:
    Dec 7, 2006
    Messages:
    587
    Location:
    Netherlands
    Country:
    Netherlands
    Nope, not possible.

    Or you will need to do some MASSIVE (read:impossible) reverse engineering.
     
  3. Helsionium

    Member Helsionium Alpha and Omega

    Joined:
    Jul 18, 2008
    Messages:
    348
    Location:
    Innsbruck, Austria
    Country:
    Austria
    That is actually not true.

    It may be difficult, because it requires your code to be part of IOS, you'd have to create a custom IOS that does exactly this, which isn't easy. Also, IOS has no access to video/audio output, but that may not be a problem. May I ask what your "little code" should do?

    At one point, WiiConnect24 might be understood enough to allow homebrew using WC24 to execute small pieces of code. However, the WC24 method will not execute games while you are running games that don't do WC24 communication (many old games and third-party games don't). Using the IOS method, you could run code in the background, but not constantly, it would start over at each IOS reload. Furthermore, you'd have to modify every IOS used on your Wii if you want a constantly running background service.

    Anyway, it's difficult to do, but not impossible. I'm confident that at least WC24 will be an option eventually.
     
  4. OSW

    Former Staff OSW Wii King

    Joined:
    Oct 30, 2006
    Messages:
    4,796
    Country:
    Australia
    If you run all games off IOS249, and that was these new functions were added to it, you'd be completely covered.

    And to be complete, you'd probably do it to the system menu IOS too.
    Besides, IOS249 is already a custom IOS, no harm done by modifying it further [​IMG]

    This could be an interesting pathway, but will we ever see fruit from it? Or perhaps we will see something equivalent implemented in MINI (Bootmii's IOS). That would be pretty cool, running a homebrew OS and homebrew wiiconnect24 [​IMG]
     
  5. blackdog
    OP

    Newcomer blackdog Newbie

    Joined:
    May 16, 2009
    Messages:
    5
    Country:
    United States
    Thanx for the quick replies.
    The little piece of code is just to have the dvd light fading in and out all the time.
    I've only just started fidling with all this stuff in like the last 2 weeks and i thought this would be a good/chalenging project to learn with.
    I like the cios idea. That way I could make program that would change my code in the cios. Then I could have options with how the light flashes/fades.
    Is this right?
    I think I'm getting ahead of myself a bit. lol
    Off to do some more learning then.
    Thanks again to all.

    P.S Obviously you guys know alot more about this than i do. lol Any advice/help is greatly appreciated.
     
  6. blackdog
    OP

    Newcomer blackdog Newbie

    Joined:
    May 16, 2009
    Messages:
    5
    Country:
    United States
    Ok, I think i have found what i need here,
    But I could really use some help with this.
    It's a little over my head at the moment.
    Could some1 please explain to me how i would use this as i cant find much info on it.
    Thank you.
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,705
    Country:
    United Kingdom
    While I applaud attempts to learn things I sense this could be done 50 times more easily by going into electronics (the LED in the slot is rather nicely just two wires from what I recall).

    You can probably score a pulse width modulation chip that will do the job for around a dollar (I would get an IC socket as well though) and then it is a case of soldering a couple of wires. Failing that you could do it with a 555 timer: http://www.doctronics.co.uk/555.htm
     

Share This Page