31 July 2018, 22:02 | #1 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Echo main console to serial port
Dumb question.
I want to be able to pipe/echo anything printed in the initial amiga os console to the serial port at start up time. Preferably by specifying some command in the startup sequence. I have managed to get a new console on the serial port but i want to echo what is written to the console window to the serial port. I am not starting workbench. Simply running an executable from floppy with a lot of output that i want to capture via the serial port. My startup-sequence currently is : C:MyCommand and my floppy disk contains C/MyCommand and S/Startup-Sequence only. I have no other drives and writing to floppy is not an option. I do not need the serial port to be interactive but if it is thats not a problem. EDIT: I'll happily take code to fprintf() to the serial port also if anyone knows how. |
31 July 2018, 23:31 | #2 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Do you need to see output in the console too, or is it enough to just see it on serial port?
The obvious thing to try is... Code:
C:MyCommand >SER: |
31 July 2018, 23:46 | #3 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,311
|
AUX: is unbuffered serial I think?.
There is a KPrintF() in debug.lib but I guess you know that. |
01 August 2018, 00:36 | #4 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Exactly. Redirect to AUX:.
|
01 August 2018, 21:25 | #5 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
|
01 August 2018, 21:30 | #6 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
|
01 August 2018, 21:39 | #7 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
|
02 August 2018, 05:26 | #8 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
|
|
04 August 2018, 19:19 | #9 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Serial Port? | EugeneNine | support.FS-UAE | 5 | 23 February 2017 01:09 |
Debugging over Serial-Port | sigma63 | support.WinUAE | 1 | 14 March 2016 19:02 |
Serial Console | xArtx | Coders. General | 8 | 31 January 2015 04:39 |
Serial port, parallel port, and pipe device mount errors | Samurai_Crow | support.FS-UAE | 4 | 13 March 2014 00:04 |
Lightgun with serial port | cebulba | support.Hardware | 1 | 10 December 2003 14:05 |
|
|