esop

Essential Stack-Operated Phone (concept)
git clone git://git.luxferre.top/esop.git
Log | Files | Refs | README | LICENSE

commit 446d99ea6fcedd11feb5bf150f59e72a220d4898
parent d5cb630a9742961bb66af32f24dd531f33bbae2a
Author: Luxferre <lux@ferre>
Date:   Thu, 28 Jul 2022 18:19:18 +0300

Fixed ID table to match srht

Diffstat:
MREADME.md | 26+++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md @@ -123,19 +123,19 @@ On call completion, the `0x07` port value must be set to zero by the ESOP runtim ### Recommended syscall table -ID (hex)|Params |Command|Meaning ---------|-----------------|-------|---------------------------------- -`00` |1b [data] |`0x20` |Write a byte to serial/debug port -`01 `|1s [addr] |`0x41` |Read a byte from serial/debug port -`02` |1b 3b [data addr]|`0x82` |Write a byte under the 3-byte flash address -`03` |1s 3b [addr addr]|`0xa3` |Read a byte under the 3-byte flash address -`04` |1b 3b [page addr]|`0x84` |Write a page under the 3-byte flash address -`05` |1b 3b [page addr]|`0x85` |Read a page under the 3-byte flash address -`06` |1s [addr] |`0x46` |Read the current system time/date information (5 bytes/40 bits, Unix time) into the address -`07` |1s [addr] |`0x47` |Set the current system time/date information (5 bytes/40 bits, Unix time) from the address -`08-1d` |||(reserved) -`1e` |1b 3b [flag addr]|`0x8e`|Load and run another Uxn/ESOP application from flash address according to the flags -`1f` |None |`0x1f`|Halt (required) +hex ID|Params |Command|Meaning +------|-----------------|-------|---------------------------------- +`00` |1b [data] |`0x20` |Write a byte to serial/debug port +`01` |1s [addr] |`0x41` |Read a byte from serial/debug port +`02` |1b 3b [data addr]|`0x82` |Write a byte under the 3-byte flash address +`03` |1s 3b [addr addr]|`0xa3` |Read a byte under the 3-byte flash address +`04` |1b 3b [page addr]|`0x84` |Write a page under the 3-byte flash address +`05` |1b 3b [page addr]|`0x85` |Read a page under the 3-byte flash address +`06` |1s [addr] |`0x46` |Read the current system time/date information (5 bytes/40 bits, Unix time) into the address +`07` |1s [addr] |`0x47` |Set the current system time/date information (5 bytes/40 bits, Unix time) from the address +`08-1d`|||(reserved) +`1e` |1b 3b [flag addr]|`0x8e`|Load and run another Uxn/ESOP application from flash address according to the flags +`1f` |None |`0x1f`|Halt (required) ## Credits