home *** CD-ROM | disk | FTP | other *** search
/ Season's Greetings & Games Unlimited / UGOLD_cd2.iso / lw2 / lw2.doc < prev    next >
Text File  |  1994-06-19  |  141KB  |  3,072 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.       ┌──┐                       ┌┐   ┌┐                        ┌──┐ ┌──┐
  14.       └┐┌┘     ┌─┐               ││   ││                        └┐┌┘ └┐┌┘
  15.        ││      └─┘               ││   ││                         ││   ││
  16.        ││      ┌─┐ ┌────┐ ┌────┐ ││   ││ ┌────┐ ┌────┐ ┌────┐    ││   ││
  17.        ││      └┐│ └┐┌─┐│ │┌──┐│ ││   ││ └───┐│ │┌──┐│ │┌───┘    ││   ││
  18.        ││       ││  ││ ││ ││  ││ ││   ││     ││ ││  └┘ ││        ││   ││
  19.        ││       ││  ││ ││ │└──┘│ ││┌─┐││ ┌───┘│ ││     │└───┐    ││   ││
  20.        ││       ││  ││ ││ │┌───┘ │└┘ └┘│ │┌──┐│ ││     └───┐│    ││   ││
  21.        ││  ┌─┐  ││  ││ ││ ││     │ ┌─┐ │ ││  ││ ││         ││    ││   ││
  22.       ┌┘└──┘ │ ┌┘└┐ ││ ││ │└───┐ │ │ │ │ │└──┘│ ││     ┌───┘│   ┌┘└┐ ┌┘└┐
  23.       └──────┘ └──┘ └┘ └┘ └────┘ └─┘ └─┘ └────┘ └┘     └────┘   └──┘ └──┘
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                                  Developed By
  30.  
  31.                                 Patrick Aalto
  32.  
  33.  
  34.  
  35.  
  36.                                  Published By
  37.  
  38.                                Safari Software
  39.                              10406 Holbrook Drive
  40.                               Potomac, MD 20854
  41.                                     U.S.A.
  42.  
  43.                              Orders: 800-238-1393
  44.                              Help:   301-738-2349
  45.                              Fax:    301-738-0230
  46.  
  47.  
  48.              Copyright 1994 Safari Software and Patrick Aalto.  All
  49.              Rights Reserved.  LineWars II is a trademark of Patrick
  50.              Aalto. Other product and company names are trademarks
  51.              of their respective owners.
  52.  
  53.  
  54.  
  55.  
  56.                                     ACKNOWLEDGMENTS
  57.  
  58.  
  59.  
  60.  
  61.               I couldn't produce a product like LineWars II without help
  62.               and prior work of many people.  My thanks to:
  63.  
  64.                    Game Storyline:          Raymond Bingham (wReam)
  65.  
  66.                    Game Music:              Jim Young (U4ia of Megawatts)
  67.  
  68.                    Antialiasing Algorithm:  M. Pitteway and D. Watkinson
  69.  
  70.                    Interrupt Reference:     Ralf Brown
  71.  
  72.                    Overlay Decompressor:    Haruyasu Yoshizaki
  73.  
  74.                    Roland LAPC-I SysEx:     Ed Federmeyer
  75.  
  76.                    S3 Programming Info:     S3 Incorporated
  77.  
  78.                    Shading Model:           Rod Salmon and Mel Slater
  79.  
  80.                    Speaker Log. Table:      Mark Cox
  81.  
  82.                    Tweaked VGA Mode:        Themie Gouthas
  83.  
  84.                    VGA & EGA Programming:   R. Ferraro
  85.  
  86.                    Universal VESA VBE:      Kendall Bennett
  87.  
  88.                    Beta Testers:            Kim Heino, Marko Happonen,
  89.                                             Olli Männistö  and others.
  90.  
  91.                    A special thanks to all the registered users of
  92.                    the original LineWars, and to all of you who helped
  93.                    make LineWars II elegant, reliable, and friendly.
  94.  
  95.  
  96.               The following tools were used in creating LineWars II:
  97.  
  98.                  Compiler:         Borland Turbo Assembler 2.5
  99.  
  100.                  Linker:           Borland Turbo Link 5.1
  101.  
  102.                  Optimization:     Borland Turbo Profiler 2.0
  103.  
  104.                  Debugger:         Borland Turbo Debugger 3.1
  105.  
  106.                                                                      CONTENTS
  107.           ___________________________________________________________________
  108.  
  109.  
  110.  
  111.           CONTENTS
  112.  
  113.  
  114.           Introduction...............................................1
  115.                How to Use This Manual................................1
  116.                Registration and Upgrade Information..................3
  117.  
  118.           Chapter 1 / LineWars II Features...........................4
  119.  
  120.           Chapter 2 / Installation...................................5
  121.                Where To Put LineWars II..............................5
  122.                Unarchiving The Files.................................5
  123.  
  124.           Chapter 3 / Configuration..................................6
  125.                SysInfo...............................................7
  126.                Graphics..............................................9
  127.                     MCGA 320 x 200...................................9
  128.                     VGA  320 x 480...................................9
  129.                     VESA 640 x 480...................................9
  130.                     S3 Accelerated...................................9
  131.                     ATI Mach8/Mach32................................10
  132.                     GRAPHDRV.LW2....................................10
  133.                     Ambient Light...................................10
  134.                Control..............................................10
  135.                     Keyboard........................................10
  136.                     Joystick........................................11
  137.                     Mouse...........................................12
  138.                     ThrustMaster....................................12
  139.                     X Scaling.......................................13
  140.                     Y Scaling.......................................13
  141.                     Laser Key.......................................14
  142.                     Missile Key.....................................14
  143.                Sound................................................14
  144.                     No Sound Output.................................15
  145.                     Covox (8-bit DAC)...............................15
  146.                     Sound Blaster...................................15
  147.                     Gravis Ultrasound...............................16
  148.                     Roland LAPC-I...................................16
  149.                     Roland SCC-1....................................16
  150.                     SOUNDDRV.LW2....................................17
  151.                     Port Address....................................17
  152.                     Play Frequency..................................17
  153.                     Timer / Stereo / 3D.............................17
  154.                     Music Volume....................................18
  155.                     SoundFX Volume..................................18
  156.                     Don't Say Goodbye...............................18
  157.                     Hardcore Hypno 4................................18
  158.                     Freudian Dream..................................18
  159.  
  160.           ___________________________________________________________________
  161.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  i
  162.  
  163.                                                                      CONTENTS
  164.           ___________________________________________________________________
  165.  
  166.  
  167.                     Japanese Intentions.............................18
  168.                Comms................................................18
  169.                     No Comms Device.................................18
  170.                     COM Port 1......................................18
  171.                     COM Port 2......................................18
  172.                     COM Port 3......................................18
  173.                     COM Port 4......................................18
  174.                     Shared File.....................................19
  175.                     Line Speed......................................20
  176.                     Handshaking.....................................20
  177.                     FIFO Options....................................20
  178.                     Network Dir.....................................20
  179.                Gaming...............................................21
  180.                     Default Game....................................21
  181.                         Demonstration...............................21
  182.                         Asteroid Storm..............................21
  183.                         The First Blood.............................21
  184.                         Princess Escort.............................21
  185.                         Pirate Ambush...............................21
  186.                         Disable a Base..............................21
  187.                         Defend the Base.............................21
  188.                         The Convoy..................................21
  189.                         Freedom Fight...............................21
  190.                         Final Battle................................21
  191.                         Duel Mode (COM).............................21
  192.                         Wing Mode (COM).............................21
  193.                         Group War (NET).............................21
  194.                         Star Wars (NET).............................21
  195.                     Game Speed......................................22
  196.                     Call Sign.......................................22
  197.                Exit.................................................22
  198.  
  199.           Chapter 4 / Playing LineWars II...........................23
  200.                Starting Without Parameters..........................23
  201.                Command Line Parameters..............................24
  202.                The Intro............................................26
  203.                The Cockpit..........................................26
  204.                     Main Viewer Screen..............................27
  205.                     Info Screen.....................................28
  206.                     Radar Screen....................................28
  207.                     Shield and Armour Status Indicator..............29
  208.                     Ship Systems Status.............................29
  209.                     Other Indicators................................30
  210.                Controlling Your Ships...............................30
  211.                The Demonstration....................................31
  212.                Single Play Missions.................................32
  213.                Duel Mode............................................33
  214.                Wing Mode............................................33
  215.  
  216.  
  217.           ___________________________________________________________________
  218.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  ii
  219.  
  220.                                                                      CONTENTS
  221.           ___________________________________________________________________
  222.  
  223.  
  224.                Group War............................................34
  225.                Star Wars............................................34
  226.  
  227.           Appendix A / LineWars II Error Messages...................35
  228.  
  229.           Appendix B / LineWars II Memory Usage.....................43
  230.  
  231.           Appendix C / Technical Information........................44
  232.               Graphics..............................................44
  233.               Sound.................................................45
  234.               COM Port Routine......................................46
  235.               Network Routine.......................................46
  236.               Ship Artificial Intelligence..........................47
  237.               Overlay Decompressor..................................47
  238.  
  239.           Appendix D / Building a Parallel Port DAC.................48
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.           ___________________________________________________________________
  275.           Copyright 1994, Patrick Aalto            LineWars II Manual  /  iii
  276.  
  277.                                                      CONTACTING PATRICK AALTO
  278.           ___________________________________________________________________
  279.  
  280.  
  281.  
  282.  
  283.           CONTACTING PATRICK AALTO
  284.  
  285.           You can contact Patrick Aalto at any of the following addresses,
  286.           but DO NOT SEND REGISTRATIONS OUTSIDE FINLAND TO PATRICK AALTO!
  287.           Note that it takes about a week for surface mail to travel from
  288.           USA to Finland, for example.
  289.  
  290.  
  291.  
  292.               By mail:
  293.  
  294.  
  295.                    Patrick Aalto
  296.                    Hiekkapohjan koulu
  297.                    FIN-40270 PALOKKA
  298.                    FINLAND
  299.  
  300.  
  301.               By Fax:
  302.  
  303.  
  304.                    +358-41-637440
  305.  
  306.                    (Since this number is used by a firm, please include
  307.                    something like 'To: Patrick Aalto'.)
  308.  
  309.  
  310.               Electronically:
  311.  
  312.  
  313.                    Internet:       ap@jyu.fi
  314.  
  315.                                    (Patrick.Aalto@f151.n222.z2.fidonet.org)
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.           ___________________________________________________________________
  332.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  iv
  333.  
  334.                                                                  INTRODUCTION
  335.           ___________________________________________________________________
  336.  
  337.  
  338.  
  339.           INTRODUCTION
  340.  
  341.  
  342.           Welcome, and thanks for purchasing LineWars II !
  343.  
  344.           I started developing LineWars II in 1990, just after I had finished
  345.           the original LineWars. At first LineWars II was coded in Turbo
  346.           Pascal with some Turbo Assembler subroutines, and it worked only
  347.           in EGA 640x350 mode with 16 colors. During the years of development
  348.           it was totally rewritten many times until it finally became the
  349.           current SVGA version that is coded 100% in assembly language.
  350.  
  351.           I had three goals in mind when I developed LineWars II. It had to
  352.           a) feature very realistic 3D graphics, b) run with a high frames-
  353.           per-second rate on fast 386 machines, and c) be as small as
  354.           possible. I have a strong dislike of programs that consume mega-
  355.           bytes of hard disk space and consist of hundred-odd separate files,
  356.           which is why LineWars II contains almost everything it needs in a
  357.           single file, LW2.DAT, which is only a few hundred kilobytes in
  358.           size.
  359.  
  360.           LineWars II will be my last program to run on 80286 processors.
  361.           Although I was many times tempted to switch to 386-only code,
  362.           I decided it was not quite the time yet to do so. However, since
  363.           LineWars II is targeted to owners of fast 386 and i486 machines,
  364.           it will most likely run too slowly on AT class machines. But it
  365.           WILL run.
  366.  
  367.           I am something of a computer hardware addict, and thus I included
  368.           support for various new hardware components along the way, most
  369.           notably for S3 Graphical User Interface Accelerator chip, Gravis
  370.           UltraSound sound card and Roland SCC-1 Sound Canvas Card. I have
  371.           not yet seen another game that would use the accelerated features
  372.           of an S3 chip as well as LineWars II does, and also the Roland
  373.           SCC-1 support is far from common in ShareWare games. LineWars II
  374.           also supports SoundBlaster Pro with enhanced stereo sound.
  375.  
  376.           How to Use This Manual
  377.  
  378.               I have designed this manual to be more of a reference guide
  379.               than a tutorial. Getting started with LineWars II is very easy,
  380.               especially if you consider yourself an 'advanced user'. You may
  381.               not need to look at this manual at all unless you wish to know
  382.               detailed information about something. Novice users need not
  383.               worry either. If you do not understand some technical detail
  384.               in the manual, you probably don't need the info anyway, and
  385.               thus you may well skip the offending piece.
  386.  
  387.  
  388.           ___________________________________________________________________
  389.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  1
  390.  
  391.                                                                  INTRODUCTION
  392.           ___________________________________________________________________
  393.  
  394.  
  395.               This manual is divided into four chapters and four
  396.               appendices.  Here's a brief overview of what you'll find
  397.               in each:
  398.  
  399.  
  400.               Chapter 1 / LineWars II Features
  401.  
  402.                    I begin with a short summary of some of LineWars II's
  403.                    main features to give you a taste of what LineWars II
  404.                    is all about.  Start here if you are new to LineWars.
  405.  
  406.  
  407.               Chapter 2 / Installation
  408.  
  409.                    The installation instructions are very simple indeed.
  410.                    You may well skip this chapter if you want.
  411.  
  412.  
  413.               Chapter 3 / LineWars II Configuration
  414.  
  415.                    This chapter describes the many configuration options
  416.                    in detail. You can most likely run LineWars II quite
  417.                    succesfully without reading this chapter, but I do
  418.                    recommend you reading it.
  419.  
  420.  
  421.               Chapter 4 / Playing LineWars II
  422.  
  423.                    This chapter is describes how to start LineWars II,
  424.                    what all the dials and indicators on the cockpit mean,
  425.                    how to control your ship, etc. It is recommended that
  426.                    you read this chapter before playing the game.
  427.  
  428.  
  429.               Appendices
  430.  
  431.                    I have included some helpful tables here, and some
  432.                    information for those who like to know technical details.
  433.                    There are four appendices.
  434.  
  435.                    Appendix A lists all LineWars II error messages.  Look
  436.                    here if you need an explanation of an error message.
  437.  
  438.                    Appendix B describes how much memory LineWars II uses
  439.                    in each of the main graphics and sound configurations.
  440.                    Look here if you wish to check if LineWars II will have
  441.                    enough memory on your system or if you receive Out Of
  442.                    Memory errors.
  443.  
  444.  
  445.           ___________________________________________________________________
  446.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  2
  447.  
  448.                                                                  INTRODUCTION
  449.           ___________________________________________________________________
  450.  
  451.  
  452.                    Appendix C covers technical information about LineWars II.
  453.                    You probably won't need this information unless you are
  454.                    an advanced user or a programmer yourself.
  455.  
  456.                    Appendix D describes how you can build a cheap parallel
  457.                    port sound output device which you can use with LineWars
  458.                    II. The parts cost only one or two dollars and the sound
  459.                    quality is not that much worse than with a Sound Blaster,
  460.                    so the Price/Performance ratio is extremely good.
  461.  
  462.  
  463.           Registration and Upgrade Information
  464.  
  465.               If you live in Finland and you have got an unregistered copy
  466.               of LineWars II (downloaded from a BBS, for example), you can
  467.               register and receive the registered version if you send me
  468.               the amount of 100 FIM. Please include your full name and
  469.               address. If you like, you can also tell me what sort of a
  470.               machine you run LineWars II on. And if you have found any
  471.               bugs, I will of course be very interested to hear about them.
  472.               I will send the registered version on a floppy disk within
  473.               a week or two.
  474.  
  475.               If you live outside Finland, please contact Safari Software
  476.               for registration. Their telephone numbers are:
  477.  
  478.                         Orders: 800-238-1393
  479.                         Help:   301-738-2349
  480.                         Fax:    301-738-0230
  481.  
  482.               The registered version includes all of the missions.
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.           ___________________________________________________________________
  503.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  3
  504.  
  505.                                              CHAPTER 1 / LINEWARS II FEATURES
  506.           ___________________________________________________________________
  507.  
  508.  
  509.  
  510.           CHAPTER 1 / LINEWARS II FEATURES
  511.  
  512.  
  513.           LineWars II is basically a 3-D space arcade game. It requires
  514.           almost no strategical thinking. What makes LineWars II special
  515.           is the use of realtime lightsource-shaded graphics, support for
  516.           high end graphics and sound cards, and the ability to play against
  517.           one or many human opponents.
  518.  
  519.           In the star systems that you visit in LineWars II there is always
  520.           a sun, a planet and various other objects. All objects are very
  521.           realistically shaded with the light emitted from the sun. When
  522.           you rotate in space you will see that the brightest side of any
  523.           ship is always the one pointed towards the sun. This is what
  524.           lightsource-shaded graphics is all about.
  525.  
  526.           LineWars II uses vector-based polygon graphics to represent the
  527.           objects in space. The planets are represented with extremely
  528.           optimized Gouraud-shaded balls. The routine to draw a Gouraud-
  529.           shaded ball is one of LineWars II's most unique features. The
  530.           algorithm is totally my own invention, and it uses a thoroughly
  531.           different approach than traditional polygon-mesh representation
  532.           of a ball. (More info can be found in the Appendix C.)
  533.  
  534.           The registered version of LineWars II contains a demonstration
  535.           game, nine single-play missions, two two-player missions and two
  536.           multi-player missions. Unregistered shareware version has the demo
  537.           game, three first single-play missions and only one two-player and
  538.           one multi-player mission.
  539.  
  540.           All the missions of LineWars II can be played many times in a
  541.           row. The object of the game is to shoot a lot of enemy ships while
  542.           not getting yourself killed. Your score increments every time you
  543.           kill an enemy ship, and the game keeps track of your highest scores
  544.           in each of the single-play missions. In the two-player and multi-
  545.           player missions your score is based on your victories/deaths ratio,
  546.           and it spans the current session only.
  547.  
  548.           LineWars II uses your VESA-compatible or S3 Accelerated SVGA card
  549.           much better than most comparable games, and it supports a wide
  550.           variety of sound cards, including Gravis UltraSound and Roland
  551.           SCC-1. And even though it is such a complex and sophisticated
  552.           game, it can run in as little as 80 kilobytes of memory, and even
  553.           on AT class machines.
  554.  
  555.  
  556.  
  557.  
  558.  
  559.           ___________________________________________________________________
  560.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  4
  561.  
  562.                                                      CHAPTER 2 / INSTALLATION
  563.           ___________________________________________________________________
  564.  
  565.  
  566.  
  567.           CHAPTER 2 / INSTALLATION
  568.  
  569.  
  570.           Actually, since you are reading this, you have already installed
  571.           LineWars II. Installing consists of deciding where to put the
  572.           LineWars II files, and then unarchiving the files there.
  573.  
  574.           Where To Put LineWars II
  575.  
  576.               LineWars II is not very picky about the location where it
  577.               sits on your disk. It is recommended that you install it on a
  578.               hard disk, however. It will work without problems even from
  579.               a 360KB floppy disk, but the loading will then be very slow.
  580.  
  581.               There is no reason why you shouldn't put LineWars II onto a
  582.               Stacked or DoubleSpaced disk partition. However, since the
  583.               LW2U.DAT file is already very tightly compressed, it will
  584.               not compress any further on a compressed disk partition.
  585.  
  586.           Unarchiving The Files
  587.  
  588.               You may have gotten LineWars II from various sources, and
  589.               the method how LineWars II is archived will vary. If you
  590.               got LineWars II on a diskette, it most likely included an
  591.               INSTALL program which did the unarchiving for you.
  592.  
  593.               Other possible distribution archives are ZIP and LZH files.
  594.               They are unarchived with commands 'PKUNZIP FILENAME.ZIP' and
  595.               'LHA E FILENAME.LZH', respectively. LineWars II archive does
  596.               not contain subdirectories, so you do not have to worry with
  597.               giving certain flags to the unarchive commands.
  598.  
  599.           After you have unarchived LineWars II, you are ready to start
  600.           playing it. However, I STRONGLY recommend that you first take
  601.           some time to check the various configuration options (see the
  602.           next chapter) LineWars II has to offer. Selecting the
  603.           configuration that best suits your hardware will make the game
  604.           much more enjoyable.
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.           ___________________________________________________________________
  617.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  5
  618.  
  619.                                                     CHAPTER 3 / CONFIGURATION
  620.           ___________________________________________________________________
  621.  
  622.  
  623.  
  624.           CHAPTER 3 / CONFIGURATION
  625.  
  626.  
  627.           To get the most out of LineWars II you must configure it for your
  628.           hardware. LineWars II includes a configuration screen with which
  629.           this is accomplished. To get to the configuration screen you have
  630.           two options:
  631.  
  632.               1) Start LineWars II without any options (that is, write just
  633.                  LW2 at the DOS prompt and press enter) and select the menu
  634.                  option 'Configure LineWars II', or
  635.  
  636.               2) Start LineWars II with a command LW2 CFG at the DOS
  637.                  prompt (you don't have to use capital letters).
  638.  
  639.           In the configuration screen you may use cursors or mouse to select
  640.           an option in the menu. Pressing F1 will show help about the current
  641.           menu item. The configuration screen looks somewhat like this:
  642.  
  643.           ┌──────────────────────────────────────────────────────────────────┐
  644.           │ SysInfo  Graphics  Control  Sound  Comms  Gaming  Exit   F1=Help │
  645.           │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  646.           │╔═════════════════════ Current Configuration ════════════════════╗│
  647.           │║┌ Graphics ────────────────────┐ ┌ Control ────────────────────┐║│
  648.           │║│ Graphics Mode: S3 GUI Accel. │ │      Device: ThrustMaster   │║│
  649.           │║│    Resolution: 800 x 600     │ │     Scaling:  1.00 x 1.00 y │║│
  650.           │║│        Colors: 256           │ │   Laser Key: Alt            │║│
  651.           │║│ Ambient Light: 25 %          │ │ Missile Key: Ctrl           │║│
  652.           │║└──────────────────────────────┘ └─────────────────────────────┘║│
  653.           │║┌ Sound ───────────────────────┐ ┌ Communications ─────────────┐║│
  654.           │║│       Device: Sound Blaster  │ │      Device: COM Port 1     │║│
  655.           │║│ Port Address: 220 Hex        │ │  Line Speed: 115200 bps     │║│
  656.           │║│    Frequency: 23040 Hz       │ │ Handshaking: Use CTS/RTS    │║│
  657.           │║│  Stereo Mode: Enhanced       │ │   FIFO size: 14 bytes       │║│
  658.           │║│ Music Volume: 100 %          │ │                             │║│
  659.           │║│   SFX Volume: 100 %          │ └─────────────────────────────┘║│
  660.           │║│                              │ ┌ Gaming Options ─────────────┐║│
  661.           │║└──────────────────────────────┘ │  Game Mode: Duel Mode       │║│
  662.           │║┌ Network Directory ───────────┐ │ Game Speed: 116 %           │║│
  663.           │║│ N/A                          │ │  Call Sign: The Terminator  │║│
  664.           │║└──────────────────────────────┘ └─────────────────────────────┘║│
  665.           │╚════════════════════════════════════════════════════════════════╝│
  666.           │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  667.           │ Save configuration and Quit          │ LineWars II Configuration │
  668.           └──────────────────────────────────────┴───────────────────────────┘
  669.  
  670.  
  671.  
  672.  
  673.           ___________________________________________________________________
  674.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  6
  675.  
  676.                                                     CHAPTER 3 / CONFIGURATION
  677.           ___________________________________________________________________
  678.  
  679.  
  680.           The first thing you should do after starting Configuration is to
  681.           select SysInfo. Do this by pressing Enter when the 'SysInfo' text
  682.           on the top menu row is highlighted, or by clicking on this menu
  683.           item with the mouse.
  684.  
  685.  
  686.           SysInfo
  687.  
  688.               When you select 'SysInfo' from the main menu screen, LineWars
  689.               II will attempt to find out the available hardware options.
  690.               To check the hardware LineWars II needs to 'poke around' in
  691.               your computer, and there is a chance some of the checks might
  692.               cause your system to crash. Therefore you should never select
  693.               SysInfo under a multitasker (such as Windows, DESQview or OS/2)
  694.               unless you have saved all your work in other processes.
  695.               The chance of LineWars II SysInfo crashing your system is
  696.               quite small, but it never hurts to be cautious. If your system
  697.               should crash, just do not select SysInfo again in the future.
  698.  
  699.               The SysInfo screen looks somewhat like this:
  700.  
  701.           ┌──────────────────────────────────────────────────────────────────┐
  702.           │ SysInfo  Graphics  Control  Sound  Comms  Gaming  Exit   F1=Help │
  703.           │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  704.           │╔══════════════════════ System Information ══════════════════════╗│
  705.           │║┌ Display Hardware ────────────┐ ┌ Control Hardware ───────────┐║│
  706.           │║│ Adapter: S3 Accelerated SVGA │ │ Keyboard: YES (Enhanced)    │║│
  707.           │║│ Chipset: 86C911              │ │ Joystick: ThrustMaster FCS  │║│
  708.           │║│  Memory: 1024 KB             │ │    Mouse: YES               │║│
  709.           │║│                              │ │                             │║│
  710.           │║└──────────────────────────────┘ └─────────────────────────────┘║│
  711.           │║┌ Sound Hardware ──────────────┐ ┌ Com Ports  (UART type) ─────┐║│
  712.           │║│ Covox (LPT 1): 378h          │ │ COM1: 3F8h (NS16550A)       │║│
  713.           │║│ Covox (LPT 2): 278h          │ │ COM2: 2F8h (NS16450)        │║│
  714.           │║│ Covox (LPT 3): NONE          │ │ COM3: NONE                  │║│
  715.           │║│ Sound Blaster: 220h (Pro I5) │ │ COM4: NONE                  │║│
  716.           │║│    UltraSound: 220h (1024KB) │ └─────────────────────────────┘║│
  717.           │║│        Roland: 330h (SCC-1)  │ ┌ Network Packet Driver ──────┐║│
  718.           │║│                              │ │ ARCEther                    │║│
  719.           │║└──────────────────────────────┘ └─────────────────────────────┘║│
  720.           │║┌ Processor Type ───────┐  ┌────────┐  ┌ Operating System ─────┐║│
  721.           │║│ i486 (in V86 mode)    │  │   OK   │  │ DOS version 6.20      │║│
  722.           │║└───────────────────────┘  └────────┘  └───────────────────────┘║│
  723.           │╚════════════════════════════════════════════════════════════════╝│
  724.           │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  725.           │ Show information about this system   │ LineWars II Configuration │
  726.           └──────────────────────────────────────┴───────────────────────────┘
  727.  
  728.  
  729.  
  730.           ___________________________________________________________________
  731.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  7
  732.  
  733.                                                     CHAPTER 3 / CONFIGURATION
  734.           ___________________________________________________________________
  735.  
  736.  
  737.               The SysInfo screen is divided into several distinct areas.
  738.               The most important of these are 'Display Hardware', 'Control
  739.               Hardware', 'Sound Hardware', and 'Com Ports'. In the bottom
  740.               two boxes you can also see the CPU type and the current
  741.               operating system version.
  742.  
  743.               The 'Display Hardware' section shows which type of graphics
  744.               card your computer has, the Chipset of the card (if known),
  745.               and how much memory the card has. The information presented
  746.               is not necessarily 100 % accurate, it just displays what
  747.               sort of display hardware LineWars II thinks you have.
  748.  
  749.               You can use the 'Control Hardware' section to verify that
  750.               LineWars II correctly detects your Joystick and Mouse, if
  751.               you have them.
  752.  
  753.               The 'Sound Hardware' section is perhaps the most interesting
  754.               of them all. The three 'Covox' ports are not necessarily
  755.               real, since there is no sure way to detect parallel port DAC
  756.               devices. But if you DO have a parallel port DAC device, it
  757.               will be located in one of these Covox addresses. Value 'NONE'
  758.               means that the BIOS thinks the port does not exist.
  759.  
  760.               The Sound Blaster row gives the Sound Blaster port address, and
  761.               in parenthesis the IRQ line, for example (IRQ 5). If LineWars
  762.               II determined that the card is a Sound Blaster Pro, it will be
  763.               shown as (Pro I5), where the Ix gives the IRQ line number.
  764.  
  765.               The next row displays Gravis Ultrasound port address and the
  766.               amount of DRAM installed on the card. The last row tells the
  767.               Roland MPU-401 port address, if found. LineWars II tries to
  768.               detect which Roland version you have by looking at the MPU
  769.               firmware revision. If the firmware revision equals that of
  770.               an LAPC-I or an SCC-1, it will be shown in parenthesis.
  771.  
  772.               The 'COM Ports' section displays your COM port base addresses
  773.               and UART types. The important thing is to check if LineWars II
  774.               correctly detects your NS16550A or IBM Type 3 UARTs, which
  775.               feature a FIFO buffer.
  776.  
  777.               To exit the SysInfo screen you may press any key or click a
  778.               mouse button. When you select SysInfo and then return from it,
  779.               LineWars II hides the configuration options that are not
  780.               available with your hardware.
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.           ___________________________________________________________________
  788.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  8
  789.  
  790.                                                     CHAPTER 3 / CONFIGURATION
  791.           ___________________________________________________________________
  792.  
  793.  
  794.           Graphics
  795.  
  796.               When you highlight the 'Graphics' top menu item, you will be
  797.               presented with the graphics submenu. In this menu you may
  798.               select the graphics mode you wish LineWars II to use, and
  799.               the ambient light value.
  800.  
  801.               MCGA 320 x 200
  802.  
  803.                    The MCGA mode is the traditional 256-color mode which is
  804.                    available on every MCGA and VGA card. The graphics are
  805.                    very fast but blocky due to the very low resolution. If
  806.                    you have a very slow machine, an MCGA card, or a non-IBM-
  807.                    compatible VGA card, this is the mode for you.
  808.  
  809.               VGA  320 x 480
  810.  
  811.                    This is a non-standard (that is, the BIOS of your display
  812.                    card does not support it) mode, and thus it requires a
  813.                    100 % IBM-compatible VGA or SVGA card. This mode is also
  814.                    quite fast, especially on local bus machines, and it uses
  815.                    the least amount of main memory of all the graphics modes.
  816.                    If you have an IBM-compatible VGA card with only 256 KB of
  817.                    memory, this is the mode for you. Note that it takes a
  818.                    little while for a monitor to settle to this weird mode.
  819.  
  820.               VESA 640 x 480
  821.  
  822.                    This is a very nice mode on SVGA cards with at least 512
  823.                    kilobytes of memory, because of the high resolution.
  824.                    However, this mode requires an additional 256 kilobytes of
  825.                    main memory to run, and your SVGA card must either have a
  826.                    VESA-compatible BIOS, or you must load a VESA driver for
  827.                    your SVGA card. Also, since the amount of data to update
  828.                    on the screen is over four times more than with MCGA,
  829.                    this mode requires quite a fast machine with a fast SVGA
  830.                    card and at least a 386 processor.
  831.  
  832.               S3 Accelerated
  833.  
  834.                    If you have a Graphics Accelerator SVGA card with an S3
  835.                    chip and with one megabyte of display memory, you are in
  836.                    luck. The S3 mode of LineWars II displays spectacular and
  837.                    fast graphics, and still uses as little main memory as the
  838.                    VGA mode. This mode requires at least a 386 processor.
  839.                    Note that in this mode the screen might seem to slightly
  840.                    'jump' occassionally. This is not a real bug but a feature
  841.                    having to do with the way I use the memory of the card.
  842.  
  843.  
  844.           ___________________________________________________________________
  845.           Copyright 1994, Patrick Aalto              LineWars II Manual  /  9
  846.  
  847.                                                     CHAPTER 3 / CONFIGURATION
  848.           ___________________________________________________________________
  849.  
  850.  
  851.               ATI Mach8/Mach32
  852.  
  853.                    If you have one of the ATI Ultra family of graphics
  854.                    accelerator cards, like ATI Ultra, ATI Ultra+ or ATI
  855.                    Ultra Pro, you are in luck. The ATI mode displays
  856.                    spectacular and fast graphics, and still uses as little
  857.                    main memory as the VGA mode. This mode requires at least
  858.                    a 386 processor and at least one megabyte of display
  859.                    memory.
  860.  
  861.               GRAPHDRV.LW2
  862.  
  863.                    If none of the standard LineWars II graphics modes suit
  864.                    your hardware, you need to use a separate add-on graphics
  865.                    driver. This driver needs to be renamed to 'GRAPHDRV.LW2'
  866.                    and it needs to be in the current directory (the directory
  867.                    where you are when you start LW2.EXE) for LineWars II to
  868.                    be able to use it. At the time of this writing there are
  869.                    two add-on drivers available: HERCULES.LW2 and EGA.LW2
  870.                    for Hercules Monochrome and EGA, respectively.
  871.  
  872.               Ambient Light
  873.  
  874.                    Ambient Light is a Computer Graphics term which means back-
  875.                    ground light at constant intensity throughout the scene.
  876.                    In LineWars II this controls the brightness of polygons
  877.                    that are in shadow. A very low amount of ambient light
  878.                    would be the most realistic, but it will make the game
  879.                    harder to play, since you will have trouble seeing ships
  880.                    that come directly from the sun.
  881.  
  882.  
  883.           Control
  884.  
  885.               When you highlight the 'Control' top menu item, you will be
  886.               presented with the control submenu. In this menu you may
  887.               select the steering device you wish to use, the scaling
  888.               factors of the device, and keys to use for Laser and Missile.
  889.  
  890.               Keyboard
  891.  
  892.                    If you select Keyboard as your steering device, you will
  893.                    use the cursor keys (either on the numeric keypad or the
  894.                    separate inverted-T keys) for steering. The table on the
  895.                    following page shows the steering keys on the keypad:
  896.  
  897.  
  898.  
  899.  
  900.  
  901.           ___________________________________________________________________
  902.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  10
  903.  
  904.                                                     CHAPTER 3 / CONFIGURATION
  905.           ___________________________________________________________________
  906.  
  907.  
  908.                    ┌─────────────┬─────────────┬──────────────┬─────────────┐
  909.                    │ (Num Lock)  │ ( ./. )     │ ( X )        │ - SpeedDown │
  910.                    ├─────────────┼─────────────┼──────────────┼─────────────┤
  911.                    │ 7 Dive Left │ 8 Dive      │ 9 Dive Right │             │
  912.                    ├─────────────┼─────────────┼──────────────┤ + Speed Up  │
  913.                    │ 4 Turn Left │ 5 Stop Turn │ 6 Turn Right │             │
  914.                    ├─────────────┼─────────────┼──────────────┼─────────────┤
  915.                    │ 1 Rise Left │ 2 Rise      │ 3 Rise Right │             │
  916.                    ├─────────────┴─────────────┼──────────────┤  ( Enter )  │
  917.                    │ 0 Roll Ship Left          │ , Roll Right │             │
  918.                    └───────────────────────────┴──────────────┴─────────────┘
  919.  
  920.  
  921.               Joystick
  922.  
  923.                    The joystick has two distinct 'modes', which are selected
  924.                    with the second fire button.
  925.  
  926.                    1) If button 2 is UP (not pressed down):
  927.  
  928.                         - Horizontal stick position controls left and right
  929.                           turning of the ship.
  930.  
  931.                         - Vertical stick position controls ship diving and
  932.                           climbing.
  933.  
  934.                         - Firebutton 1 fires a laser beam.
  935.  
  936.                    2) If button 2 is DOWN (pressed down):
  937.  
  938.                         - Horizontal stick position rolls the ship.
  939.  
  940.                         - Vertical stick position controls the speed of the
  941.                           ship.
  942.  
  943.                         - Firebutton 1 fires a missile, if any ships are
  944.                           targeted in your crosshairs and you have any
  945.                           missiles left.
  946.  
  947.                    Note that using a joystick as a steering device will slow
  948.                    the game down slightly. This is because accurately reading
  949.                    the joystick position requires waiting for the joystick
  950.                    to report the current position, and during this waiting
  951.                    no other processing can be done. This means also that
  952.                    Covox and Internal Speaker sound output will be distorted
  953.                    if you use joystick, and if you use a COM port that does
  954.                    not have a FIFO support, it is likely that data loss will
  955.                    occur especially on higher COM port bps rates.
  956.  
  957.  
  958.           ___________________________________________________________________
  959.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  11
  960.  
  961.                                                     CHAPTER 3 / CONFIGURATION
  962.           ___________________________________________________________________
  963.  
  964.  
  965.                    LineWars II automatically calibrates the joystick when you
  966.                    start the game. However, for a succesfull calibration the
  967.                    joystick needs to be centered when you start LineWars II.
  968.                    (You may recalibrate the joystick even during the play
  969.                    by pressing F4, though.)
  970.  
  971.               Mouse
  972.  
  973.                    Using a mouse as your steering device will make the cross-
  974.                    hairs slide on your screen. However, your lasers and
  975.                    missiles will still be launched directly ahead.
  976.  
  977.                    The mouse has two distinct 'modes', which are selected
  978.                    with the rightmost mouse button.
  979.  
  980.                    1) If the rightmost button is UP (not pressed down):
  981.  
  982.                         - Horizontal mouse position controls left and right
  983.                           turning of the ship.
  984.  
  985.                         - Vertical mouse position controls ship diving and
  986.                           climbing. You can change the polarity of the
  987.                           controls using the 'Y Scaling' setting, if you
  988.                           feel that the default direction is 'backwards'.
  989.  
  990.                         - Leftmost mouse button fires a laser beam.
  991.  
  992.                    2) If the rightmost button is DOWN (pressed down):
  993.  
  994.                         - Horizontal mouse position rolls the ship.
  995.  
  996.                         - Vertical mouse position controls the speed of the
  997.                           ship. Move the mouse forward to accelerate, and
  998.                           move the mouse backward to brake.
  999.  
  1000.                         - Leftmost mouse button fires a missile, if any
  1001.                           ships are targeted in your crosshairs and you
  1002.                           have any missiles left.
  1003.  
  1004.               ThrustMaster
  1005.  
  1006.                    The best steering device when playing LineWars II is the
  1007.                    ThrustMaster Flight Control System.  With it you can
  1008.                    control almost everything without touching the keyboard.
  1009.                    The controls available when using the ThrustMaster FCS
  1010.                    are described on the following page:
  1011.  
  1012.  
  1013.  
  1014.  
  1015.           ___________________________________________________________________
  1016.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  12
  1017.  
  1018.                                                     CHAPTER 3 / CONFIGURATION
  1019.           ___________________________________________________________________
  1020.  
  1021.  
  1022.                         - Main Joystick
  1023.                                 - Push forward  Ship dives.
  1024.                                 - Pull back     Ship rises.
  1025.                                 - Turn left     Ship turns left.
  1026.                                 - Turn right    Ship turns right.
  1027.  
  1028.                         - Top Joystick
  1029.                                 - Push forward  Ship accelerates.
  1030.                                 - Pull back     Ship brakes.
  1031.                                 - Turn left     Ship rolls counterclockwise.
  1032.                                 - Turn right    Ship rolls clockwise.
  1033.  
  1034.                         - Trigger               Fire a laser beam.
  1035.  
  1036.                         - Top thumb button      Launch a missile, if a ship
  1037.                                                 is currently in crosshairs
  1038.                                                 and you have missiles left.
  1039.  
  1040.                         - Middle button         Toggle between forward and
  1041.                                                 aft view.
  1042.  
  1043.                         - Low button            Teleport to another ship.
  1044.  
  1045.                    Note that using a ThrustMaster FCS as a steering device
  1046.                    will slow the game down slightly. This is because
  1047.                    accurately reading the joystick positions requires
  1048.                    waiting for the joystick to report the current position,
  1049.                    and during this waiting no other processing can be done.
  1050.                    This means also that Covox and Internal Speaker sound
  1051.                    output will be distorted if you use ThustMaster FCS,
  1052.                    and if you use a COM port that does not have a FIFO
  1053.                    support, it is likely that data loss will occur
  1054.                    especially on higher COM port bps rates.
  1055.  
  1056.                    LineWars II automatically calibrates the ThrustMaster FCS
  1057.                    when you start the game. However, for a succesfull
  1058.                    calibration the joysticks need to be centered when you
  1059.                    start LineWars II. (You may recalibrate the joysticks
  1060.                    even during the play by pressing F4, though.)
  1061.  
  1062.               X Scaling
  1063.               Y Scaling
  1064.  
  1065.                    If you find the control device to be too sensitive or
  1066.                    not sensitive enough, you can change the sensitivity
  1067.                    with these settings. When you select either 'X Scaling'
  1068.                    or 'Y Scaling', you will be presented a submenu where
  1069.                    you can select the new sensitivity value. The possible
  1070.  
  1071.  
  1072.           ___________________________________________________________________
  1073.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  13
  1074.  
  1075.                                                     CHAPTER 3 / CONFIGURATION
  1076.           ___________________________________________________________________
  1077.  
  1078.  
  1079.                    options are 0.25, 0.50, 1.00, 2.00 and 4.00. A value of
  1080.                    2.00 will make the controls twice as sensitive as the
  1081.                    default value of 1.00, for example.
  1082.  
  1083.                    The menu has also negative values for the sensitivity.
  1084.                    These negative values work just like the positive ones,
  1085.                    but they swap the polarity of the control, too. If you
  1086.                    originally had to turn the stick left to turn left,
  1087.                    and you select X Scaling value of -1.00, you will now
  1088.                    have to turn the stick right to turn left.
  1089.  
  1090.                    Note that the steering device sensitivity seems to
  1091.                    change also if you select a lower or faster Game Speed
  1092.                    value. The sensitivity does not actually change, but
  1093.                    since the time of the game will run slower or faster,
  1094.                    the ship will also turn slower or faster. You should
  1095.                    always first select the Game Speed you wish to use, and
  1096.                    only then if the sensitivity of the controls still isn't
  1097.                    right, change the scaling factors.
  1098.  
  1099.               Laser Key
  1100.               Missile Key
  1101.  
  1102.                    The Laser Key and Missile Key settings let you change
  1103.                    the key you wish to use for firing lasers or launching
  1104.                    missiles, respectively. Of course, if you use joystick
  1105.                    or mouse as your steering device, you need not use either
  1106.                    of these keys, so you most likely need not change them.
  1107.  
  1108.                    When you select Laser Key or Missile Key, you will see
  1109.                    a submenu with the possible keys for the setting. The
  1110.                    keys are: Alt, Ctrl, Tab, Caps Lock, Num Lock, Scroll
  1111.                    Lock, Keypad X, and Keypad ./. You may select the key
  1112.                    that seems the most natural to use. The default keys
  1113.                    are Alt for lasers, and Ctrl for missiles. You should
  1114.                    not select the same key for both.
  1115.  
  1116.  
  1117.           Sound
  1118.  
  1119.               The sound menu lets you select all the options conserning
  1120.               music and sound effects playing in LineWars II. The menu is
  1121.               split into four areas. The topmost area lets you select the
  1122.               sound output device. The second area lets you control some
  1123.               additional parameters, depending on the sound output device.
  1124.               The third area lets you control the sound volume, and the
  1125.               bottom area lets you select the song you wish to play in the
  1126.               background while you are playing LineWars II.
  1127.  
  1128.  
  1129.           ___________________________________________________________________
  1130.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  14
  1131.  
  1132.                                                     CHAPTER 3 / CONFIGURATION
  1133.           ___________________________________________________________________
  1134.  
  1135.  
  1136.               No Sound Output
  1137.  
  1138.                    The first sound output device is No Sound Output, which
  1139.                    means you wish not play any music nor hear any sound
  1140.                    effects. This settings uses the least amount of memory,
  1141.                    so you may want to use it if you are very low on memory.
  1142.                    If none of the other sound options are supported by your
  1143.                    hardware and you have not a SOUNDDRV.LW2 for your hard-
  1144.                    ware either, you must also choose this option.
  1145.  
  1146.               Covox (8-bit DAC)
  1147.  
  1148.                    This option will play the music using a parallel port
  1149.                    DAC output device (see Appendix D for how to build one
  1150.                    yourself). You should also select Port Address and Play
  1151.                    Frequency to suit your hardware, and possibly also the
  1152.                    Timer Handling setting.
  1153.  
  1154.                    Playing sound thru a parallel port DAC device uses quite
  1155.                    a lot of CPU power, and it needs 128 kilobytes of memory
  1156.                    to store the digitized instrument and effects samples.
  1157.                    If you have a slow machine and especially if you use a
  1158.                    memory manager like QEMM, you should first try with a
  1159.                    very low Play Frequency, and only if it works reliably
  1160.                    select a higher playing rate. Note that using a joystick
  1161.                    as a control device might cause some distortion to the
  1162.                    parallel port DAC sound output.
  1163.  
  1164.               Sound Blaster
  1165.  
  1166.                    LineWars II will automatically detect whether you have
  1167.                    an older Sound Blaster (which has only a mono DAC) or
  1168.                    a newer Sound Blaster Pro. If you have a Pro version,
  1169.                    LineWars II can play music in "Enhanced Stereo". The
  1170.                    word "enhanced" means that unlike traditional MOD-player
  1171.                    type programs that support Sound Blaster Pro and play
  1172.                    each of the four channels with only either the left or
  1173.                    the right channel, LineWars II plays all the four music
  1174.                    channels with both the stereo channels. This makes the
  1175.                    music much more enjoyable when using headphones.
  1176.  
  1177.                    Since LineWars II plays only MOD-type music using the
  1178.                    digitized sound, it does not utilize the FM chips on a
  1179.                    Sound Blaster. The driver needs 128 kilobytes of memory
  1180.                    to store the digitized instrument and effects samples.
  1181.  
  1182.                    Make sure the base Port Address is correct, and select
  1183.                    the highest Play Frequency that your machine can support
  1184.  
  1185.  
  1186.           ___________________________________________________________________
  1187.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  15
  1188.  
  1189.                                                     CHAPTER 3 / CONFIGURATION
  1190.           ___________________________________________________________________
  1191.  
  1192.  
  1193.                    to get the best possible sound. Note that the Sound
  1194.                    Blaster must use DMA channel 1 for LineWars II to be able
  1195.                    to use it.
  1196.  
  1197.               Gravis UltraSound
  1198.  
  1199.                    LineWars II will load all instrument and sound effects
  1200.                    samples to the memory of your Gravis Ultrasound, and thus
  1201.                    the driver uses very little main memory. Your UltraSound
  1202.                    card needs only have 256 kilobytes of DRAM memory. The
  1203.                    samples are only 8-bit, so the UltraSound card is not
  1204.                    unfortunately used quite up to it's full potential.
  1205.                    However, since the sound playing is handled totally by
  1206.                    hardware, this sound driver will have almost no effect
  1207.                    on the game speed.
  1208.  
  1209.                    Make certain the Port Address is correct. LineWars II
  1210.                    tries to detect the port address based on the ULTRASND
  1211.                    environment variable, but if it fails you need to set
  1212.                    the address yourself.
  1213.  
  1214.                    If you have the optional GRAVIS3D.LW2 file, you can
  1215.                    make LineWars II play some of the sound effects using
  1216.                    Focal Point 3D sound. This gives an enhanced sense of
  1217.                    direction to the sounds especially with headphones.
  1218.  
  1219.                    Note that you can also use the Sound Blaster sound driver
  1220.                    of LineWars II with your Gravis Ultrasound, but only if
  1221.                    you have loaded SBOS with the -x2 parameter.
  1222.  
  1223.               Roland LAPC-I
  1224.  
  1225.                    LineWars II will load new patches to your Roland LAPC-I,
  1226.                    MT-32 or compatible synth module when starting. This is
  1227.                    why the game will load a bit slowly when using this
  1228.                    sound device. However, this driver has almost no effect
  1229.                    on the actual game speed.
  1230.  
  1231.                    You must have a Roland MPU-401 or compatible Midi
  1232.                    Processing Unit on port address 330h for this driver to
  1233.                    work (the LAPC-I card includes this unit).
  1234.  
  1235.               Roland SCC-1
  1236.  
  1237.                    You can use this sound driver also if you have a Roland
  1238.                    MPU-401 Midi Processing Unit and any General Midi -
  1239.                    compatible synth module. However, the sound effects that
  1240.                    LineWars II uses are specific to Roland GS standard and
  1241.  
  1242.  
  1243.           ___________________________________________________________________
  1244.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  16
  1245.  
  1246.                                                     CHAPTER 3 / CONFIGURATION
  1247.           ___________________________________________________________________
  1248.  
  1249.  
  1250.                    thus may not sound correct on other GM synths. The music
  1251.                    will play correctly, though.
  1252.  
  1253.                    Make sure you select the correct Port Address, too.
  1254.  
  1255.               SOUNDDRV.LW2
  1256.  
  1257.                    If none of the standard LineWars II sound drivers suit
  1258.                    your hardware, you may want to use a separate add-on
  1259.                    sound driver. This driver needs to be renamed to
  1260.                    'SOUNDDRV.LW2' and it needs to be in the current
  1261.                    directory (the directory where you are when you start
  1262.                    LW2.EXE) for LineWars II to be able to use it. At the
  1263.                    time of this writing there is available a driver for
  1264.                    PC internal speaker, named SPEAKER.LW2.
  1265.  
  1266.               Port Address
  1267.  
  1268.                    Many of the sound output devices may exist in a variety
  1269.                    of I/O port addresses. You can tell LineWars II on which
  1270.                    port address your device is with this configuration
  1271.                    setting. You should have selected SysInfo before changing
  1272.                    the port address, to let LineWars II check the available
  1273.                    port addresses that you may select.
  1274.  
  1275.               Play Frequency
  1276.  
  1277.                    If you play music thru a parallel port DAC or thru a
  1278.                    Sound Blaster, you may select the sound mixing speed
  1279.                    with this setting. Lower rates will take less CPU time
  1280.                    but will generally sound not as good as the higher
  1281.                    rates.
  1282.  
  1283.               Timer / Stereo / 3D
  1284.  
  1285.                    If you have selected Covox (parallel port DAC) output
  1286.                    device, you may select if you want the timer interrupt
  1287.                    replaced or chained to. Normally you should select the
  1288.                    'Replace' option. Only if some TSR programs fails to
  1289.                    run correctly, you should select the 'Chain' option.
  1290.                    No matter which one you select the DOS clock will be
  1291.                    kept on time.
  1292.  
  1293.                    If you have selected Sound Blaster output device and you
  1294.                    have a Sound Blaster Pro, you may select whether you wish
  1295.                    to use Enhanced or Standard stereo mode. Enhanced stereo
  1296.                    takes slightly more CPU time, but it will sound nicer
  1297.                    when using headphones.
  1298.  
  1299.  
  1300.           ___________________________________________________________________
  1301.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  17
  1302.  
  1303.                                                     CHAPTER 3 / CONFIGURATION
  1304.           ___________________________________________________________________
  1305.  
  1306.  
  1307.                    If you have select Gravis Ultrasound output device, you
  1308.                    can toggle between using Focal Point 3D effect (requires
  1309.                    a GRAVIS3D.LW2 file) and standard sound effects.
  1310.  
  1311.               Music Volume
  1312.               SoundFX Volume
  1313.  
  1314.                    You can select the sound output volumes separately for
  1315.                    music and sound effects. The volume may range from OFF
  1316.                    to 120 %. Note that values over 100 % will overdrive
  1317.                    some of the sound devices, which may cause distortion
  1318.                    to the sound.
  1319.  
  1320.  
  1321.           Comms
  1322.  
  1323.               In the Communications submenu you can select the device you
  1324.               want to use in the two-player or multi-player missions. You
  1325.               may freely skip this submenu if you plan to only play the
  1326.               single-player missions.
  1327.  
  1328.               To play LineWars II in Duel Mode or Wing Mode requires a COM
  1329.               port communications device. To play the Group War or Star Wars
  1330.               missions, you must use either a Shared File communications
  1331.               device.
  1332.  
  1333.               No Comms Device
  1334.  
  1335.                    If you select this option, you can only play LineWars II
  1336.                    in single-player mode, or you must give all of the COM
  1337.                    parameters on command line if you want to use the two-
  1338.                    player missions.
  1339.  
  1340.               COM Port 1
  1341.               COM Port 2
  1342.               COM Port 3
  1343.               COM Port 4
  1344.  
  1345.                    You should select one of these COM ports if you wish to
  1346.                    use the two-player missions (Duel Mode and Wing Mode)
  1347.                    in LineWars II. Select the port your modem or null-cable
  1348.                    is connected to.
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.           ___________________________________________________________________
  1358.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  18
  1359.  
  1360.                                                     CHAPTER 3 / CONFIGURATION
  1361.           ___________________________________________________________________
  1362.  
  1363.  
  1364.                    LineWars II uses the standard base port addresses and
  1365.                    IRQ lines for the COM ports. The standard values are:
  1366.  
  1367.                               ┌──────┬──────┬─────┐
  1368.                               │ Port │ Base │ IRQ │
  1369.                               ├──────┼──────┼─────┤
  1370.                               │ COM1 │ 3F8h │  4  │
  1371.                               │ COM2 │ 2F8h │  3  │
  1372.                               │ COM3 │ 3E8h │  4  │
  1373.                               │ COM4 │ 2E8h │  3  │
  1374.                               └──────┴──────┴─────┘
  1375.  
  1376.                    If your COM port uses a non-standard base port address
  1377.                    or IRQ line, you will have to give the correct base port
  1378.                    and IRQ line on a command line while starting LineWars II.
  1379.                    (See the section on command line parameters for more info
  1380.                    about this).
  1381.  
  1382.                    After you have selected the correct COM port you should
  1383.                    select the line speed, handshaking and FIFO options for
  1384.                    the port.
  1385.  
  1386.               Shared File
  1387.  
  1388.                    If you plan to play LineWars II in multi-player mode and
  1389.                    you have a network system that supports file sharing, you
  1390.                    can use this communications device.
  1391.  
  1392.                    You must also select the directory ("Network Dir") where
  1393.                    LineWars II will create the node files that are used for
  1394.                    communication between the nodes. This directory must be
  1395.                    physically the same location for all the nodes in one
  1396.                    game. The recommended location is a RAMdrive on a network
  1397.                    server. If your network does not have a dedicated server,
  1398.                    you might try using the disk of the slowest computer
  1399.                    (if accessing a local disk is faster than accessing a
  1400.                    remote disk) or the faster computer (if accessing a
  1401.                    remote disk is faster).
  1402.  
  1403.                    If you experience problems with this communications
  1404.                    device, first make sure that SHARE.EXE is loaded,
  1405.                    especially on the server machine. See your DOS manual
  1406.                    or online documentation on more info about loading
  1407.                    SHARE.EXE.
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.           ___________________________________________________________________
  1415.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  19
  1416.  
  1417.                                                     CHAPTER 3 / CONFIGURATION
  1418.           ___________________________________________________________________
  1419.  
  1420.  
  1421.               Line Speed
  1422.  
  1423.                    You can select the connection line speed to suit your
  1424.                    modem between 1200 and 115200 bps. Note that the slowest
  1425.                    recommended line speed is 9600 bps. Slower lines will
  1426.                    work, but the movement of your opponent's ship will be
  1427.                    somewhat jerky.
  1428.  
  1429.                    If you have a direct cable to another computer, you can
  1430.                    select the highest rate of 115200 bps. LineWars II has
  1431.                    a very fast COM port routine which will most likely be
  1432.                    quite reliable at this speed even on slower machines.
  1433.  
  1434.                    You can also select "Use Current", which instructs
  1435.                    LineWars II not to change the current line speed of the
  1436.                    COM port. This is most usefull when you start LineWars II
  1437.                    under a comms program after you have dialed your friend.
  1438.  
  1439.               Handshaking
  1440.  
  1441.                    LineWars II can use CTS/RTS hardware handshaking to
  1442.                    prevent data overrun errors on slower modems. If you
  1443.                    use a direct cable connection, you do not need to turn
  1444.                    the handshaking on. If you have enabled the handshaking,
  1445.                    your modem must be able to receive data (CTS signal must
  1446.                    be high) when you start LineWars II.
  1447.  
  1448.               FIFO Options
  1449.  
  1450.                    If your COM port has NS16550A or IBM Type 3 UART, you
  1451.                    can enable the FIFO queue to prevent data loss. This
  1452.                    is especially effective if you use a joystick.
  1453.  
  1454.                    You can select the FIFO queue length to be either
  1455.                    2, 8, 14 or 16 bytes, or you can disable the queue.
  1456.                    You have to test which queue length produces the
  1457.                    most reliable connection.
  1458.  
  1459.               Network Dir
  1460.  
  1461.                    If you use the Shared File communications device, you
  1462.                    must give the location of the common directory where
  1463.                    the node files will be created.
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.           ___________________________________________________________________
  1472.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  20
  1473.  
  1474.                                                     CHAPTER 3 / CONFIGURATION
  1475.           ___________________________________________________________________
  1476.  
  1477.  
  1478.           Gaming
  1479.  
  1480.               In the Gaming submenu you can select the default mission (the
  1481.               cursor will be positioned on this mission when you start LW2
  1482.               without parameters), the virtual speed of the game, and your
  1483.               call sign (for two-player and multi-player missions).
  1484.  
  1485.               Default Game
  1486.  
  1487.                    Demonstration
  1488.  
  1489.                    If you select this as the default option, you will see
  1490.                    the demo game when you press Enter in the LW2 main menu
  1491.                    without making a selection. You may join the battle in
  1492.                    the demonstration by first pressing the F3 key.
  1493.  
  1494.                    Asteroid Storm
  1495.                    The First Blood
  1496.                    Princess Escort
  1497.                    Pirate Ambush
  1498.                    Disable a Base
  1499.                    Defend the Base
  1500.                    The Convoy
  1501.                    Freedom Fight
  1502.                    Final Battle
  1503.  
  1504.                    These are the single-player missions. Each mission has a
  1505.                    separate high score, and you may play the missions in
  1506.                    whichever order you wish.
  1507.  
  1508.                    Duel Mode (COM)
  1509.                    Wing Mode (COM)
  1510.  
  1511.                    These are the two-player missions. You must use a COM
  1512.                    port with these missions.
  1513.  
  1514.                    Group War (NET)
  1515.                    Star Wars (NET)
  1516.  
  1517.                    These are the multi-player missions. You must the Shared
  1518.                    File communications device with these missions.
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.           ___________________________________________________________________
  1529.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  21
  1530.  
  1531.                                                     CHAPTER 3 / CONFIGURATION
  1532.           ___________________________________________________________________
  1533.  
  1534.  
  1535.               Game Speed
  1536.  
  1537.                    With the Game Speed setting you can select the virtual
  1538.                    speed of the game to suit your reflexes and skills. The
  1539.                    speed can be set to be between 50 % and 233 % of the
  1540.                    default speed. The speed of the CPU or the framerate
  1541.                    does not affect the speed and movements of the ships,
  1542.                    it just affects how smoothly the ships move. If you select
  1543.                    a high Game Speed setting on a slow computer, the game has
  1544.                    to move the ships a long distance between each frame,
  1545.                    which will cause jerky movements. A low Game Speed on a
  1546.                    fast machine will make the ships move very slowly and
  1547.                    smoothly. If your machine is too slow for a certain game
  1548.                    speed setting, you will see the FPS indicator flashing a
  1549.                    'SLOW' text from time to time.
  1550.  
  1551.               Call Sign
  1552.  
  1553.                    You can type your call sign, up to 16 characters, which
  1554.                    will be used to identify your ships in the two-player
  1555.                    and multi-player missions.
  1556.  
  1557.  
  1558.           Exit
  1559.  
  1560.               Selecting Exit will save the current configuration settings
  1561.               into LW2U.DAT and exit from the configuration program. You can
  1562.               also perform Exit at any time by pressing Esc. Note that there
  1563.               is no way to quit without saving the configuration.
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.           ___________________________________________________________________
  1586.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  22
  1587.  
  1588.                                               CHAPTER 4 / PLAYING LINEWARS II
  1589.           ___________________________________________________________________
  1590.  
  1591.  
  1592.  
  1593.           CHAPTER 4 / PLAYING LINEWARS II
  1594.  
  1595.  
  1596.           After you have configured LineWars II for your hardware, you are
  1597.           ready to start playing the game. This chapter describes your
  1598.           options for starting the game, the layout of the cockpit of your
  1599.           Cobra spaceship, the keys and controls in the game, and finally
  1600.           the goal and story of the first missions.
  1601.  
  1602.  
  1603.           Starting Without Parameters
  1604.  
  1605.               If you start LineWars II without giving any command line
  1606.               parameters, you will see the main menu. The main menu screen
  1607.               looks somewhat like this:
  1608.  
  1609.           ┌─────────────────────────────────────────────────────────────────┐
  1610.           │ LineWars II      Copyright 1994 Safari Software & Patrick Aalto │
  1611.           │                  Version 1.02        Made in Finland 06.03.1994 │
  1612.           └─────────────────────────────────────────────────────────────────┘
  1613.           ┌ DISTRIBUTED BY ┐┌─ SELECT MISSION TO PLAY ──┐┌─── THE AUTHOR ───┐
  1614.           │ Safari Software││ Configure LineWars II     ││ Patrick Aalto    │
  1615.           │ 10406 Holbrook ││ View Demonstration        ││ Hiekkapohjan     │
  1616.           │ Drive, Potomac ││ "Asteroid Storm"     (1)  ││ koulu,           │
  1617.           │ MD 20854       ││ "The First Blood"    (2)  ││ 40270 PALOKKA    │
  1618.           │ U.S.A.         ││ "Princess Escort"    (3)  ││ FINLAND          │
  1619.           │ 301-738-2349   ││ "The Pirate Ambush"  (4)  ││ E-mail: ap@jyu.fi│
  1620.           └────────────────┘│ "Disable the Base"   (5)  │└──────────────────┘
  1621.           ┌─ UNREGISTERED ─┐│ "Defend the Base"    (6)  │┌─ SPECIAL THANKS ─┐
  1622.           │ Please register││ "Destroy the Convoy" (7)  ││ Borland Inc, Ralf│
  1623.           │ your copy of   ││ "Fight for Freedom"  (8)  ││ Brown, Mark Cox, │
  1624.           │ LineWars II !! ││ "The Final Battle"   (9)  ││ R.Ferraro, Themie│
  1625.           │ Finns may regis││ Duel Mode (modem game)    ││ Gouthas,Marko Hap│
  1626.           │ ter via author,││ Wing Mode (modem game)    ││ ponen, Kim Heino,│
  1627.           │ others please  ││ Group War (network game)  ││ S3 Incorporated, │
  1628.           │ contact Safari.││ Star Wars (network game)  ││ Tim Sweeney, U4ia│
  1629.           └────────────────┘└───────────────────────────┘└──────────────────┘
  1630.           ┌─────────────────────────────────────────────────────────────────┐
  1631.           │ Please see the documentation file "LW2.DOC" for more details.   │
  1632.           └─────────────────────────────────────────────────────────────────┘
  1633.  
  1634.               The main menu screen displays the version number of your copy
  1635.               of Linewars II, the copyright information and the date when
  1636.               LineWars II was last compiled (in DD.MM.YYYY format). On both
  1637.               sides of the mission menu are some possibly usefull info,
  1638.               like contact addresses for Safari Software and me.
  1639.  
  1640.  
  1641.  
  1642.           ___________________________________________________________________
  1643.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  23
  1644.  
  1645.                                               CHAPTER 4 / PLAYING LINEWARS II
  1646.           ___________________________________________________________________
  1647.  
  1648.  
  1649.               The menu bar will be positioned on whichever mission you have
  1650.               chosen as the default mission in LineWars II Configuration.
  1651.  
  1652.               To choose the mission you wish to play (or to configure your
  1653.               copy of Linewars II) you can move the menu bar with up and down
  1654.               arrow keys, and select the mission with pressing Enter. If you
  1655.               wish to quit LineWars II at this point, you can press ESC.
  1656.  
  1657.               If you have your mouse driver loaded, you can also select the
  1658.               mission by moving the mouse pointer (and thus the menu bar)
  1659.               on top of the mission you wish to play and clicking the left
  1660.               mouse button. Clicking the right mouse button will quit LW2.
  1661.  
  1662.               After you have chosen your mission, LineWars II loads the
  1663.               driver overlays and other data from LW2U.DAT and then begins
  1664.               to run the intro.
  1665.  
  1666.               When you start LineWars II without any command line parameters,
  1667.               all the configuration options you have selected are in effect.
  1668.  
  1669.  
  1670.           Command Line Parameters
  1671.  
  1672.               It is possible to override some of the configuration settings
  1673.               you have given in LineWars II Configuration by giving the new
  1674.               setting on the command line. If you give any parameters on the
  1675.               command line, the main menu is not displayed and LineWars II
  1676.               goes directly into the intro screen. There are five distinct
  1677.               groups of command line parameters that LineWars II recognizes.
  1678.               You can:
  1679.  
  1680.                    1) Start the LineWars II Configuration program,
  1681.  
  1682.                    2) Select the mission you wish to play,
  1683.  
  1684.                    3) Select the graphics mode you wish to use,
  1685.  
  1686.                    4) Select the control device you wish to use, and
  1687.  
  1688.                    5) Select the COM port options for two-player missions.
  1689.  
  1690.               The table on the following page summarizes the command line
  1691.               parameters and displays the shortest abbreviations that are
  1692.               recognized. Note that you cannot setup the sound options or
  1693.               multi-player options on the command line. Use the LineWars II
  1694.               configuration to setup these.
  1695.  
  1696.  
  1697.  
  1698.  
  1699.           ___________________________________________________________________
  1700.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  24
  1701.  
  1702.                                               CHAPTER 4 / PLAYING LINEWARS II
  1703.           ___________________________________________________________________
  1704.  
  1705.               ┌──────────────┬──────────────┬───────────────────────────────┐
  1706.               │ Parameter    │ Abbreviation │ Meaning                       │
  1707.               ├──────────────┼──────────────┼───────────────────────────────┤
  1708.               │ CFG          │ CF           │ Linewars II Configuration     │
  1709.               ├──────────────┼──────────────┼───────────────────────────────┤
  1710.               │ DEMO         │ DE           │ Play the Demonstration game   │
  1711.               │ GAME n       │ G n          │ Play the Mission number n,    │
  1712.               │              │              │ where n is 1, 2, ... , 9      │
  1713.               │ DUEL         │ DU           │ Play the Duel Mode mission    │
  1714.               │ WING         │ WI           │ Play the Wing Mode mission    │
  1715.               ├──────────────┼──────────────┼───────────────────────────────┤
  1716.               │ MCGA         │ MC           │ Use MCGA graphics mode        │
  1717.               │ VGA          │ VG           │ Use VGA graphics mode         │
  1718.               │ VESA         │ VE           │ Use VESA graphics mode        │
  1719.               │ S3           │ S3           │ Use S3 graphics mode          │
  1720.               │ ATI          │ AT           │ Use ATI graphics mode         │
  1721.               ├──────────────┼──────────────┼───────────────────────────────┤
  1722.               │ KEYBOARD     │ K            │ Use keyboard for steering     │
  1723.               │ JOYSTICK     │ J            │ Use joystick for steering     │
  1724.               │ MOUSE        │ MO           │ Use mouse for steering        │
  1725.               │ FCS          │ F            │ Use ThrustMaster FCS controls │
  1726.               ├──────────────┼──────────────┼───────────────────────────────┤
  1727.               │ PORT n       │ P n          │ Use COM port number n, where  │
  1728.               │              │              │ n is 1, 2, 3 or 4             │
  1729.               │ PORTX b,i    │ PX b,i       │ Use a non-standard COM port,  │
  1730.               │              │              │ where b is the base address   │
  1731.               │              │              │ (in HEX) and i is the IRQ     │
  1732.               │              │              │ line, as in PORTX 3E8,5       │
  1733.               │ BAUD n       │ B n          │ COM port bps rate, where n    │
  1734.               │              │              │ is 1200, 2400, ... , 115200   │
  1735.               │ CTS          │ CT           │ Use CTS/RTS handshaking       │
  1736.               │              │              │                               │              
  1737.               │ NOCTS        │ N            │ Disable CTS/RTS handshaking   │              
  1738.               └──────────────┴──────────────┴───────────────────────────────┘
  1739.  
  1740.               You may give the parameters in either upper or lower case, and
  1741.               multiple parameters may be in any order.
  1742.  
  1743.               The command line parameters are most usefull when you start
  1744.               LineWars II under a comms program. You can configure LineWars
  1745.               II as an add-on transfer protocol to your comms program, and
  1746.               then create a batch file that tells the current COM port number
  1747.               and BPS rate to LineWars II on the command line. When the comms
  1748.               program runs the batch file, LineWars II will load and use the
  1749.               correct COM port settings.
  1750.  
  1751.               Other use for the command line parameters is to automatically
  1752.               skip the main menu. If you give the graphics mode on the
  1753.               command line, LineWars II works just like if you had given the
  1754.               mode in LineWars II Configuration, but skips the menu.
  1755.  
  1756.  
  1757.  
  1758.           ___________________________________________________________________
  1759.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  25
  1760.  
  1761.                                               CHAPTER 4 / PLAYING LINEWARS II
  1762.           ___________________________________________________________________
  1763.  
  1764.  
  1765.           The Intro
  1766.  
  1767.               When you have selected the mission you wish to play (either
  1768.               from the main menu or from the command line), LineWars II
  1769.               begins to run the intro. The intro screen displays a looping
  1770.               'planet flyby' animation and a scrolling intro text for the
  1771.               mission you are about to start.
  1772.  
  1773.               You can skip the intro by pressing Enter, and you can quit
  1774.               LineWars II at this point by pressing ESC. If you are using
  1775.               a joustick or mouse, you can also skip the intro using the
  1776.               fire button or the left mouse button.
  1777.  
  1778.               Note however that it is not possible to skip the intro when
  1779.               using a two-player mission, because in these missions
  1780.               LineWars II tries to establish connection to the other
  1781.               computer during the intro. The game will start immediately
  1782.               after a connection is made.
  1783.  
  1784.               The 'planet flyby' animation displays our solar system as
  1785.               it would be seen from a comet or a probe flying in a highly
  1786.               elliptical orbit. The camera of the probe is constantly
  1787.               pointed towards Jupiter. Note that even though the orbits
  1788.               of the planets are relatively correct, the sizes of the
  1789.               planets and sun are greatly exaggerated.
  1790.  
  1791.               It is a good idea to read the scrolling text thru at least
  1792.               once, to get an idea of what the mission is all about.
  1793.  
  1794.  
  1795.           The Cockpit
  1796.  
  1797.               When the mission you have chosen begins, you will be sitting at
  1798.               the controls of your spaceship.
  1799.  
  1800.               The cockpit consists of several distinct areas. On the top is
  1801.               the logo text. The biggest area in the middle is the Main
  1802.               Viewer Screen, which is like a window to space. On the left
  1803.               and right borders of the Main Viewer are Ship Systems Status
  1804.               indicators. The wide area below the Main Viewer and below the
  1805.               registration text is for messages received from other friendly
  1806.               ships. On the bottom left corner is the Ship Speed Indicator,
  1807.               beside which is the Info Screen, which can show various
  1808.               information, selected with the F1 key. On the bottom right
  1809.               side is the Radar Screen, which includes Ship Class Counters.
  1810.               On the bottom middle is the Shield and Armour Status Indicator,
  1811.               and on top of it you can see which ship you are currently
  1812.               controlling.
  1813.  
  1814.  
  1815.           ___________________________________________________________________
  1816.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  26
  1817.  
  1818.                                               CHAPTER 4 / PLAYING LINEWARS II
  1819.           ___________________________________________________________________
  1820.  
  1821.  
  1822.               The Cockpit looks somewhat like this:
  1823.  
  1824.           ┌─────────────────────────────────────────────────────────────────┐
  1825.           │L i n e W a r s   I I   b y   P a t r i c k   A a l t o   1 9 9 4│
  1826.           │    ┌───────────────────────────────────────────────────────┐    │
  1827.           │    │                                                       │    │
  1828.           │    │                                                       │    │
  1829.           │    │                                                       │    │
  1830.           │    │                                                       │    │
  1831.           │    │                                                       │    │
  1832.           │    │                           │                           │    │
  1833.           │    │                        ──   ──                        │    │
  1834.           │    │                           │                           │    │
  1835.           │    │                                                       │    │
  1836.           │Lasr│                                                       │Radr│
  1837.           │Misl│                                                       │Comm│
  1838.           │Shld│                                                       │Hull│
  1839.           │Thrs│                                                       │Ctrl│
  1840.           ├────┼───────────────────────────────────────────────────────┼────┤
  1841.           │View│          R e g i s t e r e d   V e r s i o n          │Misl│
  1842.           │Fore│                                                       │3   │
  1843.           ├────┴───────────────────────────────────────────────────────┴────┤
  1844.           │ Messages from other Cobras are shown here.                      │
  1845.           ├────┬─────────────────────┬───────────┬─────────────────────┬────┤
  1846.           │████│ Info Screen, which  │CONTROLLING│Long Range 3D Scanner│    │
  1847.           │████│ can be selected with│  COBRA 1  │   ______    Friend  ├────┤
  1848.           │████│ F1 key to display   ├───────────┤  /      \   2       │    │
  1849.           │████│ score page, keyboard│  Shield & │ │ Radar  │  Foe     ├────┤
  1850.           │████│ help, radar help, or│  Armour   │ │ Screen │  2       │Time│
  1851.           │KM/H│ memory status page. │  Status   │  \______/   Other   ├────┤
  1852.           │3250│                     │ Indicator │             10      │FPS │
  1853.           └────┴─────────────────────┴───────────┴─────────────────────┴────┘
  1854.  
  1855.               Main Viewer Screen
  1856.  
  1857.                    The Main Viewer Screen displays a 3D representation of
  1858.                    space either in front of your ship or behind your ship.
  1859.                    The F2 key toggles between Fore View and Aft View. You
  1860.                    can see which view you are currently using from the
  1861.                    ship system status indicator on the left border, beside
  1862.                    the big 'Registered Version' or 'Unregistered Shareware
  1863.                    Version' text. The status indicator shows either 'Fore'
  1864.                    or 'Rear'.
  1865.  
  1866.                    On the fore view you have crosshairs which you can use to
  1867.                    aim your lasers and target your missiles. Your ship is
  1868.                    equipped with a Target Identification Computer, which
  1869.                    can display the distance to the object, the speed of the
  1870.  
  1871.  
  1872.           ___________________________________________________________________
  1873.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  27
  1874.  
  1875.                                               CHAPTER 4 / PLAYING LINEWARS II
  1876.           ___________________________________________________________________
  1877.  
  1878.  
  1879.                    object, the general class of the object and whether it
  1880.                    is 'Friend', 'Foe' or 'Other'. This data will be shown
  1881.                    if you have an object targeted on your crosshairs and it
  1882.                    is near enough. The data might display the CallSign of
  1883.                    the ship captain if you play a two-player or multi-player
  1884.                    mission.
  1885.  
  1886.               Info Screen
  1887.  
  1888.                    The Info Screen has four pages which you can select with
  1889.                    the F1 key. The first page, which is displayed when you
  1890.                    start LineWars II, tells a short description of the
  1891.                    mission (in single-player missions), and your scores.
  1892.                    In two-player and multi-player missions this screen also
  1893.                    has a chat window, where the text you type and the texts
  1894.                    other players have typed will be shown. Thus you may chat
  1895.                    in the middle of the game.
  1896.  
  1897.                    The second page displays help for some keys that can be
  1898.                    used in the game.
  1899.  
  1900.                    The third page displays a quick reference for how to
  1901.                    interpret the 3D radar screen.
  1902.  
  1903.                    The fourth page displays the memory status. It shows how
  1904.                    much memory LineWars II uses for code, data and stack
  1905.                    (this info is mostly for my debugging purposes), how much
  1906.                    memory the overlay drivers use, how much additional data
  1907.                    memory is used, and how much memory is still free.
  1908.  
  1909.               Radar Screen
  1910.  
  1911.                    This circular display, divided into two sections, show
  1912.                    how much you have to turn to bring a target into your
  1913.                    crosshairs. Radar contacts are displayed as dots. A dot
  1914.                    in the outermost ring represents a ship behind you. If
  1915.                    a dot is in the middle of the inner circle, the ship is
  1916.                    directly in front of you.
  1917.  
  1918.                    The color of each dot indicates what it is: red is for
  1919.                    an enemy ship, blue for a friendly ship, and gray for
  1920.                    other objects (like asteroids). The shade of the dot
  1921.                    indicates it's range: the brighter the dot, the closer
  1922.                    to you it is. If a ship has just shot you, it is shown
  1923.                    in bright yellow.
  1924.  
  1925.                    In the radar screen are also counters for friendly, enemy
  1926.                    and other ships. They show how many ships of each type are
  1927.  
  1928.  
  1929.           ___________________________________________________________________
  1930.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  28
  1931.  
  1932.                                               CHAPTER 4 / PLAYING LINEWARS II
  1933.           ___________________________________________________________________
  1934.  
  1935.  
  1936.                    in your vicinity. If the number of friendly ships gets to
  1937.                    zero, you have lost the battle, and if the number of enemy
  1938.                    ships gets to zero, you have obviously won.
  1939.  
  1940.               Shield and Armour Status Indicator
  1941.  
  1942.                    This indicator displays the status of your fore and aft
  1943.                    deflector shields (which protect your ship from lasers)
  1944.                    and the armour around your ship (which protect you in
  1945.                    collisions and missile hits, and also from lasers if
  1946.                    your shields are exhausted). The shield indicators have
  1947.                    the words 'Fro' and 'Aft' beside them. Green color means
  1948.                    healthy shields and armour, red color means exhausted
  1949.                    shields or damaged armour.
  1950.  
  1951.                    Your shields recharge when not under fire, but if your
  1952.                    armour gets damaged it doesn't regenerate. If the Shield
  1953.                    Generator of your ship is damaged, your shields can only
  1954.                    charge up to 25 % of their maximum value.
  1955.  
  1956.                    If your shields and armour are very low, your ship systems
  1957.                    may get damaged under enemy fire.
  1958.  
  1959.               Ship Systems Status
  1960.  
  1961.                    The Ship System Status indicators are the eight warning
  1962.                    lights on the left and right border of your Main Viewer
  1963.                    Screen. From top to bottom and left to right, these show
  1964.                    the status of your Lasers, Missile Launcher, Shield
  1965.                    Generator, Thrusters, Radar System, Communications
  1966.                    System, Ship's Hull and Steering Controls. If any of
  1967.                    these systems is damaged, the corresponding warning
  1968.                    light will show a yellow text on a red background.
  1969.  
  1970.                    If your lasers are damaged, they fire only occasionally.
  1971.                    If your missile launching system is damaged, you cannot
  1972.                    launch missiles. If the shield generator is damaged, your
  1973.                    shield will only charge to upo to 25 % of their maximum
  1974.                    value. If your thrusters are damaged, the maximum speed
  1975.                    of your ship will be 500 km/h. If your radar is damaged,
  1976.                    no radar contacts will be shown, but the radar can still
  1977.                    detect the number of ships in your vicinity. If your
  1978.                    communications system is damaged, you cannot receive
  1979.                    messages. If the hull is damaged, the status of your
  1980.                    ship is critical, since the next hit that reaches to the
  1981.                    hull will rupture it and destroy your ship. Lastly, if
  1982.                    the steering controls are damaged, your ship will jerk
  1983.                    slightly from side to side.
  1984.  
  1985.  
  1986.           ___________________________________________________________________
  1987.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  29
  1988.  
  1989.                                               CHAPTER 4 / PLAYING LINEWARS II
  1990.           ___________________________________________________________________
  1991.  
  1992.  
  1993.               Other Indicators
  1994.  
  1995.                    Besides the aforementioned groups, there are five more
  1996.                    indicators. On the bottom left side is the speed
  1997.                    indicator. It shows the current speed of your ship in
  1998.                    kilometres per hour.
  1999.  
  2000.                    On the right side, below the Main Viewer screen is the
  2001.                    missile counter. It shows how many missiles your ship
  2002.                    has left.
  2003.  
  2004.                    On the bottom right corner is the Frames Per Second
  2005.                    counter. It gets updated every second, and it counts how
  2006.                    many frames was drawn during the previous second. If
  2007.                    your computer is too slow for the game (in the current
  2008.                    configuration), the indicator will flash a 'SLOW' text.
  2009.                    You should not play the game if this happens a lot, since
  2010.                    it means that LineWars II has to skip more than five
  2011.                    frames per every frame it draws to stay in real time, so
  2012.                    the movement of the ships will be very jerky.
  2013.  
  2014.                    Above the FPS indicator is the clock. It shows the
  2015.                    current DOS time in HHMM format.
  2016.  
  2017.                    Above the Shield and Armour Indicator is an indicator
  2018.                    that shows which ship you are currently controlling.
  2019.                    You can teleport to another ship at any time during the
  2020.                    game with the F3 key. When you teleport, the ship you
  2021.                    were controlling will be controlled by the computer, and
  2022.                    you will control the ship you just teleported into.
  2023.  
  2024.  
  2025.           Controlling Your Ships
  2026.  
  2027.               LineWars II is unique in that instead of controlling just one
  2028.               ship, as in most other space arcade games, you can control a
  2029.               whole fleet of friendly ships (in most of the missions). This
  2030.               is accomplished with a feature called 'teleporting'. Since
  2031.               you obviously can only control one ship at a time with your
  2032.               joystick, mouse or keyboard, you need to be able to quickly
  2033.               select a ship that you wish to control in any particular time.
  2034.  
  2035.               To 'teleport' from ship to ship, you use the F3 key (or if
  2036.               you have a ThrustMaster FCS, the lowest button). When you
  2037.               press the key, you are instantly teleported to another ship,
  2038.               which you can now control, and the ship you just left is
  2039.               given over to the computer.
  2040.  
  2041.  
  2042.  
  2043.           ___________________________________________________________________
  2044.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  30
  2045.  
  2046.                                               CHAPTER 4 / PLAYING LINEWARS II
  2047.           ___________________________________________________________________
  2048.  
  2049.  
  2050.               The biggest difference between controlling a ship yourself and
  2051.               letting the computer to control the ship, is that the computer
  2052.               cannot launch missiles. Since neither the enemy computer-
  2053.               controlled ships, nor the friendly computer-controlled ships
  2054.               can launch missiles, you have a clear advantage. To make most
  2055.               of this advantage, it is often wise to teleport quickly from
  2056.               ship to ship and launch all three missiles of the ship to
  2057.               different targets.
  2058.  
  2059.               The basic steering controls which you can use are as follows:
  2060.                    - Dive
  2061.                    - Climb
  2062.                    - Turn left
  2063.                    - Turn right
  2064.                    - Rotate counterclockwise
  2065.                    - Rotate clockwise
  2066.                    - Increase speed
  2067.                    - Decrease speed
  2068.               The way these controls are activated depends on the steering
  2069.               device you have selected. Look at the 'Control' section in the
  2070.               'Configuration' chapter for detailed info.
  2071.  
  2072.               You have two weapons systems on your ship, lasers and missiles.
  2073.               Lasers are most effective against capital ships and asteroids,
  2074.               and since they constantly recharge, you have unlimited
  2075.               ammunition for them. Against fighters the missiles are more
  2076.               effective, however, since the fighters have good deflector
  2077.               shielding but only a light armour. All the ships can carry a
  2078.               maximum of three missiles only.
  2079.  
  2080.               You can launch a missile, if you have any left, when the
  2081.               Target Identification Computer data is displayed on your
  2082.               crosshairs, for the target you wish to launch the missile to.
  2083.  
  2084.               The lasers are always sent directly ahead from your ship,
  2085.               and they will hit the nearest target ahead of you. Since the
  2086.               deflector shielding of many of the ships reaches a bit
  2087.               beyond the physical size of the ship, sometimes the laser
  2088.               blast will hit the ship even if it is not aimed quite directly
  2089.               towards the ship. It can take quite a few laser hits before
  2090.               the target is destroyed, since the deflector shielding of the
  2091.               target constantly recharges when the ship is not under fire.
  2092.  
  2093.  
  2094.           The Demonstration
  2095.  
  2096.               The first 'mission' you can choose is the demonstration game.
  2097.               In this mission you don't need to do anything, you can just
  2098.  
  2099.  
  2100.           ___________________________________________________________________
  2101.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  31
  2102.  
  2103.                                               CHAPTER 4 / PLAYING LINEWARS II
  2104.           ___________________________________________________________________
  2105.  
  2106.  
  2107.               watch the computer play against itself. You can study this
  2108.               mission to see how the computer plays. Since even the ship you
  2109.               are looking from is controlled by the computer, you can easily
  2110.               see what sort of tactics the computer uses.
  2111.  
  2112.               If you get bored to watch the enemy ships beat your friendly
  2113.               ships (although it is not at all certain this will always
  2114.               happen), you can 'teleport' into one of your friendly ships
  2115.               and control it. Since there are no scoring in this mission,
  2116.               you can practice the game leisurely using this mission.
  2117.  
  2118.               If you win (all the enemy ships are destroyed) or if you lose
  2119.               (all your ships are destroyed), the demonstration will restart.
  2120.               Note that if you wish to continue controlling a ship, you must
  2121.               'teleport' again after the restart.
  2122.  
  2123.  
  2124.           Single Play Missions
  2125.  
  2126.               When the single play mission you have selected begins, it will
  2127.               start with the easiest difficulty level. This means that with
  2128.               a bit of practice you should not have a lot of trouble
  2129.               winning the game. ("The Final Battle" may seem a bit hard at
  2130.               first, though...)
  2131.  
  2132.               In all the single play missions your job is to destroy all the
  2133.               enemy ships before either all of your ships (in some of the
  2134.               missions), or a certain ship you must protect (in other
  2135.               missions) gets destroyed.
  2136.  
  2137.               Your score will increase per every destroyed ship, either by
  2138.               you or by your computer co-pilots. The score indicator will
  2139.               show your current score, the best score your have got within
  2140.               this run, and the best score you have ever had on this mission.
  2141.  
  2142.               If you win the game, your mission will restart, but this time
  2143.               it will be a bit more difficult. Usually this means that there
  2144.               are more enemy ships that you must destroy. On some missions
  2145.               also the number of friendly ships will increase when the
  2146.               difficulty level increases.
  2147.  
  2148.               If you lose the game, your current score will get to zero and
  2149.               the game will restart from the easiest difficulty level. If
  2150.               you get thru all the difficulty levels of a mission, you will
  2151.               see a lead-in text to the next mission.
  2152.  
  2153.               If you get enough of the game, press ESC and the game will
  2154.               exit to the main menu (if you started without command line
  2155.               parameters).
  2156.  
  2157.           ___________________________________________________________________
  2158.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  32
  2159.  
  2160.                                               CHAPTER 4 / PLAYING LINEWARS II
  2161.           ___________________________________________________________________
  2162.  
  2163.  
  2164.           Duel Mode
  2165.  
  2166.               To play the duel mode you need to have a modem or a direct
  2167.               serial cable connecting two computers. Both players need to
  2168.               have a copy of LineWars II on their machines. Before you
  2169.               start the duel mode, first use 'LineWars II Configuration'
  2170.               to setup the correct COM port, communications speed, hand-
  2171.               shaking method, FIFO options, and preferably also CallSign.
  2172.  
  2173.               If you use a modem, before you start LineWars II you need
  2174.               to call your friend using a communications program. When
  2175.               you have connected, exit (or jump to DOS shell from) the
  2176.               communications program, and start LineWars II. Select the
  2177.               Duel Mode from the main menu, and look at the intro until
  2178.               LineWars II has made a connection with the copy running
  2179.               at the other machine.
  2180.  
  2181.               When the connection is made, the game will begin. You have
  2182.               two ships that you can control, and so does your opponent.
  2183.               You must shoot the ships of the opponent to win the game.
  2184.               No missiles are available in this mission.
  2185.  
  2186.               The score page displays the victories and losses of both
  2187.               you and your opponent. Naturally you should try to get as
  2188.               many victories and as few losses as possible.
  2189.  
  2190.               You can also chat while you are playing. The character keys
  2191.               you press will be sent to your opponent, and also displayed
  2192.               on your screen. Note that the keyboard layout is US, and it
  2193.               cannot be changed with language-specific keyboard drivers
  2194.               like KEYBUK, KEYBSU etc.
  2195.  
  2196.               The game will end if either of the players presses ESC, or
  2197.               if the connection is lost.
  2198.  
  2199.  
  2200.           Wing Mode
  2201.  
  2202.               The Wing Mode is similar to the Duel Mode, but instead of
  2203.               fighting against your friend, you will fight with him/her
  2204.               against two computer-controlled enemy ships.
  2205.  
  2206.               The score page shows the victories/losses ratio of all the
  2207.               four ships.
  2208.  
  2209.               If either you or your wingman gets destroyed, the game will
  2210.               restart.
  2211.  
  2212.  
  2213.  
  2214.           ___________________________________________________________________
  2215.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  33
  2216.  
  2217.                                               CHAPTER 4 / PLAYING LINEWARS II
  2218.           ___________________________________________________________________
  2219.  
  2220.  
  2221.           Group War
  2222.  
  2223.               The Group War mission requires that you use a 'Shared File'
  2224.               communications device and you use a network. Before you can
  2225.               start the mission, you need to configure LineWars II to use
  2226.               this communications device. Look at the detailed info in the
  2227.               relevant sections in the 'Configuration' chapter.
  2228.  
  2229.               When you start the mission, the game will start immediately,
  2230.               without any intro. You will have two ships to control, and so
  2231.               do all of the other players. One by one the other players (up
  2232.               to seven) can pop into the game.
  2233.  
  2234.               You need to destroy as many enemy ships as possible to get the
  2235.               best score. You can of course try to create alliances, but the
  2236.               computer-controlled ships will still attack any ships they can.
  2237.  
  2238.               You can also chat while you are playing, but note that the
  2239.               messages you receive may seem garbled if more than one person
  2240.               transmits at the same time.
  2241.  
  2242.  
  2243.           Star Wars
  2244.  
  2245.               This mission is similar to the Group War mission, but instead
  2246.               of 'all-against-all' battle, all of the human players are on
  2247.               the same side, fighting against computer-controlled enemy
  2248.               ships.
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.           ___________________________________________________________________
  2272.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  34
  2273.  
  2274.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2275.           ___________________________________________________________________
  2276.  
  2277.  
  2278.  
  2279.           APPENDIX A / LINEWARS II ERROR MESSAGES
  2280.  
  2281.  
  2282.           There are several error messages LineWars II may give in case it
  2283.           encounters a problem. Some of these messages may be given by
  2284.           LineWars II kernel code, others may be given by an overlay code
  2285.           (graphics and sound drivers are overlays, for example). The most
  2286.           common error messages are explained here in alphabetical order.
  2287.  
  2288.  
  2289.           ATIDRV ERROR: 800x600 mode with 256 colors not available !
  2290.  
  2291.               LineWars II could not initiate the accelerated 800x600
  2292.               ATI graphics mode. Either you don't have enough display
  2293.               memory (a full megabyte is needed), or the BIOS of your
  2294.               display card is not compatible with a real ATI card.
  2295.  
  2296.  
  2297.           ATIDRV ERROR: ATI driver requires a 386 or better CPU !
  2298.  
  2299.               You are attempting to run LineWars II in ATI mode on a
  2300.               computer that does not have a 386 or i486 processor.
  2301.  
  2302.  
  2303.           ATIDRV ERROR: ATI Mach8 or Mach32 accelerator not found !
  2304.  
  2305.               You are attempting to run LineWars II in ATI accelerated
  2306.               graphics mode, but you don't have an ATI Graphics Ultra,
  2307.               ATI Graphics Ultra+ or ATI Graphics Ultra Pro display
  2308.               card.
  2309.  
  2310.  
  2311.           BLASTDRV ERROR: Base address differs from BLASTER=Axxx !
  2312.  
  2313.               You have given a Sound Blaster base port address which
  2314.               differs from that in the 'BLASTER=' environment variable.
  2315.               BLASTDRV cannot determine which one is correct and cannot
  2316.               continue. Either correct the port address in LineWars II
  2317.               Configuration, or fix the 'BLASTER=' environment variable.
  2318.  
  2319.  
  2320.           BLASTDRV ERROR: Not enough memory for DMA buffers !
  2321.  
  2322.               This message may be given by the Sound Blaster driver,
  2323.               if there is not enough free memory to allocate a DMA
  2324.               transfer buffer. Try to free more memory, or lower the
  2325.               output frequency.
  2326.  
  2327.  
  2328.           ___________________________________________________________________
  2329.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  35
  2330.  
  2331.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2332.           ___________________________________________________________________
  2333.  
  2334.  
  2335.           BLASTDRV ERROR: SoundBlaster did not reset !
  2336.  
  2337.               This message may be given by the Sound Blaster driver,
  2338.               if the Sound Blaster card does not respond to a reset
  2339.               command.  This is most likely due to an invalid port
  2340.               address.  This may also happen if some badly written
  2341.               program has left your Sound Blaster into a mixed-up state.
  2342.  
  2343.  
  2344.           BLASTDRV ERROR: Unsupported DMA channel in BLASTER=Dx !
  2345.  
  2346.               Sound Blaster driver supports only DMA channel 1, and the
  2347.               'BLASTER=' environment variable has a different setting.
  2348.               If you want to use LineWars II with Sound Blaster sound,
  2349.               you must configure your Sound Blaster for DMA channel 1.
  2350.  
  2351.  
  2352.           DUELDRV ERROR: CTS/RTS handshake enabled, but CTS signal is low !
  2353.  
  2354.               You have enabled CTS/RTS handshake in LineWars II
  2355.               Configuration or from the command line, and the
  2356.               ClearToSend (CTS) signal was low when you started
  2357.               LineWars II in Duel Mode. LineWars II needs to be
  2358.               able to send data immediately when it starts, thus
  2359.               the CTS signal must be high (active).
  2360.  
  2361.  
  2362.           DUELDRV ERROR: No COM port communications device selected !
  2363.  
  2364.               You are attempting to run LineWars II in a two-player mode,
  2365.               but you have not selected a COM port. Run the configuration
  2366.               and select the required Comms settings.
  2367.  
  2368.  
  2369.           Error loading graphics driver code!
  2370.  
  2371.               LineWars II kernel could not load the graphics driver
  2372.               code from 'LW2.EXE'. This may be due to a corrupt
  2373.               LW2.EXE, you may have specified a graphics mode that
  2374.               this version of LW2 does not recognize, you may have
  2375.               selected to load GRAPHDRV.LW", but there is no such file,
  2376.               or there may not be enough memory to load the driver.
  2377.  
  2378.  
  2379.           Error loading mission data!
  2380.  
  2381.               LineWars II kernel could not load the mission data
  2382.               you requested. This may be due to a corrupt LW2.EXE,
  2383.  
  2384.  
  2385.           ___________________________________________________________________
  2386.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  36
  2387.  
  2388.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2389.           ___________________________________________________________________
  2390.  
  2391.  
  2392.               or you may have specified a mission that this version
  2393.               of LineWars II does not include, or there may not be
  2394.               enough memory to load the driver. Try to free more
  2395.               memory before starting LineWars II, and make sure you
  2396.               have selected a correct mission.
  2397.  
  2398.  
  2399.           Error loading song or instrument data!
  2400.  
  2401.               LineWars II kernel could not load song data, instrument
  2402.               samples or Roland LAPC-1 timbres from LW2.EXE. This may
  2403.               be due to a corrupt LW2.EXE, or there may not be enough
  2404.               memory to load the data. Try to free more memory before
  2405.               starting LineWars II.
  2406.  
  2407.  
  2408.           Error loading sound driver code!
  2409.  
  2410.               LineWars II kernel could not load the sound driver
  2411.               code from 'LW2.EXE'. This may be due to a corrupt
  2412.               LW2.EXE, or you may have specified a sound driver
  2413.               that this version of LW2 does not recognize, or there
  2414.               may not be enough memory to load the driver. Try to
  2415.               free more memory before starting LineWars II, and
  2416.               make sure you have selected the correct sound
  2417.               driver in LineWars II Configuration.
  2418.  
  2419.  
  2420.           Error loading the CFG overlay!
  2421.  
  2422.               LineWars II kernel could not load the LineWars II
  2423.               Configuration overlay module. This may be due to a
  2424.               corrupt LW2.EXE or you may have insufficient free
  2425.               memory. Try freeing more memory before starting LW2.
  2426.  
  2427.  
  2428.           GroupWar ERROR: No network communications device selected!
  2429.  
  2430.               You are attempting to run the Group War mission, but you have
  2431.               not select a network communications device. Run the LineWars
  2432.               II Configuration and select the required Comms settings.
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.           ___________________________________________________________________
  2443.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  37
  2444.  
  2445.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2446.           ___________________________________________________________________
  2447.  
  2448.  
  2449.  
  2450.           GroupWar ERROR ? creating file NODE?.LW2 !
  2451.  
  2452.               The Shared File network driver of LineWars II could not
  2453.               create a node file for your node on the shared directory.
  2454.               Make sure you have write access to the directory, that
  2455.               SHARE.EXE is loaded, and that there are no old nodefiles
  2456.               left over from some earlier game in the directory.
  2457.  
  2458.  
  2459.           LAPCDRV ERROR: MPU-401 interface did not reset !
  2460.  
  2461.               This message may be given by the Roland LAPC-I driver,
  2462.               if the Roland LAPC-I card does not respond to a reset
  2463.               command. This is most likely due to a badly written
  2464.               program having left the MPU interface into a mixed-up
  2465.               state. Sometimes the problem may go away if you try
  2466.               to restart LineWars II a few times.
  2467.  
  2468.  
  2469.           LineWars II cannot run on 8088/8086 processors!
  2470.  
  2471.               You are attempting to run LineWars II on a computer
  2472.               that has only 8088 or 8086 processor. You need to have
  2473.               at least an 80186 processor to run LineWars II.
  2474.  
  2475.  
  2476.           MCGADRV ERROR: Not enough memory for display buffer !
  2477.  
  2478.               The MCGA driver of LineWars II needs 56 kilobytes of
  2479.               memory for a viewscreen buffer. This amount of memory
  2480.               was not available. You should try to free more memory
  2481.               before starting LineWars II in MCGA mode.
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.           ___________________________________________________________________
  2500.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  38
  2501.  
  2502.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2503.           ___________________________________________________________________
  2504.  
  2505.  
  2506.  
  2507.           S3DRV ERROR: Only 512 kilobytes of display memory !
  2508.  
  2509.               The S3 driver of LineWars II determined that your S3 card
  2510.               has only 512 kilobytes of RAM. The S3 driver requires at
  2511.               least one megabyte of display RAM.
  2512.  
  2513.  
  2514.           S3DRV ERROR: S3 driver requires i386 or better CPU !
  2515.  
  2516.               You are attempting to run LineWars II in S3 mode on a
  2517.               computer that does not have a 386 or i486 processor.
  2518.  
  2519.  
  2520.           S3DRV ERROR: VESA Enhanced 800x600 mode with 256 colors not
  2521.                        available !
  2522.  
  2523.               The S3 driver of LineWars determined that VESA mode 203h
  2524.               was not available. Your S3 graphics card may have incompatible
  2525.               BIOS, or you may not have an S3 accelerated graphics card.
  2526.  
  2527.  
  2528.           SCCDRV ERROR: MPU-401 interface did not reset !
  2529.  
  2530.               This message may be given by the Roland SCC-1 driver,
  2531.               if the Roland SCC-1 card does not respond to a reset
  2532.               command. You may have given a wrong MPU base port
  2533.               address in LineWars II Configuration, or a badly
  2534.               written program may have left the MPU interface into
  2535.               a mixed-up state. Sometimes the problem may go away
  2536.               if you try to restart LineWars II a few times.
  2537.  
  2538.  
  2539.           Sorry, but LineWars II requires DOS 3.0 or better!
  2540.  
  2541.               You must have at least DOS version 3.0 if you want to play
  2542.               LineWars II.
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.           ___________________________________________________________________
  2557.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  39
  2558.  
  2559.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2560.           ___________________________________________________________________
  2561.  
  2562.  
  2563.           StarWars ERROR: No network communications device selected!
  2564.  
  2565.               You are attempting to run the Star Wars mission, but you have
  2566.               not select a network communications device. Run the LineWars
  2567.               II Configuration and select the required Comms settings.
  2568.  
  2569.  
  2570.  
  2571.           StarWars ERROR ? creating file NODE?.LW2 !
  2572.  
  2573.               The Shared File network driver of LineWars II could not
  2574.               create a node file for your node on the shared directory.
  2575.               Make sure you have write access to the directory, that
  2576.               SHARE.EXE is loaded, and that there are no old nodefiles
  2577.               left over from some earlier game in the directory.
  2578.  
  2579.  
  2580.           ULTRADRV ERROR: Error loading FP3D file "GRAVIS3D.LW2" !
  2581.  
  2582.               You have configured LineWars II to use Focal Point 3D
  2583.               sound with your Gravis UltraSound card, but LineWars II
  2584.               could not find the GRAVIS3D.LW2 file on your current
  2585.               directory, or there was not enough memory to load the
  2586.               file. Check that the file exists, and try to free more
  2587.               memory.
  2588.  
  2589.  
  2590.           ULTRADRV ERROR: Gravis Ultrasound not found !
  2591.  
  2592.               The Gravis Ultrasound driver could not find a Gravis
  2593.               Ultrasound card at the given port address. Make sure
  2594.               you have given the correct port address in LineWars II
  2595.               Configuration.
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.           ___________________________________________________________________
  2614.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  40
  2615.  
  2616.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2617.           ___________________________________________________________________
  2618.  
  2619.  
  2620.           VESADRV ERROR: Not a enough memory for display buffer !
  2621.  
  2622.               The VESA driver of LineWars II needs 256 kilobytes of
  2623.               memory for a viewscreen buffer. This amount of memory
  2624.               was not available. You should try to free more memory
  2625.               before starting LineWars II in VESA mode.
  2626.  
  2627.  
  2628.           VESADRV ERROR: Sorry, but mode features unsupported parameters !
  2629.  
  2630.               Your SVGA card has some attributes in 640x480x256 mode
  2631.               that the VESA driver of LineWars II does not support.
  2632.               The VESA driver requires this mode to have 640 bytes
  2633.               per scanline and a granularity of 64K. If you can
  2634.               provide me (Patrick Aalto) with information about these
  2635.               parameters in your SVGA card, I may be able to fix
  2636.               the VESA driver to support your SVGA card.
  2637.  
  2638.  
  2639.           VESADRV ERROR: VESA 640x480 mode with 256 colors not available !
  2640.  
  2641.               The VESA driver determined that VESA mode 101h was not
  2642.               available. There may be several reasons for this error
  2643.               message: Your SVGA card does not have VESA BIOS extensions,
  2644.               you have not loaded a VESA TSR program, or your SVGA card
  2645.               may have only 256 kilobytes of display memory. If your
  2646.               SVGA card does not have the VESA extensions in BIOS, you
  2647.               need to get a separate VESA TSR program and load it
  2648.               before you can use LineWars II in VESA mode.
  2649.  
  2650.  
  2651.           VESADRV ERROR: VESA driver requires i386 or better CPU !
  2652.  
  2653.               You are attempting to run LineWars II in VESA mode on a
  2654.               computer that does not have a 386 or i486 processor.
  2655.  
  2656.  
  2657.           VGADRV ERROR: Not a VGA graphics adapter !
  2658.  
  2659.               You are attempting to run LineWars II in VGA mode with
  2660.               a display card that is not VGA compatible.
  2661.  
  2662.  
  2663.           WINGDRV ERROR: CTS/RTS handshake enabled, but CTS signal is low !
  2664.  
  2665.               You have enabled CTS/RTS handshake in LineWars II
  2666.               Configuration or from the command line, and the
  2667.               ClearToSend (CTS) signal was low when you started
  2668.  
  2669.  
  2670.           ___________________________________________________________________
  2671.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  41
  2672.  
  2673.                                       APPENDIX A / LINEWARS II ERROR MESSAGES
  2674.           ___________________________________________________________________
  2675.  
  2676.  
  2677.               LineWars II in Wing Mode. LineWars II needs to be
  2678.               able to send data immediately when it starts, thus
  2679.               the CTS signal must be high (active).
  2680.  
  2681.  
  2682.           WINGDRV ERROR: No COM port communications device selected !
  2683.  
  2684.               You are attempting to run LineWars II in a two-player mode,
  2685.               but you have not selected a COM port. Run the configuration
  2686.               and select the required Comms settings.
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.           ___________________________________________________________________
  2728.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  42
  2729.  
  2730.                                         APPENDIX B / LINEWARS II MEMORY USAGE
  2731.           ___________________________________________________________________
  2732.  
  2733.  
  2734.  
  2735.           APPENDIX B / LINEWARS II MEMORY USAGE
  2736.  
  2737.  
  2738.           LineWars II is designed to use as little memory as possible.
  2739.           However, the memory requirements vary greatly depending on
  2740.           graphics and sound options, and also depending on many other
  2741.           configuration options. The following table may be used as a
  2742.           guideline to determine how much free memory LineWars II will
  2743.           need in the main configurations.
  2744.  
  2745.               ┌──────────────┬───────┬───────┬───────┬───────┐
  2746.               │ MEMORY USAGE │ MCGA  │  VGA  │ VESA  │ S3/ATI│
  2747.               ├──────────────┼───────┼───────┼───────┼───────┤
  2748.               │ No Sound     │ 131 K │  76 K │ 338 K │  76 K │
  2749.               ├──────────────┼───────┼───────┼───────┼───────┤
  2750.               │ Covox        │ 293 K │ 238 K │ 500 K │ 238 K │
  2751.               ├──────────────┼───────┼───────┼───────┼───────┤
  2752.               │ SoundBlaster │ 322 K │ 266 K │ 528 K │ 266 K │
  2753.               ├──────────────┼───────┼───────┼───────┼───────┤
  2754.               │ UltraSound   │ 162 K │ 107 K │ 369 K │ 107 K │
  2755.               ├──────────────┼───────┼───────┼───────┼───────┤
  2756.               │ Roland       │ 165 K │ 110 K │ 372 K │ 110 K │
  2757.               └──────────────┴───────┴───────┴───────┴───────┘
  2758.  
  2759.  
  2760.           Special memory requirements of some of the drivers are
  2761.           described below.
  2762.  
  2763.             - MCGA graphics driver requires 56 kilobytes of memory
  2764.               for triple-buffering.
  2765.  
  2766.             - VESA graphics driver requires 256 kilobytes of memory
  2767.               for triple-buffering.
  2768.  
  2769.             - Covox sound driver requires 128 kilobytes of memory
  2770.               for digitized instrument and sound effects samples.
  2771.  
  2772.             - SoundBlaster sound driver requires 128 kilobytes of
  2773.               memory for digitized instrument and sound effects
  2774.               samples, plus a few kilobytes (depending on playing
  2775.               rate) for a DMA transfer buffer.
  2776.  
  2777.             - Gravis UltraSound needs temporarily an additional 64K block
  2778.               while loading the sample data. This memory will be freed
  2779.               after the samples are loaded to GUS RAM. This block is NOT
  2780.               included in the table above.
  2781.  
  2782.  
  2783.  
  2784.           ___________________________________________________________________
  2785.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  43
  2786.  
  2787.                                            APPENDIX C / TECHNICAL INFORMATION
  2788.           ___________________________________________________________________
  2789.  
  2790.  
  2791.  
  2792.           APPENDIX C / TECHNICAL INFORMATION
  2793.  
  2794.  
  2795.           This appendix describes some of the technical aspects behind
  2796.           LineWars II.
  2797.  
  2798.  
  2799.           Graphics
  2800.  
  2801.               LineWars II uses polygon-based 3D graphics. The basic
  2802.               algorithms are pretty old, I have not changed them much
  2803.               since the original LineWars (which was made in 1989).
  2804.               However, I added flat shading to the algorithms, since
  2805.               there is always a sun in the game universe. The shading
  2806.               value is based on the angle between a polygon surface
  2807.               normal vector and a vector from the object to the sun.
  2808.  
  2809.               The Gouraud-shaded planet routine uses an algorithm that
  2810.               I first thought of in 1991, but at that time I could not
  2811.               make it fast enough. In December 1992 I finally was able
  2812.               to improve it enough so it runs in real-time. The algorithm
  2813.               uses a 3D version of the classic Bresenham circle algorithm
  2814.               and linear interpolation to calculate the color of the
  2815.               pixels. Using a lot of precalculation I was able to have
  2816.               the algorithm require only one addition per pixel, a few
  2817.               multiplications per scanline, and one square root per the
  2818.               whole planet.
  2819.  
  2820.               The palette I use is a very simple one-color scale, which
  2821.               makes shading and anti-aliasing very easy. I could not have
  2822.               anti-aliasing and Gouraud shading for the planets at the same
  2823.               time using a more colorfull palette, since anti-aliasing
  2824.               requires a 'full' palette of all colors between any two basic
  2825.               colors, and my planet routine requires 128 shades of a basic
  2826.               color.
  2827.  
  2828.               The MCGA and VESA graphics modes use a 'dirty pixel' approach,
  2829.               which means that I have two standard memory buffers, one which
  2830.               is used to draw the ships, and other which contains the ships
  2831.               of the previous frame. The sizes of these buffers are 256x110
  2832.               (28160 bytes) and 512x256 (128KB), respectively. I only update
  2833.               those parts of the video RAM that have changed since the last
  2834.               frame. The MCGA mode waits for vertical retrace (even though
  2835.               it would not have to, but it would be silly to update the
  2836.               screen up to 150 times per second), but the VESA mode does
  2837.               not. On Pentium machine with a local bus video card the VESA
  2838.               mode might therefore run at more than 100 frames per second.
  2839.  
  2840.  
  2841.           ___________________________________________________________________
  2842.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  44
  2843.  
  2844.                                            APPENDIX C / TECHNICAL INFORMATION
  2845.           ___________________________________________________________________
  2846.  
  2847.  
  2848.               In the MCGA graphics mode the vertical polygon boundaries
  2849.               are anti-aliased, using a very simple technique. Since the
  2850.               X-coordinate must be between 0 and 255, I can use high byte
  2851.               of a word register for the integer part and low byte for the
  2852.               fractional part of the coordinate, per every scanline of the
  2853.               polygon. The fractional part directly gives the amount of
  2854.               polygon color (versus the current background color) to use
  2855.               on this polygon border pixel.
  2856.  
  2857.               The VGA graphics mode uses a tweaked split-screen mode. The
  2858.               screen resolution is 320x480, and the upper portion of the
  2859.               screen is double-buffered within the VGA memory. The same
  2860.               anti-aliasing technique is used in VGA mode as in MCGA mode.
  2861.               Since the vertical resolution is much better than in MCGA
  2862.               mode, using only horizontal anti-aliasing produces pretty
  2863.               good results.
  2864.  
  2865.               The S3 and ATI graphics modes use the accelerator functions
  2866.               to draw everything else except the Gouraud planet. The planet
  2867.               is drawn by directly poking the pixels to the display RAM,
  2868.               which is somewhat slow but the only available technique. Both
  2869.               modes use a 1024x1024 physical screen even though the display
  2870.               is only 800x600. The reamaining area is used to double-buffer
  2871.               the graphics. In S3 mode I use split screen (just like in the
  2872.               VGA mode) so I don't have to physically copy the hidden buffer
  2873.               to the visible area, as I do in the ATI mode.
  2874.  
  2875.  
  2876.           Sound
  2877.  
  2878.               The music LineWars II plays was originally composed by U4Ia
  2879.               as MOD files for the Amiga. I have converted them to a sort
  2880.               of 4-track MIDI file format. All of the songs use the same
  2881.               instrument sample library, which takes 64 kilobytes. On MIDI
  2882.               equipment this library is not loaded since it corresponds to
  2883.               the sounds in the synth, and on Gravis Ultrasound this is
  2884.               loaded into it's RAM. The samples are 8-bit, and they were
  2885.               sampled from a Roland LAPC-I synth at 10480 Hz frequency.
  2886.  
  2887.               In addition to the music samples I use another 64K library
  2888.               of sound effects samples. There is also a third library for
  2889.               Focal Point 3D sounds, which contain two 6-track samples,
  2890.               for the Gravis UltraSound. These 3D samples are a laser blast
  2891.               (sampled from a Roland SCC-1 at 30kHz frequency) and an
  2892.               explosion sound (also from an SCC-1, sampled at about 8kHz).
  2893.  
  2894.               The music routine first converts from the MIDI format back
  2895.               to a MOD format, if the music is played thru a non-MIDI
  2896.  
  2897.  
  2898.           ___________________________________________________________________
  2899.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  45
  2900.  
  2901.                                            APPENDIX C / TECHNICAL INFORMATION
  2902.           ___________________________________________________________________
  2903.  
  2904.  
  2905.               device. The Covox driver uses the timer interrupt to
  2906.               mix one byte at a time, but the SoundBlaster driver uses
  2907.               DMA to output a full pre-mixed block at a time. The Covox
  2908.               and SB drivers use 6 channels, four for music and two for
  2909.               sound effects. On a Gravis Ultrasound I use four music
  2910.               channels, four simple sound effects channels (for sounds
  2911.               that originate within the player's ship), and 12 channels
  2912.               for the 3D sounds. The MIDI driver uses five music channels
  2913.               and two sound effects channels.
  2914.  
  2915.  
  2916.           COM Port Routine
  2917.  
  2918.               In Duel Mode and Wing Mode LineWars II uses a COM port for
  2919.               the communications. The routine tries to send data at 768
  2920.               bytes per second, regardless of the line speed. This means
  2921.               that the line speed should be at least 7680 bps for all the
  2922.               data to get thru in time. If the BPS rate is less than this,
  2923.               some frames need to be skipped, which may cause jerky
  2924.               movement of the ships. The full data for one frame takes
  2925.               30 bytes, so the data is sent at a speed of about 25 frames
  2926.               per second.
  2927.  
  2928.               Since the real thruput is only 7680 bps, even slow machines
  2929.               can cope with a line speed of 115200 bps quite easily, and
  2930.               this is the recommended speed on direct null-modem cables.
  2931.  
  2932.  
  2933.           Network Routine
  2934.  
  2935.               In Group War or Star Wars missions LineWars II can use a
  2936.               shared file for communications. When using a shared file,
  2937.               LineWars II writes the data about the current positions of
  2938.               the local player ships to a file that corresponds to this
  2939.               node once per every frame, and it then reads all the other
  2940.               node files to get the data for the other players. To cope
  2941.               with the possibly different speeds of the machines, the
  2942.               blocks are numbered and LineWars II keeps a 16-slot FIFO
  2943.               queue for incoming data.
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.           ___________________________________________________________________
  2956.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  46
  2957.  
  2958.                                            APPENDIX C / TECHNICAL INFORMATION
  2959.           ___________________________________________________________________
  2960.  
  2961.  
  2962.           Ship Artificial Intelligence
  2963.  
  2964.               The computer-controlled ships use a very simple state machine
  2965.               to control their movements. I have however tried to make their
  2966.               movement algorithms as 'real-like' as possible. The ships
  2967.               constantly check their distance to other objects in front of
  2968.               them (but not behind them!) to see if they should try to
  2969.               avoid any obstacles. They try to slowly go around any obstacle
  2970.               they see, but while they are avoiding one obstacle they often
  2971.               fail to notice others. I felt that this caused them to move
  2972.               very human-like, when concentrating on something you often
  2973.               fail to notice something else.
  2974.  
  2975.               The ships will attempt to shoot at the enemy ship that is
  2976.               nearest the 'optimal' distance of around 5000 metres, and
  2977.               in front of them. If the ship gets too near it's target,
  2978.               it will accelerate away from the target and start to rotate
  2979.               at the same time. If it finds a better target then, it will
  2980.               attack this new target.
  2981.  
  2982.               The enemy ships do not know which ship is controlled by you
  2983.               and which by your wingmen, so they treat every ship the same
  2984.               way.
  2985.  
  2986.  
  2987.           Overlay Decompressor
  2988.  
  2989.               The overlays (drivers, mission datas etc) are all compressed,
  2990.               and the internal decompressor of LineWars II unpacks them as
  2991.               they are loaded. This is why the .DAT takes only a bit over
  2992.               200 kilobytes of disk space, even though it contains about
  2993.               500 kilobytes of uncompressed data, in more than 20 separate
  2994.               files.
  2995.  
  2996.               The decompressor routine is based on the source code of the
  2997.               LHA packer by Haruyasu Yoshizaki. It was pretty heavily
  2998.               modified to allow the unpacking directly into a memory block
  2999.               and to get rid of the unnecessary directory info in a
  3000.               standard .LZH file.
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.           ___________________________________________________________________
  3013.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  47
  3014.  
  3015.                                     APPENDIX D / BUILDING A PARALLEL PORT DAC
  3016.           ___________________________________________________________________
  3017.  
  3018.  
  3019.  
  3020.           APPENDIX D / BUILDING A PARALLEL PORT DAC
  3021.  
  3022.  
  3023.           This is the schematics I used to build mine. This is from the
  3024.           HARDWARE.DOC file included with ModPlay 2.10 by Mark Cox.
  3025.           There exists many different versions of this schematics, but I
  3026.           have found this one to be the most reliable and best sounding.
  3027.  
  3028.           You need one plug for your amp, one for your parallel port and
  3029.           9 pieces of 20k and 9 pieces of 10K resistors.
  3030.           Use 1% resistors if possible ─ and 20k sound much better than 22k.
  3031.  
  3032.  
  3033.                 Printer Port:
  3034.  
  3035.                 signal   pin        20k   20k
  3036.                 D0       2      >───░░░─┬─░░░──0v
  3037.                                     20k ░ 10k
  3038.                 D1       3      >───░░░─┤
  3039.                                     20k ░ 10k
  3040.                 D2       4      >───░░░─┤
  3041.                                     20k ░ 10k
  3042.                 D3       5      >───░░░─┤
  3043.                                     20k ░ 10k
  3044.                 D4       6      >───░░░─┤
  3045.                                     20k ░ 10k
  3046.                 D5       7      >───░░░─┤
  3047.                                     20k ░ 10k
  3048.                 D6       8      >───░░░─┤
  3049.                                     20k ░ 10k
  3050.                 D7       9      >───░░░─┤
  3051.                                     20k ░ 10k  100nF
  3052.                                         ├──────┤█────> TO AMPLIFIER
  3053.                                         ░ 10k
  3054.                 GND      20     >───────┼────────────>
  3055.                                         0v
  3056.  
  3057.  
  3058.           Thanks to Harry Stox for the above circuit.  Make sure all the
  3059.           0v lines are connected together.  The 100nF capacitor may not
  3060.           be needed, try removing it if this circuit sounds poor.
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.           ___________________________________________________________________
  3070.           Copyright 1994, Patrick Aalto             LineWars II Manual  /  48
  3071.  
  3072.