From 0a863bc1f99f908c128956c45fe536af11874e66 Mon Sep 17 00:00:00 2001 From: peony Date: Fri, 6 Dec 2024 20:30:16 +0100 Subject: [PATCH] throwaway --- Cargo.lock | 10 +++++----- sysdata/programs/ps2_driver/src/controller.hb | 1 + sysdata/system_config.toml | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 372dc7d..ecc9cae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "anyhow" @@ -213,12 +213,12 @@ dependencies = [ [[package]] name = "hbbytecode" 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]] name = "hblang" 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 = [ "hashbrown", "hbbytecode", @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "hbvm" 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 = [ "hbbytecode", ] diff --git a/sysdata/programs/ps2_driver/src/controller.hb b/sysdata/programs/ps2_driver/src/controller.hb index 497b460..940eb8f 100644 --- a/sysdata/programs/ps2_driver/src/controller.hb +++ b/sysdata/programs/ps2_driver/src/controller.hb @@ -9,6 +9,7 @@ port2 := @as(Port, PORT_AT_STARTUP) $CONTROLLER_PORT := 0x64 $DATA_PORT := 0x60 +//These are implementations of a few simple controller commands. $disable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAD) $enable_port1 := fn(): void memory.outb(CONTROLLER_PORT, 0xAE) $disable_port2 := fn(): void memory.outb(CONTROLLER_PORT, 0xA7) diff --git a/sysdata/system_config.toml b/sysdata/system_config.toml index d50fab8..b9dd4db 100644 --- a/sysdata/system_config.toml +++ b/sysdata/system_config.toml @@ -34,8 +34,8 @@ resolution = "1024x768x24" # [boot.limine.ableos.modules.ps2_keyboard_driver] # path = "boot:///ps2_keyboard_driver.hbf" -# [boot.limine.ableos.modules.ps2_driver] -# path = "boot:///ps2_driver.hbf" +[boot.limine.ableos.modules.ps2_driver] +path = "boot:///ps2_driver.hbf" # [boot.limine.ableos.modules.sunset_client] # path = "boot:///sunset_client.hbf" @@ -43,5 +43,5 @@ resolution = "1024x768x24" # [boot.limine.ableos.modules.sunset_server] # path = "boot:///sunset_server.hbf" -[boot.limine.ableos.modules.filesystem_fat32] -path = "boot:///filesystem_fat32.hbf" +# [boot.limine.ableos.modules.filesystem_fat32] +# path = "boot:///filesystem_fat32.hbf"