π
<-
Chat plein-écran
[^]

USB Support on the TI 89

Programmation et implémentation d'algorithmes.

USB Support on the TI 89

Message non lude Michael0x18 » 17 Mar 2021, 17:37

At this point, I'm wondering if it's possible to add some functionality similar to Cesium's flash drive support and USB8x for the z80 series to the TI-89. (Titanium, because it has a USB port.)
Specifically, I'm wondering if it's possible to "mount" disks as folders somehow.
Of course, I'd be writing most of it, using BrandonW and Lionel's Linky as a starting point.

Any thoughts?
Avatar de l’utilisateur
Michael0x18
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 36%
 
Messages: 12
Inscription: 07 Oct 2020, 17:10
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: USB Support on the TI 89

Message non lude critor » 17 Mar 2021, 18:22

Linky is a TI-89 Titanium version of usb8x :
viewtopic.php?f=41&t=11769#p139751
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 44.1%
 
Messages: 41575
Images: 15107
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: USB Support on the TI 89

Message non lude Lionel Debroux » 18 Mar 2021, 19:18

Indeed, you had already found the starting point you need to use: Linky. All I did in Linky was fill in the keyboard detection and mapping code, as well as make it easier to switch between HID keyboard and HID mouse modes.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: USB Support on the TI 89

Message non lude Michael0x18 » 18 Mar 2021, 19:48

Yeah. Tari was nice enough to mirror BrandonW's repo on github (instead of SVN.)
If you recall, I asked you for the binaries a while back because I wanted to see what it did, but now that's unnecessary because I managed to build GCC4TI (I can't seem to find the KDE3 stuff, so I can't use KTIGCC, though. They're not available from apt.)
I already started looking at the specs for FAT32, and it's a mess. There are a boatload of different versions, from different operating systems. And there's the fact that most consumer flash memory is hideous and just the cheapest possible thing.
(Hamming codes, multi-bit cells, and the like)
Avatar de l’utilisateur
Michael0x18
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 36%
 
Messages: 12
Inscription: 07 Oct 2020, 17:10
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: USB Support on the TI 89

Message non lude Lionel Debroux » 20 Mar 2021, 13:30

Yes, making a good implementation of FAT12/16/32 is hard. I suppose you could leverage one of the existing ones... once you've found one which has sufficient portability, reliability, etc.

As for KTIGCC: just do what virtually everybody has done in the past decade or so, don't bother with this thing :)
Besides its adherence to an unpopular, heavyweight, poorly portable desktop environment and application framework which breaks API compatibility between minor releases, it suffers from both significant implementation issues - the code's quality is terrible, making it unmaintainable - and the fundamental design issue of trying to reimplement verbatim the... peculiarities... of the Delphi IDE, instead of fixing them.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: USB Support on the TI 89

Message non lude Michael0x18 » 20 Mar 2021, 20:39

After some searching online, I've found a couple possible starting points.
Unfortunately, even after examining the Linky source code for about an hour yesterday, I still don't entirely understand how it works.
One of the criteria for the starting/example implementation is that it has to be released under a GPL-compatible license. (There's something wrong with writing a proprietary program for a graphing calculator, even more so than a normal computer, because they're supposed to be learning tools.)
As for KTIGCC, whatever. I'll stick with my current setup of using tmux.
Avatar de l’utilisateur
Michael0x18
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 36%
 
Messages: 12
Inscription: 07 Oct 2020, 17:10
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: USB Support on the TI 89

Message non lude Lionel Debroux » 20 Mar 2021, 21:15

Unfortunately, even after examining the Linky source code for about an hour yesterday, I still don't entirely understand how it works.

Neither do I :)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: USB Support on the TI 89

Message non lude Lionel Debroux » 23 Mar 2021, 08:30

The USB controller is indeed memory-mapped, in the 7100xx range.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: USB Support on the TI 89

Message non lude Michael0x18 » 27 Mar 2021, 00:17

Well, I'm going to take a break from this project to write an IDE that I can use to make it.
The progress thread is over on Cemetech:https://www.cemetech.net/forum/viewtopic.php?p=292032#292032
Avatar de l’utilisateur
Michael0x18
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 36%
 
Messages: 12
Inscription: 07 Oct 2020, 17:10
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile


Retourner vers Programmation

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 13 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Offre de test des nouveautés de rentrée 2024 par Casio. Enseignant(e), reçois gratuitement 1 exemplaire, à ton choix, de la Graph Light ou bien de la Graph Math+
14€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 31 Octobre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 90+E d'ici le 31 Décembre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 25 d'ici le 31 Décembre 2024
8€ remboursés par Casio sur l'achat de ta calculatrice Graph Math+ d'ici le 31 Octobre 2024
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2024
5€ de remise immédiate sur l'achat de ta calculatrice TI-83 Premium CE Edition Python chez les revendeurs partenaires
4€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced Edition Python chez les revendeurs partenaires
3€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced chez les revendeurs partenaires
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234567891011121314
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1062 utilisateurs:
>1041 invités
>17 membres
>4 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)