
BTW: I need help testing AMS transfers (to a calc running PedroM, and to a calc running AMS) with TILP.
--- a/src/c/files.c +++ b/src/c/files.c @@ -260,9 +260,7 @@ __ATTR_STK__ short fputc(short c, FILE *f) if (feof(f)) (*(short*)base)++; - if (c == 9 && tmode) - c = ' '; // Translate TAB in SPACE - if (c=='\n' && tmode) + if ((c=='\n' || c == '\r') && tmode) { poke(base + f->pos++, '\r'); if (feof(f)) diff --git a/src/c/side.c b/src/c/side.c index 4f8d683..8c767ee 100644 --- a/src/c/side.c +++ b/src/c/side.c @@ -421,7 +421,6 @@ draw_char46 (unsigned short a) { if (stream_ptr == curs_ptr) stream_ptr = gap_ptr; \ c = *stream_ptr & 0x00FF; \ if (c == '\r') { stream_ptr++; c = CR; } \ - if (c && c < 16 && c != CR && c != (EOF&0xFF) ) c = 255; \ if (c && c != (EOF&0xFF)) stream_ptr++; \ }
Folco (./155) :
I was writing "install tib" to disp the RC10. I had typed 'ins', and I pressed 'ON'. The line has been completed with "tall tall" (twice, with a space between the 2 "tall". It's not the first time I get something like that with auto-completion. I'll try to do a test case after the transfert. It doesn't seem to be always reproductible.
edit -> I still got that typing "fflash": "ffl" [on] "ash ash"
ok: This behavior seems to appear when you type [on] twice or more during completion.
Folco (./159) :
Not @home before ~3 september, sorry... I'll try asap
>>> (PedroM is halted until I bought a new PC. I can't work with my P233).
Now i'll have a Fedora older than yours
Folco (./164) :
I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?). This file was created when browsing the vat.
Folco (./164) :
Comen back under Linux, using TiLP.
I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?).
This file was created when browsing the vat.
TiLP says the size of this file is 2 ko !?!?!
Lionel ?
I can send the file "abc", created when using "TI DeviceInfo". Here's the file :Fichier joint : main.abc.89t
# Check READY MID=08 CID=68 SIZE=00 MID=98 CID=56 SIZE=0 # Request Versions MID=08 CID=2d SIZE=0 MID=98 CID=56 SIZE=0 # Clear to send (CTS) aka continue MID=08 CID=09 SIZE=0 MID=98 CID=56 SIZE=0 # Send data MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK MID=08 CID=56 SIZE=0 # Check ready MID=08 CID=68 SIZE=0 MID=98 CID=56 SIZE=0 # Request Variable : Get IDLIST MID=08 CID=a2 SIZE=7 DATA=00.00.00.00.22.00.00.CRC OK MID=98 CID=56 SIZE=0 # Send Variable Header (VAR) MID=98 CID=06 SIZE=13 DATA=12.00.00.00.22.06.49.44.4c.49.53.54.00.CRC OK MID=08 CID=56 SIZE=0 # Clear to send (CTS) MID=08 CID=09 SIZE=0 MID=98 CID=56 SIZE=0 # Send data MID=98 CID=15 SIZE=18 DATA=00.00.00.00.01.00.0e.00.30.32.33.34.35.36.37.38.39.40.41.42.43.44.CRC OK MID=08 CID=56 SIZE=0 # End of Transmission (EOT) MID=98 CID=92 SIZE=0 MID=08 CID=56 SIZE=0 # Check ready MID=08 CID=68 SIZE=0 MID=98 CID=56 SIZE=0 # Request Versions MID=08 CID=2d SIZE=0 MID=98 CID=56 SIZE=0 # Clear to send (CTS) aka continue MID=08 CID=09 SIZE=0 MID=98 CID=56 SIZE=0 # Send data MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK MID=08 CID=56 SIZE=0 # Request Variable : Get certificates MID=08 CID=a2 SIZE=6 DATA=00.00.00.00.20.00.CRC OK MID=98 CID=56 SIZE=0 # Send data MID=98 CID=15 SIZE=14 DATA=00.00.ff.ff.ff.ff.00.00.43.46.00.21.47.6c.CRC OK # FIXME: No ACK????? # FIXME: CID=VAR=06 is expected? # Check ready MID=08 CID=68 SIZE=0 MID=98 CID=56 SIZE=0 # Request Versions MID=08 CID=2d SIZE=0 MID=98 CID=56 SIZE=0 # Clear to send (CTS) aka continue MID=08 CID=09 SIZE=0 MID=98 CID=56 SIZE=0 # Send data MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK MID=08 CID=56 SIZE=0 # Request Variable : folder list MID=08 CID=a2 SIZE=6 DATA=00.00.00.1b.1a.00.CRC OK MID=98 CID=56 SIZE=0 # Send Variable Header (VAR) MID=98 CID=06 SIZE=11 DATA=1c.00.00.0e.1a.04.6d.61.69.6e.03.CRC OK # FIXME: No ACK???? #FIXME: Why 1C? According to TI Link protocol, it should be 7E.
Folco (./165) :Folco (./164) :
I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?). This file was created when browsing the vat.
Trying to open this file with SIDE make the calc turn off !!!
SIDE boots, disp "Loading ...", then the calc turn off.
When turning on the calc, the vat has lost all files (in RAM, I had nothing in archive) in all folders.
Folco (./168) :
But this is the log file... Could you post a patch that would write in the log something like '<data>' instead of a lot of useless infos ?
Folco (./163) :
TI DeviceInfo gives a "format" error, then TiConnect throws an error (can't reach device or something like that), then I get a "reset" error.
Device Type : TI-89 Device ID : N/A OS Version : N/A BIOS Version : N/A Language : N/A Total RAM : 128 KBytes RAM Available : N/A Battery Status : Good ID List : 02345-6789@-+!
Folco (./174) :
Do you want I reinstall AMS to give you the expected values for BIOS version etc... ?
Folco (./176) :
I can't send the the log file of "TI Device Explorer", TiLP still timeout... Perhaps I should write a small program to split it.
ticalcs-INFO: Obtention des dossiers & variables & applications: ticalcs-INFO: PC->TI: REQ (size=0x1F000000=520093696, id=1A, name=) ticalcs-INFO: TI->PC: ACK 1c.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0020=32 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: Nom: main | Type: DIR | Attr: 0 | Size: 00000000 ticalcs-INFO: Nom: system | Type: DIR | Attr: 0 | Size: 00000000 ticalcs-INFO: Listage du dossier dans main... ticalcs-INFO: PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=main) ticalcs-INFO: TI->PC: ACK 0e.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00000E=234881038, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0012=18 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: ticalcs-INFO: Listage du dossier dans system... ticalcs-INFO: PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=system) ticalcs-INFO: TI->PC: ACK 1c.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0020=32 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: Nom: stdlib | Type: ASM | Attr: 3 | Size: 00005B7D ticalcs-INFO: +------------------+----------+----+----+----------+----------+ |Nom Bin. |Nom Trad. |Attr|Type| Taille | Parent | +------------------+----------+----+----+----------+----------+ | 6D61696E00000000 | main | 0 | 1F | 00000000 | | | 73797374656D0000 | system | 0 | 1F | 00000000 | | | 7374646C69620000 | stdlib | 3 | 21 | 00005B7D | system | +------------------+----------+----+----+----------+----------+
ticalcs-INFO: Obtention des dossiers & variables & applications: ticalcs-INFO: PC->TI: REQ (size=0x1F000000=520093696, id=1A, name=) ticalcs-INFO: TI->PC: ACK 1c.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0020=32 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: Nom: system | Type: DIR | Attr: 0 | Size: 00000001 ticalcs-INFO: Nom: main | Type: DIR | Attr: 0 | Size: 00000000 ticalcs-INFO: Listage du dossier dans system... ticalcs-INFO: PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=system) ticalcs-INFO: TI->PC: ACK 1c.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0020=32 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: Nom: stdlib | Type: ASM | Attr: 3 | Size: 00005B7D ticalcs-INFO: ticalcs-INFO: Listage du dossier dans main... ticalcs-INFO: PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=main) ticalcs-INFO: TI->PC: ACK 0e.00.00.0e.1a.04.6d.61.69.6e.03. ticalcs-INFO: TI->PC: VAR (size=0x0E00000E=234881038, id=1A, name=main, flag=3) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: PC->TI: CTS ticalcs-INFO: TI->PC: ACK ticalcs-INFO: TI->PC: XDP (0012=18 bytes) ticalcs-INFO: PC->TI: ACK ticalcs-INFO: TI->PC: EOT ticalcs-INFO: PC->TI: ACK ticalcs-INFO: +------------------+----------+----+----+----------+----------+ |Nom Bin. |Nom Trad. |Attr|Type| Taille | Parent | +------------------+----------+----+----+----------+----------+ | 73797374656D0020 | system | 0 | 1F | 00000001 | | | 7374646C69620073 | stdlib | 3 | 21 | 00005B7D | system | | 6D61696E00686F6D | main | 0 | 1F | 00000000 | | +------------------+----------+----+----+----------+----------+