Is source code of IDE DRIVERS for FATALL free ?
I need rewrite IDE ports for european DivIDE interface:
http://velesoft.speccy.cz/zx/divide/divide-gallery.htm
http://velesoft.speccy.cz/zx/divide/...-prototype.jpg
Actually is tested new IDE DRIVER with DIVIDE ports for WDC :v2_wink2:
I can rewrite also NEMO IDE driver for FATALL if source will possible. :v2_wink:
This is ports table of russian NEMO IDE:
Код:
;-NEMO IDE Ports:-----------------------
RCOM EQU #00F0
RHEAD EQU #00D0
RCYLH EQU #00B0
RCYLL EQU #0090
RSEC EQU #0070
RCOUNT EQU #0050
RERR EQU #0030
RDATL EQU #0010
RDATH EQU #0011
And this is european IDE ports for DIVIDE interface:
Код:
;-DIVIDE IDE Ports:---------------------
RCOM EQU #00BF
RHEAD EQU #00BB
RCYLH EQU #00B7
RCYLL EQU #00B3
RSEC EQU #00AF
RCOUNT EQU #00AB
RERR EQU #00A7
RDAT EQU #00A3
DIVIDE interface use only one DATA port (RDAT).
Reading from IDE: low byte, high byte (same as NEMO IDE)
Writing to IDE: low byte, high byte (NEMO write high byte as first and low byte as second).
READ one sector 512 bytes on DIVIDE:
LD BC,data port
INIR
INIR
WRITE one sector 512 bytes on DIVIDE:
LD BC,data port
OTIR
OTIR
:v2_thumb: