home *** CD-ROM | disk | FTP | other *** search
- . . . . . . . . . . . . . . . . .
- F O X P C X
- . . . . . . . . . . . . . . . . . . . . . . .
- Version 3.0 Oct 28, 1994
- . . . . . . . . . . . . . . . . .
- . . . . . . . . . . . . .
- . . . . . . . . . . .
- . . . . . . . . .
- . . . . . . . . .
- . . . . . . .
- . . . . . . .
- . . . . . . .
-
-
-
- FOXPCX (c) 1991-1994 Master Creative Software, Inc.
- All Rights Reserved
-
-
- Documentation
- (revised Oct 28, 1994)
-
- Support: BBS (201) 585-7002, COMPUSERVE: 70713,2002
-
-
-
-
-
- What's New !
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- 24 Bit (16 million color ) PCX file now supported
- automaticly detects image size and colors
- added full page pan left and right as well as up and down
-
-
- A BBS system has been set up for additional support. The phone number is
- 201-585-7002. Baud rates of 300-14400 supported, 8 data bits ,no parity
- and one stop bit should get you in. XMODEM, YMODEM , KERMIT, ASCII and ZMODEM
- protocols are supported for downloading files.
- The latest demos, patches etc will be on the BBS first. Support will
- continue on Compuserve as before. BBS software updated Sept 10, 1994
-
-
- Introduction
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- FOXPCX is a small loadable PLB file that will allow the display of
- ANYSIZE B&W or color PCX (up to 16 MILLION colors ! ) file from within
- FOXPRO without using the RUN command ! FOXPCX becomes part of FOXPRO when
- loaded. FOXPCX utilizes XMS memory or it's own Virtual Memory System
- to manage large images and to speed viewing. PCX files can be viewed
- from a regular dos file or directly from a FOXPRO memo field. FOXPCX
- supports all standard VGA and many SUPER VGA hardware configurations
- by way of loadable screen drivers. The screen drivers are loaded from
- a disk file or optionally a Foxpro memo field. A typical call to
- FOXPCX would look like : =VIEWPCX("FROGG.PCX","VGA.DRV").
-
-
-
- Evaluation Copy Limitations
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- If you have the evaluation version only 3 of 36 screen drivers
- are supplied. In addition MEMO fields are not supported for
- IMAGES, they are for drivers. This version will not work in a
- shared network environment. An annoying evaluation copy
- message pops up on each invocation of the VIEWPCX Function.
- To remove all of these restrictions PLEASE Register !
-
-
-
- FOXPCX.PRG DEMO Application
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- Included with this package is a demo program called FOXPCX.PRG
- This is a small demonstration program that will ask the user to
- select a PCX image to view. It asks the user for the screen driver
- ,memory type to use and page buffer size. FOXPCX.PRG will look for
- the DRIVERS database which is included.
-
- Feel free to use any part of the demo code in your application.
- When using FOXPRO(X) you must select Virtual Memory System option,
- or set MEMLIMT to leave at least 512-1MB of free XMS memory for FOXPCX.
- I also reccomend using a 8K page buffer when using VMS. Select a screen
- driver that matches the hardware you are running on. The Standard VGA drivers
- should work on any VGA card. If you have a SVGA card that has VESA
- suport (most do) the VESA driver should be used for maximum compatibilty
- and resolutions.
-
-
- PLB Parameters and ussage:
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- Set Libray to FOXPCX
- =ViewPCx(<paramr 1>,<param 2>,<param 3>,<param 4>)
-
- Parameter 1 is a string containing the PCX file name or a FOXPRO memo field
- reference. The image file must be a valid 2 color B&W or 16-16M color PCX
- file. The image may as large as your XMS memory limit or diskSpace. A memo
- feild reference must be precceded by a @ ie) @IMAGEDBF->IMAGE, Alias must
- be used if not currently selected database which, might be the case if you
- are loading screen drivers from memo fields.
-
-
-
- Parameter 2 is a string containing the screen driver file name or a FOXPRO
- memo field reference of which contains the screen driver .
- A Screen driver is a binary file that that is loaded into memory
- and executed. Several drivers are provided for Standard VGA and many popular
- SVGA cards. See DRIVERS.DBF for a list. DRIVERS.DBF contains all of the supported
- drivers in a memo field called DRIVER. You can load the screen driver
- directly from this file or copy the memo feild to a dos file .
- ie) Copy memo DRIVER to TRIDENT.DRV . A memo feild reference must be precceded
- by a @ ie) @DRIVERS->Driver, Alias must be used if Not currently selected
- database which ,might be the case if you are loading screen drivers from
- memo fields.
-
-
- Parameter 3 is of numeric type , it can be either a 0 or a 1. This parameter
- instructs FOXPCX which expanded memory scheme to use. 0 for XMS or
- 1 For Virtual. FOXPRO(X) users need to use the virtual option.
- When using XMS memory you need to make sure that at least 512K of XMS memory
- is free. This should allow the viewing of 800X600X256 Image Larger Images
- Should leave more free. IF you are using a memory manager like qemm386
- that can make available EMS and XMS from the same memory pool you can set EMS
- setting in config.fp to some amount that will be 512K less then the total
- EMS in the system or What FOXPRO will use. ie; If you have 2048K or 2MB of
- Free EMS then set EMS=1536 in your config.fp file. The Virtual Memory Option
- will Create a (Unique File for LAN) SWAP file and will delete it when completed.
- XMS and OR Virtual memory are needed to view Large Images. A 800X600x256
- Image requires 480,000 Bytes of memory ! The Swap File
-
-
- Parameter 4 is of numeric type , it can be either a 0 or a 1. This parameter
- instructs FOXPCX which size page buffer to use. The page buffer is used to transfer
- a page of Expanded memory from and to either XMS or Virtual memory Use
- 0 for a Small 4k buffer and use 1 for Large 8k buffer.
- The 8K buffer will speed things up when using Virtual memory option other-
- wise use small page buffer. This Memory is allocated from FOXPRO.
-
-
- Parameter 5 is of numeric type , it is used to set the amount of time
- that a image will appear on the Screen. The number represents MS DOS timer ticks
- (18/Second) to wait. One this time is expired The Image is left on the screen
- and it is upto you to call TextMode() to put the screen back into the proper
- mode. This allows you to display a Image for a certain amount of time while giving
- the option of doing something else in the background while the image is
- displayed. Like Playing a Voice or Music File. If 0 is use as the Timeout
- The User Must hit Escape to Exit the Image and Cursor Keys (panning) is in
- affect for Images larger than the Screen TextMode is automaticly called
- in this case. TextMode is called automaticaly on Unloading of PLB.
- You can pass a timeout of -1 for FOXPCX to return to your application
- as soon as it paints the image on the screen , no delay.
-
-
- Programming Examples
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- Set Libr to FOXPCX && Make FOXPCX a part of FOXPRO
- =Viewpcx("Frogg.pcx","VGA.DRV",1,0,0) && View the PCX file && Call the Viewer
-
- View the Frogg.pcx File with Standard VGA Driver File VGA.DRV using
- XMS memory and a small Page Buffer..
-
- Set Libr to FOXPCX
- =Viewpcx(@IMAGE",@DRIVER",0,1,1) && View the PCX file
- DO SoundIntro
- =TextMode()
-
- View the image file contained in memo field IMAGE. Use Standard VGA Driver
- Located in the MemoFeild DRIVER . Use Virtual Memory with a Large 8K Page
- Buffer.View The Image and return to FOXPRO for after one Second. Run a program
- called SoundIntro and Return the Screen to Text Mode.
-
-
- When using timeout of 0 :
- Once an Image is on the screen you can exit by hiting Escape.
- If the Image is larger than the screen use the arrow keys to
- move around and PGDN-PGUP to move around the image a page at a time.
- Use HOME-END to go to the top and bottom of the image.
- 0-9 keys select panning speed. Enjoy !!!!!!"
- Cntrl + Right & Left Arrow Arrow for Full page pan
-
-
- FOXPCX Requirements
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- FOXPRO 2.00 or higher (upto v2.6a supported)
- VGA or better Video Card .
- 512KB Free XMS or at least 512KB of disk Space Free.
-
-
- Error Codes Returned By FOXPCX
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- The Following function can be used to Interprete FOXPCX Return Codes..
-
- ************************************
- Procedure PCX_ERROR
- ***********************************
- Parameters _ER
-
- do case
- Case _ER=0
- return "No Errors Detected"
- * Success !
- Case _ER=100
- return "XMS driver not detected"
- ** XMS Memory Requested and not available
- ** XMS Driver may not be loaded or not enough XMS free
- ** make sure HIMEM or a memory manager like QEMM is loaded
- Case _ER=101
- return "Error allocating XMS memory block"
- ** Probably not enough XMS.
- Case _ER=102
- return "Error allocating VMS memory block"
- ** Virtual memory manager failure. Check your disk space.
- Case _ER=103
- return "Error writing XMS memory block"
- Case _ER=104
- return "Error reading XMS memory block"
- Case _ER=105
- return "Error writing VMS memory block"
- ** Error Writing to Virtual memory Swap File. Check Disk Space.
- Case _ER=106
- return "Error reading VMS memory block"
- ** Error Reading Virtual memory Swap File. Check Disk .
- Case _ER=107
- return "Error decoding PCX Image"
- ** Error PCX Decoder Error. PCX file could be damaged.
- Case _ER=108
- return "file i/o error"
- Case _ER=109
- return "FOXPRO memory allocation error"
- ** Remove TSR and/or other PLB files Etc..
- Case _ER=110
- return "error loading screen driver"
- ** Check to see if the driver is valid and exists.
- Case _ER=111
- return "error calling screen driver"
- Case _ER=112
- return "invalid driver "
- * Not a Supported Driver OR
- * driver file probably damaged.
- Case _ER=113
- return "error opening file"
- Case _ER=114
- return "FOXPCX requires VGA or better"
- Case _ER=115
- return "error opening PCX image"
- Case _ER=116
- return "error allocating XMS"
- Case _ER=117
- return "Error in Parameter 1"
- Case _ER=118
- return "Error in Parameter 2"
- Case _ER=119
- return "Error in Parameter 3"
- Case _ER=120
- return "Error in Parameter 4"
- Case _ER=121
- return "This is not a PCX file"
- Case _ER=122
- return "driver load error (size)"
- Case _ER=123
- return "error allocating driver resources"
- Case _ER=124
- return "driver does not support > 256 Colors"
- EndCase
-
-
-
-
- Revision History
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- Oct 28 1994 3.5
- added 24 bit PCX file support and upto 16 million colors
- adjustable scroll speeds
-
- Jun/94 2.5
- TextMode function added.
- Foxpro 2.5/2.6 Compatible.
-
- Mar 8, 1993 version 2.3
- Enabled Error Handler Was prev. not activated
- Fixed problem with Loading Screen driver from Disk File.
-
- March 10, 1993 Version 2.3a
- Added Workaround to Problem with FOXPRO Standalone EXE's
- See FOXBUG.TXT
-
- Jan/93 2.2 Intial Release
-
-
-
- Screen Drivers
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- All VGA/SVGA screen drivers are Copyright (c) 1991, 1993 Alchemy Mindworks
- Inc. Additional VGA and SVGA Screen Drivers and Information on creating your
- drivers own can be obtained from Alchemy. A detailed description is contained
- in the GWS.DOC file of the Graphics WorkShop. The Graphics Work Shop is a
- excellent image manager. It can convert most formats to another ie) PCX to GIF .
- In addition an excellent source of information can be found in Steve Rimmers
- books "Bitmapped Graphics", "SuperCharged Bitmapped Graphics" and
- "Bitmapped Graphics for Windows". The development of this package would not
- have been possible without the help of these excellent books.
-
-
- You can Register Graphics Work Shop from Alchemy Mindworks Inc. By Writing to :
-
- Alchemy Mindworks Inc.
- P.O. Box 500
- Beeton, Ontario
- L0G 1A0
- Canada
-
-
-
- Support
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- If you have any questions and or suggestions please send EMAIL via
- Compuseve to address 70713,2002 or leave a message on the BBS
- @ (201) 585-7002. The BBS and CIS EMAIL are checked daily.
- All Suggestions/comments are welcome and, of course, appreciated.
-
-
- WARRANTY AND LEGAL STUFF
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- FOXPCX is Copyright (c) 1991-94 Master Creative Software, Inc.
- All Rights Reserved.
-
- FOXPCX may NOT be freely copied and/or distributed with the exception of
- the demo version, which may be posted on BBS's and passed to friends as
- long as all files that come with the demo are distributed together.
-
- One registered version of FOXPCX entitles one person to use FOXPCX on one
- machine at a time. Very reasonable and flexible distribution options are
- available.
-
- There is no warranty or guarantees of any kind associated with FOXPCX.
- Master Creative Software, Inc. and the author of FOXPCX will assume NO
- responsibility for ANY damages or losses caused by the use of FOXPCX
- however it may happen and whatever may happen. Master Creative Software,
- Inc. and the author of FOXPCX will not be liable for any damages
- whatsoever due to loss of data or any other reason even if they have been
- advised of the possibility of such damages.
-
- Any risk of damage due to any possible inaccurate information or a
- misunderstanding of the provided information is assumed by the user of the
- information.
-
- By registering and/or using FOXPCX, you agree to these terms.
-
- That's it ...
-
-
-
-
- How Much does it cost ?
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
-
- One developer registration costs U.S. $55.00 ea.
-
- When Registering via Compuserve the costs are a little more due to charges
- incurred from Compuserve for using the on line registration service which
- is exactly 15%. It costs roughly $10.00 more to register on line.
-
-
- Multiple Copy Distribution:
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- If you plan to distribute multiple copies of FOXPCX you are required
- to purchase a distribution licensce. To obtain one you must have at least
- one registered developer version of FOXPCX and must pay an additional
- $3.00/copy for the amount of copies you will be distributing up to a
- maximum of 100 copies. When 100 copies are registered at the $3.00/copy
- price then distribution is unlimited and royalty free.
-
-
- Distribution
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- This Software may be distributed with your application
- when properly registered.
-
-
- How To Receive FOXPCX
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- You can receive FOXPCX by sending the order form below with a
- check or money order, payable to Master Creative Software Inc.
- in U.S Funds for the total amount.
-
- Mail to: Master Creative Software, Inc.
- 1530 Palisade Avenue
- Suite 16C
- Fort Lee, N.J. 07024
-
-
- ** Registration on Compuserve **
-
- You can also register FOXPCX via the Compuserve shareware
- database. GO SWREG the charge will billed to your Compuserve
- account.
-
- Multiple distribution licenses are available separately..
-
-
-
- --------------------- FOXPCX ORDER FORM -------------------------
-
- Where did you obtain FOXPCX?
-
- Compuserve [ ] Your I.D. # _____________
-
- BBS [ ] Which BBS ______________
-
- Phone#? ______________
-
- Friend [ ] ? ______________
-
-
- How would you like FOXPCX shipped ? There are three choices:
-
- 1) [ ] EMAIL to Compuserve I.D ________________________ (usually
- same-day delivery $1-2 extra charge billed to your CIS account)
-
- 2) [ ] Download From BBS (Fill in Address Info Below and a
- Account will be set up for you on the BBS)
- Password you would like for BBS __________________
-
- 3) [ ] Send via U.S. Mail
-
- Company ______________________________________________
- Name ______________________________________________
- Address ______________________________________________
- City State Zip ______________________________________________
- Country ______________________________________________
- Phone/Fax ______________________________________________
-
- SINGLE COPY REGISTRATION
-
- qty ordered: ____ @ $______ $55.00 ea.
-
- MULTIPLE COPY REGISTRATION ADD
-
- ____ copies @ $3.00 per copy. Maximum 100 copies. There is no
- additional cost for distribution once the maximum 100 copies
- have been registered. 1 Developer @55.00 + 100 copy registrations @$3.00 per
- copy entitles you to unlimited distribution.
-
- $_________ License Fee @ $3.00/copy ($300 =unlimited)
- $_________ N.J. res. add 6% sales tax.
- Total: $_________ Payable in U.S. Funds
-
-
-
-
-