So, Joerg, is it possible to at least read the disk under OS3.9 somehow in my WinUAE setup? Would be nice if I could get it to read and write like under OS4, but I understand that isn't likely to happen. Would just like to be able to read the disk at least and copy some files off of it, since I can't remember what I had on it.
Just in case this turns out to be the only way to read it, I've started reading an image file on my Linux box with dd. I'll probably still experiment with it, try mounting it as a hardfile in WinUAE.
So, Joerg, is it possible to at least read the disk under OS3.9 somehow in my WinUAE setup? Would be nice if I could get it to read and write like under OS4, but I understand that isn't likely to happen. Would just like to be able to read the disk at least and copy some files off of it, since I can't remember what I had on it.
No idea if it works in UAE, generally reading DVD+RW is possible with the AmigaOS 3.x SFS but it depends on the device driver and I don't know anything about the UAE ones. For example TD_GETGEOMETRY has to work correctly, and since a DVD is larger than 4 GB the NSD 64 bit commands have to be supported.
Try using the following mountlist: Filesystem = L:SmartFileSystem Device = {name of the uae driver} Unit = {unit number of the DVD drive} Flags = 0 LowCyl = 0 HighCyl = 16 /* doesn't matter, it's not used */ Surfaces = 1 SectorsPerTrack = 1 SectorSize = 2048 SectorsPerBlock = 1 Reserved = 1 PreAlloc = 1 Interleave = 0 Buffers = 500 BufMemType = 0 StackSize = 8192 MaxTransfer = 0x7fffffff Mask = 0xffffffff GlobVec = -1 DOSType = 0x53465300
While I don't know much more about uaescsi.device than you do, and the WinUAE documentation sucks right now (it's at least several versions outdated), it appears something isn't "there" for this to work, as it didn't work.
However, I was able to mount the image file I made as a "hardfile" in WinUAE, to find out it was an extra copy of an old system backup. Nothing I really needed to save anyway, as I still have the other copy I put on my server.
Thanks for the help.
I'll also try to find out more about the emulation. There are several devices that WinUAE creates, but I don't know if they all support NSD commands. I know uaehf.device does (as mentioned in the change log), as otherwise I wouldn't be able to use all 30 gigs of the hard drive I stuck in the PC for this.
I'd be curious to see if this could be made to work, that is once the driver actually supports the NSD commands.
I ran the NSDQuery tool from NSDPatch43_20.lha on Aminet. Here's the output it gave for uaehf.device (used for hard drives and image files) and uaescsi.device (used for other stuff, like CD/DVD ROM/burner drives).
OpenDevice("uaescsi.device", 0, ior, 0x00000000) was successful (Version 1.0) io_Device: 0x100002AC, io_Unit: 0x00000000 Device supports New Style Device commands. Device is a trackdisk like device with subtype 0.
OpenDevice("uaehf.device", 0, ior, 0x00000000) was successful (Version 1.0) io_Device: 0x1000CEEC, io_Unit: 0x00000000 Device supports New Style Device commands. Device is a trackdisk like device with subtype 0.
As you can see, both support 64-bit NSD and TD_GETGEOMETRY commands, so something else is keeping it from reading the disk.
That NSDQuery returns them doesn't mean that they are implemented for all media types, for example it could be that NSCMD_TD_READ64 is only implemented for HDs, or that they work correctly. In a lot of devices TD_GETGEOMETRY is broken, you can check if that works with this program ("GetGeometry uaescsi.device dvd_unit_number" with the DVD+RW in the drive).
Looks like it might be that, as no matter what I do with the drive, I get -3 for Error, and that is even with properly ISO9660 formatted CD or DVD disks in the drive.
I'll check with Toni Wilen, see if he has any plans to make that work correctly in WinUAE.