Post Reply 
Yet another HP simulator (using C + X11)
10-04-2021, 11:15 PM (This post was last modified: 10-04-2021 11:22 PM by Mike T..)
Post: #5
RE: Yet another HP simulator (using C + X11)
(10-04-2021 12:56 PM)vaklaff Wrote:  And one runtime nitpick: the programs looks to be consuming 100% of CPU power even when not being used.

The compiler should detect that you are building on linux and use the usleep() function instead of a generic busy loop.

However, it turns out you also need to add '-std=gnu99' to the compiler flags for this to work. Something else I didn't notice when I upgraded!

I've updated the make file and added in '-fcommon' as well!

(10-04-2021 12:56 PM)vaklaff Wrote:  Overall it's a great start, I love the looks!

So do I, particularly the button animations! :-)

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Yet another HP simulator (using C + X11) - Mike T. - 10-04-2021 11:15 PM



User(s) browsing this thread: 1 Guest(s)