checkpoint

This commit is contained in:
Able 2024-06-14 11:48:53 -05:00
parent e9e813220b
commit 62c181fb6a
7 changed files with 39 additions and 16 deletions

View file

@ -8,4 +8,4 @@ authors = ["able"]
hblang.version = "1.0.0" hblang.version = "1.0.0"
[build] [build]
command = "hblang libraries/stn/src/lib.hb src/main.hb" command = "hblang src/main.hb"

View file

View file

@ -1,3 +1,5 @@
main := fn(): int { main := fn(): int {
@eca(i32, 1, 1, 1);
return 0; return 0;
} }

View file

@ -1,7 +1,22 @@
buffer := 18446603339442421960;
send_msg := fn(): int {
msg := 10;
@eca(i32, 3, 1, 2, 1);
return 0;
}
modify := fn(a: ^int): void {
*a = 4294967295;
return;
}
main := fn(): int { main := fn(): int {
loop { @eca(i32, 1, 1, 1);
loop{
@eca(i32, 1, 1, 1);
modify(&buffer);
} }
return 0; return 0;
} }

View file

@ -1,3 +1,4 @@
main := fn(): int { main := fn(): int {
return 0; return 0;
} }

View file

@ -17,7 +17,12 @@ resolution = "1024x768x24"
[boot.limine.ableos.modules] [boot.limine.ableos.modules]
[boot.limine.ableos.modules.tests] [boot.limine.ableos.modules.tests]
path = "boot:///tests.hbf" path = "boot:///tests.hbf"
[boot.limine.ableos.modules.diskio_driver] [boot.limine.ableos.modules.diskio_driver]
path = "boot:///diskio_driver.hbf" path = "boot:///diskio_driver.hbf"
[boot.limine.ableos.modules.fat32_filesystem_driver]
path = "boot:///fat32_filesystem_driver.hbf"