interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / allen-omega-L694 / L748 / independent-review / probes / provider-semantic-input.om

44 lines · 669 bytes Raw Blame History
1text Smagic "ALNPRV01"
2global Sh uchar 40
3fn sword off ulong v ulong to void
4for i ulong 8
5put Sh add off i uchar and shr v mul i 8 255
6end
7end
8fn shead op ulong now ulong arg ulong size ulong to void
9for i ulong 8
10put Sh i get Smagic i
11end
12sword 8 op
13sword 16 now
14sword 24 arg
15sword 32 size
16end
17fn swrite n ulong to bool
18at = ulong 0
19while lt at n
20left = sub n at
21r = write 1 Sh at left
22if le r 0
23ret false
24end
25at = add at ulong r
26end
27ret true
28end
29fn frame op ulong now ulong arg ulong size ulong to bool
30shead op now arg size
31ret swrite 40
32end
33fn main to int
34if not frame 1 1 77 0
35ret 74
36end
37if not frame 1 2 78 0
38ret 74
39end
40if not frame 6 0 0 0
41ret 74
42end
43ret 0
44end