GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 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

BranchesTags
Open more actions menu

Latest commit

 

History

1,225 Commits
1,225 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
notes
notes
 
 
src
src
 
 
.clang-format
.clang-format
 
 
.clang-tidy
.clang-tidy
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
compile_commands.json
compile_commands.json
 
 
link.ld
link.ld
 
 
pczero.img
pczero.img
 
 

Repository files navigation

pczero

Experiments with bootable image of x86 and protected mode 32 bit code for the i386 platform.

Written 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 application
  • no dependencies, bare metal

Contains

  • minimal assembler kernel supporting preemptive multitasking (osca.S)
  • minimal C++ kernel (lib.hpp, kernel.hpp)
    • 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.hpp, game.hpp)
    • 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.cpp)

screenshot 2024-03-13--12-07-40

About

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

Topics

bare-metalbootablecppmicrokernelpreemptive-multitaskingprotected-modex86-32x86-assembly

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.