• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

ISA BUS

HOW CAN I SEND DATA TO ISA BUS USING DELPHI OR C++BUILDER AND WHAT ARE THE ADRESSES OF THESE SLOTS?
0
ERNES30
Asked:
ERNES30
  • 2
  • 2
1 Solution
 
ERNES30Author Commented:
I'M GOING TO DESIGN A CARD AND I'VE TO COTROL IT BY ISA BUS....HOW!!!
0
 
MadshiCommented:
In Win95 you can use inline assembler (out/in):

procedure Out(port: word; value: byte);
begin
  asm
    mov dx,port;
    mov al,what;
    out dx,al;
  end;
end;

function In(port: word) : byte;
begin
  asm
    mov dx,port;
    in  al,dx;
    mov result,al;
  end;
end;

In WinNT you'll need a little driver. But there are freeware components for this.

I hope you don't need to handle isa interrupts.
0
 
ERNES30Author Commented:
HOW OR WHERE CAN I FIND THE ADRESSES OF THE PORTS FOR ISA BUS? AND IF I WANT TO TRANSMIT SEVERAL BYTES, HOW CAN I DO IT?
 WHERE CAN I GET MORE INFORMATION ABOUT THIS?
0
 
MadshiCommented:
The port depends on the isa card. E.g. sound blaster cards use most often port $220. So if you design your own isa card, there are several chips you can put on your card that will do the communication for you (I don't know any details...). As far as I know, you can configure this chips to use the port you like.
If you want to transmit several bytes, just call "out" several times.   :-)
I don't know, where you can get more information about this. Perhaps look for firms that offer such chips...

Madshi.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now