home *** CD-ROM | disk | FTP | other *** search
/ Audio 4.94 - Over 11,000 Files / audio-11000.iso / msdos / sndbords / proaudio / pas_sdk1 / pas-sdk1.arj / PAS / READ.ME < prev    next >
Text File  |  1992-10-02  |  10KB  |  282 lines

  1.  
  2.            Pro AudioSpectrum Software Development Kit
  3.      Copyright (c) 1991,1992. Media Vision, Inc. All Rights Reserved
  4.  
  5.  
  6.           Final Release 2.00, July 22, 1992
  7.          Update Release 2.01, October 2, 1992
  8.  
  9.  
  10.     This release of source code for the Pro AudioSpectrum has been
  11. developed with Microsoft MASM, 5.1, and Microsoft C, 6.0.
  12.  
  13.     The code on this disk is fully functional. Each routine has been
  14. compiled for tiny, small, and large model.
  15.  
  16.     The contents of this floppy should be copied into the same directory
  17. structure as found on the floppy. When copied on to the hard drive, the
  18. developers kit will build the following directory tree:
  19.  
  20.  
  21.         \INC
  22.     \SAMPLES
  23.     \PAS  ───┬─ INC
  24.          ├─ MISC
  25.          ├─ PCM
  26.          ├─ SUBS ────┬─ MISC
  27.          │         ├─ MIXERS
  28.          │         ├─ MVSOUND
  29.          │         ├─ PCM
  30.          │         └─ VIDEO
  31.          └─ TOOLS
  32.  
  33.  
  34.     To install the contents of the floppy to your hard drive, do the
  35. following:
  36.  
  37.  
  38.         1) Change directories to the root on both the source and
  39.        target drives.
  40.  
  41.        cmd:    c:\>CD \
  42.        cmd:    c:\>CD a:\
  43.  
  44.     2) Use DOS's XCOPY to move the entire contents of the first
  45.        diskette to the hard drive.
  46.  
  47.        cmd:    C:\>XCOPY a:\*.* /s
  48.  
  49.     3) Again, use DOS's XCOPY to move the entire contents of the
  50.        second diskette to the hard drive.
  51.  
  52.        cmd:    >XCOPY a:\*.* /s
  53.  
  54.     4) Once XCOPY is done, you're all done.
  55.  
  56.  
  57.     Remember, to use the MAKE files, set the "INCLUDE" and "LIB"
  58. environment variables before executing MAKE.EXE.
  59.  
  60.    cmd:  SET INCLUDE=c:\inc;c:\pas\inc;%include%
  61.          SET LIB=c:\pas\inc;%include%
  62.  
  63.     Also, If you intend on rebuilding the libraries in this release,
  64. you may have to modify the include and library paths.
  65.  
  66.  
  67.  
  68.                       ----====< Revision History >====----
  69.  
  70.  
  71.     Changes as of 10/02/92
  72.  
  73.         1. MVGetHardware name has been changed for consistency,
  74.            to mvGetHardware.
  75.  
  76.         2. The MIDI lowlevel code had a fatal bug when used in
  77.            large model due to NEAR declaration.
  78.  
  79.         3. PCMIOC.C now has additional routines that provide
  80.            simple, arbitrary block size, record/playback. The
  81.            code is complete, but needs complete documentation.
  82.            Code examples will follow on the next update.
  83.  
  84.         Changes as of 07/22/92
  85.  
  86.                 1. CDROM access routines are provided to start/stop
  87.            music CDs. Reference documentation is included in
  88.            the developers manual.
  89.  
  90.         2. MIDI low level routines have been added. Hardware
  91.            specs are provided in the developers manual.
  92.  
  93.         3. Source code to the mixer interface is provided, with
  94.            major caveats.
  95.  
  96.         4. All low level routines that touch the hardware, now
  97.            reference it indirectly. This allows the code to
  98.            run on board that are using alternate I/O addresses.
  99.            All Pro Audio Spectrums based on the MV101 ASIC, can
  100.            be moved to different I/O locations.
  101.  
  102.         5. Building the libraries can now be accomplished using
  103.            NMAKE or MAKE. All the make files are geared to be
  104.            executed by both utilities. Batch files are included
  105.            to build each model type.
  106.  
  107.         6. 3812.EXE has been replaced by OPL3.EXE. This program
  108.            gives the user point-and-click control over the OPL3
  109.            FM chip.
  110.  
  111.         7. Borland Tools support is forthcoming. The assembler
  112.            code can be compiled using MASM51 and QUIRKS mode. The
  113.            'C' routines still have some areas to be worked out.
  114.  
  115.         8. Source code for PLAYFILE/RECFILE have been updated to
  116.            perform 16 bit digital audio.
  117.  
  118.         9. High order DMA and IRQ channels are supported. See
  119.            MVSOUND.ASM for example code.
  120.  
  121.            10. More sample programs are included, for FM, MIDI, etc.
  122.  
  123.            11. MVSOUND.SYS is required for initializing the hardware
  124.            and performing mixer/volume control.
  125.  
  126.            12. A source code control system has been established at
  127.            Media Vision to track all modules in the developers
  128.            kit. Each source code file contains a log of the
  129.            modifications.
  130.  
  131.         Changes as of 12/02/91
  132.  
  133.         1. MIXERC.C and the static mixer driver have been
  134.            changed slightly to allow the static driver to
  135.            share the same hardware state table as the linked
  136.            library routines. Before, this, two separate
  137.            tables were used, causing a potential miscommun-
  138.            ication between modules.
  139.  
  140.         2. MIXERC.C has a new function call added that allows
  141.            the programmer to load a new hardware state pointer,
  142.            or read the existing one, in the static mixer driver.
  143.            This is only required if the programmer wants to
  144.            use a third table. For most applications, this
  145.            function can be ignored. All the linked and static
  146.            code now use the same table.
  147.  
  148.         2. MIXERC.C had a bug in checking the version number
  149.            of MVSOUND.SYS. This was corrected by adding one
  150.            instruction.
  151.  
  152.         Changes as of 8/26/91
  153.  
  154.         1. StartFileOutput routine has a new parameter. A
  155.            "long" variable that holds the number of bytes to
  156.            be played from the file. Once the bytes have been
  157.            played, the file pointer will point to the next
  158.            byte. To play the whole file, just pass in a -1.
  159.  
  160.         2. PCMState has a new parameter defining the audio
  161.            compression. At the time, it is 0. Look for coming
  162.            updates...
  163.  
  164.         3. PCMIO.H has been updated for the two changes
  165.            mentioned above.
  166.  
  167.         4. The Block IN/OUT API routines in PCMIOC.C has been
  168.            re-written due to problems in starting and stopping
  169.            the DMA buffer. There was popping on playback between
  170.            blocks.
  171.  
  172.         Changes as of 8/21/91
  173.  
  174.         1. RECFILE.EXE had a couple more bugs in creating the
  175.            .WAV header. Both RECFILE.EXE and FIXWAVE.EXE have
  176.            been updated to fix these problems.
  177.  
  178.         2. PCMIOC.C had a bug in ASpecialContinueFileInput which
  179.            included discarded blocks in the "ProcessedBlockCount"
  180.            variable.
  181.  
  182.         Changes as of 8/02/91
  183.  
  184.         1. STATE.H and STATE.INC had some incorrect structure
  185.            entries.
  186.  
  187.         Changes as of 7/19/91
  188.  
  189.         1. MASM.INC macro "externADDR" used @datasize instead
  190.            of @codesize. This affected certain memory modules.
  191.  
  192.         2. PCMIO.H was moved from the "\inc" subdirectory to
  193.            "\pas\inc". This was done for the Thunderboard code.
  194.  
  195.         3. RECFILE.EXE now has a feature to pause during recording
  196.            by typing the spacebar.
  197.  
  198.     Changes as of 7/17/91
  199.  
  200.         1. PLAYFILE.EXE has been extensively re-written to
  201.            handle .VOC files in a more efficient way.
  202.  
  203.                 2. RECFILE.EXE now records to .VOC, as well as, .WAV
  204.            formats.
  205.  
  206.         3. All the make files have been modified to remove
  207.            all references to "LIBH". This is not necessary
  208.            when using combined Microsoft libraries.
  209.  
  210.         4. Previously omitted routines for PCM polling are
  211.            now available in source code. The names are,
  212.            "EnablePCMRecord" and "EnablePCMPlay". The code
  213.            is located in \PAS\SUBS\MVSOUND\MVSOUND.ASM. These
  214.            routines are similar to "PCMPlay" and "PCMRecord",
  215.            but only setup the hardware for polling. The DMA
  216.            is not involved; therefore, once either routine is
  217.            called, the CPU must poll for all data transfers.
  218.  
  219.         5. WAVEIT.EXE had a bug that appended up to 2 extra
  220.            samples to the end of the new output file. This
  221.            caused popping on playback.
  222.  
  223.         6. MVGetHWVersion now returns a long, instead of an
  224.            int. The high word indicates a product type: 0 for
  225.            the Pro AudioSpectrum; and later, will return a 1
  226.            for the Thunderboard.
  227.  
  228.         Changes as of 7/12/91
  229.  
  230.         1. MVSOUND.SYS is now included in the tools subdirectory.
  231.  
  232.         2. \SAMPLES subdirectory has been added to provide
  233.            some sample .WAV files. Other miscellaneous data
  234.            files will also be placed here in the future.
  235.  
  236.         3. A list of all files is now included in the "\PAS"
  237.            subdirectory. The file name is CONTENTS.LST.
  238.  
  239.         4. A make file for MVI.C has been added to the \PAS\MISC
  240.            subdirectory.
  241.  
  242.         Changes as of 7/08/91
  243.  
  244.         1. In the function call, "cMVGetMixerFunction" and
  245.            "MVGetMixerFunction" the returned integer is made
  246.            up of 2 bytes. The low byte is the current mixer
  247.            setting (in percentage: 0 - 100), and the high
  248.            byte is TRUE/FALSE (0 or FF) to indicate if that
  249.            channel is active. This also affects MVSOUND.SYS,
  250.            since this routine is incorporated. The new version
  251.            number for MVSOUND.SYS is 1.03.
  252.  
  253.         2. NOTE!!! Since the tiny programming model was not
  254.            supported in Microsoft C 5.1, some of the ".C" modules
  255.            will not link correctly in tiny model; Therefore, until
  256.            furthur notice (and furthur re-writing of code...) C 6.0
  257.            will be required for tiny model. This only affects those
  258.            modules written in "C".
  259.  
  260.         3. DIALOG.C and DIALOGA.ASM both contained bugs when
  261.            used in large model. Stuff like using near pointers
  262.            instead of far, etc.
  263.  
  264.         4. An early change in the code replaced the "FFAR"
  265.            used in some .ASM modules. There is a MASM
  266.            "feature" in version 5.10 (but corrected in 5.10b)
  267.            that did not allow for equate text replacedment on
  268.            the EXTRN statement.  The new approach uses a
  269.            macro that configures the EXTRN for near/far
  270.            depending upon the selected model.
  271.  
  272.         5. The developers code release disk has been reorganized
  273.            to allow for future additions for the Thunderboard.
  274.            This change places a new directory, "inc" in the
  275.            root. This directory will hold common include files
  276.            for both the Pro Audio Spectrum and the Thunderboard.
  277.  
  278.         6. A new function has been added to the library. The
  279.            name is "InitMVHardware". It resets the hardware to
  280.            the same default state as of MVSOUND.SYS.
  281.  
  282.