1
0
Fork 0
forked from AbleOS/ableos

throwaway

This commit is contained in:
peony 2024-12-06 20:30:16 +01:00
parent 190f0941dc
commit 0a863bc1f9
3 changed files with 10 additions and 9 deletions

10
Cargo.lock generated
View file

@ -13,9 +13,9 @@ dependencies = [
[[package]] [[package]]
name = "allocator-api2" name = "allocator-api2"
version = "0.2.20" version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
[[package]] [[package]]
name = "anyhow" name = "anyhow"
@ -213,12 +213,12 @@ dependencies = [
[[package]] [[package]]
name = "hbbytecode" name = "hbbytecode"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#cf672beb79378fa2af529e12fd955204da443ac8" source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c553c3d9e9b2a5fbf2e8e32933f039bc4646ef5f"
[[package]] [[package]]
name = "hblang" name = "hblang"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#cf672beb79378fa2af529e12fd955204da443ac8" source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c553c3d9e9b2a5fbf2e8e32933f039bc4646ef5f"
dependencies = [ dependencies = [
"hashbrown", "hashbrown",
"hbbytecode", "hbbytecode",
@ -229,7 +229,7 @@ dependencies = [
[[package]] [[package]]
name = "hbvm" name = "hbvm"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#cf672beb79378fa2af529e12fd955204da443ac8" source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c553c3d9e9b2a5fbf2e8e32933f039bc4646ef5f"
dependencies = [ dependencies = [
"hbbytecode", "hbbytecode",
] ]

View file

@ -9,6 +9,7 @@ port2 := @as(Port, PORT_AT_STARTUP)
$CONTROLLER_PORT := 0x64 $CONTROLLER_PORT := 0x64
$DATA_PORT := 0x60 $DATA_PORT := 0x60
//These are implementations of a few simple controller commands.
$disable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAD) $disable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAD)
$enable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAE) $enable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAE)
$disable_port2 := fn(): void memory.outb(CONTROLLER_PORT, 0xA7) $disable_port2 := fn(): void memory.outb(CONTROLLER_PORT, 0xA7)

View file

@ -34,8 +34,8 @@ resolution = "1024x768x24"
# [boot.limine.ableos.modules.ps2_keyboard_driver] # [boot.limine.ableos.modules.ps2_keyboard_driver]
# path = "boot:///ps2_keyboard_driver.hbf" # path = "boot:///ps2_keyboard_driver.hbf"
# [boot.limine.ableos.modules.ps2_driver] [boot.limine.ableos.modules.ps2_driver]
# path = "boot:///ps2_driver.hbf" path = "boot:///ps2_driver.hbf"
# [boot.limine.ableos.modules.sunset_client] # [boot.limine.ableos.modules.sunset_client]
# path = "boot:///sunset_client.hbf" # path = "boot:///sunset_client.hbf"
@ -43,5 +43,5 @@ resolution = "1024x768x24"
# [boot.limine.ableos.modules.sunset_server] # [boot.limine.ableos.modules.sunset_server]
# path = "boot:///sunset_server.hbf" # path = "boot:///sunset_server.hbf"
[boot.limine.ableos.modules.filesystem_fat32] # [boot.limine.ableos.modules.filesystem_fat32]
path = "boot:///filesystem_fat32.hbf" # path = "boot:///filesystem_fat32.hbf"