ISA Expansion Boards Error

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
KernelDeveloper
Posts: 15
Joined: Tue Mar 13, 2012 11:25 am
Location: Earth
Contact:

ISA Expansion Boards Error

Post by KernelDeveloper »

I am not getting the converted data from the ISA Expansion Board
My code goes like this.

Code: Select all

int read_isa_status()
{
   return inport(0x0304) & 0x0001;
}
int read_isabus_exp16()
{
     int state, data;
     outport(0x0300,0x0000);
     do   
     { 
          state = read_isa_status();
      }
      while(state);
      data = inport(0x0302) >> 4;
      return data;
}

}
I am actually supposed to get converted data in the variable data.If i print the value of the data on the screen , i get 000000 always.I hav coded according to the mannual (datasheet).

My steps are:
#Apply start of conversion pulse to R/C# line
#Get the status signal and loop
#Read the converted data from the board
No one is perfect in the world!!! :)

Make sure you visit this:
http://tinyurl.com/kerneldeveloper
LindusSystem
Member
Member
Posts: 63
Joined: Sat Apr 28, 2012 9:41 am
Location: Earth -> Asia

Re: ISA Expansion Boards Error

Post by LindusSystem »

Providing more info will help us help you and whats wrong with your code, it works for me but I get random data but not 00000.
What emulator are you using?
Did you test on real hardware?
Anyone has a idea of making a ntfs bootsector?if yes PM me , plz.
Post Reply