home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / windr440.zip / windrive.zip / WinDriver / amcc / files.txt
File List  |  2000-03-30  |  2KB  |  48 lines

  1. The source code for this project was generated by WinDriver Wizard.
  2. To compile this application, you will need a Win32 compiler.
  3.  
  4. Files:
  5.   lib directory:
  6.   lib\amcclib.c
  7.       Library for 'WinDriver for AMCC S5933' API. 
  8.       The basic idea is to get a handle for the board
  9.       with AMCC_Open() and use it in the rest of the program
  10.       when calling AMCC_xxxx() functions.  Call AMCC_Close() when done.
  11.   lib\amcclib.h
  12.       Header file of amcclib.c library.
  13.  
  14.   amccdiag directory:
  15.   amccdiag\amccdiag.c
  16.       A simple diagnostics program that lets you access the
  17.       AMCC S5933 registers and local memory. 
  18.       This program is meant to be used as an example for using the 
  19.       amcclib.h API.
  20.       You may use it as a skeleton for your driver, or 'cut & paste' 
  21.       parts of it into your device driver code.
  22.   amccdiag\amccdiag.mak
  23.       MS-Visual C++ 4.0 (and above) compatible make file.
  24.   amccdiag\amccdiag.mdp
  25.       MS-Visual C++ 4.0 (and above) compatible project file.
  26.   files.txt
  27.       Describes the files generated.
  28.  
  29. Compiling this project:
  30.   If you are using MS-Visual C++, then open the amccdiag.mdp project file, and
  31.   compile.
  32.  
  33.   If using a different compiler:
  34.   - Create a new project. Choose console mode project.
  35.   - Include the following files in the project:
  36.       lib\amcclib.c
  37.       amccdiag\amccdiag.c
  38.       \windrvr\samples\shared\pci_diag_lib.c
  39.       \windrvr\samples\shared\print_struct.c
  40.  
  41. Converting to a GUI application:
  42.   This sample was written as a console mode application (rather than
  43.   a GUI application) that uses standard input and standard output.
  44.   This was done in order to simplify the source code. You may change it
  45.   into a GUI application by removing all calls to printf() and scanf()
  46.   functions, and calling MessageBox() instead.
  47.  
  48.