flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
DOS386 08 Jul 2011, 07:30
. .
. . ( if you got a bad link : TESTCMD package ) . . . . Just in case someone cares about ASM too ( see t=5309 "Reading keypresses with C" ) I brewed an example: Download now 90'282 Byte's Shots: ![]() ![]() Works well with HX , ME , XP and Wi$ta ![]() Code: ; SSKBHIT ; In : - EDI : ZERO is "LH" , non-ZERO is "EH" ; Trashes : - EAX ECX EDX ; Out : - AL : Scancode 0 to 253, other event 254, no event 255 ; - AH : Special key and LED bits (valid for AL<254, else ZERO) ; Needs 52 Byte's on stack : ; 4 (EBX) + 4 (check) + 20 (RCI buffer) + 24 (RCI params) ; Will in any case eat away all events, so to initialize, ; just call this too and ignore the result ; We will simply do "ReadConsoleInput" as long as there is something ; available to read previously checked by "GetNumberOfConsoleInputEvents", ; because "ReadConsoleInput" hangs if no events available Yeah ![]() Another one: http://board.flatassembler.net/topic.php?t=1953 Last edited by DOS386 on 10 Apr 2013, 13:34; edited 5 times in total |
|||
![]() |
|
idle 08 Jul 2011, 08:09
zipped tar - why?
did uoy expect a one to ask ![]() |
|||
![]() |
|
vid 02 Aug 2011, 13:25
Doesn't work for PrintScreen or Pause
![]() Quote: define pope pop This never gets old ![]() |
|||
![]() |
|
DOS386 02 Aug 2011, 13:26
vid wrote: Doesn't work for PrintScreen or Pause RTFS (or tell me what OS you tested). |
|||
![]() |
|
vid 02 Aug 2011, 13:31
WinXP 32-bit
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.