Copyright (c) Hyperion Entertainment and contributors.

AmiWest Lesson 3

From AmigaOS Documentation Wiki
Revision as of 23:38, 16 October 2012 by Steven Solie (talk | contribs)
Jump to navigation Jump to search

AmiWest Lesson 3: Input and Output

Debug Output

One of the first things you will need is some way to output text for debugging purposes. Exec has a simple function which is provided for this purpose and it is used as follows:

IExec->DebugPrintF("my debug message\n");

The text may go to the default serial port, a debug buffer or even a console window via a tool called Sashimi.

More information about this debugging facility can be found at Debug Logging and Redirecting Debug Output.

Shell Input and Output

DOS Input and Output

GUI Input and Output