Academy project: Direct Access for Serial ports and UART registers
I'm a student and I have a mini project for writing serial communication (RS232) chat program.
The environment is boreland C++ over DOS ( They all use DOSBOX under windows)
I wanted to know If I can do this thing in linux,without any emulation, (I don't mind using linux emulation so that I can use another IDE)
I managed to run something like outp(0x378,BYTE) as root .
but when I tried to access the registers with something like (0x378+1, BYTE) I got segmention fault.
Do I have to unload the serial driver or replace it by other driver in order to access the UART registers?
Last edited by uprooter; 11-13-2008 at 10:01 AM.