TiDir V3.1d 20011015
--------------------

TiDir is a Windows program to browse through TI-99/4A files (v9t9 format) and .DSK files
(v9t9 and PC99*) on a PC. TiDir runs on Win98 and should run on Win 95/ME/NT/2000 (Not tested).

On startup TiDir should contain a path or name of a .DSK file on the command line, i.e. 

	TIDIR c:\myfiles\somefile.dsk

if somefile.dsk is a TI-99/4A disk image, or

	TIDIR c:\mytifiles 
	
if the directory c:\mytifiles is a directory loaded with all sorts of TI-99/4A files
and disk images.

It is also possible to create a shortcut for this program with all the info its needs:

If tidir.exe is located in the subdirectory c:\utl and all your ti-files are in the subdirectory
c:\mytifiles, a shortcut could look like this:

	Path:		c:\utl\tidir.exe c:\mytifiles
	Start in:	c:\utl

TiDir saves information in a file called tidir.ini including the current size and font and the
positions and sizes of the maximum of 16 view windows.

The following keys can be used in TiDir:

The up and down arrow keys and the scroll-wheel on the mouse.

The F2 key or [view file or DSK info] button (the button on the left with the closed notepad):

	if on a subdirectory shows some more information
	if on a upperdirectory shows some more information
	if on a *.DSK file shows some more information about this DSK
	if on a TI file shows some more information about this file

The F3 key or [view file or DSK contents] button (the button with the half open notepad):

	if on a subdirectory enters the subdirectory
	if on a upperdirectory goes to the upperdirectory
	if on a *.DSK files shows all the files and subdirectories of this DSK
	if on a TI file, opens an editor in read-only mode and shows the contents of the
	   file in readable or hexadecimal form (like Dm2k).
	The editor/viewer works like Windows Notepad. The maximum size of a file to show
	   seems to be 60 sectors (!).
	if on a DOS file, opens an editor and shows the contents of this lower form of file.

Maximum number of edit/show windows to open at the same time is 16.

The F5 key or [extact file from DSK] button (the button with the loose yellow page):

	if on a file included in a .DSK or .DSK subdirectory allows you to extract
	the file and copy it to another non.DSK folder. 
	An Error message will appear if you try to extract from a non.DSK subdirectory.

The F6 key or [convert file to pc TXT file] button (the button with the loose blue page):

	if on a file or a file included in a .DSK or .DSK subdirectory allows you to
	convert the file to a pc TXT file to another folder.
	An Error message will appear if you try to convert .DSK's directies or 
	subdirectories.

The ENTER key or double mouse-click:
	if on a subdirectory enters the subdirectory.
	if on a upperdirectory goes to the upperdirectory.
	if on a *.DSK files shows all the files and subdirectories of this DSK.
	
The HOME key:
	Moves the cursor to the first line of the directory.
	
The END key:
	Moves the cursor to the last line of the directory.

The [goto root] button on the right :
	Takes you right back to the top-level of the directory structure where you
	   started tidir with.
	   
The [goto upper directory] button on the far right:
	Takes you one level back in the directory structure.

Although the menu items on the 2 pull down menus are self-explanatory, the purpose of 
the item "Feed to edit window" needs some comments. This item allows you to show the
current directory in a format to which comments can be added and then subsequently printed.

This is the third version of an universal TI-99/4A file viewer for the PC. If you have ideas
to add to this tool let me know.

Something I would like to add is a method to view archiver files.

Enjoy.


Fred G. Kaal
De Dadelboom 81
1911KK Uitgeest
The Netherlands
fgkaal@freeler.nl
 
Thanks to Jacques Groslouis and Paolo Bagnaresi for their comments and ideas.   


v1.1a
	Shows a list of TI files in a subdirectory.

v2.1a
	
	Show dos name of a .DSK file with F3
	Show no_name!! if .DSK name is blank
	Added method to extract files from a .DSK
	Added menu functions for showing files in .DSK info and extracting files

v3.1a
	Showfile.cpp - check if not writting beyond end of text buffer
   	PC99Doad.cpp - added to also read PC99 dsk files
   			convert PC99 dsk file to a v9t9.dsk file
                  	show side track sector layout for a PC99 dsk file
   	Showfile.cpp - added PC99 dsk stuff
   			extract file replaces * or ? in ti-name to @
   	Tidir.cpp    - added PC99 dsk stuff
   	Viewer.cpp   - remembers position and size of the edit/view windows
   
v3.1b
	Showfile.cpp - Extract: File name can't contain \ / : * ? " < > |, will
   			be replaced by @
   	Tidir.CPP    -added VK_F2 to show FILE or DSK or DIR info
   			VK_F3 only view upperdir, subdir, *.DSK or file function.
   			A new opened view window is always on top.
   			Added icons for the buttons.
	Tooltip.CPP  - added to show tooltips when mouse cursor moves over buttons.
	
v3.1c	Pc99Doad.cpp - Reading the right sector from side 2.

v3.1d	Showfile.cpp - Convert TI-files and TI-files on .DSK to pc TXT files
	Doad.CPP - Calls PC99Doad if .DSK file on command line seems to be 
			a PC99 .DSK file
	