home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / TC4OS22.ZIP / TC4OS2.TXT < prev    next >
Text File  |  1989-02-27  |  2KB  |  47 lines

  1.  
  2. Copyright (C) 1988, 1989 by FreeLance Programming - All rights reserved.
  3.  
  4.  
  5. Use Turbo C to write code for OS/2?  Sure!  The following restrictions
  6. should be noted:
  7.  
  8. 1) Many of the Turbo C library routines will NOT work (and some of them
  9.    will even cause unresolved external errors at link time).  In general
  10.    you should use the OS/2 API calls rather than the Turbo C library
  11.    routines.
  12.  
  13. 2) The replacement startup code has a hard-coded stack size (2.5k).  If
  14.    you wish to change stack sizes, you will need to reassemble this module.
  15.    Dynamic stack size setting is *not* currently implemented.
  16.  
  17. 3) No support is provided for the 80x87 or for Turbo C 2.0+'s graphics
  18.    capabilities.
  19.  
  20. 4) Only the LARGE memory model is supported (though it is easy enough
  21.    to modify C0.ASM to change this).
  22.  
  23. 5) You *must* use the OS/2 linker; TLINK will *not* work.  See the
  24.    enclosed .CMD file for an example of a correct link.
  25.  
  26. 6) For some reason, programs developed using this package will *not*
  27.    run correctly as BOUND executables.  I will be looking into this
  28.    problem for a possible future enhancement.
  29.  
  30. A couple of short sample programs are provided that have been verified
  31. to work with this (somewhat kludgy) setup.  I developed this code only
  32. to start playing with OS/2 while waiting for my MSC 5.1 package to
  33. arrive, and I strongly recommend that if you are doing serious OS/2
  34. development work that you purchase a language with real OS/2 support.
  35. However, this module *will* let you write OS/2 programs using Turbo C
  36. if you're so inclined.  If there is any real interest in this package,
  37. perhaps I'll develop replacement run-time routines for the Borland
  38. provided DOS-only ones.
  39.  
  40. For questions, support, other OS/2 (or DOS) programs, and lots of
  41. fine discussions (among other things), please call:
  42.  
  43.                 The Wizard's Workshop
  44.                 300/1200/2400 - 24hrs
  45.                   (301) - 322 - 8678
  46.  
  47.