8000 GitHub - joemas08/comp350ProjectD
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

joemas08/comp350ProjectD

Repository files navigation

Operating System Project

C Assembly Shell

Small operating system written in C and developed on Linux Mint

Operating System Photo

Features

Type Command

  • Prints the contents of a file.
  • Usage: type FILENAME

Exec Command

  • Executes a file.
  • Usage: exec FILENAME

Copy Command

  • Copies a file.
  • Usage: copy FILENAME NEWFILENAME

Create Command

  • Creates a new file.
  • Usage: create FILENAME

Directory Listing Command

  • Lists all files on the system.
  • Usage: dir

Print Character Function

  • Prints a single character.

Main Shell Loop

  • Continuously accepts user input and executes corresponding commands.

Help Information

  • Provides help information for each command if typed on its own:
    • del: Delete a file.
    • dir: List all files on the system.
    • type: Print out contents of a file.
    • exec: Execute a file.
    • copy: Copy a file.
    • create: Create a new file.
    • help: Show commands for the system.

Usage Notes

  • Ensure file names are 6 characters long for relevant commands.
  • Handle file not found scenarios and provide error messages.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/joemas08/comp350ProjectD.git
    

Usage

Run the Operating System:

  1. Compile with
     ./compileOS.sh
  2. Run with
    java -jar simulator.jar
    Boot with disk.img file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0