Welcome, Guest. Please login or register.

Author Topic: Remote shell or run commands inside WinUAE?  (Read 4225 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show all replies
Re: Remote shell or run commands inside WinUAE?
« on: September 12, 2014, 05:34:53 PM »
I don't know how to get WinUAE to do what you're asking, but unless your tools are only available for Amiga and refuse to run on the PC-side using Amitools, then you could cross-developing:

I use vbcc, vasm, and vlink to do all compiling, assembling, and linking on my Mac. On the Amiga side, in the emulator, I have a simple program that automatically runs the executable from a shared directory-based hard drive after each build.

In practice it means I just press Cmd+B in the editor, and a second later the program pops up in the emulator.
 

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show all replies
Re: Remote shell or run commands inside WinUAE?
« Reply #1 on: September 12, 2014, 11:45:45 PM »
Yes, it's vamos, part of Amitools. You need to install Python to run it, but there's no need to write any Python code.

Quote from: Heiroglyph;772851
I'm using a shared directory only for editing and revision control at the moment, but it sounds like you've already got what I'm trying to set up.

How are you communicating with the Amiga emulation to tell it to run your executable?

I've considered watching a text file of commands or something, but thought maybe there was a more elegant way to do it.


My build-script creates an empty file as a trigger, and when the launcher sees the trigger it deletes it and opens a console and runs the program, or launches it as a Workbench app if there's an associated .info file.

A more elegant way to trigger the program would be to use AmigaDOS file notifications, or look at the time stamp of the file, but neither of those work reliably under WinUAE and FS-UAE when using directory-based drives.