Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed May 15, 2022
1 parent bff1466 commit aca2780
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 3 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,24 @@ OS course project.

---

Currently under development, the project is progressing along with the course progress.
The basic development of this course operating system has been completed.

Using `JetBrainsMono` as console font.

`/usr/share/ovmf/OVMF.fd` is required for booting this OS.

## Usage

use `make run` to start the OS, or run as no-graphic mode with `make run RUN_MODE=nographic`

`/usr/share/ovmf/OVMF.fd` is required for booting this OS, you may need to install `ovmf` first. The development work is based on QEMU v7.0.0.

You can put your files to `esp` directory to read them in the OS.

## Demo

![](assets/img/demo1.png)
![](assets/img/demo2.png)
![](assets/img/demo3.png)

## Reference

Expand Down
Binary file added assets/img/demo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/demo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/demo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pkg/app/sh/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ pub fn cat(path: &str, root_dir: &str) {
pub fn cd(path: &str, root_dir: &mut String) {
if path.starts_with("/") {
*root_dir = String::from(path);
return;
}

match path {
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/ttt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn draw_board(state: &[CellState; 9]) {
}

fn get_player_input(state: &[CellState; 9]) -> usize {
println!("Enter the # for your choice (X)");
print!("Enter the # for your choice (X): ");

let guess = lib::stdin().read_line();

Expand Down

0 comments on commit aca2780

Please sign in to comment.