home *** CD-ROM | disk | FTP | other *** search
- Bas87 comes with a BASIC demo program labelled Spidemo.
- As you can see, there are two versions of the basic source, two
- object modules and two execution modules. Spidemo requires the
- color monitor board to run, since it does point graphics. To run
- it and check the operation of your 8087, type spidem87 while in
- DOS. You should also have a copy of BASRUN.EXE in drive A, or put
- one there when the program prompts. Spidem87 will start off with
- the BAS87 sign on (which occurs automatically when it is called at
- the start of your program) and should then proceed to draw a
- series of spirals. If it doesn't run, you either don't have an
- 8087 installed, have a defective disk or have the monochrome display.
- After running Spidem87, try spidemo, the speed difference should be
- obvious.
- To use Bas87, you must do two things: call it from your
- program before you do any floating point arithmetic, and include
- BAS87 with the name of your program when you link your program. To
- understand this process, look at the source for SPIDEMO and SPIDEM87.
- Note the difference, spidemo does not call bas87, but spidem87 does.
- Now back up this disc and compile both of these programs into object
- modules. The programs both use BASRUN and do not need any options,
- such as /O etc. Next link both programs. When the linker prompts for
- an object module, type SPIDEMO for the first and SPIDEM87+BAS87 for
- the second. The final result of either link operation should be an
- execution module.