VOGONS


bioscom() problem

Topic actions

First post, by nicor

User metadata
Rank Newbie
Rank
Newbie

Hi,

I´m having problems with Turbo C´s bioscom() function. It works very well configuring port (cmd 0) and returning status (cmd 3). But I can neither send nor receive bytes.
It´s funny because I can send, receive, configure, and read status directly with inportb() and outportb() funtions. Interrupt redirection runs smootly too.
I´ve read sources, and found out INT14h handler (wich I was told is directly called by bioscom()) uses control flow lines by default. Checked that lines too and everything´s allright, either switching outputs or reading inputs). Nullmodem´s ok too.
I´m not desperate to use bioscom(). Just asking.

By the way, I want to congratulate you Dosbox crew. Despite it wasn´t designed to run other than games, it works GREAT with Turbo C. So I find it a very useful means to test C code.

Thanks so much.