1 #include <exec/types.h>
9 void SetConsoleMode( LONG mode
);
11 void PutChar( TEXT buffer
);
12 void PutString( STRPTR buffer
);
13 void Wait4Char( void );
19 SetConsoleMode( MODE_RAW
);
33 SetConsoleMode( MODE_CON
);
38 void SetConsoleMode( LONG mode
)
40 SetMode( Input() , mode
);
47 Read( Output() , &buffer
, 1 );
52 void PutChar( TEXT buffer
)
54 Write( Output() , &buffer
, 1 );
57 void PutString( STRPTR buffer
)
59 Write( Output() , buffer
, strlen( buffer
) );
62 void Wait4Char( void )
64 WaitForChar( Input() , 0 );