Hi,
I'm having a problem with the 83+ version of the TxtView program. TxtView is a text viewer which doesn't support text formatting or images inserting, but which runs on all TI-76, TI-82, TI-82Stats, TI-83, TI-83+ and TI-84+.
(which is important in France, as the cheaper and most common models sold are basic TI-83 renamed as TI-82Stats or TI-76).
http://www.ticalc.org/archives/files/fileinfo/107/10774.html
The problem happens on TI-83+ and TI-84.
As soon as one of the text files is archived, we've got many problems in the text file list displayed by TxtView:
- corrupted text file title
- same text file entry duplicated and listed several times (which is a problem as only 9 entry can be displayed and there is no scrolling)
- when an archive text file is opened, we can see the text file header, or even the TxtView program data...
Problem is confirmed on my calculators and students calculators, whether using ION or DoorsCS. All this seems to show that for an archive text file, the returned offset to read data forum can be (is?) wrong.
I just find it strange that the 83+ porter, which claimed 83+ support and archive compatibility would have missed this... I'm not sure I will get an answer from the porter after all those years, so could you help me? Here is the TxtView listing loop:
Code:
http://www.ticalc.org/cgi-bin/zipview?83/asm/programs/ion/txtview.zip;TxtView.asm.txt
And the IonDetect documentation:
http://joewing.net/programs/calc/ti83/ion/libs.shtml#detect
What could be wrong in case of an archive file?
Why would the offset be wrong?
Has the ROM page to be switched?
Is the returned offset supposed to point Flash data or temporary RAM data?
Thanks for reading.
I'm having a problem with the 83+ version of the TxtView program. TxtView is a text viewer which doesn't support text formatting or images inserting, but which runs on all TI-76, TI-82, TI-82Stats, TI-83, TI-83+ and TI-84+.
(which is important in France, as the cheaper and most common models sold are basic TI-83 renamed as TI-82Stats or TI-76).
http://www.ticalc.org/archives/files/fileinfo/107/10774.html
The problem happens on TI-83+ and TI-84.
As soon as one of the text files is archived, we've got many problems in the text file list displayed by TxtView:
- corrupted text file title
- same text file entry duplicated and listed several times (which is a problem as only 9 entry can be displayed and there is no scrolling)
- when an archive text file is opened, we can see the text file header, or even the TxtView program data...
Problem is confirmed on my calculators and students calculators, whether using ION or DoorsCS. All this seems to show that for an archive text file, the returned offset to read data forum can be (is?) wrong.
I just find it strange that the 83+ porter, which claimed 83+ support and archive compatibility would have missed this... I'm not sure I will get an answer from the porter after all those years, so could you help me? Here is the TxtView listing loop:
Code:
SearchLoop:
ld ix,ID ; ix -> TxtView file ID string
push bc
call ionDetect
pop bc
jr nz,Done
xor a
cp (hl) \ jr nz,KeepSearching
inc hl
ld a,l \ ld (bc),a \ inc bc
ld a,h \ ld (bc),a \ inc bc
ld hl,num_files
inc (hl)
KeepSearching:
ex de,hl
jr SearchLoop
Done:
ld a,(num_files)
or a \ ret z ; No files found, return to shell
http://www.ticalc.org/cgi-bin/zipview?83/asm/programs/ion/txtview.zip;TxtView.asm.txt
And the IonDetect documentation:
Quote:
ionDetect:
Find a file in the VAT.
Input: hl=place to begin search
ix->detection string (zero terminated)
Output: de=place stopped + 1
hl->program data (after detection string)
z=0 for success, z=1 if failed
Destroys: af bc de hl
Find a file in the VAT.
Input: hl=place to begin search
ix->detection string (zero terminated)
Output: de=place stopped + 1
hl->program data (after detection string)
z=0 for success, z=1 if failed
Destroys: af bc de hl
http://joewing.net/programs/calc/ti83/ion/libs.shtml#detect
What could be wrong in case of an archive file?
Why would the offset be wrong?
Has the ROM page to be switched?
Is the returned offset supposed to point Flash data or temporary RAM data?
Thanks for reading.