#Kvass (vibecoden't)
1 messages · Page 5 of 1
ok nvm im not writing allat
guys i think kvass the kernel straight up is just gonna get a multiboot2 version
no
wait
greg as a multiboot2 executable 

abhorrent type of chainloading
wait
nvm yeah
or not
im too lazy to give it more than ATA support rn
not even cd
ok tbh im just gonna do anything BUT cd booting just to piss people off
im not making a mainstream os anyways
or generic
im special (most likely as in mentally disabled) and kvass users better be special enough to go through this to set up greg

absolute cinema
ima figure out more tmrw
i think im just gonna restrict this to VMs for now, if i set it up on real hw ima tell yall how
itll probably require a bunch of manual setup with windows (7 and older) or linux
happy 10 stars
ok so its quite unfitting for my imaging tool to have an MBR boot sector-er thing
i have to do this for greg though 😔
it cant even create MBR partitions it only does the boot sector crap
ok so im just gonna add a "write MBR boot sector" command because idk how to do it with software like fdisk for lunix
im gonna make a bigger partitioning tool that can actually do hard drives and more file systems but later
no, not expand this one the codebase is trash 
my tool did its job of writing greg 🔥
now time to add file system support
😔
soon will come the great open sourcening
maybe maybe
soon might mean a few months 
the problem isnt feature creep i think im already doing the bare minimum and im also somewhat productive
i just have a lot of garbage to do
as in i have to finish my braindead partitioning tool
also the file system reader-er thing is going to be a library any bozo can use for some reason
idk why would you implement the kvass branded jank but its kvass so it must be everywhere
also the image maker tool is jank but the library wont be as jank
because i want people to actually use the second one
(the image maker might just be required for kvass but its straight up BAD to use)
(the codebase is one around 1000 line main.c file and an interface to talk with my own library thing)
(i intend to make a less crappy hard drive partitioner tool but actually for kvass)
currently main.c is 1187 lines
i think at this point the effectiveness and functionality of a program CAN be measured in lines of code
honestly it works fine im gonna keep it like this
itll either be like windows' diskpart or itll be something of my own idk
yo so like kvass quite literally has to have a monolithic kernel because the modules arent going to be loaded by themselves 
my plan is to have every device driver except hard drive, pci and acpi crap (im gonna probably consider stealing uACPI for that
) to be on the hard drive
so they can be loaded
not exactly my microkernel dreams but whatever i think i have to eat up the consequences of having my own bootloader
were both gonna die before we find out
omggg
i found a way to make kvass
we are getting kvass and gta 6 babyyy
just have to roll that 198485467587649857689457 times now
the most important thing is to not shut off the pc
cuz if i get kvass os copy and i reboot i will lose it
no writable fs yet
in every single classroom i have i get depressingly dark lights
they expect us to not go asleep either
i think what microsoft meant by hybrid kernel is that some drivers are in kernel level

