Note: This API call is for DOS and Win16 personality only. Use Family API for portability.
1 and higher
BUFFERED INPUT
AH = 0Ah DS:DX -> buffer (see #01344)
buffer filled with user input
^C/^Break are checked, and INT 23 is called if either detected reads from standard input, which may be redirected under DOS 2+
if the maximum buffer size is set to 00h, this call returns immediately without reading any input
Format of DOS input buffer:
Offset | Size | Description |
---|---|---|
00h | BYTE | maximum characters buffer can hold |
01h | BYTE | (call) number of chars from last input which may be recalled (ret) number of characters actually read, excluding CR |
02h | N BYTEs | actual characters read, including the final carriage return |
AH=0Ch,INT 2F/AX=4810h
Text based on Ralf Brown Interrupt List Release 61
osFree Macro Library | |
---|---|
Video I/O | @SetMode @SetCurSz @SetCurPos @GetCur @SetPage @ScrollUp @ScrollDn @Scroll @GetChAtr @PutChAtr @PutCh @SetPalet @SetColor @SetDot @GetDot @WrtTTY @VideoState @GetMode @GetDisplay @GetVideoState @GetEGAInfo @Cls |
Hardware info | @Equipment @MemSize |
Serial I/O | @AuxInit @AuxSendChar @AuxRecieveChar @AuxStatus |
Tape I/O | @TapeOn @TapeOff @TapeRead @TapeWrite |
Keyboard I/O | @KbdStatus @CharIn @CharPeek |
Printer I/O | @PrnPrint @PrnInit @PrnStatus |
Disk I/O | @DskReset @DskStatus @DskRead @DskWrite @DskVerify @DskFormat |
Date and Time | @SetTime @GetTime |
Mouse | @MouInit @MouShowPointer @MouStatus @MouSetPos @MouSetMickey @MouRegion |
Memory manager | @ModBlok SET_BLOCK |