Author Topic: WikiTI  (Read 84008 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: WikiTI
« Reply #15 on: November 09, 2010, 11:15:30 pm »
Wait a minute, can I access the second boot page? I can practically read hex...

SirCmpwn

  • Guest
Re: WikiTI
« Reply #16 on: November 09, 2010, 11:16:43 pm »
Yeah, I have the USB8X source code lying around, but it depends heavily on TIOS routines.  I would also probably write most of that stuff from the ground up, considering that it has no support for hubs, and is a bit outdated.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: WikiTI
« Reply #17 on: November 10, 2010, 10:47:54 pm »
Oh, yeah, I was starting to write up documentation of the USB ports at one point.  Then I got distracted by something else.  That seems to happen a lot.

Yeah, I have the USB8X source code lying around, but it depends heavily on TIOS routines.  I would also probably write most of that stuff from the ground up, considering that it has no support for hubs, and is a bit outdated.
USB8x doesn't actually use the OS routines for very much - there's not very much interesting stuff the OS routines can do.  The main thing USB8x relies on the OS for is USB interrupt handling, and that's because there isn't any other choice if you're going to use IM 1.  (But that should be pretty easy to re-implement yourself if you want to.)

It does have some basic hub support - if a hub is connected, AutoSetup will turn on the ports one by one and try to connect to the first non-hub device it finds.  I'm not sure how much more is physically possible, as I'm not sure that there's any way to talk to, or listen to, more than one peripheral device at a time.  But I haven't tested anything to do with hubs myself.

Well, we know almost nothing about those ports.  We pretty much have to use TI's routines, which I can't steal and put in KnightOS unless I'm clever about it.  With the information we have, I could probably manage unit-to-unit file transfers, but for advanced stuff like unit-to-PC and peripherals such as flash drives we need more documentation.
Which ports are we talking about here?

And talking to a PC is easier than talking to another calculator: in the former case you only have to deal with peripheral mode, whereas in the latter case you need both host and peripheral modes.  And maybe SRP and HNP.

SirCmpwn

  • Guest
Re: WikiTI
« Reply #18 on: November 10, 2010, 11:55:50 pm »
Ports are most of the USB ports, if WikiTI is anything to go from.  As for USB8x, I'll have to look deeper into it, thanks for the heads up!
Talking to another calculator looks absurdly easy - port 4D looks like it could be used in a similar manner as the I/O port.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: WikiTI
« Reply #19 on: November 11, 2010, 12:27:26 pm »
Oh, I see.  You mean going around behind the USB controller's back, as it were, and controlling the data lines individually.  I don't know if that's even possible - as far as I know, the set of low-level operations that the CPU can control is pretty limited.

And it wouldn't be compatible with the OS or with standard USB devices, and you'd be relying on the least-well-understood parts of the hardware, and it would be much slower than using the USB protocol, but who knows?  Maybe it's worth a try.  I suspect that using the USB protocol would be easier and more rewarding, though.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: WikiTI
« Reply #20 on: November 13, 2010, 01:36:01 am »
Would you look at that. Someone made a hooks page.

Since it is a wiki, feel free to fix any mistakes I made.

(This marks the first time that I linked the word "that")
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: WikiTI
« Reply #21 on: November 13, 2010, 09:37:39 am »
After seeing USB and hooks documentation added (I could have wrote the hooks page if I had that idea earlier, fortunately someone had the idea) I added some interesting stuff and updated some things... Looking at WikiTI with fresh eyes again makes occur some ideas to add.
Hobbing in calculator projects.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: WikiTI
« Reply #22 on: November 13, 2010, 09:59:00 am »
Great wiki, never had heard 'bout it until now, looks promising :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: WikiTI
« Reply #23 on: November 13, 2010, 10:46:58 am »
Would you look at that. Someone made a hooks page.

Since it is a wiki, feel free to fix any mistakes I made.

(This marks the first time that I linked the word "that")

Nice. I love wikis :D




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: WikiTI
« Reply #24 on: November 13, 2010, 10:48:51 am »
I'll be adding lots of pages to this when I can, I searched for lots of stuff that wasn't there, so the COMMMUNITY has to add a lot :) And I will help :D

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: WikiTI
« Reply #25 on: November 13, 2010, 09:28:26 pm »
That's great to hear.  WikiTI is a great resource already, but there's so much more stuff that could be documented.  It's a shame that it's been inactive lately.  I'll try to do my part.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: WikiTI
« Reply #26 on: November 14, 2010, 09:49:45 am »
That's great to hear.  WikiTI is a great resource already, but there's so much more stuff that could be documented.  It's a shame that it's been inactive lately.  I'll try to do my part.
If you edit the to do list with what could be documented and it is on my reach I would start the documentation.
Hobbing in calculator projects.

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: WikiTI
« Reply #27 on: November 14, 2010, 01:02:33 pm »
One day I really should enhance the TI community history part of the site, such as individual teams, and maybe have an article talking about which forum were active over the year and the major releases and events.

SirCmpwn

  • Guest
Re: WikiTI
« Reply #28 on: November 15, 2010, 01:03:38 am »
It's great that every day I come back to WikiTI and find more and more USB documentation.  Thanks guys!

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: WikiTI
« Reply #29 on: November 15, 2010, 01:05:31 am »
Yeah it's cool that every single bit of USB stuff people know is being put together in one place. I am wondering if this wiki could explain the drastic increase in ASM program quality over the last few years? It has been around for 4 years, but back then it often got hacked or spammed by bots so people avoided it. Now it's solved and it seems to get more popular.