Well here it is folks! At last you can view your collection of jpeg
images on your Atari 8-bit! This is version 0.4 (22 Dec 00)
of Juddpeg for the Atari. For those of you who don't know,
Juddpeg is the jpeg decoder and
viewer for the C=64, written by Stephen L. Judd and Adrian Gonzalez.
This version supercedes the release dated 17 Nov 00. The following improvements have been made:
Have you found a bug? Do you have an idea for further improvements? Do you have a jpeg image that breaks the program? If so, send me an e-mail.
This version should work fine on most jpeg images out there, if you have problems displaying certain images then using the jpegtran program on a Unix machine may fix it:
jpegtran input.jpg > output.jpg
Then try displaying the new image with a8jdpeg.
64K and greater machines also have the above modes available with 2 screens, increasing the number of grey levels available with flickering.
The image can be saved in Micropainter (62 sector) format, and the raw data can also be saved to a disk file. This will be saved as a 64000 byte file, 320x200 pixels, with 1 byte = 1 pixel. No header information is added to this file (so it really is raw image data).
This version should work with any 48K or more 8-bit Atari computer. To get the Graphics 9 modes you do need a GTIA chip though =) Since it doesn't use any memory below $2000 (except for pages 4 to 6 and the top half of page 0) it should also work with most DOS's. The 64K modes also use the RAM hidden under the OS, so might crash any DOS's that use that area. If you do have any trouble with it on your system, then let me know along with details of your set up.
D:ATARI.JPG | load a file called ATARI.JPG from D: |
D:ATARI | load a file called ATARI.JPG from D:, .JPG added automatically |
D:ATARI. | load a file called ATARI from D:, .JPG not added automatically |
To display a directory type in a directory mask using wildcards instead of a file name. The above rules for file names also apply:
D:*.* | display contents of D: | ||
D:*.JPG | display all files with .JPG extension on D: | ||
D2:* | display all files with .JPG extension on D2:, .JPG is added automatically | ||
D2:PIC?? | display all files that start with "PIC" followed
by 2 characters and have a .JPG extension on D2:, will match
PIC01.JPG, PICEL.JPG, PIC75.JPG, etc.
D8:PICS:PIC?? | display all files that start with "PIC" followed
by 2 characters and have a .JPG extension in PICS subdirectory on D8:,
will match PIC01.JPG, PICEL.JPG, PIC75.JPG, etc. This assumes your
DOS supports subdirectories
| |
To return to DOS press the RETURN key, leaving the file name empty. The file name can be up to about 60 characters long. An error here probably means you mistyped the file name. If successful the image size will be displayed and you will be asked for the row and column offsets, these default to 0 and you can just press RETURN. Since jpeg images can be (much) bigger than 320x200, you can specify here at what row and column you want a8jdpeg to start displaying the image. Each unit for the row and column values equates to 8 pixels, so giving values of 4 for the row and 6 for the column would display pixel 48(6*8), 32(4*8) at the top left hand corner of the screen. Finally you will be asked for the graphics mode you want to view the image in, select one of the options from the menu.
The screen will then start to flash as the image is decoded and displayed. While the image is being decoded you can press the s key to toggle the screen, speeding up image decoding. Pressing the ESC key while the screen is flashing will abort everything and take you back to the file name prompt, pressing the R key will abort and allow you to change the display parameters for the image. Once the image has been decoded the screen will stop flashing, and you should be looking at your jpeg. Pressing the ESC key will take you back to DOS, pressing either the RETURN or SPACE keys will take you back to the a8jdpeg menu. The R key will let you redisplay the same image with different parameters. The + and - keys will allow you to cycle through different colour values.
Screen shot taken using Atari800's interlaced screenshot option.
Any problems, suggestions, comments, bugs, feedback? Let me know
Thanks to:
Stephen L. Judd - for writing the original C=64 version, and making
the source available
Also thanks to:
René de Bie, Mathy van Nisselroy, TJ Edmister, Marco Antonio Checa
Funcke, James Bradford, Chris Martin, Andreas Magenheimer, Piotr
Fusik, Daniel Miller - for comments, suggestions, ideas,
feedback and other help.