Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

AHCI projects? (Developers)

posted by mcluskyism E-mail, italy, 06.05.2023, 09:37

Hi everyone, sorry for lateness, but I was unaware of this matter at the time.
Not to be too verbose, here lies a complete description of my problem ( https://superuser.com/questions/1726494/force-ich7-m-ahci-mode-works-in-linux-with-grub2-and-setpci-not-in-windows ) and a solution tested in Linux.
Where the above trick works also past an IDE installation because, by embedding the AHCI driver into the initramfs, it is loaded after grub2 after a setpci -s 0:1f.2 90.B=40 and then the SSD boots.
Since I have no option to switch from IDE to AHCI into BIOS, I tried the same trick before starting Windows, but as expected the SSD is not detected at all, because there is no "driver" or anything similar in the process that initializes the system enough.
So I moved my testing under FreeDOS, CWSDPMI, a DJGPP compiled setpci and a self-compiled grub4dos (with AHCI patch), I wrote a batch with a more complex setpci sequence with partial success - at the moment, I'm stuck at "implementing" a port.
I'm sure that into DOSferatu's code lies the "magic" able to mimic a "driver" and fully configure "by hand" the PCI space.

Please, is this code still available?

I'm not aware of a real DOS "driver" out of the box that would works for me, but I know that the code is part of a diagnostic software that at least "sees" my SSD in AHCI ( https://www.hdsentinel.com/hard_disk_sentinel_dos.php ).
I am open to advice and suggestions, my best and thanks for attention

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 251 users online (0 registered, 251 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum