home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / archives / msdos / announce / 370 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  10.8 KB

  1. Xref: sparky comp.archives.msdos.announce:370 comp.lang.pascal:8463
  2. Newsgroups: comp.archives.msdos.announce,comp.lang.pascal
  3. Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!chyde.uwasa.fi!ts
  4. From: ts@chyde.uwasa.fi (Timo Salmi)
  5. Subject: tspa3170.zip Turbo Pascal version 7.0 real mode units
  6. Message-ID: <ts9301230646.26171@chyde.uwasa.fi>
  7. Followup-To: comp.lang.pascal
  8. Sender: ts@uwasa.fi (Timo Salmi)
  9. Organization: University of Vaasa
  10. Date: Sat, 23 Jan 1993 06:46:58 GMT
  11. Approved: ts@chyde.uwasa.fi
  12. Lines: 207
  13.  
  14. Sat 23-Jan-93: As all Turbo Pascal users know to our common chagrin
  15. the different Turbo Pascal version TPUs are not compatible across
  16. the versions. I have made a Turbo Pascal 7.0 real mode compatible
  17. rendition of my Turbo Pascal units garbo.uwasa.fi:/pc/ts/
  18. tspa3170.zip.
  19.       104888 Jan 23 1993 garbo.uwasa.fi:/pc/ts/tspa3170.zip
  20.    Since some users may ask, I am not going to make protected mode
  21. nor TPW compatible versions. Protected mode programming has quirks
  22. of it own, and is thus specialized. As for TPW, I do not use Windows
  23. myself, and have thus no real interest of supporting it.
  24.   The other, non-updated versions are
  25.     garbo.uwasa.fi:/pc/ts/tspa3140.zip
  26.     garbo.uwasa.fi:/pc/ts/tspa3150.zip
  27.     garbo.uwasa.fi:/pc/ts/tspa3155.zip
  28.     garbo.uwasa.fi:/pc/ts/tspa3160.zip
  29.  
  30. -------------------------------------------------------------------
  31. TSUNTA: (uses Dos, Crt, TSUNTE)
  32.   ATTRIBFN Color attribute for direct write to video memory
  33.   HIGHTFN  Current height of text screen
  34.   PANML    Scroll screen left
  35.   PANMR    Scroll screen right
  36.   VDAEXYFN Direct read of a screen video memory color attribute
  37.   VDCHXY   Direct read from the screen video memory
  38.   VIDXY    Direct write to the screen video memory
  39.   WIDTHFN  Current width of the text screen
  40. TSUNTB: (uses Dos)
  41.   BBINFN   Convert decimal byte to binary string
  42.   BHEXFN   Convert decimal byte to hexadecimal string
  43.   BINDECFN Convert binary string to decimal word
  44.   BINFN    Convert decimal word to binary string
  45.   BITONFN  Boolean status of a bit in a word
  46.   BTEWRDFN Combine two bytes into a single word, inverse of Hi & Lo
  47.   CONVBFN  Convert a number (string) of any base to any other base
  48.   HEXDECFN Convert hexadecimal string to decimal word
  49.   HEXFN    Convert decimal word to hexadecimal string
  50.   HEXLNGFN Convert hexadecimal string to decimal longint up to 7FFFFFFF
  51.   HIWORDFN The high-order (hi) word of the longint argument
  52.   LBINFN   Convert decimal longint to binary string
  53.   LHEXFN   Convert decimal longint to hexadecimal string
  54.   LOWORDFN The low-order (lo) word of the longint argument
  55.   POWERFN  Conventional raising of a positive real to a power
  56.   POWERGFN Generalized raising of any real to a real power
  57.   POWERLFN Raise longint to a non-negative integer power fast
  58.   R16TOFN  Sixteen to a power fast (word)
  59.   TICKSFN  Count of 18.2 times per second ticks (longint)
  60.   TIMERFN  Seconds elapsed since midnight (real)
  61.   TWOTOFN  Two to a power fast (word)
  62.   WRDLNGFN Combine two words into a longint
  63. TSUNTC: (uses Dos, Crt)
  64.   HIBACK   Enable hi-intensity (bright) background colors
  65.   PLAYNOTE Play a note
  66.   REVCOLOR Reverse text colors (a toggle)
  67. TSUNTD: (uses Dos)
  68.   AUDIO    Enhanced Sound procedure, no Crt unit needed
  69.   DOSDELAY Delay without needing the Crt unit
  70.   GETPRTFN Get the number of printer default timeout retry times
  71.   LEADFN   Lead a string with a multiple character (i.e. pad left)
  72.   LOWCASFN The opposite of UpCase (inline coded)
  73.   LPTONLFN Get the online status of the first parallel printer
  74.   PARSE    Extract all substrings from a string faster (1st method)
  75.   PARSENFN Number of substrings in a string (resembles ParamCount)
  76.   PARSERFN Get substrings from a string (resembles ParamStr)
  77.   PRTONLFN Get the online status of a printer (may fail)
  78.   PRTSCR   Print the current screen
  79.   SETPRT   Set the number of default printer timeout retry times
  80.   SPARTFN  Returns a specified substring (resembles ParamStr)
  81.   STRCNTFN Number of substrings in a string (resembles ParamCount)
  82.   TRAILFN  Trail a string with a multiple character (i.e. pad right)
  83.   TRIMLFFN Trim a string left
  84.   TRIMRGFN Trim a string right
  85. TSUNTE: (uses Dos)
  86.   ALLSIZFN Allocated true size of a file in bytes
  87.   ARCFILFN Is a file's archive bit set or not
  88.   BORDER   Change border color (CGA, VGA)
  89.   CAPS     Turn CapsLock on, or off
  90.   CAPSONFN Get CapsLock status
  91.   CLB      Clear the keyboard buffer
  92.   CLUSIZFN Cluster size on a device (cluster is the allocation unit)
  93.   CMDLNFN  Returns the entire command line
  94.   CURSOFF  Turn off cursor (keeps other cursor attributes)
  95.   CURSON   Turn cursor back on as it was
  96.   CURSOR   Change cursor size
  97.   DATEOKFN Is a date a valid, existing date
  98.   DEFDRVFN Get the default drive
  99.   FEXISTFN File existence status, handles ReadOnly files correctly
  100.   FSIZE2FN File size in bytes, alternative method
  101.   FSIZEFN  File size in bytes as in directory (never on open file)
  102.   HIDFILFN Is a file a hidden file or not
  103.   LABELFN  Get a disk's volume label
  104.   LASTDMFN The number of days in a given month and year
  105.   MONOFN   Is it a monochrome video adapter
  106.   NUMLOCK  Turn NumLock on, or off
  107.   NUMLONFN Get NumLock status
  108.   RDOFILFN Is a file a read-only file or not
  109.   SCRLOCK  Turn ScrollLock on, or off
  110.   SCRLONFN Get ScrollLock status
  111.   SYSFILFN Is a file a system file or not
  112.   WEEKNRFN Returns the week number for a given date
  113.   WKDAYFN  Returns modern weekday
  114.   ZELLERFN Zeller's congruence (for comparing dates etc)
  115. TSUNTF: (uses Dos, Crt)
  116.   EDRDEBLN Editable Readln with ctrl-c, break trapping, pre-fill etc
  117.   EDRDEFLN Editable Readln with recall, pre-fill, and insert toggle
  118.   EDRDLN   Readln with line-editing potential (the simplest)
  119.   EDREABLN Edreadln with ctrl-c and break trapping
  120.   EDREADLN Editable Readln with recall, and insert toggle
  121. TSUNTG: (uses Dos)
  122.   ACTDRVFN Which floppy drive is active on a one drive system
  123.   ALTFN    Is the alt key depressed
  124.   CLS      Set 25*80 text mode and clear screen (no Crt required)
  125.   CLS40    Set 25*40 text mode and clear screen (no Crt required)
  126.   COLDBOOT Reboot computer, including memory tests
  127.   CTRLFN   Is the ctrl key depressed
  128.   DRIVESFN Number of diskette drives on the system
  129.   DSKCNTFN Get the number of disk devices (MsDos 3.0+)
  130.   FDRIVEFN The name of the first diskette drive on the system
  131.   FIXEDFN  Is a drive a fixed disk or not
  132.   FLOPSTFN Floppy disk status. Is it present and formatted.
  133.   GETESCAN Get scancode of key pressed, enhanced keyboard.
  134.   GETSCAN  Get scancode of key pressed, XT keyboard.
  135.   GOATXY   As the ordinary GoToXY but no Crt unit required
  136.   INDRIVFN Is a media present in the given drive
  137.   INKEYFN  Basic-like timed character input
  138.   ISANSIFN Has ansi.sys or a similar screen driver been loaded
  139.   ISUBSTFN Is a drive a substituted drive (MsDos 3.1+)
  140.   KEYPREFN As the ordinary KeyPressed but no Crt unit required
  141.   LFALTFN  Is the left alt key depressed
  142.   LFCTRLFN Is the left ctrl key depressed
  143.   LFSHFTFN Is the left shift key depressed
  144.   MEDIAFN  What kind of a disk media is present in a drive
  145.   RDENKEFN Enhanced keyboard ReadKey, detects also F11 and F12
  146.   READKEFN As the ordinary ReadKey but no Crt unit required
  147.   REVAREA  Reverse the colors of an area
  148.   RTALTFN  Is the right alt key depressed
  149.   RTCTRLFN Is the right ctrl key depressed
  150.   RTSHFTFN Is the right shift key depressed
  151.   SYSRQFN  Is the SysRq key depressed
  152.   USECON   Restore write and writeln direction to the screen
  153.   USEPRN   Redirect write and writeln to the printer
  154.   WARMBOOT Warm reboot of the computer (as alt-ctrl-del)
  155.   WHEREXFN As the ordinary WhereX but no Crt unit required
  156.   WHEREYFN As the ordinary WhereY but no Crt unit required
  157. TSUNTH: (uses Dos)
  158.   CHIPFN   Get the type of the processor chip (volatile, don't trust)
  159.   COUNTRFN Get country code (MsDos 3.0+)
  160.   DATEFMFN Country-dependent date format (MsDos 3.0+)
  161.   FATSFN   Get number of file allocation tables, not XTs
  162.   GRTABLFN Has MsDos GRAFTABL been loaded or not
  163.   INTERLFN Get interleave coefficient of a harddisk, not XTs
  164.   ISENHAFN To detect an enhanced keyboard
  165.   ISMOUSFN A simple true/true false test of mouse available
  166.   LASTDRFN Get last drive of the system, softcoded, not XTs
  167.   MATHCOFN Is a math coprocessor present
  168.   MOUSTAFN Status (type byte) of the mouse hardware and driver
  169.   NRCYLFN  Number of cylinders on a drive if media present (MsDos 3.2+)
  170.   PARPORFN Get the number of parallel ports (printers installed)
  171.   ROMDTEFN Get ROM BIOS version (date)
  172.   RS232FN  Get the number of serial ports
  173.   TIMEFMFN Country-dependent time format (MsDos 3.0+)
  174.   Z2ASZFN  Convert an Asciiz string into an ordinary ascii string
  175. TSUNTI: (uses Dos)
  176.   BRANDEXE Store information within your program's .exe file (MsDos 3.0+)
  177.   CHKSUMFN Checksum selftest to detect any tampering (MsDos 3.0+)
  178.   USECOUNT Get the number of times the program has been used
  179. TSUNTJ: (uses Dos)
  180.   COPYFILE Copy a file from within a Turbo Pascal program
  181.   INTRADDR Show the memory address to which the interrupt points
  182.   INTRLOCA Show the memory address where the interrupt is located
  183.   ISDIRFN  Is a name a directory or not (not for DRDOS)
  184.   ISDIR2FN Is a name a directory or not, alternative method
  185.   OPENEDFN Is an assigned textfile still open or not
  186.   PIPEDIFN Is the standard input from redirection
  187.   PIPEDNFN Is the standard output redirected to nul
  188.   PIPEDOFN Is the standard output redirected
  189. TSUNTK: (uses Dos, TSUNTB)
  190.   BOOTDRFN Get boot device name (MsDos 4.0+)
  191.   GETSERFN Get disk's serial number (MsDos 4.0+)
  192.   GETVOLFN Special get disk volume label (MsDos 4.0+)
  193.   SETSER   Set floppy's serial number (MsDos 4.0+)
  194. TSUNTENV: (uses Dos)
  195.   ENVADDFN Get the starting segment address of the parent environment
  196.   ENVSIZFN Get the size of the parent environment
  197.   ENVUSEFN Get the current use of the parent environment
  198.   SETENV   Set a parent environment variable (variable=value)
  199.   SETENVSH Set an environment variable for the duration of shelling
  200.   SHOWENV  Write the parent environment table on stdout (for testing)
  201. SELFTEST.PAS: (uses Dos)
  202.   SELFTEST Selftest .exe file's size and date to detect tampering
  203. TSUNT45: (Uses Dos)  (Needed for TP 4.0 only)
  204.   DosVersion Get Dos version
  205.   EnvCount   The number of strings contained in the DOS environment
  206.   EnvStr     The value of an environment string defined by index count
  207.   FExpand    Expand a file name into a fully qualified file name
  208.   GetCBreak  Get the state of Ctr-Break checking in DOS
  209.   GetEnv     The value of an environment string defined by string id
  210.   GetVerify  Get the status of the MsDos write verify flag
  211.   ParamStr0  The name of the program
  212.   SetCBreak  Set the state of Ctr-Break checking in DOS
  213.   SetVerify  Set the status of the MsDos write verify flag
  214. TSERR: (Include verbal run-time error messages)
  215.  
  216. ..................................................................
  217. Prof. Timo Salmi      Co-moderator of comp.archives.msdos.announce
  218. Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
  219. Faculty of Accounting & Industrial Management; University of Vaasa
  220. Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
  221.