Keyboard handling
I created IO registers for the Keyboard, with one address for the status and one for the key.
The keys being pressed are detected by swing.
Using this system I created a very simple program to render the last key pressed in the first cell of the text buffer.
Changes
I changed the handling of the load_reg_mem instruction to only read the first byte if it would otherwise read out-of-bounds.
I changed glyph renderer to support more characters
I added a glyph for the comma
Used programs
The keyboard program:
0D 00 00 00 13 44 06 00 00 00 00 00 07 00 0D 01 00 00 13 45 0E 00 00 0B CD 01 05 00
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.