03 December 2018, 11:52 | #1 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
How eject CD and ADF by uae-configuration command?
Hello.
I have been looking for an answer for a long time. I was looking on the internet and on the forum, but to no avail. How to eject a disc image and ADF using the uae-configuration command? I use the sequence "uae-configuration cdimage0 <path to file>" to mount the CD, and to ADF "uae-configuration floppy0 <path to file>" and it works correctly. I'm asking because I do not want to use the emulator GUI. |
03 December 2018, 12:06 | #2 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Probbaly not what you're after but you can eject the disk in a drive by using these shortcuts:
Code:
Keys Function ------------------------------------------------- <End> + <Shift> + <F1> Eject the disk in DF0: <End> + <Shift> + <F2> Eject the disk in DF1: <End> + <Shift> + <F3> Eject the disk in DF2: <End> + <Shift> + <F4> Eject the disk in DF3: |
03 December 2018, 13:02 | #3 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,254
|
With AmigaOS you can dismount DF0, DF1, DF2, CD0, CD1, CD2 etc.. with the command "Assign", but the Floppy or CD will not be eject from the CD or Floppy drive.
|
03 December 2018, 14:43 | #4 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
Unfortunately, the "Assign" command does not help. On Workbench you can still see the icon.
|
03 December 2018, 14:48 | #5 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,041
|
Looking at the WinUAE sources, it looks like you can't do it from uae-configuration, but uae-control utility might work from the Amiga side.
|
03 December 2018, 15:07 | #6 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
Is there a key combination for ejecting CDImage0 in WinUAE? Like <End> + <Shift> + <F1> for DF0.
|
03 December 2018, 15:58 | #7 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
I have an idea. If I wrote a script in AutoHotkey that would send to WinUAE key combinations that eject DF0 or CD0.
Script compile to EXE. Then run it using WinLaunch. After run and sending a key combination to WinUAE, the compiled EXE would have to shut down without leaving the tray. Just how would this script look like? I apologize for my bad English, I use a translator. |
03 December 2018, 16:31 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Setting <path to file> to "" does not work? (Technically it should but perhaps there is something that prevents it)
|
03 December 2018, 16:44 | #9 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
When I enter in CLI uae-configuration cdimage0 ""
only is displayed the name and path to the currently used image. In the case of DF0, works .\ "" |
03 December 2018, 17:00 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Yeah, cdimagex does not accept empty string. Now it does, also "." equals empty drive now.
http://www.winuae.net/files/b/winuae.7z (yes, this update will be in next official version that will be released in next few days..) |
03 December 2018, 17:19 | #11 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
Toni, thank you very much for your help.
I would also like to thank all those who tried to help. |
03 December 2018, 17:37 | #12 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
Do you think it's worth adding a shortcut key to eject the CD-ROM also; maybe something like: Code:
Keys Function ---------------------------------------------------- <End> + <Shift> + <F5> Eject the CD-ROM in CD0: |
|
03 December 2018, 17:46 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
You need to find use case first. Most importantly it must be use case that makes sense. (No, just being able to only remove the CD makes no sense for example in CD32 mode..)
|
03 December 2018, 17:47 | #14 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
I wouldn't use it with anything CD32 / CDTV; only AmigaCD stuff.
...don't worry though, it's no big deal and I guess people would abuse it. |
03 December 2018, 18:01 | #15 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,254
|
Toni with Eject Floppy I used the command:
uae-configuration floppy0 "." (It works well but remains trace in the floppy drive, see screenshots) With Eject CD perfect no trace left Last edited by AMIGASYSTEM; 13 December 2018 at 17:23. |
03 December 2018, 18:09 | #16 |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
AMIGA SYSTEM, on your screenshot is ImageMount and EjectCD. What is this, how it works?
|
03 December 2018, 18:21 | #17 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,254
|
Quote:
Please review the review here: http://eab.abime.net/showthread.php?t=94982 Last edited by AMIGASYSTEM; 13 December 2018 at 17:23. |
|
03 December 2018, 18:25 | #18 | |
Registered User
Join Date: Dec 2018
Location: Glubczyce / Poland
Age: 37
Posts: 168
|
Quote:
|
|
03 December 2018, 18:38 | #19 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,254
|
Quote:
However, there are applications called Eject CD you can find them on Aminet but they only work on an AMiGA Real: http://aminet.net/package/disk/cdrom/EjectCD http://aminet.net/package/driver/media/IDEfix97 http://aminet.net/package/util/wb/CDeject http://aminet.net/package/util/wb/Eject http://aminet.net/package/util/wb/Ejector http://aminet.net/package/disk/cdrom/DSEject |
|
03 December 2018, 18:38 | #20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Ok.. floppyX now also accepts . as empty.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help needed with configuration & command line | Shaddow76 | support.WinUAE | 2 | 19 December 2012 23:10 |
uae-configuration | Foul | support.WinUAE | 2 | 15 April 2012 21:11 |
uae-configuration | Anubis | support.WinUAE | 1 | 15 August 2008 15:14 |
Can I use linux command under UAE? | BiL0 | New to Emulation or Amiga scene | 7 | 26 May 2006 18:16 |
WinUAE ADF Configuration Utility | amigauser | support.WinUAE | 8 | 25 June 2005 22:28 |
|
|