Hi every one! I´m a beginner user of Code::Blocks. I have very old C projects, now I want to upgrade my old codes, so by Codeblocks program l found there is an error of using "outportb" function...
Does anybody know how to implement "outportb" in Code::Blocks?
This is a section of my code:
void MOTOSEC1(void)
{
for(i=0;i<300;i++)
{
outportb(PS1,PASO1); /* MOTOR SEQUENCE 1 */
delay(DELAYSEC);
outportb(PS1,0x000);
delay(DELAYSEC);
outportb(PS1,PASO1);}
} /* END MOTOSEC1*/
error: undefined reference to "outportb"
Thanks
Ernesto