HDInfo Version 1.1 by GraF/X & Michael Todd Maxey Copyright 1992 ALL RIGHTS RESERVED HDInfo v1.1 is FREEWARE Any Questions, Comments, bugs and etc. should be addressed to: GraF/X P.O. Box 28332 Dallas, Texas 75228-0332 United States of America or Michael Todd Maxey 10829 Sandalwood Drive Dallas, Texas 75228-2410 United States of America or on GEnie @ M.MAXEY Files Included HDINFO11.PRG READ_ME.1ST AUTOSORT.PRG What is HDInfo? HDInfo is a program which modifies your GEM desktop information file on your hardrive's boot partition to show the remaining storage space instead of the drive icon name which you assign. I will not go into the possibilities of the uses but it should be apparent. Installation Copy HDINFO11.PRG into your AUTO folder. Run AUTOSORT.PRG and arrange the HDINFO11.PRG file so it is the LAST file to be executed from the AUTO folder. After arranging don't forget to resort. Thats it. Next time you boot up HDInfo will look for the DESKTOP.INF file on the C: partition and if found will modify the icon name string for each hardrive partition that you have installed onto the desktop. If no DESKTOP.INF file is found during the credits it will display that no DESKTOP.INF file was found. Please enjoy and send me feedback about this PRG. Thanks, Michael Todd Maxey 1/11/92 ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 1/18/92 HDInfo now works with TOS 2.xx and will modify the NEWDESK.INF Files Included HDINFO12.PRG READ_ME.1ST AUTOSORT.PRG Enjoy and PLEASE send feedback _MTM_ ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 2/16/92 Version 1.3 HDinfo is now in better shape than ever. Do to a unknown EOF bug in GFA basic 3.5E several people experienced problems. This was corrected by looking at the LOF instead of relying on the EOF function. I would like to thank Steve Dixon of Dixon Development for his help in solving this little(?!?) problem. I would also like to thank the people who took the time to comment on this PRG. R.MARTIN22 R.BOWEN1 G.ADAMSON M.CHANDLER D.ACKLAM Again THANK YOU for you comments and input. As always if you experience ANY problems contact me. MORE TO COME _MTM_ ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 2/22/92 Version 1.4 NOTE: BEFORE YOU USE THIS PROGRAM BE SURE TO MAKE A COPY OF YOUR DESKTOP.INF, NEWDESK.INF OR NEODESK.INF FILE. NEW FEATURES AND CHANGES The Bypass Just press and hold ANY key for which there is an ASCII code before the program has started executing and presto you have just bypassed the PRG. NOW SUPPORTS? NEODESK *********** * * BEFORE TRYING THIS ON NEODESK BE SURE TO MAKE A * WARNING * BACKUP COPY OF YOUR NEODESK.INF FILE. * * *********** THIS ADDITION DUE TO USER FEED BACK. THANKS. Version 1.4 SHOULD work with NeoDesk. Remember this program ONLY modifies the .INF file so you don't have to worry about it trashing anything else. NOTE: During execution I have found that HOTWIRE and HDINFOxx.PRG don't get along UNLESS you place HDINFOxx.PRG BEFORE HOTWIRES' execution in the AUTO folder. The AUTOSORT.PRG will work to position HDINFOxx.PRG correctly within the AUTO folder. A BIG THANKS TO EVERYONE WHO HAS TAKE THEIR TIME TO GIVE ME FEEDBACK ABOUT THIS PROGRAM. AS ALWAYS IF YOU HAVE A PROBLEM OR A QUESTION PLEASE CONTACT ME. THANKS, Michael Todd Maxey More To Come ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 2/28/92 Version 1.5 NOTE: BEFORE YOU USE THIS PROGRAM BE SURE TO MAKE A COPY OF YOUR DESKTOP.INF, NEWDESK.INF OR NEODESK.INF FILE. NEW FEATURES AND CHANGES After considering all the suggestions I received I focused on two considerations for HDInfo Version 1.5: - Leaving space for the user to label the icon - Tighter, well behaved code I feel that I have succeeded on both of these points. The new feature which allows the user to label the icon follows the format: - The label must be 6 (six) characters or serious problems WILL arise. ie. No more, No less!!! Example: The label "Games " will become "Games 12.3M" When computing the amount of free space I have decided to follow the convention ATARI uses under the "SHOW INFORMATION" selection in the GEM Desktop. 1k equals 1000 bytes not 1024 bytes so in the above example 12.3M equals 12,3??,??? bytes (the ?'s represent truncated digits). If your hardrive gets below 1 meg of storage space instead of .999M you will get 999K. Also do to the conflict will some GEM Desktop replacements, namely DC Desktop. Version 1.5 only supports hardrive partitions C- L (10 Drives). DC Desktop is an excellent product and can give you much improved flexibility over TOS 1.xx. PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG PLUG I have just purchased the Tos Extension Card from Codehead Technologies. WOW!!! It work great. TOS 2.06 is a must for anyone who wants to put some POWER into an ol' friend. As an added note HDInfo 1.5 works great with TOS 2.06. I would like to thank R.BOWEN1 for his valuable input and everyone else who has given me feedback. Again THANKS. Michael Todd Maxey More to Come ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 4/12/92 Version 1.6 NOTE: BEFORE YOU USE THIS PROGRAM BE SURE TO MAKE A COPY OF YOUR DESKTOP.INF, NEWDESK.INF OR NEODESK.INF FILE. NEW FEATURES AND CHANGES VIRUS SELF-CHECK NO!!! THIS IS NOT A VIRUS OR ANY OTHER DESTRUCTIVE TYPE CODE. THIS IS A SELF CHECK FOR THE HDINFO PROGRAM TO MAKE SURE THAT "MY" CODE IS NOT USED TO TRANSPORT OR INFECT ANY ATARI SYSTEM WITH A VIRUS. BECAUSE I AM NO MASTER OF MACHINE CODE THIS VIRUS CHECK ROUTINE IS BASED ON A WEIGHTED CHECKSUM SAMPLING EVERY 16 BYTES AND CHECKING THE FILE LENGTH AGAINST A KNOWN VALUE. THIS TEST TAKES ONLY A FEW EXTRA SECONDS BUT COULD SAVE YOUR REAR OVER THE YEARS. THE TWO MAIN WAYS A VIRUS INVADES A EXECUTABLE FILE ARE: 1: ATTACHING ITSELF TO THE BEGINNING, END OR BOTH OF AN EXECUTABLE FILE. THIS TRICK CHANGES THE FILE LENGTH. 2: IMBEDDING ITSELF IN AN EXECUTABLE FILE. EXAMPLE: A VIRUS WHICH IS 150 BYTES LONG (YES, 150 BYTES LONG AND SOME VIRUSES ARE EVEN SMALLER!) CLIPS/DESTROYS 150 BYTES OF CODE INSIDE A EXECUTABLE FILE. THIS TRICK CHANGES THE WEIGHTED CHECKSUM RESULT. THE GRAF/X VIRUS CHECK ROUTINE CHECKS FOR BOTH OF THESE CHANGES ON THE HDINFO16.PRG. THE PERCENTAGE DISPLAYED IS THE PERCENTAGE OF THE PROGRAM THE PROGRAM HAS CHECKED. IF ANY DIFFERENCES ARE ENCOUNTERED THE PROGRAM WILL GIVE YOU THREE OPTIONS: 1: KILL PROGRAM I.E. DELETE. THIS IS THE DEFAULT AND IS THE BEST WAY TO ASSURE DESTRUCTION OF THE INFECTED CODE. 2: EXIT I.E. EXIT PROGRAM. 3: CONTINUE I.E. "A GRAM OF PREVENTION WEIGHS MORE THAN YOUR BRAIN" GENETIC DEFECT. IF YOU SELECT THIS OPTION FOR ANY OTHER REASON THAN TO ISOLATE THE CHARACTERISTIC OF A VIRUS THAT HAS INVADED THE HDINFO PROGRAM YOU ARE A COMPLETE MORON AND SHOULD BE POLICED FROM THE GENE POOL. I HAVE INCLUDED THIS OPTION TO AID IN THE IDENTIFICATION OF DESTRUCTIVE CODE AND ASSUME NO RESPONSIBILITY FOR ANY PERSONS LACK OF COMMON SENSE. THIS SELF CHECK ROUTINE WILL HOPEFULLY REDUCE THE CHANCE THAT YOUR SYSTEM WILL BE INFECTED BY A VIRUS VIA HDINFO PROGRAM VERSION 1.6 AND ABOVE (YES, DEVELOPMENT CONTINUES). Version 1.6 also supports hardrive partitions C-N (12 Drives). Also my address has changed Michael Todd Maxey 1849 Plaza Drive Apt. # 2344 Garland, Texas 75041 United States of America The P.O. Box listed at the beginning of this doc is still valid. A BIG THANKS TO EVERYONE WHO HAS TAKEN THEIR TIME TO GIVE ME FEEDBACK ABOUT THIS PROGRAM. AS ALWAYS IF YOU HAVE A PROBLEM OR A QUESTION PLEASE CONTACT ME. THANKS, Michael Todd Maxey LOOK FOR IT!!! HDINFO VERSION 2.0 AUGUST 1992 FREEWARE FROM GRAF/X AND ROBERT BOWEN MICHAEL TODD MAXEY STEVE DIXON MORE TO COME ***************************************************************** -UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE-UPDATE- 4/17/92 Version 1.7 NOTE: BEFORE YOU USE THIS PROGRAM BE SURE TO MAKE A COPY OF YOUR DESKTOP.INF, NEWDESK.INF OR NEODESK.INF FILE. NEW FEATURES AND CHANGES UPDATED USER SKIP FUNCTION THE USER SKIP FUNCTION I SNOW ACTIVATED USING THE LEFT AND RIGHT SHIFT KEYS. DEPRESSING THE LEFT SHIFT KEY BEFORE PROGRAM EXECUTION AND HOLDING IT WILL CAUSE THE PROGRAM TO SKIP THE VIRUS CHECK ROUTINE. DEPRESSING THE RIGHT SHIFT KEY WILL CAUSE THE PROGRAM TO SKIP BOTH THE VIRUS CHECK AND THE HDINFO ROUTINES. IN BOTH CASES YOUR CHOICE WILL BE DISPLAYED ON THE SCREEN. CREDITS SCREEN UPDATE THE CREDITS NOW DISPLAY THE CURRENT TOS VERSION NUMBER. A BIG THANKS TO EVERYONE WHO HAS TAKEN THEIR TIME TO GIVE ME FEEDBACK ABOUT THIS PROGRAM. AS ALWAYS IF YOU HAVE A PROBLEM OR A QUESTION PLEASE CONTACT ME. THANKS, Michael Todd Maxey LOOK FOR IT!!! HDINFO VERSION 2.0 AUGUST 1992 FREEWARE FROM GRAF/X AND ROBERT BOWEN MICHAEL TODD MAXEY STEVE DIXON MORE TO COME