Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 100

trixie, more...

Headlines

 
  Register To Post  

DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just popping in
Just popping in


See User information
I started a thread on Amigaworld.net (http://amigaworld.net/modules/newbb/v ... _id=25600&forum=27#430738) and didn't realize Joerg no longer had an account over there.

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.

Go to top
Re: DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just can't stay away
Just can't stay away


See User information
@dwolfman

Quote:
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

Go to top
Re: DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just popping in
Just popping in


See User information
@joerg

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.

Go to top
Re: DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just popping in
Just popping in


See User information
@joerg

Hmm, this is strange.

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.

Supported commands:
$4000 = #16384 NSCMD_DEVICEQUERY
$0001 = #00001 CMD_RESET
$0002 = #00002 CMD_READ
$0003 = #00003 CMD_WRITE
$0004 = #00004 CMD_UPDATE
$0005 = #00005 CMD_CLEAR
$0007 = #00007 CMD_START
$0006 = #00006 CMD_STOP
$0008 = #00008 CMD_FLUSH
$0009 = #00009 TD_MOTOR
$000A = #00010 TD_SEEK
$000B = #00011 TD_FORMAT
$000C = #00012 TD_REMOVE
$000D = #00013 TD_CHANGENUM
$000E = #00014 TD_CHANGESTATE
$000F = #00015 TD_PROTSTATUS
$0012 = #00018 TD_GETDRIVETYPE
$0016 = #00022 TD_GETGEOMETRY
$0014 = #00020 TD_ADDCHANGEINT
$0015 = #00021 TD_REMCHANGEINT
$001C = #00028 HD_SCSICMD
$C000 = #49152 NSCMD_TD_READ64
$C001 = #49153 NSCMD_TD_WRITE64
$C002 = #49154 NSCMD_TD_SEEK64
$C003 = #49155 NSCMD_TD_FORMAT64



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.

Supported commands:
$4000 = #16384 NSCMD_DEVICEQUERY
$0001 = #00001 CMD_RESET
$0002 = #00002 CMD_READ
$0003 = #00003 CMD_WRITE
$0004 = #00004 CMD_UPDATE
$0005 = #00005 CMD_CLEAR
$0007 = #00007 CMD_START
$0006 = #00006 CMD_STOP
$0008 = #00008 CMD_FLUSH
$0009 = #00009 TD_MOTOR
$000A = #00010 TD_SEEK
$000B = #00011 TD_FORMAT
$000C = #00012 TD_REMOVE
$000D = #00013 TD_CHANGENUM
$000E = #00014 TD_CHANGESTATE
$000F = #00015 TD_PROTSTATUS
$0012 = #00018 TD_GETDRIVETYPE
$0016 = #00022 TD_GETGEOMETRY
$0014 = #00020 TD_ADDCHANGEINT
$0015 = #00021 TD_REMCHANGEINT
$001C = #00028 HD_SCSICMD
$C000 = #49152 NSCMD_TD_READ64
$C001 = #49153 NSCMD_TD_WRITE64
$C002 = #49154 NSCMD_TD_SEEK64
$C003 = #49155 NSCMD_TD_FORMAT64



As you can see, both support 64-bit NSD and TD_GETGEOMETRY commands, so something else is keeping it from reading the disk.

Go to top
Re: DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just can't stay away
Just can't stay away


See User information
@dwolfman

Quote:
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).

Go to top
Re: DVD+RW created with SmartFileSystem under OS4, can it be read under OS3.9?
Just popping in
Just popping in


See User information
@joerg

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.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project