1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-09-27 12:57:41 +00:00

Created Library feature coverage per platform (markdown)

Karol Stasiak 2019-06-26 17:05:06 +02:00
parent 189034e865
commit b95320e74d

@ -0,0 +1,65 @@
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` | ✔️ | ✔️ | ✔️ | ✔️ | ⚠️<sup>1</sup> | ✔️ | ✔️ | ✔️
`readkey` | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | ✔️ | ❌ | ❌
`readline` | ✔️<sup>2</sup> | ✔️<sup>2</sup> | ❌ | ❌ | ❌ | ❌ | ❌ | ❌
`bell` | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✔️ | ❌
`set_bg_color` | ✔️ | ✔️ | ✔️ | ✔️ | | ❌ | ❌ | ❌
`set_border` | ✔️ | ✔️ | ✔️ | ✔️ | | ❌ | |
hardware randomness | ✔️<sup>3</sup> | ❌ | ✔️<sup>3</sup> | ❌ | ❌ | ❌ | ❌ | ❌
joystick support | ✔️ | ❌ | ✔️ | ❌ | ❌ | ❌ | ❌ | ❌
##### Notes:
1. Doesn't clear quotation mode after printing a double quote character.
2. Requires BASIC ROM.
3. Uses the SID chip.
### 8080/Z80 computers
feature | ZX Spectrum |PC-88|CPC |MSX |CP/M
--------------------|-------------|-----|----|----|---
`putchar` | ✔️ | ✔️ | ✔️ | ✔️ | ✔️
`readkey` | ✔️ | ✔️ | ✔️ | ❌ | ❌
`readline` | ✔️ | ✔️ | ✔️ | ✔️ | ✔️
`bell` | ✔️ | ❌ | ❌ | ❌ |
`set_bg_color` | ❌ | ❌ | ❌ | ❌ |
`set_border` | ✔️ | | ❌ | ❌ |
hardware randomness | ✔️ | ✔️ | ✔️ | ✔️ | ⭐️<sup>1</sup>
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
-------------------|-----|----------|---------
`putchar` | ❌ | ❌ | ❌
`readkey` | ❌ | | ❌
`readline` | ❌ | | ❌
`bell` | ❌ | ❌ | ❌
`set_bg_color` | ❌ | ❌ | ❌
`set_border` | | |
hardware randomness | ❌ | ❌ | ❌
joystick support | ✔️ | ✔️ | ❌