Enable USB Server resource needs IDE64 rom loaded before the resource can be...
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
hi,
as the title says, i cannot select the IDE64 USB Server in the SDL UI.
at least there is no visible asterisk.
i tried to toggle, but the entry IDE64USBServer remains 0
what VICE version are you using? r28578 what operating system are you using? win 7
did you compile with --enable-ethernet?
i tried with --enable-ethernet and without, it looks the same.
This option only selects if you select V4 cartridge emulation first, as V3 didn't had an USB chip.
The problem is not with the gui, it is a generic problem.
The resource setting code checks if the rom has been loaded and the resource will not be changed if there is no rom loaded (yet).
This is wrong behavior of course, the correct behavior should be that any change to the rom (being loaded), ide64 v4 resource, usb server address resource and usb server enable/disable resource should call a 'check if everything needed is available and attempt to set up the server' code.
The resource needs to be able to be set, otherwise this will lead to 'order' confusion, where the order of command-line options, order of resources in the ini file dictate whether the resource will be set or not.
I will leave it up to soci to fix.
Signed, Marco van den Heuvel.
Sorry for changing the item from underneath you soci, but even if I set the v4 resource without having a rom loaded I still cannot change the usb server enable/disable resource.
Signed, Marco van den Heuvel.
See r28616. Honestly, that was mistake ;) Otherwise it deals properly with this random ordering stuff. (I hope)
I'll leave it to querino2 to retest.
In the mean time I'll see what I can do to add gui items to the other ports.
sorry, but i cannot really test this.
i can only say, the IDE64 USB server can be enabled/disabled in the SDL UI now, but i have no idea, if the IDE64 USB server really works.
Ok it works then. The bug was about toggling only, not about functionality ;)
If enabled with a IDE64 v4 card it's exposing the FTDI serial converter chip as a TCP socket.
For example someone could use the FTDI chip of the IDE64 card as a serial port for a BBS software, and then run a TCP-serial gateway to get this to the internet. This would create a super fast telnet-able BBS running on real hardware. Which could be operated directly without the gateway in VICE.
But back to reality. In practice it's used by IDEDOS for USB PCLink services, which now work with the emulated hardware too. I've just released an updated IDEservd (0.29a) which can be used with VICE:
http://singularcrew.hu/idedos/
Close it now. By the way I got at least one e-mail stating the USB server could be used with ideservd on the windows port too.