Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
roytam(R)

27.12.2010, 13:29
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released (Announce)

USBexFAT ASPI DISK DRIVER Ver 1.00. FANJIANYE create in 2010/12/27

USBexFAT: USB device driver for DOS, support FAT16, FAT32, EXFAT partition.
/C  Loading coding table file name. If the partition contains EXFAT,
    the system will automatically load CPxxxUNI.TBL,
    where xxx is the country code.
/D  Specify the starting drive letter assigned.
/H  In the case of multiple host adapters, specify the host adapter number.
/I  Specify the target ID and LUN. Such as: /I00, or /I0010.
/K  Filtering the target ID and LUN. Such as: /K00, or /K0010.
/?  Display help information.


Limits:
Maximum size per file is 4GB-1 byte. (DOS limitation)

Original source:
http://www.cn-dos.net/forum/viewthread.php?tid=53313&fpage=1

Download:
http://yaya20077777.ys168.com/

Laaca(R)

Homepage

Czech republic,
27.12.2010, 16:12

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

Horray! It is great!
I will try it immediately, when I come home.

---
DOS-u-akbar!

RayeR(R)

Homepage

CZ,
27.12.2010, 18:49

@ Laaca
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Horray! It is great!
> I will try it immediately, when I come home.

I forgot it but what tool do you use for creating exfat partition and for formatting? I guess you have to do it under windows.

---
DOS gives me freedom to unlimited HW access.

RayeR(R)

Homepage

CZ,
27.12.2010, 18:54

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > Horray! It is great!
> > I will try it immediately, when I come home.
>
> I forgot it but what tool do you use for creating exfat partition and for
> formatting? I guess you have to do it under windows.

I'm not able to download it from that site, please reup someone or send me via mail and I'll put it in my site.

---
DOS gives me freedom to unlimited HW access.

Laaca(R)

Homepage

Czech republic,
27.12.2010, 21:36

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

I sent it to your personal email. :-D

---
DOS-u-akbar!

RayeR(R)

Homepage

CZ,
27.12.2010, 23:32

@ Laaca
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> I sent it to your personal email. :-D

Thanks. Here are my notes:
- driver can be loaded dynamically via devload, no arguments needed. It will search for attached USB devices. Then run USBEXFAT.COM and it will assign driver letter for recognized drive.

- it works fine with my USB key and pretty fast (using USB 2.0 highspeed transfer)

Creating 256/256 MB of temporary file - testing write speed
Writting average speed: 3.598 MB/s
Now loading generated file back to RAM:
Loading 256/256 MB of temporary file - testing read speed
Reading average speed: 10.173 MB/s

