home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / asmlib.zip / ASMLIB.DOC < prev    next >
Text File  |  1992-06-13  |  33KB  |  548 lines

  1.                      ASMLIB Programmer's Toolkit
  2.                tools for assembly-language programming
  3.      Copyright (C) 1991, 1992 Douglas Herr - All rights reserved
  4.  
  5.  
  6. What is ASMLIB?
  7.  
  8. ASMLIB is a library of assembly-language subroutines, linkable with
  9. your .OBJ code.  ASMLIB provides many tools to the assembly-language
  10. programmer which eliminate much of the tedious and repetetive coding
  11. that assembly-languase programming is infamous for.
  12.  
  13. DISTRIBUTION AND REGISTRATION
  14.  
  15. ASMLIB is user-supported software, NOT public domain software.
  16. Possession of the ASMLIB files entitles you to evaluate this product.
  17. If, after evaluation, you choose to use ASMLIB subroutines in your
  18. programs, you are expected to register with the library's author.
  19. By registering, you will be entitled to use the latest version of ASMLIB,
  20. you will be entitled to low-cost upgrades, you will have confidence that
  21. the version of ASMLIB you are using has not been altered by others, and
  22. you will be supporting my programming efforts.
  23.  
  24. Two levels of registration are available: For $25, you will recieve  the
  25. most recent version of ASMLIB (small, medium and huge models); for $50
  26. you will receive full source code to the ASMLIB subroutines along with
  27. the assembled libraries.  If you first register at the $25 level, you may
  28. register for ASMLIB source code at any time for $25.  Upgrades for either
  29. level of registration are $10.
  30.  
  31. Register by sending the registration fee to:
  32.  
  33.    Douglas Herr
  34.    P. O. Box 207
  35.    Sacramento, CA  95812
  36.    U.S.A.
  37.  
  38.    Telephone (916) 721-8762
  39.    CompuServe 71247,3542
  40.  
  41. Please specify either 5 1/4 or 3 1/2 inch disks.  Bug reports (if any)
  42. should be sent to the same address.  If you wish to contact me by
  43. telephone, please call after 8:00 PM Pacific time so I can get my kids
  44. in bed.
  45.  
  46. Registration is a LICENSE fee, not a purchase of ASMLIB.  Registered users
  47. may use ASMLIB or modified subroutines based on ASMLIB source code in their
  48. own programs.  Registered users may distribute programs using ASMLIB
  49. subroutines without royalty payments.
  50.  
  51. ASMLIB object files, ASMLIB source code (unmodified or modified) and the
  52. ASMLIB library and documentation remain the property of Douglas Herr.
  53. ASMLIB source code, modified or unmodified, may not be re-distributed.
  54.  
  55. The ASMLIB shareware package includes these files:
  56.  
  57. ASMLIB.LIB      the ASMLIB medium model library
  58. ASMLIB.DOC      this introductory file
  59. DATA.DOC        documentation for string and integer data manipulation
  60. DISK.DOC        documentation for disk & file subroutines
  61. EMS.DOC         documentation for Expanded Memory subroutines
  62. FLOAT.DOC       documentation for floating-point subroutines
  63. GRAPHICS.DOC    documentation for ASMLIB graphics
  64. INPUT.DOC       documentation for keyboard input subroutines
  65. MODE.DOC        ASMLIB screen mode subroutines
  66. SOLVE.DOC       documentation for ASMLIB mathematical solutions
  67. SYSTEM.DOC      documentation for subroutines which determine PC status
  68. TEXT.DOC        documentation for text-mode video subroutines
  69. STARTUP.ASM     sample startup code
  70. ASM.INC         INCLUDE file for STARTUP.ASM
  71.  
  72. These files may be copied and distributed freely provided that all the
  73. above files are distributed together in unmodified or archived form
  74. and provided that distribution charges are less than $10.
  75.  
  76.  
  77. LIMITED LIABILITY
  78.  
  79. Since I am unable to supervise all uses of ASMLIB, I cannot be held
  80. responsible for any damages, either direct or incidental, resulting
  81. from the use or abuse of ASMLIB.  I have used ASMLIB subroutines on
  82. a wide variety of equipment and have found the library to be highly
  83. compatible with common PC equipment, but you must use this library at
  84. your own risk.
  85.  
  86.  
  87. COMPATIBILITY
  88.  
  89. ASMLIB subroutines are intended for IBM PC, XT, AT, PS/2, and compatible
  90. equipment in real mode with PC-DOS or MS-DOS operating systems.  I cannot
  91. provide support for use of ASMLIB on other equipment or with other operating
  92. systems.
  93.  
  94.  
  95. ABBREVIATIONS for video boards
  96.  
  97. MDA   IBM-standard Monochrome Display Adapter
  98. CGA   IBM-standard Color Graphics Adapter (ugh!)
  99. MCGA  IBM-standard Multi-color Graphics Array
  100. EGA   IBM-standard Enhanced Graphics Adapter
  101. VGA   IBM-standard Video Graphics Array
  102. SVGA  VGA equipment with additional capabilities
  103. HGC   Hercules Graphics Card and compatibles
  104. HGC+  Hercules Graphics Card Plus
  105. InC   Hercules InColor Card
  106.  
  107. OTHER ABBREVIATIONS
  108.  
  109. CF = Carry Flag
  110. ZF = Zero Flag
  111. SF = Sign Flag
  112.  
  113.  
  114. ASSUMPTIONS
  115.  
  116. Unless otherwise stated, ASMLIB subroutines assume that:
  117.  
  118. 1) All strings are terminated with a NUL character.
  119.  
  120. 2) Subroutines with names including '$' trash registers, and are
  121.    intended primarily for ASMLIB's internal use.  All '$' subroutines
  122.    require a near call.
  123.  
  124. 3) ASMLIB subroutines without '$' in the name require a far call, and
  125.    are compatible with object files assembled with the
  126.  
  127.    .model medium
  128.  
  129.    directive.  Subroutines in ASMSMALL.LIB, provided upon registration,
  130.    require a near call, and are compatible with object code assembled with
  131.    the
  132.  
  133.    .model small
  134.  
  135.    directive.  Subroutines in ASMHUGE.LIB, also provided upon
  136.    registration, includes support for data blocks > 64k.  Support
  137.    for huge data is indicated in the description of each subroutine.
  138.  
  139.    Aside from the MODEL.INC include file, ASMLIB source code does not need
  140.    any alteration when changing memory models.  All ASMLIB source code is
  141.    compatible with MASM 5.0, MASM 5.1 and TASM 2.01.
  142.  
  143. 4) ASMLIB data types are:
  144.  
  145.    chr   1 byte
  146.    str   character string, normally terminated with ASCII 0 (NUL)
  147.    I2    2-byte signed integer
  148.    U2    2-byte unsigned integer
  149.    I4    4-byte signed integer
  150.    U4    4-byte unsigned integer
  151.    F4    4-byte floating point value, IEEE format
  152.    F8    8-byte floating point value, IEEE format
  153.  
  154. 5) ASMLIB GRAPHICS subroutines assume DS:@DATA
  155.  
  156. HOW DO I USE ALL THIS NEAT STUFF?
  157.  
  158. Any program that calls an ASMLIB subroutine must declare the subroutine as
  159. an external procedure, like this:
  160.  
  161. extrn  gedit:proc        ; tell assembler to assume that GEDIT is an external
  162.                          ; procedure to be linked later
  163.  
  164.  
  165. I also find it handy to make LINK search through ASMLIB for object code,
  166. rather than specifying ASMLIB on the command line.  Do this with the
  167. command
  168.  
  169. includelib asmlib.lib    ; automatic search through ASMLIB for externals
  170.  
  171. in your calling program.  See STARTUP.ASM.  (Note: this may not work with
  172. TASM 2.01.  You will need to specify ASMLIB on the command line.)
  173.  
  174.  
  175. CALLING ASMLIB FROM C PROGRAMS
  176.  
  177. It's easy to call ASMLIB subroutines from C if you follow these simple
  178. rules (Turbo C examples):
  179.  
  180. 1)  Tell your C program that the ASMLIB subroutine is a PASCAL function
  181.     This makes the C compiler convert the subroutine name to upper case
  182.     and supresses the _leading _underscore in the subroutine name.
  183.  
  184.     Example:
  185.     extern  void pascal tprint();
  186.  
  187.  
  188. 2)  In case of naming conflicts (such as strlen), declare the ASMLIB
  189.     subroutine in upper case and use upper case in the C code.
  190.  
  191.     Example:
  192.     extern  void pascal STRLEN();
  193.     .
  194.     .
  195.     .
  196.     _BX = msg;              /* pointer to ASCIIZ string */
  197.     STRLEN();               /* ASMLIB subroutine  */
  198.     string_length = _CX
  199.  
  200.  
  201. 3)  Load the 80x86 registers before calling the ASMLIB subroutine.
  202.  
  203.     Example:
  204.     _DX = 0;
  205.     _AH = 15;
  206.     _SI = msg;             /* pointer to ASCIIZ string */
  207.     tprint();
  208.  
  209.  
  210. 4)  ASMLIB subroutines using the 8087 will use Turbo C's
  211.     emulation library if re-assembled with the /E option.
  212.  
  213.  
  214. 5)  values in registers returned by ASMLIB subroutines should be used
  215.     or saved immediately; C code executed after calling an ASMLIB
  216.     subroutine may change any of the registers
  217.  
  218.  
  219. 6)  When compiling from within the Turbo C editor, include ASMLIB.LIB
  220.     in your .PRJ file (ASMSMALL.LIB for small model, ASMHUGE.LIB for
  221.     huge model).
  222.  
  223.  
  224. DOCUMENTATION
  225.  
  226. There's alot of stuff in ASMLIB, so I've tried to keep the documentation
  227. succinct.  Here's a general guide to ASMLIB's documentation:
  228.  
  229.  
  230.  
  231. SUBROUTINE:  a brief description
  232. Source:      the source code file (and other subroutines used)
  233.  
  234. Call with:   this tells you what data the subroutine expects
  235.              additional information may be found here
  236. Returns:     tells you what registers and/or flags contain useful info
  237.              Additional lines may include more specific information about
  238.              the register values returned.
  239. Uses:        registers and flags which may be changed
  240. Supports:    particular equipment or operating modes; this will not apply to
  241.              all subroutines.
  242. Example:     an example of how parameters are passed to the subroutine
  243.              and a typical use of the subroutine.
  244.  
  245.  
  246.  
  247. Documentation for ASMLIB subroutines is in the following files:
  248.  
  249. Subroutine      description                                           .DOC file
  250.  
  251. A$EDIT          editor module used by TEdit and GEdit                 INPUT.DOC
  252. ADDF4           adds two float4 values without 80x87                  FLOAT.DOC
  253. ADDF8           adds two float8 values without 80x87                  FLOAT.DOC
  254. ANSICOLOR       returns color attribute used by ANSI device driver     TEXT.DOC
  255. BITBLOCKBYTES   calculate bytes required to save a bit block       GRAPHICS.DOC
  256. BITPLANEBYTES   calculate bytes to save a plane of bit block       GRAPHICS.DOC
  257. BLINKOFF        turn blink attributes off                              TEXT.DOC
  258. BLINKON         turn blink attributes on                               TEXT.DOC
  259. BREAKTRAP       initialize Ctrl+Break trap                           SYSTEM.DOC
  260. BREAKRELEASE    de-activate Ctrl+Break trap                          SYSTEM.DOC
  261. BREAKFLAG       public byte flagging a Ctrl+Break keypress           SYSTEM.DOC
  262. C2F             convert degrees Celcius to degrees Fahrenheit         SOLVE.DOC
  263. CHRDEL          delete a character from an ASCIIZ string               DATA.DOC
  264. CHRNDEL         delete a character from an n-length string             DATA.DOC
  265. CIRCLEASPECT    modifies aspect ratio of circle                    GRAPHICS.DOC
  266. CLEARKEY        clears the keyboard's 'type-ahead' buffer             INPUT.DOC
  267. CMPF4           compare two float4 values                             FLOAT.DOC
  268. CMPF8           compare two float8 values                             FLOAT.DOC
  269. COLORATTR       calculates a color attribute byte                      DATA.DOC
  270. CRTINFO         returns video buffer, screen size, etc.                TEXT.DOC
  271. CSET            centers a string in a fixed field                      DATA.DOC
  272. CUBEFITF4       fit a cubic equation to a float4 point series         SOLVE.DOC
  273. CUBEFITF8       fit a cubic equation to a float8 point series         SOLVE.DOC
  274. CUBEFITI2       fit a cubic equation to an integer2 point series      SOLVE.DOC
  275. CUBEFITI4       fit a cubic equation to an integer4 point series      SOLVE.DOC
  276. CURSORCOLOR     enable InColor palette, set cursor color               TEXT.DOC
  277. CURSOROFF       make hardware cursor invisible at present location     TEXT.DOC
  278. CURSORON        move cursor to (row, col) and update cursor shape      TEXT.DOC
  279. DAYNAME         returns ASCII string for day number                    DATA.DOC
  280. DEFGMODE        ASMLIB uses system graphics mode (default)         GRAPHICS.DOC
  281. DEG2RAD         convert degrees of arc to radians                     SOLVE.DOC
  282. DISKWP          determines if a floppy disk is writable                DISK.DOC
  283. DIVI2           divide one I2 number by another, returns f4 quotient  FLOAT.DOC
  284. DOSALLOC        dynamic memory allocation                            SYSTEM.DOC
  285. DRAWCIRCLE      draw a circle                                      GRAPHICS.DOC
  286. DRAWBOX         draw a rectangle on a graphics screen              GRAPHICS.DOC
  287. DRAWLINE        draw a line on a graphics screen                   GRAPHICS.DOC
  288. DRAWMODE        public byte modifying ASMLIB graphics drawing mode GRAPHICS.DOC
  289. ENDPROG         determine size of program                            SYSTEM.DOC
  290. EXENAME         determine full path and name of executing program    SYSTEM.DOC
  291.  
  292. F2C             convert degrees Fahrenheit to degrees Celcius         SOLVE.DOC
  293. F4TOF8          converts float4 value to float8 format                FLOAT.DOC
  294. F4TOI2          converts float4 value to an integer                   FLOAT.DOC
  295. F4TOI4          converts float4 value to a long integer               FLOAT.DOC
  296. F8TOF4          converts float8 value to float4 format                FLOAT.DOC
  297. FACTORIAL       calculate the factorial of an integer                 SOLVE.DOC
  298. FCOPY           copies one file to another                             DISK.DOC
  299. FCOUNT          counts the number of files matching filespec mask      DISK.DOC
  300. FEXIST          determines if a file exists                            DISK.DOC
  301. FFLUSH          flushes the DOS file output buffer for specifed handle DISK.DOC
  302. FGETSTR         read an ASCII string from a disk file                  DISK.DOC
  303. FILELIST        creates a list of filenames matching filespec mask     DISK.DOC
  304. FILL4, FILL4B   fill a buffer with 4-byte data                         DATA.DOC
  305. FILL8, FILL8B   fill a buffer with 8-byte data                         DATA.DOC
  306. FILLAREA        fills an irregular area on a graphics screen       GRAPHICS.DOC
  307. FILLBOX         draw a filled rectangle on a graphics screen       GRAPHICS.DOC
  308. FILLPATTERN     define an optional pattern for FillArea & FillBox  GRAPHICS.DOC
  309. FINDDATE        returns date of file found with FindFirst/FindNext     DISK.DOC 
  310. FINDFIRST       find first file matching filespec mask                 DISK.DOC
  311. FINDMONO        determine if monochrome monitor is installed         SYSTEM.DOC
  312. FINDNEXT        find next file matching filespec mask                  DISK.DOC
  313. FINDTIME        returns time of file found with FindFirst/FindNext     DISK.DOC
  314. FLOPPIES        determines the number of floppy drives installed     SYSTEM.DOC
  315. FLOPPYTYPE      determines the type of floppy drive installed        SYSTEM.DOC
  316. FORCEGMODE      force ASMLIB to use a graph mode                   GRAPHICS.DOC
  317. FPRIMEI2        calculates the derivative of a polynomial function    SOLVE.DOC
  318. FPRIMEF4        calculates the derivative of a polynomial function    SOLVE.DOC
  319. FPUTCR          writes a CR+LF pair to a file                          DISK.DOC
  320. FSIZE           determines the size of an open file                    DISK.DOC
  321. FSTRISTR        searches for a string in a disk file (case-insensetive)DATA.DOC
  322. FSTRSTR         searches for a string in a disk file (case-sensetive)  DATA.DOC
  323. FVALUE          calculate future value of an even cash flow           SOLVE.DOC
  324. GBASESEG        change ASMLIB graphics default base segment        GRAPHICS.DOC
  325. GCENTER         centers a string on a graphics screen              GRAPHICS.DOC
  326. GCLEAR          clears the active portion of a graphics screen     GRAPHICS.DOC
  327. GCOLOR          establish color used by ASMLIB graphics            GRAPHICS.DOC
  328. GCOPY           copies one page of graphics memory to another      GRAPHICS.DOC
  329. GCURSOR         simulate text-mode cursor on graphics screen       GRAPHICS.DOC
  330. GEDIT           string editor for graphics modes                      INPUT.DOC
  331. GETBITBLOCK     saves a portion of a graphics screen in memory     GRAPHICS.DOC
  332. GETBITPLANE     saves one plane of a bit block in memory           GRAPHICS.DOC
  333. GETCMD          isolates multiple command line parameters              DATA.DOC
  334. GETCPU          determines the computer's CPU chip                   SYSTEM.DOC
  335. GETCRT          determine active monitor                             SYSTEM.DOC
  336. GETKEY          returns next key pressed                              INPUT.DOC
  337. GETSCREEN       save screen image in memory to restore later           TEXT.DOC
  338. GETVIEW         returns a pointer to graphics view area data       GRAPHICS.DOC
  339. GLOAD           loads a graphics screen saved by GSave             GRAPHICS.DOC
  340. GPAGE           changes active and displayed graphics page         GRAPHICS.DOC
  341.  
  342. GPRINT          prints ASCIIZ string on a graphics screen          GRAPHICS.DOC
  343. GPRINTDOWN      prints ASCIIZ string vertically on graph screen    GRAPHICS.DOC
  344. GPRINTDOWNX     print string vertically on graph screen, 2x width  GRAPHICS.DOC
  345. GPRINTDOWN2X    print string vertically on graph screen, 2x size   GRAPHICS.DOC
  346. GPRINTUP        prints ASCIIZ string vertically on graph screen    GRAPHICS.DOC
  347. GPRINTUPX       print string vertically on graph screen, 2x width  GRAPHICS.DOC
  348. GPRINTUP2X      print string vertically on graph screen, 2x sixe   GRAPHICS.DOC
  349. GPRINTX         print string on a graphics screen, double width    GRAPHICS.DOC
  350. GPRINT2X        print string on a graphics screen, double size     GRAPHICS.DOC
  351. GSAVE           saves a graphics screen as a disk file             GRAPHICS.DOC
  352. GUCURSOR        simulate underscore cursor on graphics screen      GRAPHICS.DOC
  353. HALLOC          allocates memory from near heap                      SYSTEM.DOC
  354. HFREE           releases memory allocated by HALLOC                  SYSTEM.DOC
  355. HGRAPH          establish Hercules graphics mode using two pages       MODE.DOC
  356. HGRAPH0         establish Hercules graphics mode using one page        MODE.DOC
  357. HIDEMOUSE       make mouse cursor disappear                           INPUT.DOC
  358. HINIT           initializes near heap                                SYSTEM.DOC
  359. HMAX            determines maximum block size available in near heap SYSTEM.DOC
  360. HRAM8043        establish 80-column, 43-row RamFont mode               MODE.DOC
  361. HRAM9025        establish 90-column, 25-row RamFont mode               MODE.DOC
  362. HRAM9043        establish 90-column, 43-row RamFont mode               MODE.DOC
  363. HREALLOC        re-sizes a memory block in the near heap             SYSTEM.DOC
  364. HSCROLL         scrolls a portion of the screen left or right          TEXT.DOC
  365. HTEXT           establish Hercules text mode                           MODE.DOC
  366. I2TOF4          convert a 2-byte integer to float4 format             FLOAT.DOC
  367. I2TOSTR         convert a 2-byte integer to an ASCIIZ string           DATA.DOC
  368. I4TOF4          convert a 4-byte integer to float4 format             FLOAT.DOC
  369. I4TOSTR         convert a 4-byte integer to an ASCIIZ string           DATA.DOC
  370. ISALPHA         determines if a keycode returned by GetKey is A - z   INPUT.DOC
  371. ISANSI          determines if ANSI is loaded and active              SYSTEM.DOC
  372. ISDIGIT         determines if a keycode returned by GetKey is 0 - 9   INPUT.DOC
  373. ISEMS           determines if an EMS driver is loaded                   EMS.DOC
  374. ISEVGA          determines if an EGA or VGA is installed             SYSTEM.DOC
  375. ISHERC          determine if a Hercules card is installed            SYSTEM.DOC
  376. ISLOWER         determines if a keycode returned by GetKey is a - z   INPUT.DOC
  377. ISMOUSE         determines if a mouse is installed                   SYSTEM.DOC
  378. ISSEVGA         determines if a Super EGA or Super VGA is installed  SYSTEM.DOC
  379. ISUPPER         determines if a keycode returned by GetKey is A - Z   INPUT.DOC
  380. INVF4           calculate the inverse of a float4 value               FLOAT.DOC
  381. KEYIFWAITING    returns first key if one waiting in keyboard buffer   INPUT.DOC
  382. KEYORBUTTON     returns either keypress or mouse button press         INPUT.DOC
  383. KEYWAITING      determines if a key is waiting in keyboard buffer     INPUT.DOC
  384. LINEFITF4       fit a line equation to point series                   SOLVE.DOC
  385. LINEFITF8       fit a line equation to point series                   SOLVE.DOC
  386. LINEFITI2       fit a line equation to point series                   SOLVE.DOC
  387. LINEFITI4       fit a line equation to point series                   SOLVE.DOC
  388. LINEPATTERN     defines an optional pattern to use with DrawLine   GRAPHICS.DOC
  389. LOWDS2HI        convert segment:offset address to lowest offset        DATA.DOC
  390. LOWES2HI        convert segment:offset address to lowest offset        DATA.DOC
  391. LSET            left-justifies a string in a field                     DATA.DOC
  392. LTRIM           removes leading blanks from an ASCIIZ string           DATA.DOC
  393.  
  394. MATHCHIP        determine if 80x87 math coprocessor is installed     SYSTEM.DOC
  395. MAXF4, MAXF4B   determine maximum value in a real number array        FLOAT.DOC
  396. MAXF8, MAXF8B   determine maximum value in a real number array        FLOAT.DOC
  397. MAXI2, MAXI2B   determine maximum value in integer array               DATA.DOC
  398. MAXI4, MAXI4B   determine maximum value in long integer array          DATA.DOC
  399. MAXU2, MAXU2B   determine maximum value in unsigned integer array      DATA.DOC
  400. MAXU4, MAXU4B   determine maximum value in unsigned long integer array DATA.DOC
  401. MENUOPTION      define options for PullDown menu system               INPUT.DOC
  402. MINF4, MINF4B   determine minimum value in a real number array        FLOAT.DOC
  403. MINF8, MINF8B   determine minimum value in a real number array        FLOAT.DOC
  404. MINI2, MINI2B   determine minimum value in integer array               DATA.DOC
  405. MINI4, MINI4B   determine minimum value in long integer array          DATA.DOC
  406. MINU2, MINU2B   determine minimum value in unsigned integer array      DATA.DOC
  407. MINU4, MINU4B   determine minimum value in unsigned long integer array DATA.DOC
  408. MODECOLOR       switch system to color monitor or color text mode      MODE.DOC
  409. MODEMONO        switch system to monochrome monitor or mono text mode  MODE.DOC
  410. MODE13225       switches supported systems to 132-column 25-row mode   MODE.DOC
  411. MODE13243       switches supported systems to 132-column 43-row mode   MODE.DOC
  412. MODE43          switch EGA to 80x43 text mode or VGA to 80x50 text     MODE.DOC
  413. MONTHNAME       returns ASCII string for month given month number      DATA.DOC
  414. MOUSEINIT       determines if a mouse is installed                   SYSTEM.DOC
  415. MOUSELIMIT      limit mouse's range on screen                         INPUT.DOC
  416. MOUSEPOS        position mouse on the screen                          INPUT.DOC
  417. MOUSESTATUS     determine mouse location & buttons pressed            INPUT.DOC
  418. MULF4           multiplies two float4 values without 80x87            FLOAT.DOC
  419. MULF4TEN        multiplies a float4 value by 10.0 without 80x87       FLOAT.DOC
  420. MULF8           multiplies two float8 values without 80x87            FLOAT.DOC
  421. MULF8TEN        multiplies a float8 value by 10.0 without 80x87       FLOAT.DOC
  422. NFORMAT         formats a numeric string                               DATA.DOC
  423. NORMF4, NORMF4B normalize a float4 data series                        SOLVE.DOC
  424. NORMF8, NORMF8B normalize a float8 data series                        SOLVE.DOC
  425. NPVALUE         calculate net present value of an uneven cash flow    SOLVE.DOC
  426. PAINT           change all color attributes on a text-mode screen      TEXT.DOC
  427. PATH            returns a PATH from the program's enviornment block  SYSTEM.DOC
  428. PAYMENT         calculate payment required given n, i, pv, fv         SOLVE.DOC
  429. PICKFILE        select filename from list                             INPUT.DOC
  430. PICKSTR         select one from a list of strings                     INPUT.DOC
  431. PSOLVEF4        solve a polynomial equation for y, given x            SOLVE.DOC
  432. PSOLVEF8        solve a polynomial equation for y, given x            SOLVE.DOC
  433. PSOLVEI2        solve a polynomial equation for y, given x            SOLVE.DOC
  434. PSOLVEI4        solve a polynomial equation for y, given x            SOLVE.DOC
  435. PULLDOWN        pull-down menu system; text mode                      INPUT.DOC
  436. PUTBITBLOCK     restores bit block saved by GetBitBlock            GRAPHICS.DOC
  437. PUTBITPLANE     restores bit plane saved by GetBitPlane            GRAPHICS.DOC
  438. PUTDOT          set a pixel on a graphics screen                   GRAPHICS.DOC
  439. PUTSCREEN       restores screen image saved by GetScreen               TEXT.DOC
  440. PVALUE          calculate present value of an even cash flow          SOLVE.DOC
  441. QFNAME          given a partial filename, returns full path+filename   DISK.DOC
  442. QUADFITF4       fit a quadratic equation to a data series             SOLVE.DOC
  443. QUADFITF8       fit a quadratic equation to a data series             SOLVE.DOC
  444. QUADFITI2       fit a quadratic equation to a data series             SOLVE.DOC
  445. QUADFITI4       fit a quadratic equation to a data series             SOLVE.DOC
  446.  
  447. RAD2DEG         convert radians to degrees of arc                     SOLVE.DOC
  448. RANDOM          generates a near-random number                         DATA.DOC
  449. READDOT         determine pixel value on graphics screen           GRAPHICS.DOC
  450. RECOLOR         change selected color attributes on a text-mode screen TEXT.DOC
  451. RESETVIEW       restores defalt view area on active graphics page  GRAPHICS.DOC
  452. RSET            right-justifies a string in a field                    DATA.DOC
  453. RTRIM           removes trailing blanks from an ASCIIZ string          DATA.DOC
  454. SAMP2POP        stddev option                                         SOLVE.DOC
  455. SCALEF4         scales a float4 value by an integer power of 2        FLOAT.DOC
  456. SCALEF8         scales a float8 value by an integer power of 2        FLOAT.DOC
  457. SCREENMEM       calculates bytes required to save screen image         TEXT.DOC
  458. SHOWGPAGE       change graphics page displayed on screen           GRAPHICS.DOC
  459. SHOWGPLANE      show one or more planes of 16-color EGA/VGA screen GRAPHICS.DOC
  460. SHOWMOUSE       make mouse cursor visible                             INPUT.DOC
  461. SHOWTPAGE       change video page shown on screen                      TEXT.DOC
  462. SMALLTEXT       change GPrint default to 8x8 characters            GRAPHICS.DOC
  463. SNOWOFF         disables CGA snow control                              TEXT.DOC
  464. SNOWON          enables CGA snow control (ASMLIB default)              TEXT.DOC
  465. SORTF4HI        sorts the values in a float4 array, highest first     FLOAT.DOC
  466. SORTF4LO        sorts the values in a float4 array, lowest first      FLOAT.DOC
  467. SORTI4HI        sorts the values in an array of 4-byte integers        DATA.DOC
  468. SORTI4LO        sorts the values in an array of 4-byte integers        DATA.DOC
  469. STDDEVF4        calculate standard deviation of float4 series         SOLVE.DOC
  470. STDDEVF8        calculate standard deviation of float8 series         SOLVE.DOC
  471. STDDEVI2        calculate standard deviation of integer2 series       SOLVE.DOC
  472. STDDEVI4        calculate standard deviation of integer4 series       SOLVE.DOC
  473. STDTEXT         restore GPrint default characters                  GRAPHICS.DOC
  474. STR2VBUF        copies a string to the video buffer                    TEXT.DOC
  475. STRCPY          copy an ASCIIZ string to existing buffer               DATA.DOC
  476. STRNCPY         copy CX bytes of an ASCII string to existing buffer    DATA.DOC
  477. STRTOI2         converts an ASCIIZ string to an equivalent integer     DATA.DOC
  478. STRNTOI2        converts n bytes of a string to an equivalent integer  DATA.DOC
  479. STRTOI4         converts an ASCII string to equivalent long integer    DATA.DOC
  480. STRNTOI4        converts n bytes of string to equivalent long integer  DATA.DOC
  481. STRCPY          copies an ASCIIZ string to an existing buffer          DATA.DOC
  482. STRNCPY         copies CX bytes of a string to an existing buffer      DATA.DOC
  483. STRCAT          catenates (adds) two strings                           DATA.DOC
  484. STRCHR          searches for a specified character in a string         DATA.DOC
  485. STRDUP          duplicates an ASCIIZ string                            DATA.DOC
  486. STRINS          combines string0 and string1 at specified position     DATA.DOC
  487. STRIPCHR        removes selected character from a string               DATA.DOC
  488. STRISTR         finds a substring in a string, case insensetive        DATA.DOC
  489. STRLEN          determines the length of an ASCIIZ string              DATA.DOC
  490. STRLWR          change upper-case characters in a string to lower      DATA.DOC
  491. STRNCHR         searches n bytes of a string for for a character       DATA.DOC
  492. STRNDUP         duplicates n characters of a string                    DATA.DOC
  493. STRNLWR         changes n bytes in string to lower case                DATA.DOC
  494. STRNRCHR        finds the last character matching AL in n bytes        DATA.DOC
  495. STRNREV         reverses n bytes of an ASCIIZ string                   DATA.DOC
  496. STRNSET         sets n characters in a string to specified character   DATA.DOC
  497. STRNUPR         changes n bytes in string to upper case                DATA.DOC
  498.  
  499. STRREV          reverses all characters in an ASCIIZ string            DATA.DOC
  500. STRRCHR         finds the last byte in an ASCIIZ string matching AL    DATA.DOC
  501. STRRSTR         finds the last substring in a string, case sensetive   DATA.DOC
  502. STRSET          sets all characters in a string to specified character DATA.DOC
  503. STRSPACE        creates a new string of space characters               DATA.DOC
  504. STRSTR          finds a substring in a string, case sensetive          DATA.DOC
  505. STRUPR          changes lower-case characters in string to upper case  DATA.DOC
  506. SUBF4           subtract a float4 value from another                  FLOAT.DOC
  507. SUBF8           subtract a float8 value from another                  FLOAT.DOC
  508. SUPER13         use undocumented 320x400 256-color VGA mode, 2 pages   MODE.DOC
  509. SUPER13A        use undocumented 360x480 256-color VGA mode            MODE.DOC
  510. SVGA16          set 800x600 or 1024x768 16-color mode                  MODE.DOC
  511. SVGA256         set 256-color mode up to 1024x768 pixels               MODE.DOC
  512. SWAPB           swaps data areas                                       DATA.DOC
  513. SYSTEM          executes a second copy of COMMAND.COM                SYSTEM.DOC
  514. TCENTER         prints a string on the screen, centered horizontally   TEXT.DOC
  515. TCOPY           copies one page of text-mode video memory to another   TEXT.DOC
  516. TCLEAR          clears text-mode screen with specified color attribute TEXT.DOC
  517. TEDIT           string editor for text modes                          INPUT.DOC
  518. TFILL           fill text-mode screen with specified character & color TEXT.DOC
  519. TGETCHR         read character and color attribute from text screen    TEXT.DOC
  520. TLOAD           loads a screen image disk file saved by TSave          TEXT.DOC
  521. TOLOWER         converts keycode from GetKey to lower case            INPUT.DOC
  522. TOUPPER         converts keycode from GetKey to upper case            INPUT.DOC
  523. TPAGE           changes active page and shows active page              TEXT.DOC
  524. TPRINT          print ASCIIZ string directly to video buffer           TEXT.DOC
  525. TPRINTCE        print ASCIIZ string & clear to end of line             TEXT.DOC
  526. TPRINTL         print directly to video buffer, lower case             TEXT.DOC
  527. TPRINTU         print directly to video buffer, upper case             TEXT.DOC
  528. TSAVE           saves a screen image as a disk file                    TEXT.DOC
  529. UCURSORON       move cursor to (row, col), change to underscore        TEXT.DOC
  530. USE32K, USE64K  Hercules memory configuration control                SYSTEM.DOC
  531. USEGPAGE        changes active graphics page                       GRAPHICS.DOC
  532. USETPAGE        establish ASMLIB's active page                         TEXT.DOC
  533. VIEWLIMIT       determine current mode's maximum dimensions        GRAPHICS.DOC
  534. VSCROLL         scroll a portion of the screen up or down              TEXT.DOC
  535. WCLEAR          clears a rectangular portion of a text-mode screen     TEXT.DOC
  536. WFILL           fills a window of a text-mode screen w/specified char  TEXT.DOC
  537. WFRAME          draws a box on a text-mode screen                      TEXT.DOC
  538. WPAINT          replaces all color attributes in screen window         TEXT.DOC
  539. WPRINT          print directly to a window with word wrap              TEXT.DOC
  540. WRECOLOR        changes selected color attributes in screen window     TEXT.DOC
  541. WRESTORE        restore window saved by WSAVE                          TEXT.DOC
  542. WSAVE           save screen window in memory                           TEXT.DOC
  543. WSIZE           calculates the memory required to save screen window   TEXT.DOC
  544. XMODE16         use super EGA /super VGA 16-color graphics modes       MODE.DOC
  545. XMODECLEAR      reset ASMLIB graphics mode flags                       MODE.DOC
  546. XTOTHEY         calculate X to the Y power                            SOLVE.DOC
  547. YESNO           wait for 'Y' or 'N' key to be pressed                 INPUT.DOC
  548.