michaelsoft why
i mean i assume they arent included WITH the kernel
they are loaded by the kernel but run at kernel level
i think
The architecture of Windows NT, a line of operating systems produced and sold by Microsoft, is a layered design that consists of two main components, user mode and kernel mode. It is a preemptive, reentrant multitasking operating system, which has been designed to work with uniprocessor and symmetrical multiprocessor (SMP)-based computers. To pr...
ok so they are just loaded into kernel level apparently
this is the stupidest thing ive heard today
cant they just go full microkernel
i dont think i can speak on this matter as the CEO of jank itself but like
😭
@tough socket you might want to comment on this
i would but i recently had a stroke caused by how obese i am which made me forget all of my osdev knowledge
who are you
unfortunate
ignore this entire wikipedia page its junk
that diagram is nonsense
NT doesnt have a microkernel
never did, never was intended to
it is monolithic
NOOOO
THEY LIED TO ME
THEY LIED
i have been marketeded
i mean it does straight up look like a monolithic kernel with most of the services in userspace
or less
what IS a monolithic kernel in the first place
is it everything in the kernel or only certain things
is it a monolithic kernel if it only has one thing in the kernel
or two
basically not a lot
if its not then how many things should be in the kernel before it becomes either a microkernel or a monolithic one
every microkernel that by default uses a display output is technically a monolithic kernel if its the opposite
its a spectrum
abolish the kernel binary
ok wait spectrum how
would it be a microkernel if it has only a hard disk driver and a filesystem driver in the kernel or does anything except graphics output completely ruin the concept of a certain kernel being a microkernel
ok so basically i conclude that anything that does anything except memory allocation, scheduling and process communication is no longer a microkernel
KVASS™®£™¡™£¡™£•ª¡™£ª•¡™£ª•¡™£•¡™¶•¢¡™ªº£•`¡290
idk when
anyway so im making filesystem support library
(its my own file system)
2026
hopefully
FOOLS kvass is delayed to 2033
its when i can finally get free time 
i graduate school in (supposedly) 3 years, then idk what the other 4 years are for
anyways so like school is mkaing my brain go empty
so im sorry theres even less kvass progress now
:(
yall if i burn out again i think you're getting a delay over to 2050
anyway so yeah
sor
guys should greg use VGA text mode or vesa graphics
for the boot menu
actually nvm vesa looks cooler
more color
ayyyy
i mean it already uses vesa
i dont want to remove working crpa
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
i am sorry im gonna self explode too
gta 6 before kvass
ah ah ah ah stayin' alive stayin' alive 
theres burgeria
it exists
or bulgaria
however you spell it 
ok anyways so i for some reason do horribly random openings for every progress report for kvass
i need help 😭
im adding mkdir support to library, soon im gonna add copying, reading and writing files to a partition
removing them extending etc
for those who need context, the "library" is for my filesystem that im making
its supposed to be portable so i can send people kvass filesystem propaganda
I M P L E M E N T I T . 
ok so im gonna rewrite greg once im finished with my library garbage
im not sure if im gonna publish the protocol for it honestly
i probably should
its probably gonna be insanely unreliable
man ykw maybe i should just add grub multiboot2 support 
or not
ok ykw so like greg isnt gonna be like universal at all or anything its gonna suck really badly but im gonna publish the protocol for it anyway when i finish it
ima consider doing grub mb2 support ngl
nuke greg lel
IDEA 2: GREG INTO A MULTIBOOT 2 EXECUTABLE
man i wish there were kvass propaganda posters
guys ive been contacted by greg
"I am King Greg the Terrible. The CIA will be █████ with ██████████ ████████████████████. █████ spared █████ █████ "
anyways so uhhh
file system still exists
king terry the terrible reference in 2026 😔
terry davis glazers are real actually
"he is the only one who created his own compiler"
who said that
where
ill have my biyearly deranged egotistical crash out on them
tiktok comments obviously 
oh nvm then
they cant be corrected
im not going to break my like 7 year streak of never having installed tiktok on my phone
to reply to a tiktok comment
dont even use tiktok i just got bored and watched a video essay on the dude
the guy ended up showing several examples of terry davis glazing 😔
anyway so make directory is being added rn
in high school people looked at me funny if i mentioned id never used tiktok and in adulthood they go "omg im so jealous howwww"
insane
oh
oh crap i just realized
im so lonely because the only people i talk to probably have 15 types of autism at school
ok so thats heavily unrelated but whatever
honestly i dont understand doom scrolling at all
how do you sit there watching random crap for HOURS
NOT EVEN ON A COMPUTER ITS A PHONE
HOW
ok so the make directory function doesnt seem to get invoked at all???
nevermind i didnt press ctrl+s
or maybe its just the os developer syndrome
or insert other obscure hobby here
what is cool these days in like the programming thing
vibe coding? web design???
its like how it says in the bible that people treat evil things as good and good as evil
gotta think of the worst thing ever and thats whats popular these days
uhhhhhhhhh
ai uhh
AI artists?
no wait
CEO of open ai
after what this dude has done i think solving world hunger is a second class priority
wait no thats not a job OR person thats an unholy spirit
the second place on my "things i instantly think of when i hear pure evil" all i get is "satya nadella"
thats also an unholy spirit
holy crap i cant get any jobs that are evil
uhh
NVidia???

all i need is a quadro nvs 160m anyways
as a reddit doomscroller,
you just.... sit there
turn off your brain and keep scrolling
insane
Thats over 64 bit unsigned limit
i dont have limits in my life 
My life is a limit 
No they’re not
And he’s not the only guy with a compiler
Plus he’s a racist asshole
im worried that you havent looked real close to some projects in this server too
what does that have to do with anything, he's mentally ill anyways
it is acceptable to appreciate the work a person did without agreeing with that persons ideology or enabling their mental state
some of the things Terry Davis wrote were quite interesting. its fine to say this, without having to agree with his stance during his life
i think too many people are like "oh oh cancel this, he said bad things"
in this case lets separate the person, from the persons work. as @ocean ore said... he was mentally ill anyway, what he said could be symptoms of that.
in fact, most likely were
anyway...
im worried you havent seen templeOS code 💀
true, i understand its good work
but the things people say is way too much
i didnt, but like theres so much projects inspired by templeos
mine is NOT inspired by templeos but both projects have a similar identity mapped ring 0 memory model
but templeos didn't have networking
also both are written around a custom programming language
but I never set out with the intent of mimicing that
fair
again, im really just talking about people who arent in this type of circle thinking that terry davis is an almighty god or whatever
The outstanding thing about templeOS was the idea, and the time period. And the compiler. He was also great at getting his message out.
He was able to communicate his message really well, and gained a big following.
fair
We have to separate the project from his own thoughts.
I wouldn't hate on TempleOS just cause Terry had some controversial opinions.
this honestly
i dont hate templeos i think people overexaggerate terry's programming skills
he IS very good
having a 3d engine in THAT is INSANE
yo ngl i wanna somehow start testing on real hardware with like pxe and crap
TI84+ CE as a debugger 
Kvass
i am not at liberty to speak of what happened to greg
Kvass (and the greg bootloader)
ARISE
or not
i have a horribly weird idea for boot services and stuff for greg
make greg into an openfirmware larp 
Kvass
explode again your existence is uncertain
MUAHAHAHAHAHAHAHAHAHHABAHBHBSHBAJDABHSJD
anyways so like uhhh
im doing something (kvass related tho)
today i would like to comemorate a great piece of trash that has just commited die and i am very depressed (i wanted to osdev for it but the documentation is bad)
ibook g3 with stupid blue line on screen
i hate it i want to get rid of it im gonna get a heart attack if i dont
i think its an lcd issue but whatever
openfirmware doesnt seem that bad once you dont have to suffer with forth

it looks like BIOS
except its actually good
not really "basic" but it is an IO system
i dont have a description for this
this is truly our kvass
insert deltarune reference here
yo guys so the apple ibook is a sandwich
straight up its a sandwich
the motherboard in the middle, two metal plates surrounding it, and then two plastic plates ( keyboard/mouse and bottom panel)
i have a magnet stuck in the keyboard now
or the handrest thing
my idea was to put a magnet there so the screen would actually close
maybe it helped
maybe
the magnet came from the same computer it was supposed to hide a screw 
uhh some plastic thing fell off
jank™
illegal C

what voodoo magic do people use to compile binutils and gcc on macos
this is insanity
nvm it works
use the built in clang tools mac os provides otherwise it commits explode
i had to compile one of the required gcc libraries (mpc) because homebrew ships the wrong version 
aple :'(
i mean apple doesnt maintain homebrew but this still sucks
holy crap does gnu not know how to make a compiler theres so much warnings
Door stuck
MAGNET STUCK
also i have to move to lunix 
my mac doesnt wanna compile powerpc gcc
Strange
idk it just dies
it worked fine on lunix im gonna do it on lunix then
i think i figured out how to navigate the forbidden openfirmware documentation of doom
The client interface allows client programs (programs that have been loaded and executed under the control of Open Firmware) to make use of services provided by Open Firmware. The interface consists of a set of software procedures and a mechanism for calling and passing arguments and results to and from those procedures.
chapter 6 btw
halt everything i built gcc on mac
MUAHAHAHAHAHA NO LUNIX REQUIRED
well almost
i built like the first half 
ok so it died
windows 11 is so unreliable to the point where plugging in a usb flash drive crashes explorer
WHAT DID YOU BLOCK
ive got this warning the image was obtained from the internet because i couldnt screenshot the actual one
RECEIVED THIS FART AS SOON AS I DOWNLOADED A LINUX DISTRO
I SWEAR MICROSLOP IF YOU ARE USING AI TO DETECT IF I DOWNLOADED GENTOO OR NOT I WILL
actually ykw im already switching away from windows
its fine you can complain while you're still alive 👍
i hope whatever ai you use to detect my file craps itself and bluescreens everyone using winblows 
we need more linux users anyways
like me before i gave THIS crap a chance again
i swear apple might be better at making a "certified unix" than current day microsoft at making something that doesn't piss me off
i am legally required to relate things to kvass so uhhh
kvass is gonna be made on a pc now 👍
ive just read the warning
i truly dont own my computer anymore
MY MACHINE
MINE
MINE ONLY
i am the one who knocks 
microsoft peaked at win7
need to clone ts and call it "baikal" or smth
nyet... "chebureki" is better name
4k сообщений и нету ничего в репо
cheburashka 
as intended the repo must stay empty 
its gonna exist later if the atoms in the universe align right
how did i get 12 stars
this doesnt even exist
(it does but barely)
(it WILL exist trust)
hey that is a fire idea
pivo os
borsch os
ok komrade

should name the package manager "blyat" or smth so it goes something like "blyat install buterbrod"
ngl, buterbrod is a fire program name
maybe call the kernel of the OS "zakwas"
nah its kvass-kernel
call the package buterbrod and call all beta vers of kvass blyat 
yo guys if i get some basic test crap to run on powerpc kvass is gonna be for ppc now
cope 
pc will come tho
i have returned with a need of a desktop environment
kde is boring now
time to enter google
URA
ура 
i just installed archlinux
i am finally
- free from crapdows (it was genuinely painful to open up the laptop to even HAVE to use it)
- can download gcc
no more mingw bs
no i used a mac
tfym mingw what do you think i am a poor person?
nvm mb

ive used arch already i just got tired of kde
so i picked the objectively "best" option and moved to windows
11 home 
use fvwm2 trust
ah, nice
anyway so ima go finally download powerpc gcc so i can abuse my ibook 
and an ide probably i need an ide
nah use a powerbook trust 
they're too expensive im not paying 200 dollars for this especially after knowing how much money that is in my currency (even though it barely costs anything already) 
$75 apple ibook g3 with a mildly borked LCD, take it or leave it 
fair enough
nah but like
10 gb hard disk and 300 mb of ram for 190 dollars
for the one that can run mac os 9 at least
i wanted a mac os 9 computer
i have a mac os 9 computer
i am happy with my crappy mac os 9 computer
anyway so ima put discord and Gnu™ compilah™ colection™
NO SHAMELESS ADVERTISING IN KVASS ONLY MINE HEHEHABEBHAWBEBWAEBHJWAEHJHB
wdym? what advertising? 
yo everyone sees "the original message was deleted" MUAHAHAHAHAH
ONLY I WILL SHAMELESSLY ADVERTISE YOUR TRASH IN MY THREAD
oki
i use neovim
notepad++
im on lunix
the os for commodore 64?
i was going to do that
i want kvass for powerpc
ok nvm
(edited message)
yeah mb, i meant powerp
fair
c
do you have a powerbook actually
no. too poor. just have infinitemac.
oh

powerpc qemu must definitely work it has an openfirmware implementation
(mac and SPARC firmware)
wait... kvass can theoretically run on the Wii then.
the wii has a powerpc chip (broadway)
it has a chip similar to the G3 i think
it was also used on an x86 laptop
the "one laptop per child" laptop used openfirmware
the stupid green one for african children i think
yes
based indeed
they considered an alternative "one child per laptop" where children would be eliminated until there were only as many as there were available laptops but this failed to pass an ethic committee
i think the worst part of porting kvass to the wii is the fight with boron that will inevitably come 
whichever child spins the crank faster gets to live
which crank specifically depends on the supply of the laptop
the idea survived as the inspiration for some of israel's later philanthropic projects however
the crank's energy is relied upon to power every computer in the world
atlas holding earth
wait, what is people's general consensus on destroying the african children to end AI
"destroying the african children"
bro is using the anydesk reverse connection method
launch russian malware which draws a nuke line straight to his location 
(already done on scammer payback)
YOU ARE HACKED BY THE PIDORAS HACKING GROUP, YOU MUST SURRENDER ALL OF YOUR INFO AT THIS VERY INSTANT
when the scammers have a folder called "corses" and inside is a file named "How to become a hacker 2025.pdf"
Pidoras 🔥

Заёбис
true
Doesn’t that mean “fuck yeah”
da
which
i think this does
it's in russian
Заёбис
i know its in russian i speak russian
oh ok
fair
Выучил говорит русский благодаря csgo
im not a ceo of curse words though so i dont think i can self report as eastern european anymore 
My grammar is ass but
I’m an expert in my languages’ swear words
real
guys it is time to build gcc 🔥
which one first, i386 or powerpc
ight
sorry i dont speak french 
"croatian google translate" hits HARD
I’m BOSNIAN
idk if i should even do that but i think i should write a bootloader for openfirmware that will actually boot kvass
But yes jokes aside bosnian and Croatian is the same language
i know greg is supposed to exist but uhh yeah
this
ARTILIJERIJA
We could work on it together
nah i just want to figure out if i even should make a bootloader especially for openfirmware machines
MOJA
BOSNA PONOSNA
they arent well documented though so i probably should for the greater good
port it to x86 later
SAJAREVO ROGATICA VISEGRAD VLASENICA
so i wouldnt have to suffer with writing for a completely different boot thing
chego blyat
ok so any ideas?
yes bootloader or no bootloader
there's no limine and im unsure if grub works

Russian and Bosnian are pretty similar
i think you saying that your grammar is horrible might be true im sorry
maybe idk
They’re both Slavic
true
"Bosnian F*CK" goes hard
kvass casually being a slav containment 
We both say stuff like “govorit” and “Zdravo” even tho you guys say “zdrova”
And we say Na Zdravlje
fair
ok im gonna go compile powerpc gcc and then consider if kvass should directly boot from OF or not
Pov you sneeze in Russia
“Bud zdarov”
kartofel unites us all
idk i think it shouldnt ngl
Dude it would be so based
If you did power pc
It would’ve so unique
There’s no good powerpc hobby kernels
better to not make bootloader first
You could be the first
Yeah you can’t make a bootloader if you don’t know what a kernel needs from it
but porting to x86 will be HORRIBLE without a bootloader
You need to make a kernel then a bootloader
i mean i guess i can just make kvass into an OF executable
real
Just use multiboot or some shi
Idek what that word means
ok so in x86 (little endian) 0xDEADBEEF is actually EF BE AD DE while on PPC (and 68k) its DE AD BE EF
my ahh stuck in little endian AVR-and-MIPS land 😭
Wait is that the whole big endian and little endian thing
Ah ok I remember now
honestly i like big endian more it makes slightly more sense

kvass collectively reviving powerpc 
atlas holding earth number 2
nah imma soon put them out of their misery
hybrid harvard architecture SUCKS
real
no but like idk
there ARE hobby projects with openfirmware, it IS possible
just uh mildly friggin p a i n f u l
its worth it lel
30 articles of documentation STRAIGHT from internet archive 🔥
Straight html 🗣️ 🔥
ok so binutils first
JavaScript hasn’t even been invented yet

powerpc has a documentation similar to the intel SDM
it has 3 books
Netscape navigator ahh
the second book is practically useless
the first one contains instructions
the third one contains a bunch of stuff like interrupts etc
I’ve looked, and it’s still pretty minimal
All the data structures are covered by implementation details aren’t
The SDM actually has some implementation details
i mean
it still explains it
i should figure it out if i try hard enough
we are a braincell sharing community if i cant understand something i will invoke the entire universe to interpret it for me

I’m sure you could get the global descriptor table equivalent in like a night
what gdt? we're on risc wake up 
Yeah
i mean mac os x definitely uses that
And TLB
if mac os x does it then i can too
I’m pretty sure the tlb is a bit strange to work out
It’s not as simple as an invlpg
idk
ima compile gcc then research openfirmware more
i need to figure out where my kernel is actually gonna be loaded at
Why is that a burning question
You can load it wherever the hell you want
It’s your kernel
remap it in paging i think
You can load it at 0x12345678 if you wanted to
where openfirmware loads it im saying
i dont think i should set up virtual memory any time before im done with my requests
with its evil callback function
I mean
unsure if even mac os x does it
I do too
no i mean it came from sun's sparc i think they made the elf format
Oh lmao
insanity
i think i can port kvass to sparc but like
im broke 
real hardware makes me not go insane probably
downloaded binutils and gcc
nah port to 68k trust 🙏
goin back to macintosh
THE macintosh 
68000 HERE I COME
ok but nah later
or never
depends on my sanity with powerpc
monkey to human, back to monke
Man a fun project I did back in the day was making an m68k emulator
30000 lines of code for no reason
honestly im worried that the documentation is gonna be so poor that i will just ragequit
I had so much time to waste as a kid
sounds absolutely fun
but like i found russian firmware as a kid for my htc hd2 im certain i can find powerpc documentation if i try hard enough
Never ported anything to it tho
oof
i dont think i gave binutils the right build settings
whatever itll work 
all i told it is to compile for powerpc
i dont care about the rest
wait
WHERE IS IT BUILDING
reconfigure 
retry
done
ignore my brainfart with running it like on windows
time to build more
gcc time
this will take long :(
im gonna go add binutils to path
makes a directory called "path"
MUAHAHAHAHAHH
ok i need to relog once i finish building gcc and as
or no as
as is built already
binutils 
its so they get actually added to path
AAAAAAAAAAAA
GNU
oof
already happened on mac os
thats why i put linux actually
i want powerpc

its better than wimbows anyway
i think
i still dont trust my computer im still scared of it
(after windows)
michaelsoft binbows
i still expect something stupid to appear when i restart it
true
ok so i am certain 99% of all operating systems in this server are 64 bit
idk why im bored i need to wait for gcc
the 0.5% is 32 bit and 0.4% is probably riscv
maybe unfair odds but still
it feels like it
limine and posix destroyed imagination 😔
i mean its well documented
but still
yep
using glibc 😭
libgcc
not glibc
ok honestly air strike it, no more headers
MUAHAHAHAHAHAHAHAHAHAH
../gcc-src/gcc-15.2.0/configure --target="powerpc-elf" --prefix="$HOME/opt/gcc-ppc" --disable-nls --enable-languages=c,c++ --without-headers --disable-hosted-libstdcxx current gcc config (im gonna save this for later)
my archiver was tweaking out when making the directory thats why its gcc-src/gcc-15.2.0
'#include "file.c"' HITS HARD
there is NO way someone made a site about it: https://glouw.com//2018/08/06/Cheaderless.html
what 
read it as "cheddarless"
its just assembler to prepare to make kvass

kvass revival confirmed?
nvm gcc hates me
(DOESN'T WORK)
new gcc options
im gonna pull this up later to put in a readme.md for people who want to build kvass
i think i have to make target libgcc first
it dies otherwise
ok this seems to be correct
im gonna post the sequence here too
more gcc (DOESN'T WORK)
this config worked fine on 15.1 maybe 15.2 is broken
(DOESN'T WORK)
THE LAST ONE BROKE
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
NO
IT DIED AGAIN
(DOESN'T WORK)
it doesnt know where THE SYSTEM ROOT IS
GNU
WHAT IS THIS
im sorry for so much gcc config scripts
when the os forgets the / directory:
still the same error
ok so when i get home i need to start building gee cee cee
it compiled flawlessly the last time i did it both for i386 and ppc
weird 
binutils was fine
all the options i did for it is just --target="powerpc-elf" and prefix
😔
gcc is a mess
i dont want to use llvm
i want smth that is confirmed 100% working on powerpc 100% of the time
i mean gcc works, but autoconf 
what do eabi targets to
arm-none-eabi powerpc-eabi
ima search
actually if it fails again, im skipping libgcc
NOT glibc
that is different
i dont think i need either 
its a kernel, im implementing my uint64's myself
GCC IS COMPILING AGAIN
i think
i mightve just jinxed it
oh
EVERYONE IF YOU HAVE TROUBLES WITH "configure: error: cannot compute suffix of object files: cannot compile" IN GCC ADD THE POWERPC ASSEMBLERS AND STUFF TO YOUR PATH
or whatever platform
whatever
yall get the point
ok so i need to make the partition on my dum dum kvass system
im gonna give mac os most of the space and kvass gets 6 gb
(mac gets 12.63)
werks
my most technologically advanced build system
im gonna make a libc
yes NOW
STDINT DOESNT EXIST
I NEED TO DEFINE IT SOMEWHERE

ok for now its just gonna have a stdint and thats it
ITS NOT DEFINED IM FR 
or not
uh
hm
oh no
holy crap the c library has so much trash
oh non
nevermind kvass will be porting a c library later im just gonna make a stdint like file as a regular header file 
im too broke to afford this crap
is this how thats supposed to look like
idk man 
wait why is there a second int after short
yes i did the monkey see monkey type 😔
for bool im just gonna use a uint8_t
guys so gnu uhh
doesnt like powerpc
WHAT IS THIS
WHY IS THIS
i think i have to use gcc from 2011
im sorry i didnt want this it just hates me

making a powerpc OS is "so unique" that even GNU DOESNT SUPPORT IT ANYMORE
AAAAAAAAAAAAAAAAAAAAAAAAAAAA
you are using WHAT assembler
YOU DONT COMPILE POWERPC WITH AN X86 ASSEMBLER

i think im supposed to install binutils in the gcc directory
oops 
gcc hates me so much
i cant build it im sorry
im trying to its literally world war 3 with gcc here 
it keeps building wrong i think
peak garbage(tm)
i made it work i think
I HATE GNU
I WANT THEM DEAD
fart works on hopes and dreams
ok so kvass is now mildly unoptimized blame gnu 
libgcc isnt used
MUAHAHAHAHAHAHHAHAHAHAHA
nevermind im trying to get libgcc back
its definitely there
IT WORKED
LETS GOOOOOOOOO 
here's SOME kvass progress 
its not a build system i just formatted a makefile that way
i mean it is (it makes a config file)
but like
ehhhhhhhhhh
also if you want you can read this quick info crap
there's a boot script
mac os uses something like that too
its basically a script with all the forth commands required to boot your system
without it you have to type all these commands yourself and it sucks on ice so just use a script
its like having to browse your EFI partition for your EFI boot file instead of just putting it as an EFI entry
sure, but WHY
replace in the script with from the script
ok so anyway
i now dont even have a hello world os
i have a hello world openfirmware script

i need to somehow boot that crap and not go insane
idk how to automate kvass building
do i just make a thing to automatically put kvass kernel in an iso
make it bootable, etc
i cant make a hard drive image btw openfirmware doesnt understand fat32 or whatever
hfs+, ext2 in qemu's implementation, and iso9660
ok honestly if a user chooses to make a hard drive image i doubt theyre installing it on real hardware
im just gonna ext2 that
honestly im gonna make ext2 the kvass filesystem
its widely supported
though to boot i think you need an hfs+ partition
on macs at least
yeah :/
EFI similarities strike back
problem is that hfs is quite proprietary 
i cant easily make a CD installer
my solution is to make a small program that installs the kernel and boot files and such on an hfs+, and then makes you restart to the cd and continue install
because like
kvass is on an ext2, OF cant even read FAT32, and hfs might be impossible to implement
or is it
nah its not worth it tbh
tbh ima pull an archlinux and make the user install all the garbage manually with an oversized instruction manual to help them 
yeah do that i aint doing this automation crap thats for losers
who even needs precompiled binaries 
no but like i WILL provide precompiled binaries
its kinda hard to compile
hard as in waiting for gcc to build sucks
except like they are compiled, but you need to build the distro yourself what do you think i am a nice person???
as in you make your own disc image
like you put your garbage in and then you type out the autorun script
ngl i should try compiling my own linux
x86 os's are repetitive
i can say that im on powerpc

anyway so i will go the archlinux thing route though except that the kernel will ship on either an iso or an ext2 image and you have to mount and add your software to it
thumbs down if you are pissed at this idea (it wont affect anything i want to know what people think of my opinions)
image will have boot partition with kernel and openfirmware bootscript
disk image is for qemu obv
dad telling me powerpc is pointless because its old
i already know enough about x86 😔
config (autogenerated, except that i enabled the automatic iso maker its disabled by default)
echo -e "text" >> file my one true love
I HAVE BOOTED BOOT SCRIPT
LETS GOOOOOOOOOOO 
also openfirmware cant read iso9660 either
we suffer 😔
only hfs+ cd's
i can install mac os on my emulator though
problem with these is that you cant open them with a common iso tool
I HAVE ACHIEVED INFINITE LOOP (in assembly)
that string exists in the boot script
ignore it its basically decorative
yo guys kate is a cool text editor
vscode users are still respected as human beings 👍
it looks like vscode anyway
this is "mildly" customized though
(i like the font i can read it better)
clangd IS used by default
clinically insane neon theme also included
it says it came from vim so if any vim users are here, i am sorry if i pissed you off by calling your theme a neon clusterfrick in my head
time to have a world war with openfirmware
NO I HAVE TO PROGRAM IN FORTH
{WPOTKL$J<MNEREWK<RUHWNE:(RK>QEWUQNWI:(EKMQ ERWUhjQWN E4
the windows nt port for powerpc mac loads it here tho
steal mindlessly 
i stole shamelessly
and mindlessly
just the boot address 
Why would you steal something that you have no idea what the rationale behind it is
i need a boot address
I mean stealing from real kernels is valid but you gotta know why
it works on real macs
Because there must be some reason it is there
well yes there is
Boot address has nothing to do with if it’s a Mac or soemthing else
m
im gonna go find the other 59000 boot scripts to check if theres any actual reason behind it
if aint then i guess idk it just works 
ok so several boot addresses work
such as 0x80000000
device tree dump :O
ok so my goal is to now print something
ofw has a terminal emulator
im gonna use that for now
cant use "of", that abbreviates to something else 
openfirmware functions are brainfart inducing
this here is a function to get a property of a device from the device tree
this is simple however i still get a stroke from setting this up
please help this is the stupidest bootloadern't ever 
omg is this kvass progress?? 
on powerpc too
MUAHAHAHAHAHAHAHAHAHA
i like the light theme
my dad called the powerpc part stupid but my hobbies aren't supposed to be useful
for some reason if i use it in kate it burns my eyes
the rest of the system is light theme for me
prob gonna steal it
the kate theme?
for my third rewrite
light theme
this light theme
oh
this is openfirmware
it has a piss yellow background on qemu and a white one on actual macs i think
goofy bios 😔
in my 1 project i started small
in my 2 project i immediately jumped into usermode
now i jump into scheduling 
my first project was stealing from the internet, second one exploded, and i am pretty sure its obvious what happened to the first revisions of kvass 
also nice
HOLY CRAP ITS SO COOKED

time to fix
also yes i define this crap with a macro
repeating sucks
i stand there like a statue trying to think of why my fart doesnt boot
turns out i forgot to enable cd boot

also it can be loaded at 2 MiB like in grub multiboot 2
im pretty sure its actually in virtual memory though
its mentioned several times
yo so the problem with openfirmware is that i think i have to use IT'S services for the rest of my life
tfw

like i have to use its memory allocator
etc
if not then ill tell yall
weirdest way to say "we use physical memory if virtual memory is disabled"
i think they're writing it in a way where i'll get a stroke and die
also real mode on powerpc is just no virtual memory
also the spec gives me a brainfart i do not recommend
all of the specs
i think im supposed to be a high ranking IBM engineer to read this not a 14 year old
genuine insanity
so i tell yall the ultimate counterpoint
a little thing called "linux"
by the end of this chinese torture im gonna end up BEING one of these so called high ranking IBM engineers with 11 phd's and automated turrets
i have to memory mapped IO, and paging on powerpc with the worst documentation written by a human to help me

: