GUI screen pack pure MMBasic


Author Message
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 02:53pm 23 Mar 2021      

  Pluto said  Running your demo program I get these speed indications:
-Mk2 shows R 0.833167ms
-Plus shows R 0.587412587ms

-In your picture above R 0.2677322677ms (suppose it is F407).

Both Mk2 and Plus has fast response to the touches. (Using your demo program.) Will be interesting to see how it will be in "real" applications with more processing besides the GUI.


That is good to know. Thanks (those numbers don't actually mean anything). More often it is perception to how the interface works that is important. So long as the user feels their request has been immediately acknowledged, they are seldom bothered too much if it takes a moment to actually do some work.

Yes, the response is directly a function of how often you poll the screen. If your main loop is just zipping round waiting for things to happen dropping in a call to the touch processor will probably be fine. If it gets to be a pain then an interrupt would probably be best - only thing I see there is waiting for the touch to go away (WaitNoTouch) would be operating inside the ISR... not ideal.