Author Topic: One shot timer example  (Read 301 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
One shot timer example
« on: August 16, 2021, 03:00:18 PM »
I originally prototyped this in PowerBASIC and it worked OK so I have done a 64 bit MASM version that not only has the thread based timer but a useful enough technique for making a viable bitmap button. To bloat it up a bit, it has a 128 pixel icon to make it "Pretty".  :biggrin:

I removed the OBJ module to get the zip file size down so you need to run "makeit.bat" to get it back.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

stevenxie

  • Member
  • **
  • Posts: 54
Re: One shot timer example
« Reply #1 on: August 16, 2021, 05:48:43 PM »
hi, Hutch,  :thumbsup:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: One shot timer example
« Reply #2 on: August 16, 2021, 07:41:09 PM »
 :biggrin:
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • *****
  • Posts: 1721
  • building nextdoor
Re: One shot timer example
« Reply #3 on: August 16, 2021, 08:05:23 PM »
thanks Hutch :thumbsup:
this convinces me to use thread in my GUI,instead of WM_TIMER
SIMD fan and macro fan
why assembly is fastest is because its switch has no (brakes) breaks
:P
only in 16bit assembly you can get away with "Only words" :P