home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c329 / 2.img / EXAMPLES / EXAMPLES.DOC < prev    next >
Encoding:
Text File  |  1990-02-15  |  6.5 KB  |  233 lines

  1.  
  2.  
  3.                          NDP Example Programs
  4.  
  5.  
  6.  
  7. ------------------------------ FORTRAN -------------------------------
  8.  
  9. BINREAD.F       Shows how to read sequentially from a file without the
  10.                 4-byte header and footer information.
  11. BINWRITE.F      Shows how to write sequentially to a file without the
  12.                 4-byte header and footer information.
  13. CHECK.F         Shows how to catch NDP exceptions.
  14. DEBUG.F         Use with CHECK.F to catch NDP exceptions.
  15. FDEMO.F         Demonstrates video graphics using GREX.
  16. HI.F            Test program displays the message "Hi!".
  17. SCREENIN.F      Demonstrates video graphics (text mode) using GREX.
  18. SCRVAL.FH       Header file for SCREENIN.F.
  19. SETNDP.F        Shows how to enable numeric coprocessor exceptions.
  20.  
  21.  
  22.  
  23.  
  24. -------------------------------- C ----------------------------------
  25.  
  26. BILDDATE.C      Demonstrates calling NDP C function from NDP Fortran.
  27. CALLDTTY.C      Demonstrate calling assembly language instead of using
  28.                 INT386 function.
  29. CALLM1.C        Calls real mode TSR via interrupt.
  30. CALLM2.C        Calls real mode program via address.
  31. CDEMO.C         Demonstrates video graphics using GREX.
  32. COMBIO.C        Reads binary I/O from async I/O port.
  33. COMIO.C         Reads text fro async I/O port.
  34. DISPNDP.C       Displays the numeric and environment registers of the
  35.                 numeric coprocessor being used.
  36. DISPTTY.C       Demonstrates using the INT386 function.
  37. DIVZ.C          Demonstrates principles used in creating a user-written
  38.                 numeric exception handler.
  39. DIVZ1167.C      Demonstrates principles used in creating a user-written
  40.                 numeric exception handler.
  41. DIVZ2.C         Demonstrates principles used in creating a user-written
  42.                 numeric exception handler.
  43. DIVZ287.C       Demonstrates principles used in creating a user-written
  44.                 numeric exception handler.
  45. DIVZ387.C       Demonstrates principles used in creating a user-written
  46.                 numeric exception handler.
  47. EGAEXIST.C      Determines if an EGA board is present.
  48. EXACT.C
  49. EXC.C           Demonstrates changing numeric error handling from
  50.                 passive to active.
  51. FSCANF.C        Tests fscanf() as implemented in NDP C.
  52. GETENV.C        Tests getenv() as implemented in NDP C.
  53. GETSEC.C        Returns time since midnight in hundredths of a second
  54. HI.C            Test program displays the message "Hi!".
  55. LOOKUP.C        Demonstrates calling NDP C function from NDP Pascal.
  56. MATH.C
  57. MUSIC.C         Demonstrates interfacing between assembly language and
  58.                 NDP C programs. The NDP code calls protected mode
  59.                 assembly language routines, which communicate with a
  60.                 real mode assembly language routine.
  61. PRINTF.C        Tests printf() as implemented in NDP C.
  62. READ.C          Tests read() as implemented in NDP C.
  63. SPAWNX.C        Tests _spawnx() as implemented in NDP C.
  64. STRNCPY.C       Tests strncpy() as implemented in NDP C.
  65. UNFL.C          Demonstrates the principles used in creating a user-written
  66.                 numeric exception handler.
  67. USERDBUG.C      This function is called whenever a function in the main
  68.                 program is called.  It displays the name of the calling
  69.                 function, the name of the function which was called, and
  70.                 the line number in the program where that function was
  71.                 called.
  72. VALERR.C        Tests range of type as implemented in NDP C
  73.  
  74.  
  75.  
  76.  
  77. ------------------------------ PASCAL --------------------------------
  78.  
  79. DIVZ.P          Shows a numeric exception handler for divide by zero.
  80. EXC.P           Demonstrates changing numeric error handling from
  81.                 passive to active.
  82. HI.P            Test program displays the message "Hi!".
  83. MOUSE.P         (see below)
  84. PRINTHEX.P      Print routines which convert various binary formats to
  85.                 hexadecimal and write the result to standard output.
  86. PRINTREG.P      Prints the contents of an 80-bit NDP register in
  87.                 character and hexadecimal format, followed by the
  88.                 register condition.
  89. UNFL.P          Demonstrates a user-written numeric exception handler
  90.                 for underflow.
  91. V1.P            Validation program solves three quadratic equations and
  92.                 checks the answer against the known solutions.
  93. V2.P            Validation program to test formal procedures and
  94.                 functions.
  95. V3.P            Validation test of binary file I/O.
  96.  
  97.  
  98.  
  99.  
  100. ------------------------------- MOUSE --------------------------------
  101.  
  102. MOUSE.H         Header file for MOUSE.P.
  103. MOUSE.OBJ       Object code produced by MOUSE.P.
  104. MOUSE.P         Pascal source code for various Microsoft mouse
  105.                 functions, to be used in conjuction with MOUSEASM.
  106.                 These routines can be called from C, Fortran, or Pascal;
  107.                 Refer to the source code contained in this file for
  108.                 calling conventions.
  109. MOUSE.S         Assembly code produced by MOUSE.P.
  110. MOUSEASM.OBJ    Object code produced by MOUSEASM.S.
  111. MOUSEASM.S      Assembly code portion of mouse functions, used in
  112.                 conjuntion with MOUSE.
  113.  
  114.  
  115.  
  116.  
  117. VIDEO    F
  118. BILDDATE C
  119. CALLDTTY C
  120. CALLM1   C
  121. CALLM2   C
  122. CDEMO    C
  123. COMBIO   C
  124. COMIO    C
  125. DISPNDP  C
  126. DISPTTY  C
  127. DIVZ     C
  128. DIVZ1167 C
  129. DIVZ2    C
  130. DIVZ287  C
  131. DIVZ387  C
  132. EGAEXIST C
  133. EXACT    C
  134. EXC      C
  135. FSCANF   C
  136. GETENV   C
  137. GETSEC   C
  138. C        DIR
  139. LOOKUP   C
  140. MATH     C
  141. MUSIC    C
  142. PRINTF   C
  143. READ     C
  144. SPAWNX   C
  145. STRNCPY  C
  146. TEXTWIN  C
  147. UNFL     C
  148. USERDBUG C
  149. VALERR   C
  150. HI       CC
  151. CROSSREF DOC
  152. EXAMPLES DOC
  153. GREX     DOC
  154. BINREAD  F
  155. BINWRITE F
  156. CHECK    F
  157. DEBUG    F
  158. FDEMO    F
  159. HI       F
  160. SCREENIN F
  161. SETNDP   F
  162. START    F
  163. TVP      F
  164. DOS      FH
  165. ERRNO    FH
  166. GREX     FH
  167. SCRVAL   FH
  168. ENVIRNMT H
  169. GREX     H
  170. MOUSE    H
  171. MOUSE    OBJ
  172. MOUSEASM OBJ
  173. DIVZ     P
  174. EXC      P
  175. HI       P
  176. MOUSE    P
  177. PRINTHEX P
  178. PRINTREG P
  179. UNFL     P
  180. V1       P
  181. V2       P
  182. V3       P
  183. MOUSE    S
  184. MOUSEASM S
  185. EXC      F
  186. DIVZ     F
  187. UNFL     F
  188. DISPNDP  F
  189. BDATE    F
  190. DISPTTY  F
  191. CALLDTTY F
  192. DISPTTYF S
  193. TSTQSORT F
  194. QUIKSORT P
  195. MUSIC    F
  196. PLAY     S
  197. CALLM1   F
  198. CALLM2   F
  199. GET_ADDR S
  200. M1       ASM
  201. HI       EX7
  202. RB       EXE
  203. M2       ASM
  204. FINDSYM  P
  205. S
  206. DISPTTYC S
  207. HI       C
  208. EXAMPLES TXT
  209. F        DIR
  210. P        DIR
  211. CALLDTTY P
  212. CALLM1   P
  213. CALLM2   P
  214. DISPTTY  P
  215. ENVIRMNT H
  216. M1       EXE
  217. M1       OBJ
  218. M2       OBJ
  219. MUSIC    P
  220. LIBGREX  LIB
  221. RB       BAS
  222. M2       BAK
  223. PDEMO    P
  224. GREX     PH
  225. HI       MAP
  226. HI       EXP
  227. EXAMPLES DIR
  228.       113 Fi
  229.  
  230.  
  231.  
  232.  
  233.