TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mark Kobussen
from: Alan Clifford
date: 1996-06-14 21:17:06
subject: EMX

Hello Mark

Replying to a message of Mark Kobussen to All:

 MK>        I'm wondering if anyone who has used EMX can tell me how it
 MK> compares to several of the DOS compilers (Turbo C++ 3.0, Power C).
 MK> I'm also wondering where I can get it, hopefully WWW\FTP, but I'd be
 MK> more than happy to FREQ it from someone.

An interesting combination of compilers.  I have a program that started of
in Power C, went through TC v1.something and now is under EMX. It still
uses some of the Power C functions with the help of some #defines:

#if !defined (U2LOG_H)
#define U2LOG_H
#pragma nestcmnt

/* useful bits */
#ifdef __TURBOC__
#define cursoff() _setcursortype(_NOCURSOR)
#define cursblk() _setcursortype(_SOLIDCURSOR)
#define curslin() _setcursortype(_NORMALCURSOR)
#define curson() _setcursortype(_NORMALCURSOR)
#define clrscrn() clrscr()
#define poscurs(r, c) gotoxy(c+1, r+1)
#define curscol() (wherex()-1)
#define cursrow() (wherey()-1)
#define V_PRINTF printf
#endif

#ifdef __EMX__
/* #include */
#define cursoff() v_hidecursor()
#define cursblk() v_ctype(0. 7)
#define curslin() v_ctype(0, 1)
#define curson() v_ctype(0, 1)
#define clrscrn() v_clear()
#define clrscr() v_clear()
#define poscurs(r, c) v_gotoxy(c, r)
#define V_PRINTF v_printf
char *stpcpy(char *dest, const char *orig);
int curscol(void);
int cursrow(void);
#endif

char *eventlogging(char *eventlog_p, char *envlogvar1_p, char
*envlogvar2_p, char *exename_p, char *idname_p);
char *create_message(char *format, ...);
int write_event_log(void);
#endif /* !defined (U2LOG_H) */



Alan

--- FleetStreet 1.14 NR
* Origin: Alan's Point on Donor/2 (alanc{at}donor2.demon.co.uk) (2:440/4.6)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 440/4 141/209 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.