Implementation note change

This commit is contained in:
Luxferre
2022-07-28 18:39:49 +03:00
parent 23da7f4b4f
commit 20578c439f
+1 -1
View File
@@ -47,7 +47,7 @@ The fields of the control block are:
- Sound port (`06`) - the port to perform mono audio beeper operations;
- Syscall port (`07`) - the port to run system calls to the phone's underlying operating system.
Implementation note: direct writing to or reading from the control block memory area must have the same effect as calling the corresponding `DEO`/`DEI` instructions. E.g. if the application directly stores a byte into `#ffff`, the runtime must consider it writing to the `07` control port and process it as a system call.
Implementation note: direct writing to or reading from the control block memory area may have the same effect as calling the corresponding `DEO`/`DEI` instructions. E.g. if the application directly stores a byte into `#ffff`, the runtime may consider it writing to the `07` control port and process it as a system call. For now, this rule is not enforced and `DEO`/`DEI` instructions are the main source of truth when interacting with control block, but this can (and most likely will) change in the future specification versions.
## Screen output