forked from AbleOS/ableos
checkpoint
This commit is contained in:
parent
e9e813220b
commit
62c181fb6a
|
@ -5,29 +5,29 @@ version = "0.2.0"
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
embedded-graphics = "0.7"
|
embedded-graphics = "0.7"
|
||||||
hbvm.git = "https://git.ablecorp.us/ableos/holey-bytes"
|
hbvm.git = "https://git.ablecorp.us/ableos/holey-bytes"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
spin = "0.9"
|
spin = "0.9"
|
||||||
uart_16550 = "0.2"
|
uart_16550 = "0.2"
|
||||||
slab = { version = "0.4", default-features = false }
|
slab = { version = "0.4", default-features = false }
|
||||||
xml.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
xml.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
||||||
versioning.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
versioning.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
||||||
able_graphics_library.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
able_graphics_library.git = "https://git.ablecorp.us/ableos/ableos_userland"
|
||||||
hashbrown = "*"
|
hashbrown = "*"
|
||||||
kiam = "0.1.1"
|
kiam = "0.1.1"
|
||||||
|
|
||||||
[dependencies.limine]
|
[dependencies.limine]
|
||||||
version = "0.1"
|
version = "0.1"
|
||||||
git = "https://github.com/limine-bootloader/limine-rs"
|
git = "https://github.com/limine-bootloader/limine-rs"
|
||||||
|
|
||||||
[dependencies.crossbeam-queue]
|
[dependencies.crossbeam-queue]
|
||||||
version = "0.3"
|
version = "0.3"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["alloc"]
|
features = ["alloc"]
|
||||||
|
|
||||||
[dependencies.clparse]
|
[dependencies.clparse]
|
||||||
git = "https://git.ablecorp.us/ableos/ableos_userland"
|
git = "https://git.ablecorp.us/ableos/ableos_userland"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.derive_more]
|
[dependencies.derive_more]
|
||||||
|
|
|
@ -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"
|
||||||
|
|
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 {
|
main := fn(): int {
|
||||||
|
@eca(i32, 1, 1, 1);
|
||||||
|
|
||||||
return 0;
|
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 {
|
main := fn(): int {
|
||||||
loop {
|
@eca(i32, 1, 1, 1);
|
||||||
|
loop{
|
||||||
|
@eca(i32, 1, 1, 1);
|
||||||
|
modify(&buffer);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
main := fn(): int {
|
main := fn(): int {
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue