home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / text_autodocs / ddebug_lib.doc < prev    next >
Text File  |  1992-09-01  |  3KB  |  123 lines

  1. TABLE OF CONTENTS
  2.  
  3. DDoFmt
  4. DGetChar
  5. DGetNum
  6. DMayGetChar
  7. DPutChar
  8. DPutFmt
  9. DPutStr
  10. KCmpStr
  11. DDoFmt                                                                 DDoFmt
  12.  
  13.    NAME
  14.     DDoFmt -- format data into a character stream.
  15.  
  16.    SYNOPSIS
  17.     DDoFmt(FormatString, DataStream, PutChProc, PutChData);
  18.           A0        A1        A2       A3
  19.  
  20.    FUNCTION
  21.     perform "C"-language-like formatting of a data stream,
  22.     outputting the result a character at a time
  23.  
  24.    INPUTS
  25.     FormatString - a "C"-language-like null terminated format
  26.         string, with the following supported % types:
  27.     DataStream - a stream of data that is interpreted according to
  28.         the format string.
  29.     PutChProc - the procedure to call with each character to be
  30.         output, called as:
  31.         PutChProc(Char,  PutChData);
  32.               D0-0:8 A3
  33.         the procedure is called with a null Char at the end of
  34.         the format string.
  35.     PutChData - an address register that passes thru to PutChProc.
  36.  
  37. DGetChar                                                             DGetChar
  38.  
  39.    NAME
  40.     DGetChar - get a character from the parallel port
  41.  
  42.    SYNOPSIS
  43.     char = DGetChar()
  44.     D0
  45.  
  46.    FUNCTION
  47.     get the next character from the parallel port.
  48.  
  49. DGetNum                                                               DGetNum
  50.  
  51.    NAME
  52.     DGetNum - get a number from the parallel port
  53.  
  54.    SYNOPSIS
  55.     number = DGetNum()
  56.     D0
  57.  
  58.    FUNCTION
  59.     get a signed decimal integer from the parallel port.
  60.  
  61. DMayGetChar                                                       DMayGetChar
  62.  
  63.    NAME
  64.     DMayGetChar - return a char iff present, but don't block
  65.  
  66.    SYNOPSIS
  67.     flagChar = DMayGetChar()
  68.     D0
  69.  
  70.    FUNCTION
  71.     return either a -1, saying that there is no char present, or
  72.     the char that was waiting
  73.  
  74. DPutChar                                                             DPutChar
  75.  
  76.    NAME
  77.     DPutChar - put a character to the parallel port
  78.  
  79.    SYNOPSIS
  80.     char = DPutChar(char)
  81.     D0           D0
  82.  
  83.    FUNCTION
  84.     put a character to the parallel port.
  85.  
  86. DPutFmt                                                               DPutFmt
  87.  
  88.    NAME
  89.     DPutFmt - print formatted data to the parallel port
  90.  
  91.    SYNOPSIS
  92.     DPutFmt(format,values)
  93.            A0     A1
  94.  
  95.    FUNCTION
  96.     print formatted data to the parallel port
  97.  
  98. DPutStr                                                               DPutStr
  99.  
  100.    NAME
  101.     DPutStr - put a string to the parallel port
  102.  
  103.    SYNOPSIS
  104.     DPutStr(string)
  105.            A0
  106.  
  107.    FUNCTION
  108.     put a null terminated string to the parallel port.
  109.  
  110. KCmpStr                                                               KCmpStr
  111.  
  112.    NAME
  113.     KCmpStr - compare two null terminated strings
  114.  
  115.    SYNOPSIS
  116.     mismatch = KCmpStr(string1, string2)
  117.     D0          A0       A1
  118.  
  119.    FUNCTION
  120.     string1 is compared to string2 using the ASCII coalating
  121.     sequence.
  122.  
  123.