home *** CD-ROM | disk | FTP | other *** search
- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
- * Note on SCR-DMP.ACC and IMG_SHOW.PRG *
- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
-
- SCR_DMP.ACC
-
- You just have to put this program on your boot disk. Then when
- pressing on ALTERNATE-HELP it will produce images successively named
- DUM001.IMG DUM002.IMG (etc...) on your boot disk. If you wish to change
- the disk where the file will be written after pressing ALT-HELP, just
- call the accessory in the desk menu and click on the CHANGE button in
- the alert that will be shown. If you want images to be produced in PPM
- format, call the accessory and press on IMG button. It will turn in PPM
- button.
-
- Note : IMG format is not a portable format if you have a graphic card
- not compatible with the ATARI screen format. In this case you should
- prefer PPM format. This is unless you want to reread images with
- IMG_SHOW.PRG program.
-
- For programmers :
-
- You can use this dump on your programs by using the Scrdmp() system
- call. If you do, put Vsync() and evnt_timer(5000,0) calls just after the
- Scrdmp() so that the screen won't be altered until the dump occurs. In C
- your program should look like :
-
- #include <tos.h>
- #include <aes.h>
- int main(void);
- void dump_screen(void);
- int main()
- {
- appl_init();
- /* your program */
- /* ... */
-
- /* now you want to dump the screen */
- dump_screen();
-
- /* continuation of the program */
- /* ... */
- appl_exit();
- exit(0);
- }
- void dump_screen()
- {
- Scrdmp();
- Vsync();
- evnt_timer(5000,0);
- }
-
- IMG_SHOW.PRG
-
- This program can show images if their format is IMG or XIMG. After
- you launch it, you will obtain a file selector. You can select an image,
- then you will be asked whether you want to load other images or not. If
- you want, reply YES and repeat the operation. The only limit to this, is
- the amount of memory you get on your computer. Note that if the image's
- name ends with numbers, the program will automatically load the
- successive images. Then when images are loaded an alert will show you
- the commands : press
-
- '+' if you want the images to go forward
- '-' if you want the images to go backward
- '*' to go back and forth.
- '1' to '9' to control the speed of showing from 25 to 1 images/sec
- '0' for maximum speed
- 'H' if you want the images to be displayed hazardly (back and forth)
- 'ESC' to quit the show
-
- Showing can be made only if the resolution of the image fits to the
- current video mode of the computer i.e. same dimension and number of
- colors (exept for the true-color that will show 16 Mcolors images). If
- images have different palettes it may show, depending on the video mode,
- a black transition between images. In this case, you won't be able to
- control the speed of the show.
-
- These two programs are written by François LE COAT. They are
- freeware. You can distibute it but not sell them. They work under
- restrictions on every ATARI machine, including all FALCON's video modes,
- clones with graphic cards etc.
-
-