home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / private / mpc93mar.zip / OS2.DAT < prev    next >
Text File  |  1993-02-14  |  25KB  |  367 lines

  1.  
  2.                OS/2...  What is it?  Do I need it?  Do I want it?
  3.  
  4.                                by Brooks McNeely,
  5.  
  6.                           from the PC Register, ETPCUG
  7.  
  8.         First let me say that I have been using OS/2 since October  1988,
  9.         and  I  would never consider going back to DOS for  any  extended
  10.         period.  Every OS/2 user that I have come in contact  with  feels
  11.         the  same way. But with the large amount of misinformation  about
  12.         OS/2  published  each month in various trade  publications,  most
  13.         OS/2 users tend to be a little defensive and bring a zealotry  or
  14.         religious  fervor to their discussions of OS/2. Hopefully  I  can
  15.         refrain from such excesses.
  16.  
  17.         Well  then, what is OS/2? First let us consider some history.  In
  18.         1984  IBM came out with the AT computer based on the Intel  80286
  19.         chip. Shortly thereafter plans were made for a new version of DOS
  20.         which  would take advantage of the advanced functionality in  the
  21.         new chip. IBM contracted Microsoft for this new system and  prom-
  22.         ised  many  of their large customers that IBM would bring  out  a
  23.         system  which  would  work on 80286 computers.  Before  this  new
  24.         system  ever  even reached an announcement stage,  IBM  delivered
  25.         their  next generation of PC called the PS/2, based on  both  the
  26.         80286 chip and the newer 80386 chip. Several months later IBM and
  27.         Microsoft announced the new operating system (OS) and its first 4
  28.         incarnations. The original development effort occurred during the
  29.         period from 1985 to 1987. IBM and Microsoft announced the  sched-
  30.         ule  of  the first 4 releases in early 1987 (SE 1.0, SE  1.1,  EE
  31.         1.0,  EE  1.1)  and SE 1.0 actually shipped  early.  EE  1.0  was
  32.         several months late, but the SE 1.1 and EE 1.1 releases were very
  33.         close to the schedule.
  34.  
  35.         The  original 8086 chip had a segmented memory  architecture  re-
  36.         quiring  two 16 bit words to be combined to  generate  addresses.
  37.         Within  a  64K  block of code, the memory could  be  accessed  by
  38.         simpler  instructions, not requiring this  combination  overhead.
  39.         (The  original  IBM  PC used the 8088 chip which  had  a  similar
  40.         relation to the 8086 as the 80386SX has to the 80386DX chip). The
  41.         80286 could emulate the earlier 8086 chip by running in what  was
  42.         called REAL mode. In addition, it could also multitask in PROTECT
  43.         mode  where it could access 16 megabytes of memory per task  with
  44.         hardware protection between tasks. The 80386 chip can emulate the
  45.         earlier chips plus added at least three new modes. One mode  also
  46.         has  a segmented architecture that allows  multitasking  address-
  47.         ability  of 64 terabytes (trillion) of virtual memory;  a  second
  48.         mode  is a non-segmented, FLAT memory model which  allows  direct
  49.         addressability  to 4 gigabytes (billion) of virtual memory  (this
  50.         is  the primary mode for OS/2 2.0). Finally, in order to  correct
  51.         the  problems associated with running REAL mode  applications  on
  52.         the  80286,  a new "virtual" REAL mode emulation mode  was  added
  53.         with  the added advantage that multiple instances  are  available
  54.         with full protection.
  55.  
  56.         Early delays were caused by the difficulty in providing transpar-
  57.         ent  compatibility running DOS programs on the 80286 chip.  Rumor
  58.         has  it that Microsoft wanted to bypass the 80286 and  make  OS/2
  59.         80386 specific, but IBM insisted on honoring their commitment  to
  60.         their  80286 customers. OS/2 1.x is totally compatible  with  the
  61.         80286  chip and will run acceptably on an original IBM PC  AT  (6
  62.         mhz). Unfortunately few people with this hardware are  interested
  63.         in running OS/2.
  64.  
  65.         IBM and Microsoft made many mistakes in their original marketing,
  66.         primarily  because they felt that most users would recognize  the
  67.         obvious advantages of OS/2 and would convert en masse. One of the
  68.         biggest  mistakes  was  in the name -DOS 5.0 would  have  been  a
  69.         natural,  but IBM especially wanted a new name they could  trade-
  70.  
  71.         mark, plus OS/2 would associate the system with their new line of
  72.         personal  computers  -the  PS/2. (This turned out  to  hurt  OS/2
  73.         because many users to this day think that OS/2 will only run on a
  74.         PS/2).  Curiously, the trade press at the time reported the  name
  75.         of the new OS would be DOS 5, DOS 286, CP/DOS, AOS, and others.
  76.  
  77.         Microsoft  would  finish a release of OS/2, ship it  to  IBM  for
  78.         their internal testing and modifications to take advantage of IBM
  79.         hardware,  then  when IBM availability was  announced,  Microsoft
  80.         would send OS/2 to other OEM licensees for similar  improvements.
  81.         This would give IBM a head start (and marketing advantage).  This
  82.         advantage, plus the lack of any mass adoption of OS/2 caused  the
  83.         OEM's  to not emphasize OS/2. Many OEM's never shipped a  release
  84.         past  1.1 and some never shipped a version at all. Most  releases
  85.         were at least 6 months or longer after the IBM version.
  86.  
  87.         Some of OS/2's perceived drawbacks were considered its strengths.
  88.         Being  a  multitasking  operating system,  applications  are  not
  89.         allowed to write directly to the hardware since another  applica-
  90.         tion  may  also  be using the hardware  concurrently.  OS/2  will
  91.         intercept  such  requests  and communicate to  the  hardware  via
  92.         device drivers. Any new device can be added to an OS/2 system  by
  93.         merely supplying a suitable device driver. Without any  marketing
  94.         pressure, many hardware vendors have never provided OS/2  drivers
  95.         for  their hardware. Unless the hardware mimics a device  with  a
  96.         pre-existing  driver  closely enough, the device cannot  be  used
  97.         under OS/2. These problems can be irritating enough with  devices
  98.         like  fax  boards,  printers, CD-ROM drives, etc.  But  when  the
  99.         drivers  for hard disk controllers, video adapters,  floppy  disk
  100.         controllers, and sometimes even keyboards or mice are not  avail-
  101.         able, OS/2 will simply not run on a system. This widespread  lack
  102.         of hardware support is the basis for the myth that OS/2  requires
  103.         IBM hardware. IBM generally supplies device drivers for their own
  104.         hardware,  but  sometimes handles their own  hardware  with  BIOS
  105.         extensions  to  make the device look like a  generic  device  for
  106.         which OS/2 provides intrinsic support.
  107.  
  108.         Many  people are using IBM's version of OS/2 on no  name  clones,
  109.         but  IBM, reasonably enough, cannot promise that it will run  (or
  110.         if it runs now, if it will run the next release). So even if OS/2
  111.         is infinitely extensible with devices not even invented yet, many
  112.         common  devices  cannot be used without a driver. Still,  if  IBM
  113.         cannot test their modifications on other OEM hardware, and if the
  114.         hardware  vendor  does not supply their version  of  OS/2,  IBM's
  115.         version is probably the only choice, but with no guarantees.
  116.  
  117.         A company negotiating a large purchase of PC hardware, can  often
  118.         require  that  the  hardware run IBM's OS/2.  For  an  individual
  119.         without  this  leverage buying a system for OS/2, the  hard  disk
  120.         controller  and super VGA video adapter card are most  likely  to
  121.         cause  problems.  The newer SCSI adapter cards seem to  have  the
  122.         most problems without a specific device.
  123.  
  124.         IBM's version of OS/2 1.x comes in two flavors, Standard  Edition
  125.         (SE)  and Extended Edition (EE). SE is the base system, while  EE
  126.         is an IBM only version which includes the base system in SE, plus
  127.         two  OS/2 applications -Database Manager (DM) and  Communications
  128.         Manager  (CM). In addition a LAN Requester function is  available
  129.         under  EE which allows access to IBM's LAN Server product. DM  is
  130.         the functional equivalent of IBM's premier relational database on
  131.         mainframes -DB2. There is a high performance SQL database engine,
  132.         the Query Manager front end, and a Remote Data Services  distrib-
  133.         uted  database  component. CM is  a  multifaceted  communications
  134.         package  with the broadest support of protocol  layers  available
  135.         under  OS/2. The mainframe communications are excellent, but  the
  136.         asynchronous communications is based on either VT100 or IBM  3101
  137.         terminal  emulation with only XMODEM and mainframe file  transfer
  138.         capability.  It is not nearly as complete as the 3270  emulation.
  139.         IBM offers a complete TCP/IP package separately.
  140.  
  141.         The original OS/2 Version 1.0 had only a character mode interface
  142.         like  DOS.  Beginning  with Version 1.1 (shipped at  the  end  of
  143.         1988), OS/2 had a graphical user interface (GUI) known as Presen-
  144.         tation Manager (PM). PM was a combination of Microsoft's  Windows
  145.         technology, IBM's mainframe graphics technology GDDM, plus exten-
  146.         sions available as a result of the
  147.         added  features  of the OS/2 kernel. Some people equate  an  OS/2
  148.         application  with  a PM application.  Although  this  distinction
  149.         ignores the benefits of OS/2 to non-GUI applications, PM programs
  150.         are better able to take advantage of the multiple threads  avail-
  151.         able to OS/2 processes.
  152.  
  153.         OS/2  provides  preemptive multitasking even on the  80286  plat-
  154.         forms. By preemptive, we mean that multiple tasks can be  coordi-
  155.         nated better and more smoothly (tasks can be easily interrupted).
  156.         Although an OS/2 program can be written to monopolize  resources,
  157.         most  programs run well without tuning. With Windows  3.0  multi-
  158.         tasking  can  only occur in ENHANCED mode,  on  80386  computers,
  159.         under  what is euphemistically called  cooperative  multitasking.
  160.         What  this means is that under Windows, programs have to  be  de-
  161.         signed to multitask well with other programs. Most Windows appli-
  162.         cations  are not designed this way. Said another way, under  OS/2
  163.         programs  can be interrupted by the system, under Windows a  pro-
  164.         gram has to release its control so other programs can run.
  165.  
  166.         Another  difference  with DOS-based programs is that  under  OS/2
  167.         hardware generates interrupts which can then be processed by  the
  168.         system. Under DOS, programs often poll hardware to determine when
  169.         further  processing is necessary. This polling causes DOS to  use
  170.         much  more  CPU resources than OS/2. This means little in  a  DOS
  171.         single-tasking environment, but can be a performance killer in  a
  172.         multitasking  environment.  As an example, assume I'm  running  a
  173.         word  processor,  and  it is waiting on my  next  keystroke.  The
  174.         program  might check the keyboard controller, "Got  anything  for
  175.         me?  No. Hmmm, better try again. Got anything for me?  ....",  ad
  176.         infinitum. If the machine is also running a database sort,  back-
  177.         ground  communications, etc at the same time, this  tight  little
  178.         loop  will adversely affect the performance of these other  jobs.
  179.         In OS/2, the processor is freed for other work until the keyboard
  180.         is  struck and an interrupt is generated to signal the  operating
  181.         system that there is something to do in the word processor  task.
  182.         One  common reason for printer problems under OS/2 is  that  some
  183.         cheap parallel printer cables do not have all the pins  function-
  184.         al.  They work fine under DOS, but do not signal conditions  that
  185.         cause  OS/2 interrupts. Under OS/2 2.0 a number of  DOS  settings
  186.         are configurable to control gluttonous DOS programs.
  187.  
  188.         Many small utility programs that require TSR's under DOS are easy
  189.         to  implement under OS/2. Several facilities are available  under
  190.         1.3  that are only available as TSR's under DOS. One useful  fea-
  191.         ture is the command line history buffer. Previous commands can be
  192.         paged through using the cursor keys, and full editing of previous
  193.         commands  is  easy using insert, delete,  backspace,  and  cursor
  194.         keys.  Another  utility is one which will lock the  keyboard  and
  195.         mouse after a specified interval of inactivity. A screen  blanker
  196.         is  also included. Many of these niceties are recently  available
  197.         in DOS 5.0 and DR-DOS and earlier in other utility packages,  but
  198.         they are part of OS/2 and mostly have been for some time.
  199.  
  200.         There  are several shortcomings and restrictions with  OS/2  1.3.
  201.         Early  versions  were plagued by poor printer support,  but  most
  202.         popular  printers are now supported. The biggest problem  is  the
  203.         lack of applications. There are OS/2 versions of many DOS charac-
  204.         ter  based  applications  including:  WordPerfect  5.0,   Paradox
  205.         (Version  2), PkZIP, ARC, RBASE, Lotus 123, Microsoft Word,  etc.
  206.         There  are  some PM applications  available  including  Microsoft
  207.         Excel  and Word, 123/G, Freelance, CorelDraw, Describe Word  Pub-
  208.         lisher, PageMaker 3.0, Ventura Publisher, etc. Some of these  are
  209.         pure  PM  applications, and some are Windows programs  ported  to
  210.         OS/2  using Microsoft's earlier Software Migration Kit  (SMK)  or
  211.         Windows  Library for OS/2 (WLO). The problems with WLO  ports  of
  212.         Windows programs is that they typically do not take advantage  of
  213.         OS/2  features  like multi-threading, and they seem to  run  less
  214.         efficiently than native PM applications.
  215.  
  216.         Another problem is the restrictions on the DOS compatibility box.
  217.         Although  the  DOS box is given 640K, the amount of  free  memory
  218.         available is usually 20K -40K less than a real DOS machine, since
  219.         the OS/2 Device Drivers are resident in the lower 640K of memory.
  220.         This  produces an integrity vulnerability since a misbehaved  DOS
  221.         program can corrupt the OS/2 device drivers and crash the system.
  222.         Additionally  the  DOS box is active only when it has  the  fore-
  223.         ground  focus.  OS/2 programs continue to execute  in  the  back-
  224.         ground, but when the DOS session is placed in the background,  it
  225.         is suspended. This is the reason that communications programs are
  226.         not considered to operate reliably in the DOS box. TSR's and some
  227.         programs that require direct access to the hardware may not work.
  228.         I  CAN say that all the programs I have tried do work in the  DOS
  229.         box.
  230.  
  231.         OS/2 was designed from the beginning to be a single-user,  multi-
  232.         tasking operating system as similar and backwardly compatible  as
  233.         possible  to  DOS, but free of the memory restrictions  and  with
  234.         added functionality and integrity. It was designed to work better
  235.         in  the single-user, multitasking environment than either DOS  or
  236.         UNIX, while retaining much of the same command interface as  DOS.
  237.         Since  version  1.2 OS/2 has offered the  High  Performance  File
  238.         System  (HPFS) as an option for fixed disks. HPFS  offers  higher
  239.         performance, better integrity and recoverability, long file names
  240.         (254  characters), extended attributes (EA's). With OS/2  EE  1.2
  241.         and  both  1.3  releases IBM has  supplied  Procedure  Language/2
  242.         (REXX). This is a replacement for the DOS and OS/2 batch language
  243.         with much greater functionality and programmability.
  244.  
  245.         The advantages of OS/2 become more apparent the more you use your
  246.         computer.  For  software developers OS/2 is almost  a  necessity.
  247.         Some  people recommend OS/2 only for server applications, but  it
  248.         is  much  more  valuable in a user environment.  The  ability  to
  249.         multitask  dramatically  changes the way one uses  the  computer.
  250.         "Why do I need multitasking? I never do more than one thing at  a
  251.         time."  I felt this way once myself, and maybe it's true most  of
  252.         the  time. But there are those not too infrequent times  that  we
  253.         have to do those menial tasks associated with computing -backups,
  254.         downloads,  formatting diskettes, printing, etc. And we are  tied
  255.         to our computers waiting for it to finish so we can go on to  the
  256.         next  thing  we  need to do. One afternoon several  weeks  ago  I
  257.         noticed  that  I was in the middle of a download of a  200K  file
  258.         from  a  BBS, copying a 100 page ASCII text file to  my  printer,
  259.         writing a document in WordPerfect, and occasionally switching  to
  260.         a  command line session to format some diskettes to copy  what  I
  261.         was downloading. During this time I had a call about changing the
  262.         nightly DB2 backups at K25. While all this was running, I  logged
  263.         on to the K25 MVS system and updated a DB2 table in a 3270  wind-
  264.         ow.  Admittedly this extent of overlap in my work doesn't  happen
  265.         that often, but it soon becomes second nature when it does.
  266.  
  267.         IBM  has announced the next generation of OS/2. Version 2.0  will
  268.         ship at the end of March 1992. It will require an 80386 processor
  269.         and  will  fix  most of the problems with the  DOS  emulation  in
  270.         versions 1.x. It will allow the multitasking of DOS applications,
  271.         use  of  EMS  and XMS memory, greater than 620K  of  free  memory
  272.         counting network drivers, the use of DOS-specific device drivers,
  273.         the  ability  to boot specific DOS versions (or even  DR-DOS)  if
  274.         necessary for certain applications. Windows 2.x and 3.0  applica-
  275.         tions will run in these boxes transparently and with interprocess
  276.         communication  with  PM programs (and without having  to  install
  277.         Windows).  It will support programs written for the 32  bit  FLAT
  278.         memory  model, as well as older 1.x 16 bit programs.  Because  of
  279.         compatibility problems with other vendors hardware, IBM is trying
  280.         to  verify OS/2 on many of the major clone companies'  computers.
  281.         Instead  of  having a separate EE package, IBM will offer  a  new
  282.         product  called Extended Services (ES) which will run on  top  of
  283.         IBM  and other vendors' OS/2. ES Version 1.0 will still be  a  16
  284.         bit application and can run under 2.0 or on 1.x. ES will  contain
  285.         DM  and CM. The LAN Requester product will be packaged  with  the
  286.         LAN Server product. Due to user request, ES will be split up into
  287.         separate DM and CM products by the end of 1992.
  288.  
  289.         Another new feature in 2.0 is the addition of the WorkPlace Shell
  290.         (WPS). This is a chameleon-like shell that is object-oriented and
  291.         somewhat  reminiscent of the Macintosh. But it can be  configured
  292.         to look and operate similarly to OS/2 1.x, Windows Program Manag-
  293.         er,  DOS, and maybe even the Mac itself. This shell is a  glimpse
  294.         of  the  future and is based on earlier work in  a  collaborative
  295.         effort with Metaphor Corporation originally for the  OfficeVision
  296.         product.
  297.  
  298.         Although  OS/2 can be criticized because of past mistakes by  IBM
  299.         and Microsoft, its past, present, and future all contain elements
  300.         to admire. IBM did produce the best OS system available today for
  301.         80286  computers; one that takes advantage of the  80286  PROTECT
  302.         mode -OS/2 1.3. Thus far IBM has provided FREE upgrades for  each
  303.         new  release  of  OS/2 (I originally got 1.0  and  have  upgraded
  304.         successively  to 1.1, 1.2, and 1.3). IBM has announced  that  the
  305.         upgrade from 1.x to 2.0 will also be free. Owners of EE will  get
  306.         a  free  upgrade to OS/2 2.0 and ES 1.0. Earlier  this  year  IBM
  307.         reduced the price of OS/2 1.3 SE to $149, with a $99 upgrade from
  308.         any  IBM  version of DOS. With a free upgrade to 2.0, this  is  a
  309.         great  deal. When it ships in March OS/2 2.0 will have  a  retail
  310.         price  of $199. IBM has stated that future  object-oriented  (OO)
  311.         operating systems in development internally and in the IBM -Apple
  312.         collaboration  will be able to run OS/2 applications.  OS/2  will
  313.         continue to evolve over the next few years and will not be pushed
  314.         into obsolescence.
  315.  
  316.         Compared  to Windows 3.x, OS/2 offers better integrity and  reli-
  317.         ability. It more fully exploits the capabilities of modern  hard-
  318.         ware.  Depending somewhat on the implementation, OS/2 offers  the
  319.         capability  of much better performance, and this performance  gap
  320.         will increase with OS/2 2.0. Windows has much better  application
  321.         availability  and hardware support, but with its obvious  limita-
  322.         tions  (mostly because of its reliance on DOS as a base),  Micro-
  323.         soft  is  promoting  its Windows NT as the  next  generation  OS.
  324.         Windows  NT is actually Microsoft's version of OS/2 with  the  PM
  325.         API's removed and replaced by Windows API's. In theory it will be
  326.         more  modular, but its final form and capabilities are  still  in
  327.         flux. A good deal of speculation has been present concerning when
  328.         Windows NT will be available. The current Windows magazine states
  329.         3rd Quarter 1992 (within 3 months of OS/2 2.0 in one  editorial);
  330.         more pessimistic observers have projected 4th Quarter 1993.  With
  331.         the recent failures by Apple, IBM, Lotus, Microsoft, WordPerfect,
  332.         etc. to meet stated shipment dates, I'm more inclined to  believe
  333.         that Windows NT is still over a year away.
  334.  
  335.         As  an  early  Windows user (1.0 through 2.1  -by  the  time  3.0
  336.         shipped  I  had found OS/2), and a long time IBM  mainframe  user
  337.         (since  1966), I feel that I can better rely on IBM's  statements
  338.         concerning  the future than Microsoft's. As a long time user  and
  339.         fan  of  Excel  and the Microsoft C compiler,  I  am  reluctantly
  340.         having  to abandon them as Microsoft childishly refuses to  allow
  341.         these products to support OS/2 in the future so as to not  appear
  342.         to  legitimize IBM's competitive system. When Microsoft  released
  343.         Windows  3.0, most Windows applications could not run without  an
  344.         upgrade.  I can still run programs I wrote, compiled, and  linked
  345.         in  1970 on the latest and greatest IBM mainframe (not that  this
  346.         is  uniformly  positive). Clearly IBM has  orphaned  some  highly
  347.         touted systems in the past, but they also take public commitments
  348.         more seriously than Microsoft.
  349.  
  350.         If  you  want to run an advanced operating system with  the  most
  351.         compatibility  to  DOS; if you want to run a  system  that  fully
  352.         utilizes  your  hardware investment; then try OS/2. What  do  you
  353.         need? For 2.0 you will need at least an 80386SX. The more  memory
  354.         the better the performance -I consider 4Mb an acceptable  minimum
  355.         (1.3  will  run in 2Mb, 2.0 will need  approximately  3Mb).  Over
  356.         committed  memory  will be written to a swap file  on  disk,  but
  357.         applications  will  slow dramatically. Count on 12Mb to  20Mb  of
  358.         hard  disk space for the base system. Additionally you will  need
  359.         extra space for the swapper file (to be conservative, 8Mb to 16Mb
  360.         would be nice on a 4Mb system). Clearly the entry point for  OS/2
  361.         is  higher  than for Windows, but for all of you  actually  using
  362.         Windows  and Windows applications, these are about the  same  re-
  363.         quirements  that Windows REALLY needs. Try OS/2 for a  couple  of
  364.         months and you too will share my enthusiasm for the system.
  365.  
  366.  
  367.