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.



See also:


file: /Techref/INT/21f/0a.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2012/2/10 02:07,
TOP NEW HELP FIND: 
38.107.179.233:LOG IN

 ©2012 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://www.piclist.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 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?

 
SX MASTERS: Eric Smith and Richard Ottosen's SERVID is an intellegent RS232 video terminal (4x20 character display) in one SX chip. See the write up.
 

Robotics nuts!

Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.
The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .