GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
173 stars 45 forks source link

Fix drv info #315

Closed markusC64 closed 1 year ago

markusC64 commented 1 year ago

CMD_GET_DRVINFO returned the hardware ID of the device (that is the one the DIP switches of the 1541 II are configured) instead of the software ID.

This patch improved the UCI call that by default the software ID is returned, but the calling programm can specify that the hardware ID is wanted.

xahmol commented 1 year ago

Strongly support this change, as my GeoUMount fails in many configurations as GEOS often changes device IDs. It was also checked with and confirmed by Bart that the change at least does not impact Device Manager ROM.

markusC64 commented 1 year ago

Getting the right device for mounting, unmounting or disk swapping should not consider turned off devices. And it should better use the effevtice device id.

Fixed.