compute game state
render game state to a screen
read input from a user
callback that will be executed before every opcode interpretation cycle
create a texture that would be used for rendering
Handling user input
transform the CPU screen map into 3 bytes
don't want to force updating the SDL canvas if the screen state hasn't changed
keep track of the screen state by creating a temp buffer
Only in the case of screen changes, we would update SDL canvas.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.