(my flashdisk is not very fast on writting, it's similar speed like under windows)

- driver doesn't support composite devices - my USB memory cadr + smart card reader (as any other DOS USB drivers except my built BIOS USB support).
I didn't tried exfat yet but thats pitty we don't have fixed disk exfat support.

---
DOS gives me freedom to unlimited HW access.

roytam(R)

29.12.2010, 07:52

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> - driver doesn't support composite devices - my USB memory cadr + smart
> card reader (as any other DOS USB drivers except my built BIOS USB
> support).
> I didn't tried exfat yet but thats pitty we don't have fixed disk exfat
> support.

message from yaya:

This is USBASPI.sys related. If USBASPI cannot recognize one or many part of composite devices, USBexFAT cannot assign drive letters as well.
And as a note, USBexFAT needs MBR in the devices in order to assign drive letters.

RayeR(R)

Homepage

CZ,
29.12.2010, 13:53

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> message from yaya:
>
> This is USBASPI.sys related. If USBASPI cannot recognize one or many part
> of composite devices, USBexFAT cannot assign drive letters as well.
> And as a note, USBexFAT needs MBR in the devices in order to assign drive
> letters.

Thanks, would be possible to skip unknown parts of composite device? Smart/ISO card reader is probably different class than mass storage. I can provide some debug dumps of USB descriptors, etc. if needed.
My BIOS support is including MBR. I could run Fdisk on my CF Card and define partitions. Then I got them as C, D, E...
BTW what USB controllers this driver supports? All of UHCI/OHCI/EHCI? I didn't tested yet on older MB e.g. with PIIX4 or ICH4M.

And please ask yaya if he may have USB driver also for keyboard (in case BIOS doesn't support emulation).

---
DOS gives me freedom to unlimited HW access.

roytam(R)

31.12.2010, 04:52

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Are you the author ?

No. But I got permission from him to post it here.

> Thanks, would be possible to skip unknown parts of composite device?
> Smart/ISO card reader is probably different class than mass storage. I can
> provide some debug dumps of USB descriptors, etc. if needed.
> My BIOS support is including MBR. I could run Fdisk on my CF Card and
> define partitions. Then I got them as C, D, E...
> BTW what USB controllers this driver supports? All of UHCI/OHCI/EHCI? I
> didn't tested yet on older MB e.g. with PIIX4 or ICH4M.

As I said before, it is USBASPI.sys related issue. USBASPI from Panasonic only supports a subset of USB devices including USB mess storage and CD-ROM.

> And please ask yaya if he may have USB driver also for keyboard (in case
> BIOS doesn't support emulation).

I think plop boot manager is better choice (author said that USB keyboard support will be added in version 5.1)

RayeR(R)

Homepage

CZ,
31.12.2010, 17:08

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> As I said before, it is USBASPI.sys related issue. USBASPI from Panasonic
> only supports a subset of USB devices including USB mess storage and
> CD-ROM.

Aha, USBASPI.sys is from Panasonic (closed source)? I missed that but loading message says this:
ASPI Manager for USB mass-storage Version 2.27x
FANJIANYE Revised in 2010/09/16
So I don't see any relevance to Panasonic.

> I think plop boot manager is better choice (author said that USB keyboard
> support will be added in version 5.1)

Yes I personally mailed with author of PLOP and asked him for this support. He was bussy with implementing other features and didn't told me when he will implement it, so I'm forward to v.5.1.

---
DOS gives me freedom to unlimited HW access.

roytam(R)

01.01.2011, 03:39
(edited by roytam, 01.01.2011, 03:58)

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > As I said before, it is USBASPI.sys related issue. USBASPI from
> Panasonic
> > only supports a subset of USB devices including USB mess storage and
> > CD-ROM.
>
> Aha, USBASPI.sys is from Panasonic (closed source)? I missed that but
> loading message says this:
> ASPI Manager for USB mass-storage Version 2.27x
> FANJIANYE Revised in 2010/09/16
> So I don't see any relevance to Panasonic.
>

the 2.27x is a size reduced(using diet) version of Panasonic's version 2.27 with faster detection and modified copyright message.

ASPI Manager for USB mass-storage  Version 2.27
 (C)Copyright Panasonic Communications Co. Ltd. 2000-2008

RayeR(R)

Homepage

CZ,
01.01.2011, 05:12

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> the 2.27x is a size reduced(using diet) version of Panasonic's version 2.27
> with faster detection and modified copyright message.
>
> ASPI Manager for USB mass-storage  Version 2.27
> (C)Copyright Panasonic Communications Co. Ltd. 2000-2008

Huh, and is it legal to patch Panasonic binary and release it under own (c) ?

---
DOS gives me freedom to unlimited HW access.

Rugxulo(R)

Homepage

Usono,
01.01.2011, 06:15

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > the 2.27x is a size reduced(using diet) version of Panasonic's version
> 2.27
> > with faster detection and modified copyright message.
> >
> > ASPI Manager for USB mass-storage  Version 2.27
> >  (C)Copyright Panasonic Communications Co. Ltd. 2000-2008
>
> Huh, and is it legal to patch Panasonic binary and release it under own (c)
> ?

Doubt it, but it probably depends on where you live! Or how angry the lawyers get. :-| Better would've been a separate binary patch that users can optionally apply, then nobody could complain (in theory).

roytam(R)

01.01.2011, 06:29

@ Rugxulo
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > > the 2.27x is a size reduced(using diet) version of Panasonic's version
> > 2.27
> > > with faster detection and modified copyright message.
> > >
> > > ASPI Manager for USB mass-storage  Version 2.27
> > >  (C)Copyright Panasonic Communications Co. Ltd. 2000-2008
> >
> > Huh, and is it legal to patch Panasonic binary and release it under own
> (c)
> > ?
>
> Doubt it, but it probably depends on where you live! Or how angry the
> lawyers get. :-| Better would've been a separate binary patch that users
> can optionally apply, then nobody could complain (in theory).

Yes. Nothing is impossible in China.
But if you afraid of the legal issue, use the one from Panasonic instead.

Rugxulo(R)

Homepage

Usono,
01.01.2011, 14:05

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Yes. Nothing is impossible in China.
> But if you afraid of the legal issue, use the one from Panasonic instead.

Do you have a link to the original?

roytam(R)

01.01.2011, 15:53

@ Rugxulo
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > Yes. Nothing is impossible in China.
> > But if you afraid of the legal issue, use the one from Panasonic
> instead.
>
> Do you have a link to the original?

http://panasonic.co.jp/pcc/products/drive/archive/f2h/f2h_usb.exe

rr(R)

Homepage E-mail

Berlin, Germany,
01.01.2011, 20:51

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > Do you have a link to the original?
>
> http://panasonic.co.jp/pcc/products/drive/archive/f2h/f2h_usb.exe

FYI: Older versions can be found here: http://www.bttr-software.de/links/#drivers

RayeR(R)

Homepage

CZ,
02.01.2011, 02:46

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Yes. Nothing is impossible in China.
> But if you afraid of the legal issue, use the one from Panasonic instead.

No, I'm not afraid. I like if it's patched for better performance but even I'm a bad pirate I had never stolen someone others (c). I remember there was similar case about LZ-DOS with many many post here so I wonder that I'm the first who ask about this (c) theft here :-D

---
DOS gives me freedom to unlimited HW access.

Rugxulo(R)

Homepage

Usono,
02.01.2011, 13:57

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

Now that we know where to find both original and patched version, producing a binary patch (which should be legal) is a simple process. But who will host the patch???

RayeR(R)

Homepage

CZ,
02.01.2011, 14:06

@ Rugxulo
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Now that we know where to find both original and patched version, producing
> a binary patch (which should be legal) is a simple process. But who will
> host the patch???

Here on BTTR?
But I would recommend to put effort rather on some programming work than messing with the patch :)

---
DOS gives me freedom to unlimited HW access.

DOS386(R)

30.12.2010, 09:28

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> USBexFAT ASPI DISK DRIVER Ver 1.00 released

Are you the author ?

> cn-dos . net/forum/viewthread.php?tid=53313&fpage=1
> yaya20077777.ys168 . com

Both links dead (much garbage, no download) :-|

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

Japheth(R)

Homepage

Germany (South),
30.12.2010, 10:12

@ DOS386
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> Both links dead (much garbage, no download) :-|

I was able to download.

Here's a picture: [image]

---
MS-DOS forever!

RayeR(R)

Homepage

CZ,
30.12.2010, 14:54

@ DOS386
 

USBexFAT ASPI DISK DRIVER Ver 1.00 released

> > USBexFAT ASPI DISK DRIVER Ver 1.00 released
>
> Are you the author ?
>
> > cn-dos . net/forum/viewthread.php?tid=53313&fpage=1
> > yaya20077777.ys168 . com
>
> Both links dead (much garbage, no download) :-|

I reupload it on my site:
http://rayer.ic.cz/download/usbexfat.zip

---
DOS gives me freedom to unlimited HW access.

roytam(R)

05.01.2011, 11:58

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

1.0a released.

Changes:
- added USB-FDD support.
- fixed some bugs.

> USBexFAT ASPI DISK DRIVER Ver 1.00. FANJIANYE create in 2010/12/27
>
> USBexFAT: USB device driver for DOS, support FAT16, FAT32, EXFAT
> partition.
> /C  Loading coding table file name. If the partition contains EXFAT,
> the system will automatically load CPxxxUNI.TBL,
> where xxx is the country code.
> /D  Specify the starting drive letter assigned.
> /H  In the case of multiple host adapters, specify the host adapter
> number.
> /I  Specify the target ID and LUN. Such as: /I00, or /I0010.
> /K  Filtering the target ID and LUN. Such as: /K00, or /K0010.
> /?  Display help information.
>

>
> Limits:
> Maximum size per file is 4GB-1 byte. (DOS limitation)
>
> Original source:
> http://www.cn-dos.net/forum/viewthread.php?tid=53313&fpage=1
>
> Download:
> http://yaya20077777.ys168.com/

RayeR(R)

Homepage

CZ,
05.01.2011, 13:49
(edited by RayeR, 05.01.2011, 23:27)

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> 1.0a released.
>
> Changes:
> - added USB-FDD support.
> - fixed some bugs.

Thx, I have USB floppy at work, I'll test is later today :)

EDIT:
Hm, on my new core i5 at work (described in thread below) it didn't work at all. USBASPI.SYS didn't find any USB controller and even my USB keyboard got frozen by a bad touch on chipset. This is completly legacy-free PC that doesn't have PS/2 ports so I cannot disable USB keyboard support in BIOS.

So then I took USB floppy SONY MPF820U at home. It was recognized by USBASPI.SYS but drive letter was not assigned. It displayed multiple error about partition. Of course floppy doesn't contain a MBR with partitions it looks like a bug treating floppy as a HDD.


ASPI Manager for USB mass-storage  Version 2.27x                             
FANJIANYE Revised in 2010/09/16                                             
                                                                             
    ID:0 LUN:0 = SONY     USB-FDU          5.01                             
                                                                             
    Installed ASPI manager.                                                 
1 char device installed.                                                     
Driver loaded.                                                               
USBexFAT ASPI DISK DRIVER Ver 1.0a. FANJIANYE create in 2011/01/02           
                                                                             
ID:LUN=0:0= HD .. SONY    USB-FDU                                           
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Read error in partition read.                                               
Not found installable device.

---
DOS gives me freedom to unlimited HW access.

roytam(R)

06.01.2011, 01:14
(edited by roytam, 06.01.2011, 08:28)

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> > 1.0a released.
> >
> > Changes:
> > - added USB-FDD support.
> > - fixed some bugs.
>
> Thx, I have USB floppy at work, I'll test is later today :)
>
> EDIT:
> Hm, on my new core i5 at work (described in thread below) it didn't work at
> all. USBASPI.SYS didn't find any USB controller and even my USB keyboard
> got frozen by a bad touch on chipset. This is completly legacy-free PC that
> doesn't have PS/2 ports so I cannot disable USB keyboard support in BIOS.
>
> So then I took USB floppy SONY MPF820U at home. It was recognized by
> USBASPI.SYS but drive letter was not assigned. It displayed multiple error
> about partition. Of course floppy doesn't contain a MBR with partitions it
> looks like a bug treating floppy as a HDD.
>
>
> ASPI Manager for USB mass-storage  Version 2.27x                             
> FANJIANYE Revised in 2010/09/16                                       
>
> ID:0 LUN:0 = SONY        USB-FDU          5.01                             
>
> Installed ASPI manager.                                                     
> 1 char device installed.                                             
> Driver loaded.                                                               
> USBexFAT ASPI DISK DRIVER Ver 1.0a. FANJIANYE create in 2011/01/02           
>
> ID:LUN=0:0= HD .. SONY   USB-FDU                                           
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Read error in partition read.                                                 
> Not found installable device.
>


for the USB keyboard/mouse, did they work when USBASPI is not loaded? If so, add "/norst" argument in USBASPI line.

For USB-FDD, I'll report back.

EDIT: Message from yaya:
You may try with original USBASPI as with this hacked USBASPI, some USB classes may be not supported.

RayeR(R)

Homepage

CZ,
06.01.2011, 12:16

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> for the USB keyboard/mouse, did they work when USBASPI is not loaded? If
> so, add "/norst" argument in USBASPI line.

/norst didn't help, even with original driver

> EDIT: Message from yaya:
> You may try with original USBASPI as with this hacked USBASPI, some USB
> classes may be not supported.

I tried original driver at home and it also reported some errors (btw much slower detection):


ASPI Manager for USB mass-storage  Version 2.27                         
 (C)Copyright Panasonic Communications Co., Ltd. 2000-2008


    ERROR : Target USB device not found.
    ERROR : Driver resides since USB FDD was detected.
1 char device installed.
Driver loaded.
USBexFAT ASPI DISK DRIVER Ver 1.0a. FANJIANYE create in 2011/01/02

ASPI Manager not installed.


But it works! I didn't specified drive letter and it replaced my std. floppy A: with USB A: I think it would be better if it scan BIOS data for real floppy first and then assign it as drive B:
So I think that patching of the USBASPI.SYS should be done carefully to not break support for some devices. Here's some info about this USB FDD:


Device Descriptor:
bcdUSB:             0x0110
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x054C (Sony Corp.)
idProduct:          0x002C
bcdDevice:          0x0501
iManufacturer:        0x01
iProduct:             0x02
iSerialNumber:        0x00
bNumConfigurations:   0x01

ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed:     Full
Device Address:       0x02
Open Pipes:              3

Endpoint Descriptor:
bEndpointAddress:     0x81  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x02  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x83  IN
Transfer Type:   Interrupt
wMaxPacketSize:     0x0002 (2)
bInterval:            0x10

---
DOS gives me freedom to unlimited HW access.

roytam(R)

06.01.2011, 13:32

@ RayeR
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> > for the USB keyboard/mouse, did they work when USBASPI is not loaded? If
> > so, add "/norst" argument in USBASPI line.
>
> /norst didn't help, even with original driver
>
> > EDIT: Message from yaya:
> > You may try with original USBASPI as with this hacked USBASPI, some USB
> > classes may be not supported.
>
> I tried original driver at home and it also reported some errors (btw much
> slower detection):
>
>
> ASPI Manager for USB mass-storage  Version 2.27                         
> (C)Copyright Panasonic Communications Co., Ltd. 2000-2008
>
>
> ERROR : Target USB device not found.
> ERROR : Driver resides since USB FDD was detected.
> 1 char device installed.
> Driver loaded.
> USBexFAT ASPI DISK DRIVER Ver 1.0a. FANJIANYE create in 2011/01/02
>
> ASPI Manager not installed.
>

>
> But it works! I didn't specified drive letter and it replaced my std.
> floppy A: with USB A: I think it would be better if it scan BIOS data for
> real floppy first and then assign it as drive B:
> So I think that patching of the USBASPI.SYS should be done carefully to not
> break support for some devices. Here's some info about this USB FDD:
>
>
> Device Descriptor:
> bcdUSB:             0x0110
> bDeviceClass:         0x00
> bDeviceSubClass:      0x00
> bDeviceProtocol:      0x00
> bMaxPacketSize0:      0x08 (8)
> idVendor:           0x054C (Sony Corp.)
> idProduct:          0x002C
> bcdDevice:          0x0501
> iManufacturer:        0x01
> iProduct:             0x02
> iSerialNumber:        0x00
> bNumConfigurations:   0x01
>
> ConnectionStatus: DeviceConnected
> Current Config Value: 0x01
> Device Bus Speed:     Full
> Device Address:       0x02
> Open Pipes:              3
>
> Endpoint Descriptor:
> bEndpointAddress:     0x81  IN
> Transfer Type:        Bulk
> wMaxPacketSize:     0x0040 (64)
> bInterval:            0x00
>
> Endpoint Descriptor:
> bEndpointAddress:     0x02  OUT
> Transfer Type:        Bulk
> wMaxPacketSize:     0x0040 (64)
> bInterval:            0x00
>
> Endpoint Descriptor:
> bEndpointAddress:     0x83  IN
> Transfer Type:   Interrupt
> wMaxPacketSize:     0x0002 (2)
> bInterval:            0x10
>


Both USBASPI and USBEXFAT are not loaded actually, the emulation by BIOS is in work.

RayeR(R)

Homepage

CZ,
06.01.2011, 16:01

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> Both USBASPI and USBEXFAT are not loaded actually, the emulation by BIOS is
> in work.

Oh yes, I missed that. I can allready access floppy A: there. But I cannot disable this USB legacy support, there's no option in this stupid HP BIOS.

At home I have it disabled by default because it can cause some strange problems.

---
DOS gives me freedom to unlimited HW access.

Laaca(R)

Homepage

Czech republic,
11.01.2011, 00:22

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

Roytam, are you able to write an exFAT formatting tool?

---
DOS-u-akbar!

roytam(R)

11.01.2011, 05:59

@ Laaca
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> Roytam, are you able to write an exFAT formatting tool?
I'm just a ordinary DOS user. Maybe I can hack around the sources, I can't write such thing by myself.
For now I'm studing EDR-DOS 7.01.08 WIP to see where make it unable to boot from Grub4DOS when it in a floppy image, tinybit said it is LBA related but I can't see the root of problem at this moment.

Laaca(R)

Homepage

Czech republic,
17.01.2011, 07:53

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

I tried the flash disk formated to exFAT.

* Good point is that it somewhat works and generaly is possible to read and write files on and from flash disk.

* Bad point is that it is quite buggy. It shows some non valid (nonexisting) files with empty names and zero length.
Writting is problematic - it seems that better works writting standard 8+3 files than LFN names. Sometimes file is written (copied), sometimes not.

Test done with 32GB flash disk formatede with exfat with 32kb clusters.

---
DOS-u-akbar!

roytam(R)

18.01.2011, 12:18

@ Laaca
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> I tried the flash disk formated to exFAT.
>
> * Good point is that it somewhat works and generaly is possible to read and
> write files on and from flash disk.
>
> * Bad point is that it is quite buggy. It shows some non valid
> (nonexisting) files with empty names and zero length.
> Writting is problematic - it seems that better works writting standard 8+3
> files than LFN names. Sometimes file is written (copied), sometimes not.
>
> Test done with 32GB flash disk formatede with exfat with 32kb clusters.

message from yaya:

* USBExFAT do its "ExFAT to FAT file entries" conversion job well, all other things are done by DOS and DOSLFN. As the cluster size is different between ExFAT and FAT, hidden zero length directory entries are filled at the end. It shouldn't be a problem if hidden files are not shown.

* For writing support, it is highly recommended to do with DOSLFN loaded. Without DOSLFN, writing to long filename may fail.

RayeR(R)

Homepage

CZ,
18.01.2011, 13:33

@ Laaca
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> I tried the flash disk formated to exFAT.
>
> * Good point is that it somewhat works and generaly is possible to read and
> write files on and from flash disk.

Could you test it with 8.3 names only without DOSLFN? It should work without problems then...

---
DOS gives me freedom to unlimited HW access.

MDGx(R)

Homepage

earth,
06.09.2011, 05:34

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

Hello DOS aficionados,

I have put together all these drivers: USBEXFAT.COM 1.0a (+ old version 1.00 = renamed) and USBASPI.EXE 2.28 [+ 2 older versions: 2.27 (.SYS) + 2.26 (renamed to .OLD)] into 1 single zip [336 KB]:
http://www.mdgx.com/files/USBEXFAT.ZIP
at my website:
http://www.mdgx.com/secrets.htm#FAT64
USBASPI.EXE = fixed by a buddy of mine from MSFN forums.
DEVLOAD also included.
Please see the "ReadMe" text files [.TXT] inside the ZIP, they should explain everything in detail.

If any comments, please e-mail me, especially if new drivers/versions are released, so I can upload them at my site:
http://www.mdgx.com/form.htm
Thank you kindly.

FYI...
This driver (together with EXFAT.EXE) are mentioned at English Wikipedia:
http://en.wikipedia.org/wiki/ExFAT#Support_on_Other_Platforms
Please see reference [18]:
http://en.wikipedia.org/wiki/ExFAT#cite_note-17
which links to my ExFAT (FAT64) page: ;-)
http://www.mdgx.com/secrets.htm#FAT64

Keep on rocking!

HTH [Hope This Helps]
Sincerely,
MDGx

roytam(R)

28.09.2011, 06:09

@ MDGx
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> Hello DOS aficionados,
>
> I have put together all these drivers: USBEXFAT.COM 1.0a (+ old version
> 1.00 = renamed) and USBASPI.EXE 2.28 [+ 2 older versions: 2.27 (.SYS) +
> 2.26 (renamed to .OLD)] into 1 single zip [336 KB]:
> http://www.mdgx.com/files/USBEXFAT.ZIP
> at my website:
> http://www.mdgx.com/secrets.htm#FAT64
> USBASPI.EXE = fixed by a buddy of mine from MSFN forums.
> DEVLOAD also included.
> Please see the "ReadMe" text files [.TXT] inside the ZIP, they should
> explain everything in detail.
>
> If any comments, please e-mail me, especially if new drivers/versions are
> released, so I can upload them at my site:
> http://www.mdgx.com/form.htm
> Thank you kindly.
>
> FYI...
> This driver (together with EXFAT.EXE) are mentioned at English Wikipedia:
> http://en.wikipedia.org/wiki/ExFAT#Support_on_Other_Platforms
> Please see reference [18]:
> http://en.wikipedia.org/wiki/ExFAT#cite_note-17
> which links to my ExFAT (FAT64) page: ;-)
> http://www.mdgx.com/secrets.htm#FAT64
>
> Keep on rocking!
>
> HTH [Hope This Helps]
> Sincerely,
> MDGx

