![]() |
![]() |
#1 |
Registered User
![]() Join Date: Oct 2008
Location: Finland
Posts: 504
|
![]()
Hi!
I heard there are some "remote control" features in WinUAE that lets you automate things. I'm wondering if it is possible to run an AREXX program or shell command in the emulated Amiga from the PC side? I have made a user defined language fro Blitz Basic 2 in Notepad++ and would like to find a way to automate Blitz Basic 2 (from Notepad++) running in WinUae to load the source file and compile. Is this at all possible? Thanks in advance! |
![]() |
![]() |
#2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,349
|
One way is to configure emulated serial port as a TCP port, do something like "newshell aux:" in Amiga side and telnet connect to TCP port.
EDIT: Suggestions accepted for more useful option ![]() Last edited by Toni Wilen; 10 March 2017 at 21:46. |
![]() |
![]() |
#3 |
Registered User
![]() Join Date: Oct 2008
Location: Finland
Posts: 504
|
Thanks! I managed to get somewhere with this but not all the way yet. I have some problems but doing these steps has gotten me quite close:
1. In WinUae set serial port to TCP://0.0.0.0:1234 with none of the checkmarks below the drop down box. Save the WinUAE configuration and quit WinUAE, add the following to the configuration file manually: serial_translate=crlf_cr 2. Create the file DEVS:MountList with following content Code:
AUX: Handler = L:Aux-Handler Stacksize = 1000 Priority = 5 Code:
mount aux: newshell aux: The problem I'm having is that I need to press ENTER twice after connecting with Putty before I can enter commands and pressing up-arrow will not show latest commands, instead it will show gibberish characters (don't know if the command history is possible to fix). I would also like to know how to execute commands from command line so I can create a batch file that can be run from pressing F5 in Notepad++. |
![]() |
![]() |
#4 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 3,928
|
Doesn't WinUAE come with uae_rcli or something similar?
|
![]() |
![]() |
#5 |
Registered User
![]() Join Date: Nov 2014
Location: McChord AFB, KS
Posts: 244
|
Try using WinSCP, it has a rich set of features that you could try.
|
![]() |
![]() |
#6 |
Registered User
![]() Join Date: Oct 2008
Location: Finland
Posts: 504
|
I ended up making a simple command line tool in C# (.net 2.0 or later required) that runs an ARexx script on the emulated Amiga. I'm leaving the link to it here if anybody else wants to use it. You need to set things up on the Amiga side as in my previous post in this thread but select "direct" under the serial dropdown box.
The tool can be used like this: Code:
WinUAEArexx ArexxScript SleepTime Argument1 Argument2 Argument3 ... http://gamephase.net/files/WinUAEArexxv10.zip Thanks! I will consider it for more advanced use cases. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
External windows program communicating with program running inside WinUAE | xxxxx | support.WinUAE | 10 | 19 February 2013 10:27 |
Possible to run a program from CLI in background? | VoltureX | support.Apps | 17 | 14 January 2012 04:16 |
2D, Gun and Run, Side scroller, similar to Super Probotector/Contra 3, brain boss. | Gravox | Looking for a game name ? | 2 | 08 February 2010 05:55 |
program to format/copy Amiga diks/files on the PC side ? | Overdoc | support.Other | 3 | 21 January 2010 19:08 |
Cant run AnimatED....anyone every used this great program? | mrbob2 | support.Apps | 2 | 20 June 2009 14:13 |
|
|