Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INT 21H function 01H question!

Status
Not open for further replies.

DoomMaster

Programmer
Mar 5, 2004
9
US
Hey guys, I am obligated to create a type of input that uses INT 21H and function 01H to store user STRING input, not just one character.

The thing is, this type of input only accepts one character, then echos it to the screen. This means I need to put it in a loop that takes on character at a time and increments the keyboard buffer. The loop should exit when a user enters a certain character.

If someone could show me how I could make this loop, I'd be grateful. None of my books are helping me. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top