forked from AbleOS/ableos
cleanup
This commit is contained in:
parent
528b1fc66c
commit
b99cb09a74
|
@ -1,16 +1,13 @@
|
||||||
stn := @use("../../../libraries/stn/src/lib.hb")
|
stn := @use("../../../libraries/stn/src/lib.hb");
|
||||||
log := stn.log
|
.{log, string, memory, buffer} := stn
|
||||||
string := stn.string
|
|
||||||
memory := stn.memory
|
|
||||||
buffer := stn.buffer
|
|
||||||
|
|
||||||
/*
|
|
||||||
service_search := fn(): void {
|
service_search := fn(): void {
|
||||||
// a :=
|
a := "\{01}\0"
|
||||||
|
@eca(void, 3, a, string.length)
|
||||||
return;
|
|
||||||
|
return
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
main := fn(): int {
|
main := fn(): int {
|
||||||
// Create a buffer
|
// Create a buffer
|
||||||
|
@ -22,6 +19,8 @@ main := fn(): int {
|
||||||
log.info("abc\0")
|
log.info("abc\0")
|
||||||
memory.release_page(memory_pages, 3)
|
memory.release_page(memory_pages, 3)
|
||||||
|
|
||||||
|
window := windo.create_window()
|
||||||
|
|
||||||
// todo: abstract this out
|
// todo: abstract this out
|
||||||
port_str := "\0\{70}\0"
|
port_str := "\0\{70}\0"
|
||||||
a := @eca(u8, 3, 3, port_str, 2)
|
a := @eca(u8, 3, 3, port_str, 2)
|
||||||
|
|
Loading…
Reference in a new issue