please dont rip this site

Function 0Ah Buffered Keyboard Input

Reads characters from STDIN and places them in the buffer beginning

at the third byte.

entry AH 0Ah

DS:DX pointer to an input buffer

return none

note 1) Min buffer size = 1, max = 255

2) Char is checked for ctrl-C. If ctrl-C is detected, executes int 23h.

3) Format of buffer DX:

byte contents

1 Maximum number of chars the buffer will take, including CR.

Reading STDIN and filling the buffer continues until a carriage

return (Enter or 0Dh) is read. If the buffer fills to one less

than the maximum number the buffer can hold, each additional

number read is ignored and ASCII 7 (BEL) is output to the

display until a carriage return is read. (you must set this

value)

2 Actual number of characters received, excluding the carriage

return, which is always the last character. (the function sets

this value)

3-n Characters received are placed into the buffer starting here.

Buffer must be at least as long as the number in byte 1.

4) Input is redirectable. If redirected, there is no way to check EOF.

5) The string may be edited with the standard DOS editing commands as it

is being entered.

6) Extended ASCII characters are stored as 2 bytes, the first byte being

zero.




file: /Techref/INT/21f/0a.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2024/11/25 06:44,
TOP NEW HELP FIND: 
18.191.178.16:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/INT/21f/0a.htm"> INT 21f 0a</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .