mos_8502 :verified: on Nostr: Does this seem like reasonable documentation for a syscall ...
Does this seem like reasonable documentation for a syscall interface?<code>## 0x00: SYS_OPEN<br><br>Arguments:<br> - B: 0x00<br> - A: File pathname address (23:16)<br> - X: File pathname address (15:0)<br><br>This call attempts to open the file specified by the fully qualified pathname<br>provided in the NULL-terminated string pointed to by the provided address.<br><br>On success, the carry flag will be cleared, and the X register will contain the<br>file descriptor for the open file. On error, the carry flag will be set, and<br>the A accumulator will have an error code.<br></code>
Published at
2024-07-08 04:51:12Event JSON
{
"id": "fa7ef2ee8524edf066b2609c6c6975c1fee75ba9dfa27dbb438357984d6c245a",
"pubkey": "04f8915424c713657ad6ce59443d28dbdcf5832687c9af560ae388f59276a137",
"created_at": 1720414272,
"kind": 1,
"tags": [
[
"proxy",
"https://studio8502.ca/@mos_8502/112749069731243723",
"web"
],
[
"proxy",
"https://studio8502.ca/users/mos_8502/statuses/112749069731243723",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://studio8502.ca/users/mos_8502/statuses/112749069731243723",
"pink.momostr"
],
[
"expiration",
"1723006292"
]
],
"content": "Does this seem like reasonable documentation for a syscall interface?\u003ccode\u003e##\u0026nbsp;0x00:\u0026nbsp;SYS_OPEN\u003cbr\u003e\u003cbr\u003eArguments:\u003cbr\u003e - B:\u0026nbsp;0x00\u003cbr\u003e - A:\u0026nbsp;File pathname address (23:16)\u003cbr\u003e - X:\u0026nbsp;File pathname address (15:0)\u003cbr\u003e\u003cbr\u003eThis call attempts to open the file specified by the fully qualified pathname\u003cbr\u003eprovided in the NULL-terminated string pointed to by the provided address.\u003cbr\u003e\u003cbr\u003eOn success, the carry flag will be cleared, and the X register will contain the\u003cbr\u003efile descriptor for the open file. On error, the carry flag will be set, and\u003cbr\u003ethe A\u0026nbsp;accumulator will have an error code.\u003cbr\u003e\u003c/code\u003e",
"sig": "a86d48d8bb88f64d1fe9a15c6ddb3a216e61e6c7b374de5b2049eac7ff548f22b259197be3b800fa72a670b6e9ed45f55e1b144212cfb5839266d673351c87f5"
}