MAC TO 64 - BY SIAMAK ANSARI - 2/88 (with 801/1525 print) This program lets you view Macpaint graphic files on Commodore 64 plus save & print option. As you may or may not know Macpaint files are 576 (horizontal) by 720 (vertical) dots. In comparison 64 screen is 320x200 dots. In this program the 64 screen acts like a window to the larger Mac screen. Load and run this program. At the prompt enter Macpaint file name (works with both PRG and SEQ files). After loading it will switch to bit map mode and the 64 screen will be at the top left corner relative to the Mac screen. (When the directory is being listed, pressing pauses the listing. Press any key to resume listing.) The following is an explanation of command keys available to you: 1) Scrolling The four cursor keys ,i.e., left,right,up and down keys will scroll the picture in the respective direction. The scrolling in horizontal direction is 8 dots (1 byte) at a time.However, scrolling in the vertical direction can be set to 1 or 8 lines at a time by pressing "1" or "8" key, respectively. This is useful for "fine tuning" for the save or print option explained below. The "R", "L", "U" and "D" keys are for "big jumps". When pressed they move the screen to the right, left, top and bottom edge of Mac picture, respectively. The "C" key positions the 64 screen at the center of Mac picture. 2) Color change When the picture is first displayed the colors are set to cyan & black.Macpaint files are monochrome and this choice of colors is usually good. But if you wish you can change the color of fore/background using F1 and F3 function keys. Pressing F5 inverts the picture. Pressing F7 changes the border color. 3) Zoom Pressing the "Z" key toggles on and off the zoom feature. This is a crude zooming effect achieved by skipping every other raster line. The resolution is somewhat reduced but it will let you see more of the Mac picture on the 64 screen and get a feel of what the whole picture looks like. All scrolling commands mentioned above are also functional in the zoom mode. I recommend that you use 1 line scrolling while in the zoom mode. 4) Save You can save at any time whatever you have on the 64 screen as a normal Doodle file. This is done by pressing the "S" key and program will then prompt for a file name. Don't forget the "DD" prefix for the file name if you intend to use it with the Doodle program. 5) Print Although you can only see a small part of the Mac picture on your 64 screen, you can print (almost all of!) it out. The printer option is activated by pressing the "P" key. The print routine is for 801/1525 or compatible printers. That means you can print only 480 dots in bitmap mode (out of 576 dots of the Mac file) horizontally. The position of the 64 screen relative to the Mac picture determines what portion will print out. The printing starts from the top left corner of the part displayed on the 64 screen and continues: a) to the right, up to the right edge of Mac picture or 480 dots, whichever comes first, b) to the bottom, up to the bottom edge of Mac picture. You will miss 96 dots (at most) of the Mac picture in the horizontal direction. You can choose it to be all from the right edge or all from the left edge or split them between the left and right edge, depending on where the 64 screen is located relative to the Mac picture. So position the 64 screen carefully. There is no limitation in the vertical direction, you can print the whole 720 lines. Also you have a choice of printing the positive or the negative image. To abort printing at any time, just hold down a key until printing stops. 6) End While in bitmap display press . You will be prompted for 3 options: To load another Mac file, to return to bitmap screen or to end the program. **************************************************************************** This program is public domain.