Function 01h Get Keyboard Input
Waits for char at STDIN (if nescessary), echoes to STDOUT
entry AH 01h
return AL ASCII character from STDIN (8 bits)
note 1) Checks char for Ctrl-C, if char is Ctrl-C, executes Int\23.
2) For function call 06h, extended ASCII codes require two function calls.
The first call returns 00h as an indicator that the next call will be
an extended ASCII code.
3) Input and output are redirectable. If redirected, there is no way to
detect EOF. Redirection can be detected using Int\21f\44 -redirection
Comments:
See also:
| file: /Techref/INT/21f/01.htm, 0KB, , updated: 2008/2/28 15:46, local time: 2012/2/7 20:21,
38.107.179.231: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? <A HREF="http://www.piclist.com/techref/INT/21f/01.htm"> INT 21h function 01h</A> |
| Did you find what you needed? |
|
|
The only consistant, simple to use yet powerful development environment. It simulates real-world devices via virtual component "plugins" (LED,LCD,key,motor,TV,etc) in real time, has a syntax highlighting editor, macro assembler and disassembler. Regular updates and third-party plugins keep this software ahead of any other PIC IDE. |
.