Fixed ID table to match srht

This commit is contained in:
Luxferre
2022-07-28 18:16:34 +03:00
parent 08ed67ff95
commit a954c67814
+33 -33
View File
@@ -124,39 +124,39 @@ On call completion, the `0x07` port value must be set to zero by the ESOP runtim
### Recommended syscall table ### Recommended syscall table
ID |Params |Command|Meaning ID |Params |Command|Meaning
------|-----------------|-------|---------------------------------- ----|-----------------|-------|----------------------------------
`0x00`|1b [data] |`0x20` |Write a byte to serial/debug port `00`|1b [data] |`0x20` |Write a byte to serial/debug port
`0x01`|1s [addr] |`0x41` |Read a byte from serial/debug port `01`|1s [addr] |`0x41` |Read a byte from serial/debug port
`0x02`|1b 3b [data addr]|`0x82` |Write a byte under the 3-byte flash address `02`|1b 3b [data addr]|`0x82` |Write a byte under the 3-byte flash address
`0x03`|1s 3b [addr addr]|`0xa3` |Read a byte under the 3-byte flash address `03`|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 `04`|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 `05`|1b 3b [page addr]|`0x85` |Read a page under the 3-byte flash address
`0x06`|1s [addr] |`0x46` |Read the current system time/date information (5 bytes/40 bits, Unix time) into the address `06`|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 `07`|1s [addr] |`0x47` |Set the current system time/date information (5 bytes/40 bits, Unix time) from the address
`0x08`|||(reserved) `08`|||(reserved)
`0x09`|||(reserved) `09`|||(reserved)
`0x0a`|||(reserved) `0a`|||(reserved)
`0x0b`|||(reserved) `0b`|||(reserved)
`0x0c`|||(reserved) `0c`|||(reserved)
`0x0d`|||(reserved) `0d`|||(reserved)
`0x0e`|||(reserved) `0e`|||(reserved)
`0x0f`|||(reserved) `0f`|||(reserved)
`0x10`|||(reserved) `10`|||(reserved)
`0x11`|||(reserved) `11`|||(reserved)
`0x12`|||(reserved) `12`|||(reserved)
`0x13`|||(reserved) `13`|||(reserved)
`0x14`|||(reserved) `14`|||(reserved)
`0x15`|||(reserved) `15`|||(reserved)
`0x16`|||(reserved) `16`|||(reserved)
`0x17`|||(reserved) `17`|||(reserved)
`0x18`|||(reserved) `18`|||(reserved)
`0x19`|||(reserved) `19`|||(reserved)
`0x1a`|||(reserved) `1a`|||(reserved)
`0x1b`|||(reserved) `1b`|||(reserved)
`0x1c`|||(reserved) `1c`|||(reserved)
`0x1d`|||(reserved) `1d`|||(reserved)
`0x1e`|1b 3b [flag addr]|`0x8e`|Load and run another Uxn/ESOP application from flash address according to the flags `1e`|1b 3b [flag addr]|`0x8e`|Load and run another Uxn/ESOP application from flash address according to the flags
`0x1f`|None |`0x1f`|Halt (required) `1f`|None |`0x1f`|Halt (required)
## Credits ## Credits