Here is everything I know so far for the development of an 8-bit XTIDE compatible IDE required by the core.
I think one of the keys might be to have a module similar to the FC1306 IC, details attached. In real life, this IC is used to make SD cards compatible with the IDE interface:
https://es.aliexpress.com/item/1005004418446003.html
I haven't found anything similar written in Verilog/VHDL yet, maybe it's because of my ignorance, because maybe what we need, with a similar function is the following:
https://opencores.org/projects/ata
But I couldn't tell you how to fit it with the SD card interface, which in the end, I think, would be the first step to put it together with the MiSTer HPS.
All this for 16 bits of course, on the other hand, the following circuitry would have to be replicated to convert it to 8 bits and finally be compatible with the XTIDE BIOS. In real life, there are Compact Flash or IDE to 8-bit IDE adapter cards, and there is also a project that has reduced all that conversion logic to 8-bit from a CPLD project (I attach sources too):
http://dangerousprototypes.com/docs/XT_ ... controller
This would be the hard way but compatible with the official XTIDE BIOS version. There may be other options, simpler, by emulation, etc... and adaptation of XTIDE BIOS, because the sources are available, but it would also require a good study of how it works, to be able to adapt it.
In any case, these are issues that for me personally, at least for the moment, would be out of my reach.
In short, we need to:
-
incorporate the OpenCore IDE controller project, but this is 16-bit... or maybe we can take advantage of the IDE development used on ao486.
-
The core however cannot handle 16 bits, and for that there is the XTIDE BIOS, which requires the accesses to be 8 bits, and would work on the 300h I/O port, so we need to make use of the implementation that is currently in CPLD to move these 16 bits to 8 bits.