Skip to content

Library feature coverage per platform

Karol Stasiak edited this page Sep 29, 2020 · 7 revisions

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:
  1. Doesn't clear quotation mode after printing a double quote character.

  2. Requires BASIC ROM.

  3. Uses the SID chip.

  4. 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:
  1. 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 ✔️ ✔️ ✔️