Table of Contents
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
The following table shows which library features are implemented for which target platform as of version 0.3.4.
Legend:
✔️ – implemented
⚠️ – implemented, but only partially correctly
⭐️ – implemented, but only conditionally correctly
➖ – no hardware capabilities, or operation is hardware-dependent
❌ – not implemented
6502 computers
feature | C64 | C16/Plus4 | C128 | VIC20 | PET | Atari | Apple 2 | BBC Micro |
---|---|---|---|---|---|---|---|---|
putchar |
✔️ | ✔️ | ✔️ | ✔️ | ⚠️1 | ✔️ | ✔️ | ✔️ |
readkey |
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ❌ |
readline |
✔️2 | ✔️2 | ❌ | ✔️ | ❌ | ❌ | ✔️ | ❌ |
bell |
❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✔️ | ❌ |
set_bg_color |
✔️ | ✔️ | ✔️ | ✔️ | ➖ | ❌ | ❌ | ❌ |
set_border |
✔️ | ✔️ | ✔️ | ✔️ | ➖ | ❌ | ➖ | ➖ |
hardware randomness | ✔️3 | ❌ | ✔️3 | ❌ | ❌ | ✔️4 | ❌ | ❌ |
joystick support | ✔️ | ❌ | ✔️ | ❌ | ❌ | ❌ | ❌ | ❌ |
Notes:
-
Doesn't clear quotation mode after printing a double quote character.
-
Requires BASIC ROM.
-
Uses the SID chip.
-
Uses the POKEY chip.
8080/Z80/6809 computers
feature | ZX Spectrum | PC-88 | CPC | MSX | TRS-80 | Tandy CoCo | Z1013 | CP/M |
---|---|---|---|---|---|---|---|---|
putchar |
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
readkey |
✔️ | ✔️ | ✔️ | ❌ | ✔️ | ✔️ | ✔️ | ❌ |
readline |
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | ✔️ | ✔️ |
bell |
✔️ | ❌ | ❌ | ❌ | ❌ | ❌ | ➖ | ➖ |
set_bg_color |
❌ | ❌ | ❌ | ❌ | ➖ | ➖ | ➖ | ➖ |
set_border |
✔️ | ➖ | ❌ | ❌ | ➖ | ❌ | ➖ | ➖ |
hardware randomness | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | ✔️ | ⭐️1 |
joystick support | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ➖ |
Notes:
- Hardware randomness works if using the
cpm_z80
target, as it requires a Z80 CPU.
Consoles
feature | NES | Game Boy | Atari 2600 | Atari Lynx |
---|---|---|---|---|
putchar |
❌ | ❌ | ❌ | ❌ |
readkey |
❌ | ➖ | ❌ | ➖ |
readline |
❌ | ➖ | ❌ | ➖ |
bell |
❌ | ❌ | ❌ | ❌ |
set_bg_color |
❌ | ❌ | ❌ | ❌ |
set_border |
➖ | ➖ | ➖ | ➖ |
hardware randomness | ❌ | ❌ | ❌ | ❌ |
joystick support | ✔️ | ✔️ | ❌ | ✔️ |