This tests the mos_getkbmap() functions from the latest AgDev available from https://github.com/pcawte/AgDev
Also gives some idea how to do various game-like things with the keyboard such as testing if a key is pressed, released or held.
Test for some hacks I made for the Agon Light C Compiler so you can read multiple keyboard keys at the same time.
For this to work you will need the modified AgDev from here that includes the keyboard routines
https://github.com/envenomator/AgDev/tree/MOS_1.04_API
This is based off my Agon Light AgDev project template from https://github.com/ncot-tech/agon-template
James Grimwood 4/2/2024 james@ncot.uk