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, 19.11.2013, 20:59

My code was too long to post here in it's entirety, so I linked to the full code.

The routine shown here loads a string into the buffer and is outside the interrupt handler. The code to load the string into the buffer must check if the hardware is Currently Transmitting. If it is done, the code must start the first byte to the transmitter. Once that byte is sent, the interrupt handler will take over and transmit another byte.

The code shown is real-mode, for Microsoft C++ V1.52. I'm currently porting it to Phar Lap, but is not working yet.

 

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