Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/nvidia/om/core/object.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / om / core / object.om` 63 lines ยท 1162 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Copyright 2026 Drake Stapleton 3 fn ord b view uchar 25972 p ulong n ulong to ulong 4 x = ulong 0 5 for i ulong n 6 x = or x shl ulong get b add p i mul i 8 7 end 8 ret x 9 end 10 fn owr b edit uchar 25972 p ulong x ulong n ulong to void 11 for i ulong n 12 put b add p i uchar and shr x mul i 8 255 13 end 14 end 15 fn ocopy b edit uchar 25972 d view uchar 1024 p ulong q ulong n ulong to void 16 for i ulong n 17 put b add p i get d add q i 18 end 19 end 20 fn omobject b edit uchar 25972 d view uchar 1024 v view ulong 8 mode ulong to ulong 21 if eq mode 0 22 n = ord b 40 2 23 k = get v 0 24 z = get v 1 25 if or ge n 32 or ge k 64 gt z 512 26 ret 1 27 end 28 if eq get v 2 0 29 z = 0 30 end 31 p = add 42 mul n 578 32 ocopy b d p 0 k 33 put b add p k uchar 0 34 ocopy b d add p 64 64 z 35 owr b add p 576 z 2 36 owr b 40 add n 1 2 37 ret 0 38 end 39 if eq mode 1 40 n = ord b 18538 2 41 if ge n 64 42 ret 1 43 end 44 p = add 18540 mul n 34 45 owr b p get v 0 2 46 ocopy b d add p 2 0 32 47 owr b 18538 add n 1 2 48 ret 0 49 end 50 n = ord b 20716 2 51 z = get v 1 52 if or ge n 32 gt z 128 53 ret 1 54 end 55 p = add 20718 mul n 132 56 owr b p get v 0 2 57 owr b add p 2 z 2 58 if ne get v 2 0 59 ocopy b d add p 4 0 z 60 end 61 owr b 20716 add n 1 2 62 ret 0 63 end