AHCI CD-ROM driver for DOS (Developers)
> Thanks.
>
> > 1) there are no longer IO ports to access the drive. (1f0-1f7,
> 170-177, etc)
>
> Above are legacy ports, but there are also "native" IDE/SATA ports ...
sure, but all that means is that the decoding done at the old 1f0-1f7 are now relocatable anywhere in IO space and the BIOS/OS is in control of where they go. It's the same stuff, just in a different place. In AHCI that stuff is gone. It's all done via memory mapped access now.
>
> > so the drive does not appear as a standard hard drive anymore.
>
> So PIO / UDMA code won't find anyting ...
correct. You will not find a drive by poking any ATA type command via the typical "shadow register" block (LBA/command/device/features, etc registers) as you would with previous controllers. The registers still exist, but now reside inside a "FIS" which is a chunk of data in a table that the controller DMAs over to the drive. The nicest part is that it's all LBA mode, and it's all 48bit (actually 64 bit!) so finally, we have no size barriers, or at least not any realistic ones. 64bit is what, like 16,000TB or something insane!
>
> What performance do you get using INT $13 (IDECHECK) ?
10182 kB/S which is pretty respectable.
In AHCI mode, using my code, I did a similar test; 128k transfers (which should equate to IDECHECK's 256 sectors per transfer) and I topped out at 73MB/sec. [same drive, same motherboard, same controller]
If I bump it up to a 4MB transfer size, I could get 76MB/sec. As I think I mentioned before, I believe you can do 32MB transfers (* 32 channels) and I can likely get a little bit more performance out of it, probably topping out at about 80MB/S. It's not quite an apples:apples comparison, but it's pretty easy to see the performance gain when AHCI is actually being used.
>
> So since it works well (just not very fastest) in DOS, the need for a
> driver is not "that bad" (not as bad as for sound) for now
I agree completely. It's plenty fast for normal usage, which is why I was thinking that making a clone type program, something that bypasses INT13, would be cool and useful.
Complete thread:
- AHCI projects? - DOSferatu, 14.12.2009, 20:30 (Developers)
- AHCI CD-ROM driver for DOS - Rugxulo, 15.12.2009, 02:10
- AHCI CD-ROM driver for DOS - RayeR, 16.12.2009, 01:37
- AHCI CD-ROM driver for DOS - RayeR, 16.12.2009, 01:45
- AHCI CD-ROM driver for DOS - DOS386, 18.12.2009, 02:09
- AHCI CD-ROM driver for DOS - DOSferatu, 18.12.2009, 16:04
- AHCI CD-ROM driver for DOS - DOS386, 19.12.2009, 04:08
- AHCI CD-ROM driver for DOS - DOSferatu, 21.12.2009, 16:45
- AHCI CD-ROM driver for DOS - DOS386, 22.12.2009, 17:11
- AHCI CD-ROM driver for DOS - DOSferatu, 21.12.2009, 16:45
- AHCI CD-ROM driver for DOS - DOS386, 19.12.2009, 04:08
- AHCI CD-ROM driver for DOS - RayeR, 19.12.2009, 20:27
- AHCI CD-ROM driver for DOS - DOS386, 20.12.2009, 08:05
- AHCI CD-ROM driver for DOS - DOSferatu, 18.12.2009, 16:04
- AHCI CD-ROM driver for DOS - RayeR, 16.12.2009, 01:37
- AHCI projects? - Maybe Jack R. Ellis!! - swf, 16.12.2009, 01:05
- AHCI projects? - Khusraw, 16.12.2009, 11:54
- AHCI projects? - DOSferatu, 16.12.2009, 15:56
- AHCI projects? - RayeR, 16.12.2009, 18:10
- AHCI projects? - DOSferatu, 16.12.2009, 22:21
- AHCI projects? - marcov, 17.12.2009, 10:25
- AHCI projects? - RayeR, 19.12.2009, 20:37
- AHCI projects? - marcov, 17.01.2010, 14:34
- AHCI projects? - Laaca, 08.03.2010, 09:41
- AHCI projects? - DOSferatu, 10.03.2010, 16:57
- AHCI projects? | Sound - DOS386, 17.03.2010, 05:53
- AHCI projects? | Sound - DOSferatu, 17.03.2010, 22:34
- AHCI projects? | Sound | Mail theft - DOS386, 18.03.2010, 09:36
- AHCI projects? | Sound - DOSferatu, 17.03.2010, 22:34
- AHCI projects? | Sound - DOS386, 17.03.2010, 05:53
- AHCI projects? - DOSferatu, 10.03.2010, 16:57
- AHCI projects? - Laaca, 08.03.2010, 09:41
- AHCI projects? - marcov, 17.01.2010, 14:34
- AHCI projects? - RayeR, 19.12.2009, 20:37
- AHCI projects? - Gabiz_ro, 27.03.2010, 22:45
- AHCI projects? - DOSferatu, 31.03.2010, 15:59
- AHCI projects? - Gabiz_ro, 01.04.2010, 19:00
- AHCI projects? - DOSferatu, 31.03.2010, 15:59
- AHCI projects? - Gabiz_ro, 07.04.2010, 22:58
- AHCI projects? - kladno, 06.05.2010, 08:40
- AHCI projects? - RayeR, 16.12.2009, 18:10
- AHCI projects? - DOSferatu, 16.12.2009, 15:56
- AHCI projects? - mcluskyism, 06.05.2023, 09:37
- AHCI projects? - glennmcc, 07.05.2023, 21:04
- AHCI projects? - mcluskyism, 08.05.2023, 17:28
- AHCI projects? - mcluskyism, 13.05.2023, 13:27
- AHCI projects? - glennmcc, 07.05.2023, 21:04
- AHCI CD-ROM driver for DOS - Rugxulo, 15.12.2009, 02:10