flat assembler
Message board for the users of flat assembler.
Index
> DOS > user input |
Author |
|
Dex4u 09 Feb 2005, 18:16
Go here and you will find code by "Privalov" for doing what you want to do.
http://board.flatassembler.net/topic.php?t=316 |
|||
09 Feb 2005, 18:16 |
|
Bitdog 15 Feb 2005, 00:49
(info)
INT 21h AH=0Ah GET BUFFERED INPUT to a buffer at DS:DX where it's byte offset is: LB00h DB 20 ;maximum characters buffer can hold (=input for INT) LB01h DB 10 ;input= # of chars from last input which may be recalled ;..................;output= # of chars actually read, excluding CR LB02h times 20 DB 0 ;this is the recieving buffer. I made a callable proc that handles character input, backspace, tab, etc and now can easily use it in any program I make. It was easy to make, & you may want to make one to suit your needs. I used INT 16h AH=0 & 1 (0=get character, 1=read KBD flags) Check Ralf Brown's interrupt list for usage details. |
|||
15 Feb 2005, 00:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.