Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

uart interrupt tx rx in Dos32 bit open watcom (Developers)

posted by Brian_extended, 05.01.2014, 20:42

> > Is there a way to upload a 30KByte file on this site?
>
> Probably not good idea, try http://pastebin.com/ and post link
> here :)

I ended up bypassing the BIOS calls for screen output and keyboard input to reduce the number of mode switches between protected mode and real mode. The mode switches were taking up a lot of time, and interrupts were getting lost. Wrote a couple of routines to access screen memory directly and the keyboard FIFO in real mode. At this point, I have interrupt driven RX and TX, all to some larger queues and working with the 16550. If there is interest, send me a PM with an Email address and i will provide the code.

The code is working on several machines, but not the WINsystems PPM800 PC104 board- they have some extra features that allow multiple com ports to share one interrupt. They left out some steps in the documentation, "am in pursuit" of it. ST240 does not work on their board, either- so it's them, not me.

Phar Lap maps the 1MByte real-mode memory as Segment 34h. Makes it easy to access real-mode memory while in protected mode.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum