09 July 2012, 11:32 | #1 |
Registered User
Join Date: Sep 2010
Location: Greece
Posts: 27
|
[FS-UAE] Runtime disk swapping
I know that a built-in disk image browser is planned. But this won't help front-ends. For example, if I wanted to write a front-end that looks like WinUAE, some kind of IPC would be needed so that disk changes (and perhaps other settings) can be communicated to the running FS-UAE process.
I suppose even a simple stdin pipe would do, in case real IPC is deemed too much work due to all the different platforms supported. For example I could write "floppy_drive_0 = some_adf_file" to the pipe, and FS-UAE would pick it up. Perhaps the interface should understand all the settings supported in .fs-uae config files. Last edited by RealNC; 09 July 2012 at 12:02. |
10 July 2012, 23:25 | #2 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
Unix sockets can be used on Linux/Mac, and named pipes can be used similarly on Windows. Using bsdsockets (listening on 127.0.0.1) would be one possibility to get the same IPC mechanism on all platforms. But no existing programs require such functionality (yet), and I don't need it myself - so I for my part lack the motivation to work on this... |
|
11 July 2012, 15:24 | #3 |
Registered User
Join Date: Sep 2010
Location: Greece
Posts: 27
|
Do you plain on putting up a Git repo (like on GitHub or similar) so that people like me can hack around in forks and then try to submit for merge? :-)
|
11 July 2012, 15:40 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
uae-configuration format can be easily used for this purpose.
(WinUAE already has kind of IPC that uses same format, I did it just for fun long time ago, I assume no one uses it) |
11 July 2012, 17:55 | #5 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
But some FS-UAE features are handled completely outside the UAE core, like input and display options -so these would need special treatment by the IPC server (if needed). |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HXC Disk Swapping Woes | manic23 | support.Hardware | 2 | 12 May 2013 16:40 |
Lock mouse in window and disk swapping (E-UAE) | dar | support.OtherUAE | 1 | 24 January 2012 20:28 |
Disk Swapping without the Keyboard | IyonUK | support.WinUAE | 20 | 13 February 2007 16:05 |
disk swapping | Frog | support.WinFellow | 17 | 10 October 2006 23:01 |
cant seem to get disk swapping to work | macphisto | support.WinFellow | 6 | 13 July 2004 18:24 |
|
|