Version 2.0 15 Jan-90 CALL PT the PORT commands There are 7 commands that control ports. A port is analogous to a super hi-res screen, it differs from a Quickdraw II port in that it has 16 palettes and 200 SCB's in it. Remember that everything goes on in ports, you need to create them before you use them and you need to point to them before drawing in them. Port 0 is always the super hi-res display screen at $E1/2000 and is initialized when the Call Box BASIC interface is started-up. Simple applications may only need this port for all of their graphics.
N Port I.D. number 0-31. Port 0 is always the super hi-res screen display at $El/2000. "pathname" A ProDOS 8 pathname of the picture you wish to load. This picture should be filetype $Cl (unpacked super hi-res picture format). N1 The source port I.D. number. N2 The destination port I.D. number. X1 The left edge of the source rectangle. Y1 The top edge of the source rectangle. X2 The left edge of the destination rectangle. Y2 The top edge of the destination rectangle. W Width in pixels of the rectangle. H Height in pixels of the rectangle. |