WebOS – Part One
7 days ago
- #Operating System Simulation
- #Clean Architecture
- #TypeScript
- The author recalls their early fascination with technology, sparked by using a Windows 95 PC during childhood.
- Motivated by curiosity, the author embarked on a project to simulate an operating system (webOS) using TypeScript to deepen their understanding of OS development.
- Initial inspiration came from rumors about Windows 11's Start Menu being built with React Native, leading to a proof of concept recreating Windows XP's UI in React.
- The project evolved beyond front-end styling, incorporating core OS concepts like kernel development, drivers, and firmware, adhering to OOP principles and SOLID design.
- Key decisions included choosing Angular over React for better OOP alignment, simulating hardware components (RAM, GPU, storage), and implementing a BIOS with POST functionality.
- The BIOS class validates hardware, checks boot signatures, and invokes interrupts to transition to kernel mode, setting the stage for future OS features.
- Test-driven development was emphasized, ensuring modularity and scalability while simulating hardware constraints (e.g., memory limits).
- Future work includes expanding the NT Architecture kernel, implementing user/executive modes, and detailing challenges in part two of the series.