chat on assembly using serial port


I'm working on a chat using assembly and i got this huge doubt, I'm currently using

int 21, AH= 0Ah

to get a string from the keyboard wich I will later send, char by char, through the serial port, but then i was wondering how, will I receive a msg from the other computer running the same program if this one is in a interruption waiting for me to input a string.

How can i get around the fact that when inputing a string, the whole program is interrupted and anything being sent on the mean time will be lost?


Use <a href="http://www.ctyme.com/intr/rb-2559.htm" rel="nofollow">function 6 with DL = 0FFh</a>.

It will return immediately either with data or without. It won't wait for keyboard input.


  • .net detect distributed transaction
  • Can I keep my Core data store on the Bundle if its readonly
  • OpenMP for dependent variables
  • Xcode launch app error in Mac 10.9 Mavericks
  • Simplifying the use of meshgrid in Matlab
  • XBee Linux Serial Port on Rasberry Pi
  • Arduino making decision according to a packet received from serial port
  • Meteor.. accounts- password— Create account on client without login
  • How do I check if System::Collections:ArrayList is empty / nullptr / null?
  • Why can't I use non-integral types with switch [duplicate]
  • What is this strange character in chrome's resource css viewer?
  • EditText is covered by Keyboard
  • How to repeat sections of a SQL query across UNIONs? (DRY in SQL)
  • read values from form post in jquery or javascript
  • CORS with socket.io
  • Motorola barcode scanner SDK events C#
  • Translating C# to PowerShell in InterIMAP
  • apply a javascript function to draggable copy
  • Consuming a WCF service in a Java Client using wsHttpBinding
  • Exception gevent.hub.LoopExit: LoopExit('This operation would block forever',)
  • converter json to two dimensional array
  • jQuery: How to AJAXify WordPress Search?
  • Prevent Tomcat from caching request during starup
  • Android device acting as an accessory
  • Access Android Market through SSH tunnel
  • x64 applications using gdi+: what are the consequences on performance?
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • C# - Is there a limit to the size of an httpWebRequest stream?
  • jQuery show() function is not executed in Safari if submit handler returns true
  • AES padding and writing the ciphertext to a disk file
  • Updating server-side rendering client-side
  • Convert array of 8 bytes to signed long in C++
  • 0x202A in filename: Why?
  • How to pass list parameters for each object using Spring MVC?
  • Linker errors when using intrinsic function via function pointer
  • Python: how to group similar lists together in a list of lists?
  • C# - Getting references of reference
  • Understanding cpu registers
  • LevelDB C iterator
  • sending mail using smtp is too slow