I just want to remind you that the Windows 2000 exFAT driver doesn't work in Windows 2000 due to missing imports in ntoskrnl.exe.

MDGx(R)

Homepage

earth,
19.10.2011, 08:54

@ roytam
 

USBexFAT ASPI DISK DRIVER Ver 1.0a released

> I just want to remind you that the Windows 2000 exFAT driver doesn't work
> in Windows 2000 due to missing imports in ntoskrnl.exe.

Thanks for the reminder.
I'm aware of that.
I don't have Win2000 installed anymore, so I can't test this to make sure it works properly. ;-(
But I've heard rumors that these unofficial packages may help add some NT kernel functionality:
- KnownDllsWrapper (KDW):
http://www7.atwiki.jp/win2000/pages/17.html
Most recent version is 0.95a, as of the 14th of September, 2011.
Download file here [2.23 MB, English, free]:
http://w2k.flxsrv.org/cgi-bin/dl.cgi?file=kdw095a.zip
Webpage in Japanese + English.
- Windows 2000 XP API Wrapper Pack:
http://www.techspot.com/vb/topic167843.html
Download file here [653 KB, free open source]:
http://www.mdgx.com/files/W2KXPAPI.ZIP

If anyone in this forum has time to test these packages with the unofficial Win2000 exFAT driver:
http://www.mdgx.com/w2ktoy.htm#XFAT
download file here [111 KB, free]:
http://www.mdgx.com/files/2KEXFAT.ZIP
please post your results here, and I'll add a note at my website.
Many thanks.

P.S.:
Wikipedia ExFAT reference link (in my 1st post above) has changed...
http://en.wikipedia.org/wiki/ExFAT#cite_note-18

Best wishes,
MDGx

Doug(R)

E-mail

07.01.2011, 21:52

@ roytam
 

USBASPI 2.27x tests

It's good to see development continue on other DOS USB drivers --
cheers!

Ok, i tried both the revised USBASPI.SYS and new USBEXFAT.COM...
and had mixed results. I'm still in the process of testing
USBEXFAT, so i'll focus here on the USBASPI.

I'll make a few comparisons between this 2010 revised USBASPI
driver (v2.27x) and the 2008 (latest?) Panasonic USBASPI driver
(v2.27).

(Note that there's also another "revised" USBASPI.EXE fork --
v2.28 (2008) -- that's hosted at mdgx's site, but i've found it
to be kinda buggy. It looks to be a revision of Panasonic v2.24
(2007). The good news about that one is that it has command-line
help with /? -- tells what most switches mean.)

As RayeR already mentioned, the 2.27x USBASPI.SYS can load from
the command line with the David Woodhouse / Eric Auer DEVLOAD.COM
-- this makes it convenient to load these drivers at some point
during a DOS session, so otherwise won't take up memory. (Note
that they can't be unloaded -- this requires a reboot.)

A text scan of the de-compressed 2.27x file shows command-line
switches similar to (the same as?) the later Panasonic series.

Nicely, 2.27x seems to load *way* quicker than the original
Panasonic 2.27 driver! Without the /U, /O, or /E switches
(actually with only /V), using DEVLOAD, flashdisc in root hub, my
measurements:

2.27x USBASPI.SYS: 01.17 sec
2.27 USBASPI.SYS: 12.86 sec

That difference is a factor of 11! Quite noticeable.

Also nice, 2.27x does NOT install in memory when it can't find a
target USB device -- unlike the Panasonic drivers which load into
memory regardless (frustrating, in that it requires a system
reboot if you want to try again).

The 2.27x driver detects all of the following devices on my
current system (with Intel 82801EB/ER ICH5/ICH5R):

Zip-100 drive (UHCI)
Verbatim 16m (!) flashdisc (UHCI)
PNY 2g0 flashdisc (EHCI)
Vivitar binoculars/camera (UHCI)
IBM (Teac) diskette drive (UHCI)
Microtech (Teac) diskette drive (UHCI)

However, that doesn't mean that USBEXFAT can successfully assign
drive letters to them! (USBEXFAT results to come....)

What didn't work? ZiO! Smartmedia Card Reader/Writer (UHCI),
SanDisk 12-in-1 Card Reader/Writer (EHCI). I guess that's to be
expected.

All in all, nice work! Looks like i'll be using the USBASPI
v2.27x revision for most of my USB mass-storage stuff.

- Doug B.

Doug(R)

E-mail

09.01.2011, 18:20

@ Doug
 

USBASPI 2.27x tests

One more thing:

With the USBASPI.SYS driver, if you specify /E as a parameter,
the driver will NOT find UHCI devices... only EHCI devices! (As
well, if you specify /U, the driver will NOT find EHCI devices...
only UHCI devices, but that's more understandable.) If you
include neither of those switches, it finds all UHCI and EHCI
devices. (The Panasonic drivers behave the same way.)

As i understand the USB specification (but i'm no expert), an
EHCI system can "read" UHCI devices (albeit at UHCI speed). So i
guess the switches /U, /O, and /E mean *exclusively* UHCI,
*exclusively* OHCI, and *exclusively* EHCI.

But since the USBASPI.SYS 2.27x revision loads so fast anyway,
those switches don't offer much loading-speed advantage. Here're
my measurements (flashdisc connected to root hub):

EHCI device:

DEVLOAD USBASPI.SYS /V Elapsed: 1.06 sec
DEVLOAD USBASPI.SYS /V /E Elapsed: 0.94 sec

UHCI device:

DEVLOAD USBASPI.SYS /V Elapsed: 1.10 sec
DEVLOAD USBASPI.SYS /V /U Elapsed: 0.50 sec

Perhaps on a slower system there might be some advantage
nonetheless. (Mine is 2.4 GHz.)

And just as an aside, in my system, the revised USBASPI 2.27x
driver takes 14,864 bytes of RAM when loaded. The Panasonic 2.27
driver takes 15,120 bytes (256 bytes difference).

- Doug B.

Back to index page
Thread view  Board view
15673 Postings in 1427 Threads, 259 registered users, 12 users online (0 registered, 12 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum