Architecture: MSX
Format: C Object (SDCC .rel)
Programming language: C and Z80 assembler
Library with basic functions for reading the keyboard of MSX computers.
This library uses functions from the MSX BIOS, so it is designed to create applications in ROM format.
Use them for developing MSX applications using Small Device C Compiler (SDCC).
This project is an Open Source library. You can add part or all of this code in your application development or include it in other libraries/engines.
You can access the documentation here with How to use the library
.
In the source code examples/
, you can find applications for testing and learning purposes.
This library is part of the MSX fR3eL Project.
Enjoy it!
- v1.1 (30/11/2023) update to SDCC (4.1.12) Z80 calling conventions
- v1.0 (7/3/2016) first version
Function | Description |
---|---|
KillBuffer() | Clear keyboard buffer |
INKEY() | Waits for a key press and returns its value |
GetKeyMatrix(row) | Returns the value of the specified line from the keyboard matrix |
In the git project examples/
, you can find the source code of applications for testing and learning purposes.
Test the GetKeyMatrix function.
Test the INKEY function.