You are browsing as a guest. Sign up (or log in) to start making projects!

PyToOS

  • 8 Devlogs
  • 10 Total hours

A batch script that automatically turns a python script into a full operating system with a custom kernel

Ship #1

I made a batch file that converts python into freestanding c (minimally), then into a bin file by compiling it with auto-installing tools!

  • 8 devlogs
  • 10h
  • 5.52x multiplier
  • 53 Stardust
Try project → See source code →
Open comments for this post

1h 29m 26s logged

Devlog #8!!!
i got numbers and maf to workrkkrkrk!!!!
it was very annoying
and at one point it infinite looped and crashed my pc
but its chill now

0
0
11
Open comments for this post

1h 25m 39s logged

Devlog #4!
Made it newline automatically unless you carriage return and added text based colors! imma make a thing to set the WHOLE consoles color. also i would love to get a bootloader to work but i cant be bothered rn so its just the kernel that’s being generated

0
0
13
Open comments for this post

1h 34m 41s logged

Devlog #3!
I wrote some plugs! Now if i make a python file with print(“Hello World”) it will show

0
0
10
Open comments for this post

1h 4m 18s logged

Devlog #2!
I started working on the actual challenge here, which is py to c.. I wrote the first plug but i need to write the code to use it. pain.

image unrelated

0
0
7
Open comments for this post

44m 12s logged

Devlog #1!
I feel so sigma
I made the first batch script
It builds the kernel.c, kernel.asm and linker.ld to a .bin which is a runnable os

it works yipee

the only problem i had was with one of the files (cc1.exe) being too large so i wrote some code to yoink it from google drive!

i also went through the i686-elf-tools and just deleted stuff and it ended up less then a gigabyte which is crazy. its just cc1.exe that takes up 600 megs. also nasm is tiny!

the whole program so far is self contained except that one download but that happens once

it is on github yay

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…