//==========================================================================
//
//  Version header file
//
//                              (C) n.v. dZine
//
//==========================================================================

extern char com_version[];

#ifdef DIGICOM
#define PREFIX  "(c) n.v. dZine Belgium, Communication (incl. Digiboard) library "
#else
#define PREFIX  "(c) n.v. dZine Belgium, Communication library "
#endif

// Use this in appropriate source files for library or main file for application.
#define INSERT_VERSION      char dummy = *com_version;

// Returns pointer to full version string
#define GET_FULL_VERSION    (com_version)
// Returns pointer to version string (includes "Ver. ")
#define GET_VERSION     (com_version + sizeof(PREFIX) - 1)

/*** Version history:

???????????             First coding and releases

20-May-1992             - User functions can be called right from the Tx and Rx
                          interrupt now! See com_u?x_handler(), u_?set_uptr(),
                          u_start_tx() (Be careful...)
29-Jan-1993             - Now 2 stop bits possible when 8 data bits + parity bit
                          (Added COM_F8BEP2S and COM_F8BOP2S as new formats)

30-Nov-1993   01.01     - First release with a version number
                        - C8.00 compatible now
                        - com_start_tx called from urxhandler (thus from irq):
                          l_stat not updated, thus irq handler re-loads from
                          i8250 to decide to Tx or not...
01-Dec-1993   01.01.01  - com_start_tx() disables irq
              01.01.02  - com_start_tx() always updates l_stat
                          irq handler again checks l_stat to decide to Tx...
              01.01.03  - back to 01.01.01
06-Dec-1993   01.01.04  - some 'nop'-kes before checking THRE (ha-ha)
                        - check_stack off for com_dtr, com_rts, com_start_tx
                          (CDMP calls these during interrupt)
                        - com_dtr, com_rts disable irq during patch m_ctrl var.
06-Dec-1993   01.02     - Removed 'nop'-kes again (was indeed ha-ha)
                        - Delay (3 x inp()) in com_start_tx()
                          (service the first interrupt somewhat later)
14-Dec-1993   01.03     - Added: com_tx_buf() and com_tx_string() functions
15-Feb-1994   01.04     - Added: com_set_ustack() function. when it is called,
                          the COM will switch to a user stack when calling the
                          URX and UTX handlers from within interrupt.
14-Mar-1994   01.05     - Switched to Visual C++, ver. 1.5
02-Aug-1994   01.06     - Changed detection for valid UART so that it also
                          supports the 16550 chip.
06-Oct-1995   01.07     - Changed so that the 16550 is detected, but also DISABLED
                          (since COM library does not support the FIFO functionality)
10-Nov-1995   01.07.01  - Added support for Digiboard
                        - com_define now returns error if no valid rx- or txbuffer passed
28-Nov-1995   01.08     - Release version for GT2 1.11
29-Oct-1996   01.09     - Complete rebuild, removed #include <dZine/utils.h>.
21-May-1999   01.10		- Bug fix : when using an interrupt higher than 8 the base is 0x70 in com_open
                          Bug fix : when specifying an interrupt for COM_1 or COM_2 override
                                    the default settings !
15-Jun-1999	  01.11		- Bug fix : when restoring the interrupt handler in com_close the same error was
									made as in com_open.
17-Apr-2000   01.12		- Added com_reset()
19-Apr-2001   01.13     - Complete rebuild !									
							
***/

#define MAJOR_VERSION       "01"
#define MINOR_VERSION       "13"
//#define INTERNAL_VERSION    "01"    // Please comment this line for release versions

