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
Actually is tested new IDE DRIVER with DIVIDE ports for WDC
I can rewrite also NEMO IDE driver for FATALL if source will possible.
This is ports table of russian NEMO IDE:
And this is european IDE ports for DIVIDE interface:Код:;-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
DIVIDE interface use only one DATA port (RDAT).Код:;-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
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
![]()







Ответить с цитированием