forked from AbleOS/ableos
checkpoint
This commit is contained in:
parent
e9e813220b
commit
62c181fb6a
|
@ -8,4 +8,4 @@ authors = ["able"]
|
|||
hblang.version = "1.0.0"
|
||||
|
||||
[build]
|
||||
command = "hblang libraries/stn/src/lib.hb src/main.hb"
|
||||
command = "hblang src/main.hb"
|
||||
|
|
0
sysdata/programs/diskio_driver/spec.md
Normal file
0
sysdata/programs/diskio_driver/spec.md
Normal file
|
@ -1,3 +1,5 @@
|
|||
main := fn(): int {
|
||||
@eca(i32, 1, 1, 1);
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -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 {
|
||||
@eca(i32, 1, 1, 1);
|
||||
loop{
|
||||
|
||||
@eca(i32, 1, 1, 1);
|
||||
modify(&buffer);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
main := fn(): int {
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -17,7 +17,12 @@ resolution = "1024x768x24"
|
|||
|
||||
|
||||
[boot.limine.ableos.modules]
|
||||
|
||||
[boot.limine.ableos.modules.tests]
|
||||
path = "boot:///tests.hbf"
|
||||
|
||||
[boot.limine.ableos.modules.diskio_driver]
|
||||
path = "boot:///diskio_driver.hbf"
|
||||
|
||||
[boot.limine.ableos.modules.fat32_filesystem_driver]
|
||||
path = "boot:///fat32_filesystem_driver.hbf"
|
||||
|
|
Loading…
Reference in a new issue