- Add to original:
arr.push
arr.unshift
#!/usr/bin/bash | |
Clock(){ | |
TIME=$(date "+%H:%M:%S") | |
echo -e -n " \uf017 ${TIME}" | |
} | |
Cal() { | |
DATE=$(date +"%Y/%m/%d [%a]") |
org 0 ; We use "org 0" so Relative Virtual Addresses (RVAs) are easy. | |
; This means that when we want an absolute Virtual Address we have | |
; to add IMAGE_BASE to the RVA (or whatever the base of that section is) | |
IMAGE_BASE equ 0x400000 | |
SECT_ALIGN equ 0x200 | |
FILE_ALIGN equ 0x200 | |
msdos_header: | |
.magic db 'MZ' |
Build a https://www.val.town/ val with rust. This is an example of how to compile a rust file to wasm and use it as a val.
Requires rust, wasm-pack and deno.
val.rs
.