I have tested your drivers v0.21 on my 80286 10Mhz.
I tried with the CH375V86.SYS, CH375V88.SYS and the CH375286.SYS. Sadly none of them worked. I got the exact same error on all three drivers. See picture.
Suggestion: Maybe you should have a text in each driver telling which version (88,86 or 286) it is.
My original CH375dos.SYS works. I only have versjon V1.9 (and 2.0A) - Not the V1.9A - Maybe you could upload it?
The USB stick is formatted as Fat16 with 991MB
Here is the V0.22 Driver version, with 286 supported and some small changes.
30/06/22 V0.22
- BUG Fix : IRQ and Speed parameters were reversed, so the Speed was 3 by Default
- 286 Version tested on 286 8MHz
- Some Useless code removed
- Added some display : DOS Version, Chip Version, Partition number
1) do you have github or some website or cloud storage for this project?
2) what is A1? I can burn eeprom there
2) I bought it on Aliexpress, twice. The chip manufacturer is WCH. They already have this DOS driver for usb storage. I had some communication with them. I have links for documentation and example projects. It is possible to add support for many different usb devices, but you need to compile their example project and write some interface for USB HID. For example I would like it works with Zip drive USB version. I found out it just simulates SCSI over USB bridge as other Zip driver. But did not have time to investigate this further.
1) do you have github or some website or cloud storage for this project?
2) what is A1? I can burn eeprom there
2) I bought it on Aliexpress, twice. The chip manufacturer is WCH. They already have this DOS driver for usb storage. I had some communication with them. I have links for documentation and example projects. It is possible to add support for many different usb devices, but you need to compile their example project and write some interface for USB HID. For example I would like it works with Zip drive USB version. I found out it just simulates SCSI over USB bridge as other Zip driver. But did not have time to investigate this further.
Hi,
The more doc we can have the better it is of course.
It is really usefull for disk, and Mouse can be nice.
As I use their code decompiled, I am not sure I can share it.... (Even if it is simple to decompile)
This one is used at the begining of all the Function (Check if device changed, Read and Write sector)
I suspect this is to verify if the Chip is busy or something like this.
Command 0Ah, Sub command 20h Return something in the Bit 5
I found some commands for 0Ah like :
CMD_GET_TOGGLE EQU 0AH ;Get the synchronization status of an OUT transaction
; input: data 1AH
; output: sync status
; If bit 4 is 1, the OUT transaction is synchronized, otherwise the OUT transaction is not synchronized
CMD_GET_MAX_LUN EQU 0AH ;Host method: Get the maximum logical unit number of the USB memory
; input: data 38H
; output: maximum logical unit number
and 0Bh:
CMD_CHK_SUSPEND EQU 0BH ;Device Mode: Set the way to check the USB bus suspend status
; Input: data 10H, check mode
; 00H=Do not check for USB suspend, 04H=Check for USB suspend at 50mS intervals, 05H=Check for USB suspend at 10mS intervals
CMD_SET_RETRY EQU 0BH ;Host mode: Set the number of retries for USB transaction operations
; input: data 25H, number of retries
; If bit 7 is 0, do not retry when receiving NAK, if bit 7 is 1, bit 6 is 0, retry infinitely when receiving NAK,
; if bit 7 is 1, bit 6 is 1, retry for up to 2 seconds when receiving NAK, Bit 5~bit 0 is the number of retries after timeout
CMD_SET_DISK_LUN EQU 0BH ;Host mode: Set the current logical unit number of the USB memory
; Input: data 34H, new current logical unit number (00H-0FH)
CMD_SET_PKT_P_SEC EQU 0BH ;Host mode: Set the total number of packets per sector of the USB memory
; Input: data 39H, new total number of packets per sector(08H,10H,20H,40H)
The driver just above work only on the lotech board with A1 Wired on the chip.
By mistake i tested the CH375216.SYS - on my USBISA card i bought on AliExpress. It works on my 286 10 Mhz machine. I copied PlanetX3 fropm USB to CF. 566KB tok 46Sec. Speed = 12KB/Sec.
Last edited by Jinxter on 2022-07-12, 16:37. Edited 1 time in total.
Here is the V0.22 Driver version, with 286 supported and some small changes.
I just tested the CH375286.SYS. v0.22 It works on my 286 10 Mhz machine. I copied PlanetX3 from USB to CF. 566KB tok 36Sec. Speed = 15,7KB/Sec. The original driver (V2.0A) was 9,25KB/Sec. And original V1.9 (no A) was also 15,7KB/Sec.
I am not using the lotec card, but the Aliexpress card.
I just tested the CH375286.SYS. v0.22 It works on my 286 10 Mhz machine. I copied PlanetX3 from USB to CF. 566KB tok 36Sec. Speed = 15,7KB/Sec. The original driver (V2.0A) was 9,25KB/Sec. And original V1.9 (no A) was also 15,7KB/Sec.
I just tested the CH375286.SYS. v0.22 It works on my 286 10 Mhz machine. I copied PlanetX3 from USB to CF. 566KB tok 36Sec. Speed = 15,7KB/Sec. The original driver (V2.0A) was 9,25KB/Sec. And original V1.9 (no A) was also 15,7KB/Sec.
Can you test with disktest ?
With the new disktest i got very good results. Check out my video on the speed test: https://youtu.be/A37MQ0HgEpE
With the new disktest i got very good results. Check out my video on the speed test: https://youtu.be/A37MQ0HgEpE
Hi,
Yes, better 😀
What is your 286 machine ?
On my 286 8MHz, SpeedTest is at 400Kb/s for Write. (Tandy 1000 TL/2)
It can be faster with the LoTech board and the "216" driver, this boost the speed +20%
Or you need to replace A0 by A1 on the chip input.
Also, How is configured your XTIDE ? Is it a V2, with the optimized driver ? (286, 16Bit)
I ask but I am quite sure it is. Not everybody change the XTIDE BIOS on 286, so the speed is really lower most of the time.
At this speed, I am sure that USB is a good alternative to XTIDE/Compact Flash.
It will be at least when a BIOS Will be ready.