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 through interslot calls (CALSLT), so that they can be used in MSX-DOS applications.
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 (8/12/2023) update to SDCC (4.1.12) Z80 calling conventions
- v1.0 (2/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.