Author Topic: libti* on Wii  (Read 7740 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
libti* on Wii
« on: April 19, 2011, 09:23:38 pm »
I wonder if that would be doable. That would be awesome.

I tried to cross-compile them, but, unfortunately, seems they contains Linux and Windows-specific code, so I have to write Wii-specific code to replace it.

But still, that would be a nice project to work on, right? My ultimate goal would be to port TiLP and other TI utilities (emulators?) to the Wii using libwiigui or something and/or create games that make use of a calculator.

FYI the Wii have 2 USB ports on the back, so you can plug a Silverlink there.
« Last Edit: April 19, 2011, 09:24:32 pm by juju2143 »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: libti* on Wii
« Reply #1 on: April 19, 2011, 09:34:13 pm »
It would be nice if you could port gCn for the wii. :D
ld a, 0
ld a, a

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: libti* on Wii
« Reply #2 on: April 19, 2011, 09:40:51 pm »
It would be nice if you could port gCn for the wii. :D
Um, the wii already have a wifi card. Unless you meant a wii and a calc playing together over the Internet, which could be nice.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: libti* on Wii
« Reply #3 on: April 19, 2011, 09:44:00 pm »
Um, the wii already have a wifi card. Unless you meant a wii and a calc playing together over the Internet, which could be nice.

Yeah.  I mean using the Wii to connect the calculator to the internet. ;)
Also, a Wii+Calc game would be awesome!
ld a, 0
ld a, a

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: libti* on Wii
« Reply #4 on: April 19, 2011, 09:48:47 pm »
I assume libti* are the TiLP drivers, right?

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: libti* on Wii
« Reply #5 on: April 19, 2011, 09:51:12 pm »
« Last Edit: April 19, 2011, 09:52:49 pm by juju2143 »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: libti* on Wii
« Reply #6 on: April 19, 2011, 09:52:22 pm »
Juju, the two things that would be needed to do this are glib and libusb, if you can port both of those to the wii, or replace their uses with equivalent functions that would be what you need.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: libti* on Wii
« Reply #7 on: April 19, 2011, 09:52:29 pm »
Ah ok thanks for the info. I haven't used TiLP in ages so I wasn't sure. Plus, the last time I did it was still possible to use both TiLP and TI-Connect at once on my computer, so I guess it was a long while ago.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: libti* on Wii
« Reply #8 on: April 19, 2011, 09:53:43 pm »
It's possible.  IIRC, there is a keyboard, mouse, and Mass storage driver already implemented.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: libti* on Wii
« Reply #9 on: April 19, 2011, 09:56:13 pm »
Juju, the two things that would be needed to do this are glib and libusb, if you can port both of those to the wii, or replace their uses with equivalent functions that would be what you need.
Yeah, I'm sure devkitpro have a libusb somewhere. And I think it's what the OS-specific code in the win32/64/linux directory does, do things with the USB port and the OS.

graphmastur: Yeah, there are libs for the keyboard, mouse, and pretty much every filesystem. These could be useful later when writing programs dealing with .8x* files.
« Last Edit: April 19, 2011, 09:59:44 pm by juju2143 »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: libti* on Wii
« Reply #10 on: April 19, 2011, 10:01:08 pm »
I actually doubt there is a libusb port for the wii, but if you look at libticables/src/linux/libusb.c you should be able to figure out how to do it with w/e devkitpro offers for USB. Make sure you look at the non Windows/Linux specific code paths as they have some OS specific hacks for bugs in libusb-0.1. If you have any questions about it just ping me on IRC and I can help you with it.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: libti* on Wii
« Reply #11 on: April 19, 2011, 10:05:04 pm »
I just found USB support is in libogc with functions like USB_OpenDevice, IOS_Open and things like that. I'll need to do some research.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: libti* on Wii
« Reply #12 on: April 19, 2011, 10:06:03 pm »
Ok I'm sure that is is no where near as nice as the libusb-1.0 api but I should be able to help you out if you have questions. You only need the ability to do bulk writes and reads which is a plus at least.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: libti* on Wii
« Reply #13 on: April 19, 2011, 10:14:29 pm »
Well, thanks :)

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.