7 Library feature coverage per platform
Karol Stasiak edited this page 2020-09-30 01:45:55 +02:00
This file contains invisible Unicode characters

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:
  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 ✔️ ✔️ ✔️