First web implementation draft of the draft

This commit is contained in:
Luxferre
2022-07-28 18:14:21 +03:00
parent 5a98969bce
commit 08ed67ff95
5 changed files with 470 additions and 3 deletions
+4 -3
View File
@@ -87,7 +87,7 @@ The lower nibble (bits 0 to 3) of the status can be modified from the applicatio
## Sound output
ESOP supports monophonic sound output with a beeper controllable via `0x06` port. As long as the port value is non-zero, the beeper must emit a sound wave of the specified frequency. The frequency is specified in semitones relative to A4 (440 Hz), with A4 itself being located at `0x80` value.
ESOP supports monophonic sound output with a beeper controllable via `0x06` port. As long as the port value is non-zero, the beeper must emit a sound wave of the specified frequency. The frequency is specified in semitones relative to A4 (440 Hz), with A4 itself being located at `0x30` value.
## System calls
@@ -107,6 +107,7 @@ The only system call required to be implemented in any ESOP-compatible runtime i
- serial/debug port I/O;
- persistent/flash memory I/O (up to 16 MB), operating with 256-byte pages or individual bytes;
- setting and getting datetime information;
- initiating and receiving GSM voice calls;
- sending DTMF signals during active voice calls;
- active voice call manipulation (terminate, hold/unhold, bridge);
@@ -130,8 +131,8 @@ ID |Params |Command|Meaning
`0x03`|1s 3b [addr addr]|`0xa3` |Read a byte under the 3-byte flash address
`0x04`|1b 3b [page addr]|`0x84` |Write a page under the 3-byte flash address
`0x05`|1b 3b [page addr]|`0x85` |Read a page under the 3-byte flash address
`0x06`|||(reserved)
`0x07`|||(reserved)
`0x06`|1s [addr] |`0x46` |Read the current system time/date information (5 bytes/40 bits, Unix time) into the address
`0x07`|1s [addr] |`0x47` |Set the current system time/date information (5 bytes/40 bits, Unix time) from the address
`0x08`|||(reserved)
`0x09`|||(reserved)
`0x0a`|||(reserved)