# AyOS **Repository Path**: Au-Yang/AyOS ## Basic Information - **Project Name**: AyOS - **Description**: 在《操作系统真象还原》的tiny-os基础上,参考xv6系统(x86和RISV-V架构版本),完成AyOS。架构为x86,支持操作系统的基本功能,如内存管理、进程调度、文件系统等。 运行见README。 - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: https://gitee.com/Au-Yang/AyOS - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-11-27 - **Last Updated**: 2023-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AyOS ## Quick Run Clone the repository by ```git clone git@gitee.com:Au-Yang/AyOS.git```. There are two method to run it: * (Deprecated) If you want to run in **Windows**, you must be sure the wsl is installed and commands such as 'wsl nasm ...', 'wsl gcc ...' can run correctly. * Run in **Linux**, taking Ubuntu for example. Ensure that 'gcc', 'nasm' and 'bochs' are installed. About how to install 'bochs', refer [this link](https://blog.csdn.net/qq_44445809/article/details/123256063). Once you completed, change directory to root of repository in local and run ```cd code && make``` to run AyOS. If you run in Linux, it could be stopped after opening an all-black window of bochs just like this: ![image-20230211193513249](md/README/image-20230211193513249.png) When the cmd window outputs: ![image-20230211193609329](md/README/image-20230211193609329.png) it shows that the bochs is in debug mode and have been stopped in the first instruct. Typing 'c' and 'enter' in cmd window, which means 'continue', makes bochs run continue. ![image-20230211193924152](md/README/image-20230211193924152.png)