You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
today we read the data from keyboard by handling keyboard interruption and display it on screen, note since signal might arrive at any moment, the handler should execute fast enough. If handle signal and drawing value on screen is happening synchronisely, it will be slow.
Therefore we use a function in int.c to specificly listening to interruptions and set the value to buffer. And in bootpack.c, use the loop to check buffer periodically and print the value if it's set.