home *** CD-ROM | disk | FTP | other *** search
- *** Merry Christmas and Happy New Year ***
-
- uShow: the smallest, fastest, CLI only single picture viewer
-
- Original author: Darrin Massena
- Modified by: Andry Rachmat
-
- Usage:
- uShow filename
- where filename is the IFF file, DON'T include quotes if the filename
- has space(s). It cuts the code size, but only ables to show a single file.
- It also has no error messages. It will just quit if any error encountered
- in the process. This again is to cut the code size.
-
- Modification on version 2.0:
- o It will show brushes in the correct resolution. Thanks to SCARY
- (Mike Scalora) for the help.
- It will show an overscan picture, but it might not be in the correct
- position. Lots of code for the correction, I think.
- o It is 76 bytes smaller (8% less), but changing here and there, and
- cut some of the stuff. Do you know that you don't need to open
- the graphics library to get the GfxBase if you are already opened
- the intuituion library? Yes, the GfxBase is on the IntuitionBase.
- o It is a bit faster, I cut the colormap reading into one read.
- The original one reads the colormap in 3 bytes at a times, so
- if there is 32 colors it will read 32 times. Compare to only
- one read this of course will cut the disk access time. Disk is
- slow compare to the memory.
- o There are two ways to exit the program, window close gadget (which is
- hidden), and any keys entered. This key input might be less desire
- if you want to grab the picture using 'Grabit' or whatever.
- You can recompile to source, and eliminating the 'RAWKEY' for the
- window definition, or you can zap the file. Load it to 'Newzap',
- go to the end of file, position 12A hex will have a 06 hex byte.
- Change this 06 hex to 02 hex, and you are in business.
- o This is my first assembly program. I think I got it right, so please
- let me know if anything strange going on.
- It had problem on the earlier release, I changed something and
- in the process something else got screwed. I think I fixed it.
- o Lastly, if you like this program please spread it around!
-
-