Hi, I am trying to make a lib for IDE/ATA hard disks but I cannot
figure out how to make bi-directional pin assignments. Is this
correct? IDE_DATALOW_OUT & IDE_DATAHIGH_OUT doesn't seem to work.


VAR VOLATILE BYTE    IDE_DATALOW_IN     is portb           ; LOW DATA
BITS
VAR VOLATILE BYTE    IDE_DATALOW_OUT     is portb_direction ; LOW DATA
BITS
VAR VOLATILE BYTE    IDE_DATAHIGH_IN     is portd           ; HIGH
DATA BITS
VAR VOLATILE BYTE    IDE_DATAHIGH_OUT     is portd_direction ; HIGH
DATA BITS

IDE_DATALOW_IN  = all_input
IDE_DATALOW_OUT = all_output
IDE_DATAHIGH_IN = all_input
IDE_DATAHIGH_OUT = all_output


Thanks,
Matt.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to