3 ms·
You can do this and more in Zig. The only caveat is that for MMIO you need a volatile pointer. https://www.scattered-thoughts.net/writing/mmio-in-zig/ https://
by Comevius 4y ago
You can do this and more in Zig. The only caveat is that for MMIO you need a volatile pointer.
https://www.scattered-thoughts.net/writing/mmio-in-zig/ https://www.scattered-thoughts.net/writing/mmio-in-zig/
It gets tricky if you need more control over loads and stores, or if there are different address spaces.