[comp.sys.ibm.pc.misc] 8086 assembly software

byrd@ott.ucr.edu (susan huster) (03/09/91)

To: assembly language programmers

Here at UCR we are currently developing a standard library of routines similar
to the C Standard Library for 8086 Assembly programmers.  One of the routines
is getc, the purpose of which is exactly the same as it is in C.  

The fact that the end-of-line in a file is marked with a CR/LF instead of just 
a CR creates a few problems, since we want this routine to work not only for
users typing their responses at the keyboard, but also for redirection from a
file.  The way we currently handle this is that when a CR/LF is encountered,
the LF is stripped out (ignored) and the CR is retained.

Since we will be posting this software to the net, we thought it would be a
good idea to get some input from anybody out there who might be interested in
these routines and who might have some suggestions about why the above scheme
may not be the best.  If you can think of a good reason why the LF should not
be stripped, or you think some alternate scheme might be better, we would 
appreciate it if you would e-mail any suggestions you might have to us.

Also, the routine currently uses <CTRL-Z> as the end-of-file marker and
<CTRL-C> as the interrupt key.  If anybody can think of any reasons why some 
other characters should be used, we would also like to hear about them.

Finally, if there is anybody out there who would simply like some more
information on our project, such as a list of routines or how to obtain them
(we are setting up an anonymous ftp site), please send us e-mail and we will
put you on our mailing list.  We are also developing a windowing package for 
8086 assembly programmers; if you would like more details about this, again
please feel free to send us e-mail. 

The names and e-mail addresses of the people you should direct your inquiries
to are listed below.  Thank you in advance.

------------------------------------------------------------------------------

Theresa Kim
theresa@ucrmath.ucr.edu

Susan Huster
byrd@ucrmath.ucr.edu