ddebug_lib.library Reference¶
Comprehensive function reference for ddebug_lib.library, synthesised from the AmigaOS NDK 3.2 Release 4 (Autodocs/AG/ddebug_lib).
This page documents 8 functions of ddebug_lib.library. Each function entry follows the canonical autodoc format. struct Name, union Name, enum Name are clickable links to the type definition in the types reference.
Function index¶
DDoFmt()¶
DDoFmt -- format data into a character stream.
Synopsis
DDoFmt(A0 FormatString, A1 DataStream, A2 PutChProc, A3 PutChData)
DDoFmt(FormatString, DataStream, PutChProc, PutChData);
Function
perform "C"-language-like formatting of a data stream, outputting the result a character at a time
Inputs
FormatString - a "C"-language-like null terminated format string, with the following supported % types: DataStream - a stream of data that is interpreted according to the format string. PutChProc - the procedure to call with each character to be output, called as: PutChProc(Char, PutChData); D0-0:8 A3 the procedure is called with a null Char at the end of the format string. PutChData - an address register that passes thru to PutChProc.
DGetChar()¶
DGetChar - get a character from the parallel port
Synopsis
D0 char = DGetChar()
LONG DGetChar( VOID );
Function
get the next character from the parallel port.
DGetNum()¶
DGetNum - get a number from the parallel port
Synopsis
D0 number = DGetNum()
LONG DGetNum( VOID );
Function
get a signed decimal integer from the parallel port.
DMayGetChar()¶
DMayGetChar - return a char iff present, but don't block
Synopsis
D0 flagChar = DMayGetChar()
LONG DMayGetChar( VOID );
Function
return either a -1, saying that there is no char present, or the char that was waiting
DPutChar()¶
DPutChar - put a character to the parallel port
Synopsis
D0 char = DPutChar(D0 char)
VOID DPutChar( LONG ch );
Function
put a character to the parallel port.
DPutFmt()¶
DPutFmt - print formatted data to the parallel port
Synopsis
DPutFmt(A0 format, A1 values)
VOID DPutFmt( CONST_STRPTR formatString, CONST_APTR values );
Function
print formatted data to the parallel port
DPutStr()¶
DPutStr - put a string to the parallel port
Synopsis
DPutStr(A0 string)
VOID DPutStr( CONST_STRPTR string );
Function
put a null terminated string to the parallel port.
KCmpStr()¶
KCmpStr - compare two null terminated strings
Synopsis
D0 mismatch = KCmpStr(A0 string1, A1 string2)
LONG KCmpStr( CONST_STRPTR a, CONST_STRPTR b );
Function
string1 is compared to string2 using the ASCII collating sequence.