Jump to content
IGNORED

Update for TIDir


atrax27407

Recommended Posts

  • 1 month later...

Feature request for TIDIR.

 

I just did some "processing", and generated 3 x 48 sets of PC TXT files.  These files need to be converted to DV80 files.  I jus discovered I can highlight all the files, but only one file will be converted, not the whole batch.

 

It would be nice to be able to process all the files at once rather than individually, especially since I have to use the drop down menu for how to handle the CR/LF characters.


Beery

 

  • Like 4
Link to comment
Share on other sites

http://endlos99.github.io/xdt99/#xdm99

 

I find this tool most useful for such things, and it can be scripted... a little text editor kung-fu and you have a script that will iterate all your files... 

 

Here is a typical session converting a native txt file, with CRLF to a TI DV80 file, hexdumps included so you can see the result... CRLF correctly removed... 

 

➜  ~ hexdump -C blah.txt 
00000000  48 45 4c 4c 4f 20 57 4f  52 4c 44 0d 0a 49 20 61  |HELLO WORLD..I a|
00000010  6d 20 61 20 66 69 6c 65  20 77 69 74 68 20 6c 6f  |m a file with lo|
00000020  74 73 20 6f 66 20 74 65  78 74 20 69 6e 20 69 74  |ts of text in it|
00000030  2e 0d 0a 49 20 64 6f 6e  27 74 20 6b 6e 6f 77 20  |...I don't know |
00000040  77 68 61 74 20 6d 79 20  45 4f 4c 20 69 73 2e 2e  |what my EOL is..|
00000050  0d 0a                                             |..|
00000052
➜  ~ xdm99.py -T blah.txt -t -f DV80 -n BLAH -o BLAH
➜  ~ hexdump -C BLAH
00000000  07 54 49 46 49 4c 45 53  00 01 80 03 4f 50 01 00  |.TIFILES....OP..|
00000010  42 4c 41 48 20 20 20 20  20 20 00 00 00 00 b3 5a  |BLAH      .....Z|
00000020  28 cb b3 5a 28 cb ff ff  20 20 20 20 20 20 20 20  |(..Z(...        |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000080  0b 48 45 4c 4c 4f 20 57  4f 52 4c 44 24 49 20 61  |.HELLO WORLD$I a|
00000090  6d 20 61 20 66 69 6c 65  20 77 69 74 68 20 6c 6f  |m a file with lo|
000000a0  74 73 20 6f 66 20 74 65  78 74 20 69 6e 20 69 74  |ts of text in it|
000000b0  2e 1d 49 20 64 6f 6e 27  74 20 6b 6e 6f 77 20 77  |..I don't know w|
000000c0  68 61 74 20 6d 79 20 45  4f 4c 20 69 73 2e 2e ff  |hat my EOL is...|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000180

-T says take a plain file, and create a FIAD,

-t says use TIFILES format,

-f says the TI disk storage mode should be DV80,

-n names the file within the FIAD,

-o names the file on your host filesystem

 

Not to discount the feature request... just saying... 

  • Like 1
Link to comment
Share on other sites

On 6/11/2020 at 3:33 AM, BeeryMiller said:

Feature request for TIDIR.

 

I just did some "processing", and generated 3 x 48 sets of PC TXT files.  These files need to be converted to DV80 files.  I jus discovered I can highlight all the files, but only one file will be converted, not the whole batch.

 

It would be nice to be able to process all the files at once rather than individually, especially since I have to use the drop down menu for how to handle the CR/LF characters.


Beery

 

I've made a note for this feature.

 

Fred ;-)

  • Like 1
Link to comment
Share on other sites

6 hours ago, BeeryMiller said:

One other "slight" request to TIDIR.  When viewing a file in hexadecimal, either a menu option to see the file including the header (perhaps as a new menu item in the drop down menu) or as a clickable option.  

How about a built-in hex editor as well?  It's kind of nice to be able to see the EA/5's internals, but if we could use it to modify them too that would be useful.

Link to comment
Share on other sites

23 hours ago, BeeryMiller said:

Fred,

 

One other "slight" request to TIDIR.  When viewing a file in hexadecimal, either a menu option to see the file including the header (perhaps as a new menu item in the drop down menu) or as a clickable option.  

 

Beery

 

Okay, also made a note of this.

 

  • Like 4
Link to comment
Share on other sites

  • 3 weeks later...

Ti99Dir v7.2a is available for download.

 

- Conversion option for PC files to TI files is used for all selected files

- Conversion option for TI files to PC files is used for all selected files of the same type also posible for all selected files

- Conversion of PC files to DSK image and Cf7a+ or nanoPeb DSK image also posible for all selected files

- Copying of PC files to a DSK image or Cf7a+ or nanoPeb DSK image also posible (jumps to conversion dialog in this case)

 

Edited by F.G. Kaal
- Header data of V9t9 or TIFILES is displayed in editor window when displayed in hex
  • Like 6
  • Thanks 1
Link to comment
Share on other sites

Fred,

 

Thanks for the update.  I got it up and working, and I really like the way you implemented the display of the header information.  Much appreciated.

 

I think you are also author of DM2K, and I would like to report I am able to use it with the TIPI and the Geneve in Rompage mode.  What I did find was that I needed to access the TIPI as DSK0 and not as TIPI.  Accessing it as DSK0, I was able to copy files to/from my WDS (Myarc HFDC).

 

Beery

 

Link to comment
Share on other sites

I found and solved the problem!! Windows 10 blocks opening ,chm files because of the general risk involved in opening downloaded random .chm files. I right-clicked the file, opened properties and checked the "unblock" box. It now display/prints normally.

Edited by atrax27407
  • Like 3
Link to comment
Share on other sites

  • 5 months later...
  • 3 weeks later...

I've got a request for something that I think may be along a minor tweak for TIDIR as I think the core routines are already present.

 

I am testing Github as a repository for TI source files for assembly on a Geneve and/or TI-99/4A.  Uploading files with TIFILES headers is not a problem, just the file can not be viewed on GitHub if someone wants to view the file.  Please note these files are originating from a TIPI share but could just as easily original from a source file on a DSK or HDIMG file.

 

It would be nice to convert a mass of directories of source files into text files at a second path with preservation of all TI formatting including tab spacing, that could then be uploaded to Github, and then if someone downloads files, those files could then be converted back to a D/V80 file with a TIFILES header maintaining the original format.  I am not entirely sure if GitHub will default to a TXT viewer of the file if there is no extension of the filename, so that may be a requirement.  I would also suggest that when reading the TIFILES header, if it detects a DIS/FIX 80 file or a Program Image file, it copies but treats those files as possible binary files with no file manipulation.

 

From what I can tell, TIDIR has the capability, just a tad more involved.  What I was hoping what could be done would be to have a GitHub option on the menu bar with two options, Convert for Upload, Convert back from Download.  Then TIDIR would store the configuration parameters for file format (DIS/VAR 80) with the appropriate CR/LF requirements, without having to remember all the specific details.

 

I think something along these lines would allow us to create more easily source file repositories for those individuals not using compilers and assemblers that use a .text format on other platform computers. Where I have also seen issues and I know there is not an easy solution, is on those other platforms, individuals have used the true tab character in their spacing that makes converting back to a clean and neat DIS/VAR 80 format for the TI more difficult as our editors treat the tab character differently than the way we may tab while programming. 

 

Thus, the first goal would be to handle a DIS/VAR 80 source file option for moving files around.  I am looking for point click, highlight, select transfer option, watch and wait, and it is done.

 

Beery

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

FYI: My Windows Defender in Win10 has suddenly started blocking TIDIR memory access and marking it as an intrusion. This has the effect of not allowing TIDIR to make writes to CF7 and other disk types. Started after an update a few weeks ago. I had to go into the Defender settings and set TIDIR as OK to make memory changes. This is even with the intrusion settings set to LOW. Some PCs have notifications set OFF so it may not be showing on your PC but still screwing up TIDIR. If you get weird things happening in TIDIR you might want to check the Defender LOG and see if TIDIR is blocking memory access.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...