• Please review our updated Terms and Rules here

ISA USB board

@Malc You are probably using a too fast machine.
I removed the wait between each IO Read/write.
For fast machine, it is much more difficult to optimize.
 
I'm using my IBM XT 5160
It is working correctly on my 8086 8MHz, so this should of course work on a 4MHz 8088
I only removed the sub function call in the Read/Write code by a direct IN / OUT command, this is a really small change.

Also, I did not change the code initializing the driver, so the initial drive test should not be impacted.

My CONFIG.SYS Line:
DEVICE=C:\DOSDRV\CH375D4.SYS @260 #0

I did another version of the change, modifying only the Read function, can you try it ?
 

Attachments

  • CH375D2.zip
    3.1 KB · Views: 13
I share as well the original unmodified driver, to test if it is not a problem of driver version.
 

Attachments

  • CH375DOS.zip
    3.1 KB · Views: 13
My CONFIG.SYS Line:
DEVICE=C:\DOSDRV\CH375D4.SYS @260 #0

I did another version of the change, modifying only the Read function, can you try it ?
I share as well the original unmodified driver, to test if it is not a problem of driver version.
Same " CH375: Error Boot Sector " with all, Including the Unmodified driver, My config.sys line is correct.

I did notice the different version 1.9, The one i posted in Post #69 V1.9A works for me in my IBM XT.
 
Same " CH375: Error Boot Sector " with all, Including the Unmodified driver, My config.sys line is correct.

I did notice the different version 1.9, The one i posted in Post #69 V1.9A works for me in my IBM XT.
Ok, excellent, the problem is not my changes then.

I used the V1.9 because it was listed to be the best one in the Youtube video by "Tech Tangent"
This 1.9 is far better than the 2.0, because it seems to be coded in ASM.
It also support multiple revision of the Chip.

I will redo the changes in the 1.9A then....
If we can fine one version that work for all, and avoid to patch multiple Driver version :)
1.9A is promissing, probably a bugged fixed 1.9

I will publish a youtube Video soon, and work on an blog article describing what I did.
 
@Malc
How did you build the USB Key ?

What I did is a binary copy of a DOS 6.22 Disk image (.IMG) to avoid having a partition sector, the driver need to have the Boot Sector first.
I also tried with DOS 3.31 and a FAT16, but there are corrupted files, like an error in the sectors order. (Probably a DOS 3.31 bug)
 
I will redo the changes in the 1.9A then....
If we can fine one version that work for all, and avoid to patch multiple Driver version :)
1.9A is promissing, probably a bugged fixed 1.9
If you could redo the changes in v1.9A that would be great
How did you build the USB Key ?

What I did is a binary copy of a DOS 6.22 Disk image (.IMG) to avoid having a partition sector, the driver need to have the Boot Sector first.
I also tried with DOS 3.31 and a FAT16, but there are corrupted files, like an error in the sectors order. (Probably a DOS 3.31 bug)
I have not tested with DOS 3x, I rarely use it, What i do is:
FDISK / Partition and Format in DOS 6.22, Though it depends on:
The computer you use.
The Flash drive, Don't buy the 3 drives a penny type junk.
The USB adapter for CF or SD card.
I have a bootable USB flash drive with DOS 6.22 and basically everything i need on it to make a bootable DOS flash drive or CF / SD card pretty darn quick.
 
Then, does it mean the V1.9A Work with partition ?
FDISK / Format does not work as you know, But Yes, I have used already made bootable DOS flash drives many times with the DOS driver V1.9A, Obviously i can't boot from the drive using the driver but have had no problems working with a bootable drive using the driver.
 
Last edited:
In some youtube video it is said it does not support partition.
But Yes, the v1.9/1.9A Does, but of course support only a Standard MBR, Not GPT.
I Worked on a more detailed decompilation, I will add patch tomorrow.

1.9A Is Better because smaller and support less devices (V1.9 Support other devices as well)
 
In some youtube video it is said it does not support partition.
But Yes, the v1.9/1.9A Does, but of course support only a Standard MBR, Not GPT.
I Worked on a more detailed decompilation, I will add patch tomorrow.

1.9A Is Better because smaller and support less devices (V1.9 Support other devices as well)
My drives only have a single partition (512M). I'll try your modded driver later today. (My images are built offline and dumped onto whatever usb stick) and have booted with the bios.
 
I think I will completely dissasemble it to allow more things like detect GBT partition, select the partition to use. Speed autodetect maybe to no more need the speed parameter. Partition change on the fly with an utility.
We can also do Disk cloning at the maximum possible speed.
 
If I do a Bios driver, I don't know how to ask the DOS to Map the drive....
 
Aliexpress is where most of us are getting them. I ordered a serial version as well off another Chinese site. Sadly its been stuck for over a month after its left customs.
 
I think I will completely dissasemble it to allow more things like detect GBT partition, select the partition to use. Speed autodetect maybe to no more need the speed parameter. Partition change on the fly with an utility.
We can also do Disk cloning at the maximum possible speed.
Probably a good idea to completely disassemble but i wouldn't go making it too complicated at first, I've been using the V1.9A driver for the past 5+ years after a lot of trial and error with other driver's. Maybe just see about speeding it up a bit, Make sure it works and is stable and then see about adding new features.
 
Probably a good idea to completely disassemble but i wouldn't go making it too complicated at first, I've been using the V1.9A driver for the past 5+ years after a lot of trial and error with other driver's. Maybe just see about speeding it up a bit, Make sure it works and is stable and then see about adding new features.
It is more than speed up a bit. I reached easily x4 Speed.
This is what I want to do, First patch, then I need to disasemble it to simplify patching, and speed it up more (It need space to unroll the loops)
 
My drives only have a single partition (512M). I'll try your modded driver later today. (My images are built offline and dumped onto whatever usb stick) and have booted with the bios.
FYI, I don't have a way to measure the speed yet I'll have to copy something over later but the modified drivers work fine on my image/drive and on my cards so I'm not sure what the problem is for Malc but they work fine for me. This is on both my 5150 and my PC'S Limited Turbo PC.
 
Last edited:
I'm not using image file's, I'm using FDISK to Partition and Format the drive's as normal, Works fine with original Driver V1.9A, How exactly are you creating the Image's ?
 
Back
Top