interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / tools / adapter / row.om.in

20 lines · 323 bytes Raw Blame History
1global result uchar 4
2fn main to int
3row = new uchar @W@ 0
4act = new f32 @X@ 0.0
5n = read 0 row 0 @W@
6if ne n @W@
7ret 2
8end
9for i ulong @X@
10put act i f32 sub long rem i 7 3
11end
12bits = dq8_@B@ 0 view row view act 1
13for i ulong 4
14put result i uchar and shr bits mul i 8 255
15end
16if ne write 1 result 0 4 4
17ret 3
18end
19ret 0
20end