home *** CD-ROM | disk | FTP | other *** search
- vcFos/2 -- OS/2 Virtual FOSSIL Driver
- ----------------------------------------------------------------
-
-
-
- Hi!
- ---
-
- This is the README for vcFos/2, the OS/2 virtual FOSSIL driver
- for cFos/2.
-
- For more info on how to contact us etc., see README.OS2.
-
- For registering information see the ORDER.* files.
-
-
-
-
- What is it?
- -----------
-
- vcFos/2 is a virtual FOSSIL driver for OS/2 DOS boxes. That is,
- it 'emulates' a FOSSIL driver in a DOS box. 'Emulate' means, that
- vcFos/2 is no full FOSSIL driver with it's own logic etc., but it
- simply is an interface and translator between FOSSIL functions and
- OS/2 phyiscal device drivers (PDDs).
-
- vcFos/2 does only support cFos/2 COM-ports to prevent trouble
- with other serial drivers (COM.SYS etc).
-
- vcFos/2 currently supports all FOSSIL functions including the
- 'Install/Deinstall application' functions 0x7e/0x7f. Some functions,
- however, are not fully functional, see below 'Bugs'.
-
- vcFos/2 uses a 'taming' mechanism for the 'get status' FOSSIL
- function. The status is 'cached' in vcFos/2 and only updated when
- really needed, but at least every 50 milliseconds. This should be
- ok for most applications.
-
- vcFos/2 uses internal receiver and transmitter buffers to speed up
- the receiption and transmission of data. The size of these buffers
- is currently 1kb.
-
- vcFos/2 allocates about 1kb in your DOS box for some of the FOSSIL
- functions as well as the FOSSIL and driver signatures.
-
-
-
-
- How to install:
- ---------------
-
- Include a line in your CONFIG.SYS file like:
-
- DEVICE=c:\cfos\vcfos.sys <settings>
-
- The settings map FOSSIL ports to OS/2-COM-ports. They look
- like <FOSSIL-port>=<COM-port-name>, i.e. the following example
- would load vcFos/2 and map FOSSIL port 2 to COM5 and port 3
- to COM6:
-
- DEVICE=c:\cfos\vcfos.sys 2=COM5 3=COM6
-
- The other COM-ports will not be supported by vcFos/2. vcFos/2
- will give control to the next driver in the INT 14 chain. Use
- vcFos/2 only on cFos/2 ports for now. This may be enhanced in
- a future version.
-
- Note: FOSSIL ports start at 0, COM ports start at 1. So, many
- DOS software that uses FOSSIL lets you set the COM-port as
- COMx. The above example will create COM-ports in the
- DOS-boxes named COM3 (FOSSIL port 2) and COM3 (port 3).
-
- If you do not specify any settings, vcFos/2 will load with
- the FOSSIL ports 0-7 mapped to the OS/2-COM-ports COM1..COM8,
- but will only support those ports cFos/2 is loaded for.
-
- You may specify up to 8 port mappings.
-
- When vcFos/2 is loaded it checks for cFos/2 of at least version
- 0.81. If none found, vcFos/2 will beep and not load.
-
- vcFos/2 MUST be loaded in CONFIG.SYS; it can NOT be loaded at
- the DEVICE entry of a DOS-Box.
-
-
-
-
- How does this mapping work?
- ---------------------------
-
- vcFos/2 provides up to 8 FOSSIL ports in a DOS-Box. Those FOSSIL
- ports have numbers, starting at 0. You may specify a "mapping"
- for each FOSSIL port to an cFos/2 COM-port, i.e. you specify
- which cFos/2 port is accessed, when a certain FOSSIL port is
- accessed.
-
- Regard the following example:
-
- DEVICE=CFOS.SYS COM5
- DEVICE=VCFOS.SYS 7=COM5
-
- When you open a DOS-box, you may now access the FOSSIL port 7
- (which, because of the naming convertions mentioned in the
- above paragraph is often named COM8) _from_inside_the_dos_box_!
-
- The vcFos/2 COM-port namings inside a DOS-box have nothing
- to do with those names of the OS/2 (or cFos/2) ports! As you
- see, the DOS-box-COM-port COM8 is "routed" to the OS/2 COM-port
- COM5 by vcFos/2.
-
- Be sure that you specify the right FOSSIL ports in your
- DOS-software. If some mailer were to be installed under the
- above example, you would have to set the COM-port to 8, or COM8.
-
- Note that vcFos/2 will only map ports made available by cFos/2.
-
-
-
-
- How to run DOS applications from OS/2 applications:
- ---------------------------------------------------
-
- vcFos/2 will issue a 'device open' call to cFos/2 if the user
- does an FOSSIL 'open' function. This 'device open' is done with
- sharing and SHARE_DENYNONE mode and may fail if the port was
- initially opened in any other mode.
-
- I tested vcFos/2 with XENIA 1.98 (OS/2) and it did not work.
- This may be, because XENIA up to 1.98.03 opens the COM ports
- in SHARE_DENYALL mode and the subsequent open request of vcFos/2
- fails. Registered XENIA users should use 1.98.04, which works ok.
-
- So far I did not test any other OS/2 applications with vcFos/2,
- so just experiment yourself and mail me the results.
-
-
-
-
- Case studies:
- -------------
-
- I successfully tested vcFos/2 with:
-
- FrontDoor 2.20, Telix 3.50 (FOSSIL support), Terminate 3.00,
- BinkleyTerm 2.50ee
-
-
-
-
- Known Bugs
- ----------
-
- -- Does not support Ctrl-C/Ctrl-K check so far.
-
-
-
-
- Debugging
- ---------
-
- vcFos/2 creates a small logfile named C:\VCTRACE. This file will
- contain some info on the loading process and other. You may
- dump FOSSIL tracing info to this file as well, see CFU.DOC.
-
- This type of debugging is crude, but may help in some cases.
-
- As a matter of fact, it is not possible to display data while
- a VDD is loaded, so all status and error messages of the
- loading process are written to C:\VCTRACE. Have a look at this
- file if something works weird.
-
-
-
-
- Differences to cFos/DOS
- -----------------------
-
- -- No statusline
- -- No ISDN appendage
- -- Only parts of the INT 14 support (e.g. no baudrate-change hangup
- feature and only the 4 FOSSIL status bits)
-
-
-
-
- More restrictions
- -----------------
-
- -- No special cFos/2 support. In the future vcFos/2 will recognize
- cFos/2 and support it. This will speed up some things.
-
-
-
-
- Plans for the future / EOF
- --------------------------
-
- Fix the above listed bugs, differences and restrictions.
-
-
- Thanx for using a member of the cFos family.
-