flat assembler
Message board for the users of flat assembler.

Index > Windows > Check for keystroke

Author
Thread Post new topic Reply to topic
80286



Joined: 01 May 2015
Posts: 15
80286 06 May 2015, 16:32
Hello there,

I want to check if a keystroke was made.
In pseudocode something like:

get keyboardcontrollerstatus / keyboardbuffer
IF nothing was entered
do_the_job
ELSE
do_the_other_job
endif

It would be fine if the key could be checked, but it's not that important for the moment.

Which call do I have to call from which lib ?


Thanks in advance!
Post 06 May 2015, 16:32
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1660
Location: Toronto, Canada
AsmGuru62 06 May 2015, 17:30
Post 06 May 2015, 17:30
View user's profile Send private message Send e-mail Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386 10 May 2015, 09:21
80286 wrote:
I want to check if a keystroke was made


Impossible. http://board.flatassembler.net/topic.php?t=11172 (needs 80386 at least)

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 10 May 2015, 09:21
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.