Samir Ribic Releases TCP/IP for TI-89
Posted by Eric on 28 November 2000, 04:40 GMT
Samir Ribic has released a TCP/IP Suite for the TI-89. Guess what, kids? Yup, that's right. You can get on the Internet with your TI-89 now! You'll be able to use SLIP, IP, TCP, FTP, SMTP, POP3, and HTTP with this program. Imagine the possibilities. Anyway, the readme to this suite has good directions on using it, so be sure to read it carefully. In short, you'll need a gray Graph Link and a DOS Internet server to get this thing working.
|
|
|
The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.
|
|
Re: Samir Ribic Releases TCP/IP for TI-89
|
mmu_man
(Web Page)
|
Hey ! This guy is great ! He did it before me ! And with the same thing I intended to use ! He must be using some black-magic to read people's mind :( Anyway, it's a good thing. But BTW, this isn't more than a TCP/IP stack with a bare telnet (to send a mail you telnet to the mail port, ...), but it is a great step :)
BUT, (1) Will he realease a LIBRARY so every one can use it ?
(2) Anyway I intended to use the same source (TinyTCP) for the Prosit networking layer... maybe I'll make the library myself.
(3) Does it work under LINUX ? I kinda hate Winblows more and more, as it crashes every day and then... And moreover Linux IS the Network-OS, wo WHY does he bother with DOS stuff ? Anyway, on long-term, it should be able to use PPP and connect to any good provider (who said AOL, I was talking about good ones, the ones that DOESN'T use proprietary stuff)... As with the 2nd question I may help (though I'm a bit busy), as I got a fully fonctionnal version of TiGCC (Yes, and it compiles the Prosit kernel, so... ;) )
|
|
29 November 2000, 01:43 GMT
|
|
|
|
|
Re: Re: Samir Ribic Releases TCP/IP for TI-89
|
Samir Ribic
(Web Page)
|
1) I do not know. I was always NOSTUB programmer, but I agree that TCP/IP should be library. It is, question how to make it flexible. If someone else wants to do it, there is a source, of course, and I can translate my explaination how the thing works.
2) Good luck. Three main problems (that took few months to be aware) were memory allocation, odd memory addresses and 128 bytes buffer.
3) I have RedHat 5.2. But, I tried to establish SLIP with raised DTR and CTS, and it was not possible nor with dip, nor with slattach (which is not part of RedHat, BTW). PPP is really better option, but it requires more programming.
|
|
29 November 2000, 09:06 GMT
|
|
|
|
|
|
|
|
Re: Re: Re: Samir Ribic Releases TCP/IP for TI-89
|
mmu_man
(Web Page)
|
1)
The reason why I don't like NOSTUB (it is kinda euphemism), because:
- it does no allow the use of libraries, which implies:
- it doesn't allow libraries virtualisation, as they doesn't exist, which in turn implies:
- it doesn't allow these programs to be run under a multitasking environnment (Prosit for instance), something I find _very_ annoying :(
- they don't call UNIVERSAL (STANDARD) fonctions to perform actions (open a file, ...) so these non-existant functions cannot be hooked in to make them multitasking compatable.
- they all include everything from file access functions to grayscale interrupt, so
- they CANNOT be run under multitasking, as hardware ISN'T virtualisable without an MMU (Memory Managment Unit)
- even if the 'normal' (i.e. other) executable format isn't perfect, it allows to do some usefull things, which cannont be done with nostub progs (BTW, can nostub progs include a BSS segment ? I don't remember).
- it comes from TI, and depends on TI :(
To sum-up :
I don't like NOSTUB, because NOSTUB progs WILL NEVER be able to be multitasked :((( (It's anyway hard enough with Doors programs), so you can pray, but don't expect miracles :-(
2) Thanks !
Memory allocation is sometimes brain-damage as on every system with no MMU :(
odd memory addresses ? where ? every allocated bloc should start on a 16 bit-boundary anyway, don't they ?
buffers... well, Prosit already has a set of rotating-buffers primitives (duno if it can help here...) :)
3)
yes, PPP is maybe too complex for our little engines ;)
The guys at TI do have very strange ideas... :(
|
|
30 November 2000, 00:26 GMT
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: Samir Ribic Releases TCP/IP for TI-89
|
Samir Ribic
(Web Page)
|
1) Well, virtualisation of system calls can be done also on NOSTUB programs, in easier or harder way.
AMS 2.05 allowed new method for function call,
via LINE 1111 call. In this case, all system functions are replaceable by simple change of this handler.
With older versions of AMS it is still possible to recognize ROM calls in programs we want to execute and patch them. It is enough to make copy of ROM jump table to our own table in RAM and replace instructions that read from it.
Finally, regular call of AMS windows dealing routines instead direct poking to video memory looks like suited for multitasking.
Ah, yes! Protection ports from HW 2, probabbly can be used for preemptive multitasking even with programs that poke to video memory. When task switcher gives job to background process, it will prohibit write to video memory. The handler will copy incrimined byte to somewhere else. When process became foreground, handler will be deactivated and video memory restored.
2) In function sed_IsPacket I added
if (((Longword)p_begin_packet)&1){
*p_begin_packet++;
}
/*Izbjeci neparne adrese*/
this did not exist in original source.
128 bytes buffer I mentioned is for received bytes from link port. Without writing own link port handler, it can not be resized.
|
|
30 November 2000, 09:39 GMT
|
|
Re: Samir Ribic Releases TCP/IP for TI-89
|
Nivek
(Web Page)
|
why can't i use my Black link, i don't have a gray link. What would it take to make it so i could use a black link?
|
|
29 November 2000, 02:12 GMT
|
|
Re: Samir Ribic Releases TCP/IP for TI-89
|
Dark_Ninja
|
Kewl idea. Very impractical, but kewl. (Wireless connection - that's what I'm waiting for.) Sucks that the black link can't be used. Anyway, about the webpages not being able to show up...I was thinking about that. I don't have access to a server with Lynx installed right now (a text based browser which can be run from Telnet). Has anybody tried telnetting into a server with Lynx, running Lynx, and then connection to the net? Sounds like a possible solution to me.
Dark Ninja
BTW - I know the modem speed is probably 56k or somewhere close, but I know the calculator doesn't recieve the information that fast. Anybody have any idea as to how fast the information is retrieved to the calc?
|
|
29 November 2000, 04:20 GMT
|
|
Re: Samir Ribic Releases TCP/IP for TI-89
|
Samir Ribic
(Web Page)
|
As far as I know, newer versions of NOS support also HTTP server. I have not yet downloaded it (I always forget address).
However, I hope that someone will solve problem with Linux SLIP driver. Even more, if someone reports to me that he successed to connect to provider using combination TI+gray graphlink+gender changer+null modem+modem+telephone line I will be very happy. Then remains the most interesting step, building TI89-GSM interface.
|
|
29 November 2000, 09:19 GMT
|
|
Re: Samir Ribic Releases TCP/IP for TI-89
|
Mitch
(Web Page)
|
This is awesome. Does anyone have plans for a ethernet adapter cable for it yet?
|
|
29 November 2000, 17:19 GMT
|
|
1 2 3 4
You can change the number of comments per page in Account Preferences.
|