21 lines
370 B
Plaintext
21 lines
370 B
Plaintext
|
stn := @use("../../../libraries/stn/src/lib.hb");
|
||
|
.{string, memory, buffer} := stn
|
||
|
|
||
|
frame_buffer := @as(^u8, @bitcast(18446603339442421760))
|
||
|
|
||
|
log_info := fn(): void {
|
||
|
a := buffer.search("XNumber\0")
|
||
|
if a == 0 {
|
||
|
} else {
|
||
|
msg := "XABC\0"
|
||
|
msg_length := string.length(msg)
|
||
|
@eca(void, 3, a, msg, msg_length)
|
||
|
}
|
||
|
|
||
|
return
|
||
|
}
|
||
|
|
||
|
main := fn(): int {
|
||
|
log_info()
|
||
|
return 0
|
||
|
}
|