flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
crc
Can anyone explain how to read a byte from the keyboard in a windows console application? I'm having difficulty getting this aspect of my code working properly.
|
|||
![]() |
|
VitalOne
Code: invoke GetStdHandle,STD_INPUT_HANDLE invoke ReadConsole,eax,buffer,1,written_address,0 This reads 1 byte into buffer (although you could type more) |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.