Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds a lua shell to FS-UAE.
When enabled with lua_shell = 1 you can connect via telnet to localhost:6800 and enter the shell.
There you can enter lua expressions that will be run inside FS-UAE's lua interpreter.
You can access all of FS-UAE's lua commands.
This patch also cleans up the lua scripting: Make sure to use the same libs in all lua states and ensure that Lua is only used while the emulation core is running. It re-factored the libraries with the available commands and adds new commands to access the floppy and CDROM drive images.
Furthermore, a tools directory was added with two python3 tools: fs-uae-ctl and fs-uae-ctl-ui.
They allow to manage the floppy and CDROM images while FS-UAE is running. The first tool is command line only the second UI uses PyQt4 and offers a UI. Additionally, a python library was added to simplify the access to the Lua shell of FS-UAE from external tools.
More details of this feature can be found on EAB: A lua shell for FS-UAE.
It would be great to see this feature on mainline FS-UAE :)