home *** CD-ROM | disk | FTP | other *** search
-
-
- NDP Example Programs
-
-
-
- ------------------------------ FORTRAN -------------------------------
-
- BINREAD.F Shows how to read sequentially from a file without the
- 4-byte header and footer information.
- BINWRITE.F Shows how to write sequentially to a file without the
- 4-byte header and footer information.
- CHECK.F Shows how to catch NDP exceptions.
- DEBUG.F Use with CHECK.F to catch NDP exceptions.
- FDEMO.F Demonstrates video graphics using GREX.
- HI.F Test program displays the message "Hi!".
- SCREENIN.F Demonstrates video graphics (text mode) using GREX.
- SCRVAL.FH Header file for SCREENIN.F.
- SETNDP.F Shows how to enable numeric coprocessor exceptions.
-
-
-
-
- -------------------------------- C ----------------------------------
-
- BILDDATE.C Demonstrates calling NDP C function from NDP Fortran.
- CALLDTTY.C Demonstrate calling assembly language instead of using
- INT386 function.
- CALLM1.C Calls real mode TSR via interrupt.
- CALLM2.C Calls real mode program via address.
- CDEMO.C Demonstrates video graphics using GREX.
- COMBIO.C Reads binary I/O from async I/O port.
- COMIO.C Reads text fro async I/O port.
- DISPNDP.C Displays the numeric and environment registers of the
- numeric coprocessor being used.
- DISPTTY.C Demonstrates using the INT386 function.
- DIVZ.C Demonstrates principles used in creating a user-written
- numeric exception handler.
- DIVZ1167.C Demonstrates principles used in creating a user-written
- numeric exception handler.
- DIVZ2.C Demonstrates principles used in creating a user-written
- numeric exception handler.
- DIVZ287.C Demonstrates principles used in creating a user-written
- numeric exception handler.
- DIVZ387.C Demonstrates principles used in creating a user-written
- numeric exception handler.
- EGAEXIST.C Determines if an EGA board is present.
- EXACT.C
- EXC.C Demonstrates changing numeric error handling from
- passive to active.
- FSCANF.C Tests fscanf() as implemented in NDP C.
- GETENV.C Tests getenv() as implemented in NDP C.
- GETSEC.C Returns time since midnight in hundredths of a second
- HI.C Test program displays the message "Hi!".
- LOOKUP.C Demonstrates calling NDP C function from NDP Pascal.
- MATH.C
- MUSIC.C Demonstrates interfacing between assembly language and
- NDP C programs. The NDP code calls protected mode
- assembly language routines, which communicate with a
- real mode assembly language routine.
- PRINTF.C Tests printf() as implemented in NDP C.
- READ.C Tests read() as implemented in NDP C.
- SPAWNX.C Tests _spawnx() as implemented in NDP C.
- STRNCPY.C Tests strncpy() as implemented in NDP C.
- UNFL.C Demonstrates the principles used in creating a user-written
- numeric exception handler.
- USERDBUG.C This function is called whenever a function in the main
- program is called. It displays the name of the calling
- function, the name of the function which was called, and
- the line number in the program where that function was
- called.
- VALERR.C Tests range of type as implemented in NDP C
-
-
-
-
- ------------------------------ PASCAL --------------------------------
-
- DIVZ.P Shows a numeric exception handler for divide by zero.
- EXC.P Demonstrates changing numeric error handling from
- passive to active.
- HI.P Test program displays the message "Hi!".
- MOUSE.P (see below)
- PRINTHEX.P Print routines which convert various binary formats to
- hexadecimal and write the result to standard output.
- PRINTREG.P Prints the contents of an 80-bit NDP register in
- character and hexadecimal format, followed by the
- register condition.
- UNFL.P Demonstrates a user-written numeric exception handler
- for underflow.
- V1.P Validation program solves three quadratic equations and
- checks the answer against the known solutions.
- V2.P Validation program to test formal procedures and
- functions.
- V3.P Validation test of binary file I/O.
-
-
-
-
- ------------------------------- MOUSE --------------------------------
-
- MOUSE.H Header file for MOUSE.P.
- MOUSE.OBJ Object code produced by MOUSE.P.
- MOUSE.P Pascal source code for various Microsoft mouse
- functions, to be used in conjuction with MOUSEASM.
- These routines can be called from C, Fortran, or Pascal;
- Refer to the source code contained in this file for
- calling conventions.
- MOUSE.S Assembly code produced by MOUSE.P.
- MOUSEASM.OBJ Object code produced by MOUSEASM.S.
- MOUSEASM.S Assembly code portion of mouse functions, used in
- conjuntion with MOUSE.
-
-
-
-
- VIDEO F
- BILDDATE C
- CALLDTTY C
- CALLM1 C
- CALLM2 C
- CDEMO C
- COMBIO C
- COMIO C
- DISPNDP C
- DISPTTY C
- DIVZ C
- DIVZ1167 C
- DIVZ2 C
- DIVZ287 C
- DIVZ387 C
- EGAEXIST C
- EXACT C
- EXC C
- FSCANF C
- GETENV C
- GETSEC C
- C DIR
- LOOKUP C
- MATH C
- MUSIC C
- PRINTF C
- READ C
- SPAWNX C
- STRNCPY C
- TEXTWIN C
- UNFL C
- USERDBUG C
- VALERR C
- HI CC
- CROSSREF DOC
- EXAMPLES DOC
- GREX DOC
- BINREAD F
- BINWRITE F
- CHECK F
- DEBUG F
- FDEMO F
- HI F
- SCREENIN F
- SETNDP F
- START F
- TVP F
- DOS FH
- ERRNO FH
- GREX FH
- SCRVAL FH
- ENVIRNMT H
- GREX H
- MOUSE H
- MOUSE OBJ
- MOUSEASM OBJ
- DIVZ P
- EXC P
- HI P
- MOUSE P
- PRINTHEX P
- PRINTREG P
- UNFL P
- V1 P
- V2 P
- V3 P
- MOUSE S
- MOUSEASM S
- EXC F
- DIVZ F
- UNFL F
- DISPNDP F
- BDATE F
- DISPTTY F
- CALLDTTY F
- DISPTTYF S
- TSTQSORT F
- QUIKSORT P
- MUSIC F
- PLAY S
- CALLM1 F
- CALLM2 F
- GET_ADDR S
- M1 ASM
- HI EX7
- RB EXE
- M2 ASM
- FINDSYM P
- S
- DISPTTYC S
- HI C
- EXAMPLES TXT
- F DIR
- P DIR
- CALLDTTY P
- CALLM1 P
- CALLM2 P
- DISPTTY P
- ENVIRMNT H
- M1 EXE
- M1 OBJ
- M2 OBJ
- MUSIC P
- LIBGREX LIB
- RB BAS
- M2 BAK
- PDEMO P
- GREX PH
- HI MAP
- HI EXP
- EXAMPLES DIR
- 113 Fi
-
-
-
-
-