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