From a9e9586509bce50ffe5ced4072d33e0e7553913e Mon Sep 17 00:00:00 2001 From: husky Date: Mon, 8 Sep 2025 21:04:33 -0700 Subject: [PATCH] add list of shell commands --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af82714..6082fce 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ LBOS_ARCH=riscv32 cargo build --release --target riscv32imac-unknown-none-elf -- cd .. # the following is required to convert the ELF output to the DDI format that lbos uses cd makeddi -run -- ../turntable/target/riscv32imac-unknown-none-elf/release/turntable ../turntable/target/riscv32imac-unknown-none-elf/release/TURNTBL.DDI +cargo run -- ../turntable/target/riscv32imac-unknown-none-elf/release/turntable ../turntable/target/riscv32imac-unknown-none-elf/release/TURNTBL.DDI cd .. ``` ### EXAMPLE.DDI @@ -39,7 +39,7 @@ LBOS_ARCH=riscv32 cargo build --release --target riscv32imac-unknown-none-elf -- cd .. # the following is required to convert the ELF output to the DDI format that lbos uses cd makeddi -run -- ../example/target/riscv32imac-unknown-none-elf/release/example ../example/target/riscv32imac-unknown-none-elf/release/EXAMPLE.DDI +cargo run -- ../example/target/riscv32imac-unknown-none-elf/release/example ../example/target/riscv32imac-unknown-none-elf/release/EXAMPLE.DDI cd .. ``` @@ -68,6 +68,10 @@ qemu-system-riscv32 -machine virt -bios none -drive if=none,format=raw,file=/dev (note that this will take over your terminal and steal CTRL+C, so you'll need to kill it by closing the terminal or manually killing the process) +in the shell you can currently do two things: +- `ls` will list files in the root directory +- `` will run the program `` in the root directory, always capitalize your file name! + ## developing programs currently, the best way to program is to use rust and link to the liblbos library included in this repo, you should be able to using something like