home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / ASM / 8087SMPL.ZIP / BAS87.DOC next >
Encoding:
Text File  |  1987-01-11  |  1.5 KB  |  25 lines

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