Skip to content

Sister20/if2230-2023-sosis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOSIS-OS

Tugas Besar IF2230 - Sistem Operasi 2023

Table of Contents

General Information

Milestone 1

Tugas ini akan membuat sebuah Sistem operasi yang akan berjalan pada arsitektur x86 32 bit yang nanti akan dijalankan dengan emulator QEMU.

  • Menyiapkan alat & repository
  • Pembuatan build script
  • Menjalankan sistem operasi
  • Membuat output dengan text
  • Memasuki Protected Mode

Milestone 2

Milestone ini akan berfokus kepada interrupt, simple hardware device driver untuk keyboard & disk, dan file system “FAT32 - IF2230 edition”

  • Interrupt & IDT
  • Keyboard Driver
  • Disk Driver
  • File System
  • CMOS Filesystem

Milestone 3

Milestone ketiga akan berfokus kepada Shell yang berjalan pada User Mode.

  • Paging
  • User Mode
  • Shell

Technologies Used

  1. Window Subsytem for Linux
  2. Ubuntu 20.04 LTS
  3. Netwide assembler
  4. GNU C Compiler
  5. GNU Linker
  6. QEMU - System i386
  7. GNU Make
  8. genisoimage
  9. XServer

Program Features

  1. Kernel
  2. Keyboard
  3. Filesystem
  4. Shell

Setup

  1. For Windows users, install WSL
  2. Using WSL or Linux, install all the requirements in the technologies section
sudo apt update
sudo apt install gcc nasm make qemu-system-x86 genisoimage
  1. For WSL, we recommend installing XServer and creating a shortcut to the XServer binaries with launch configs such as "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto

  2. Clone the github repository by using git clone https://github.com/Sister20/if2230-2023-sosis

Compile and Run

  1. Open WSL or Linux terminal
  2. If using XServer, open XServer using the created shortcut, and run echo ‘export DISPLAY=`grep -oP "(?<=nameserver ).+" /etc/resolv.conf`:0.0’ >> ~/.bashrc in the terminal
  3. run these two commands to enter the user program into the operating system
make disk
make insert-shell
  1. If the OS is unable to start, try opening this repository in Visual Studio Code and start Run and Debug or press F5.

References

  1. Milestone1 Docs
  2. Milestone2 Docs
  3. Milestone3 Docs
  4. Debugger & WSL

Authors

Name NIM
Wilson Tansil 13521054
Eugene Yap Jin Quan 13521074
Alexander Jason 13521100
Jimly Firdaus 13521102

Progress Report

Checkpoint Status
Milestone 1 ✔️
Milestone 2 ✔️
Milestone 3 ✔️