Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calint/pczero
experiments with bootable image of x86 and protected mode 32 bit code for the i386 platform written in assembler and c++ contains: * minimal assembler kernel supporting preemptive multitasking (1 KB) * sample toy application of a 2d game engine
https://github.com/calint/pczero
bootable cpp kernel operating-system preemptive-multitasking protected-mode x86-32 x86-assembly
Last synced: 2 days ago
JSON representation
experiments with bootable image of x86 and protected mode 32 bit code for the i386 platform written in assembler and c++ contains: * minimal assembler kernel supporting preemptive multitasking (1 KB) * sample toy application of a 2d game engine
- Host: GitHub
- URL: https://github.com/calint/pczero
- Owner: calint
- Created: 2023-01-31T13:15:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T19:07:23.000Z (8 months ago)
- Last Synced: 2024-03-26T20:27:22.523Z (8 months ago)
- Topics: bootable, cpp, kernel, operating-system, preemptive-multitasking, protected-mode, x86-32, x86-assembly
- Language: C++
- Homepage:
- Size: 2.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pczero
experiments with bootable image of x86 and protected mode 32 bit code for the i386 platformwritten in assembler and C++
intention:
* travel back to the 80's when the 32 bit intel 386 with math co-processor appeared, equipped with c++ from the future
* write a micro kernel (1 KB) in assembler that does preemptive multitasking
* handle multiple tasks and keyboard with a simple kernel written in c++
* write a small 2d framework for a toy applicationcontains:
* minimal assembler kernel supporting preemptive multitasking (osca.S)
* minimal c++ kernel (lib.h, kernel.h)
- task switch (ctrl+tab)
- enable/disable task (ctrl+F1, F2 etc)
- keyboard focus on tasks that handle input
* sample toy application of a 2d game engine (libge.h, game.h)
- collision detection between convex shapes
- simple targeting system of objects in motion (can easily be extended to 3d and non-linear trajectories)
* sample tasks (main.cc)![screenshot 2024-03-13--12-07-40](https://github.com/calint/pczero/assets/1920811/fdbb313f-c202-411b-9806-6f472d39d167)