flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Main > Event Management | 
| Author | 
 | 
| Melissa 26 May 2018, 23:37 First learn how to do it in particular OS, then do it in assembly. | |||
|  26 May 2018, 23:37 | 
 | 
| Mino 27 May 2018, 07:46 I'm afraid I don't understand. How (and especially why) use an other operating system to then transcribe the events into assembler? | |||
|  27 May 2018, 07:46 | 
 | 
| revolution 27 May 2018, 08:46 Events and I/O are controlled by the OS. It doesn't matter about assembly or HLL, they both still have to ask the OS for help with those things. So I guess Melissa is suggesting to learn about what your OS requires for handling events and only then can you start to write assembly code.
 So, that suggests the question: For which OS do you want to do this? | |||
|  27 May 2018, 08:46 | 
 | 
| Mino 27 May 2018, 09:04 A ok, thanks for the supplements, I understand better now    So the OS is Windows at first, although I'd like to export that later on to UNIX. | |||
|  27 May 2018, 09:04 | 
 | 
| Furs 27 May 2018, 18:49 Well most of the Windows "windows" API is event-driven (if not all of it)...
 Obviously I assume when you say "user presses a button" you mean in YOUR app and not another app's, because the latter is harder. e.g. if it clicks in a button in your app (you need to look up Windows Controls), or inputs something in a text field or whatever. | |||
|  27 May 2018, 18:49 | 
 | 
| Mino 27 May 2018, 20:14 All right, I see better where to go now   Thanks to you! | |||
|  27 May 2018, 20:14 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.