#Kvass (vibecoden't)
1 messages · Page 14 of 1
lol
its pretty simple
the entire thing is pretty simple
you pretend to be the CPU
(how to do that is in the programmers manual
)
write some dumb code
search through pteg
gg(?)
set V bit to 0 and if you really want to die you just set the rest of the stuff to 0
me when I stack overflow 
what editor / font ist this
kate and the font is terminus
tfw your framebuffer is total garbage data (its the stack)
google chrome requirements: 1920x1080x32 display (any less would cause overflow)
doesnt chrome have like horrible stack usage or smth
feast upon the stack
switch statements are dumb
for some reason after my arch specific request always was the stack
despite all my attempts it is always t here
there
however it is because i forgot to put break after the architecture specific request code ends
😭
os/2 warp 3 for some reason has a notice specifically for the US government on boot screen
i feel like they ran out of places to put it
this is genuinely the weirdest boot screen in existence
theres a government notice, and it has what i assume to be the os/2 box art on there too
some later version has a slightly saner startup screen
and the SMP release doesnt have any of the copyrights
ik its like a business OS and all but its genuinely weird
the rest of thr OS is weird too
i ran OS/2 warp 4 (with the updates, not the 1996 release) on a thinkpad t42
the backgrounds are in 256 color
the file explorer has colors and good design but it literally feels bland
the font is good but its like the rest of the OS
it's like the most routine font ever
this is the weirdest, yet most routine and average OS ever 😭
the crash screen says contact service representative or something
they made coming to work feel like hypnosis
gg ibm, yo boring as heck

mainframes are insane too
you have a PC with 64 gb of ddr5 and an rtx 5090 as an MMU
as an interrupt controller, you generally have deep blue
1997: IBM RS/6000 SP with 30 PowerPC 604e "High 2" 200 MHz CPUs and 480 custom VLSI second-generation "chess chips"
yeah, this better handle your PS/2 input in less than a microsecond
if a component crashes we have 13 wizards who cast spells to resurrect them
if the wizards break, the components will resurrect them
if both break, we're cooked
if we didnt have a risc-v board that checks the heart pulse of the mightiest wizard of the 13 
i sent my macbook through torture of playing ultrakill through an x86 emulator (rosetta 2) and wine and it is losing less battery charge than me typing here on discord
😭
i have framebuffer write errors

oh
its because my code is BALLS
finally my palette generator got the shades right
before this either the white was "open firmware yellow" or the black was "macbook air blue"
ok so i have glyphs printing
i have to make a reasonable implementation of uhhhhh
something i forogt
i forgot
placePixel with 16 color VGA to 256 color 3-3-2 RGB translator 
what if i make an os/2 larp we need more of those 
my os works way different from os/2 but whatever unleash the [C:\] prompt
wdym rejected
my mmu thing has a skill issue where it decided to not enable access for the framebuffer crap
it maps the rest
except it exploded with the access bits
i found the bug
the PTEG is searched
and like
this is a part of the value set crap
it sets the entry PTE in the PTEG
now look at the PP bit implementation
it sets the first one always
im experiencing what people call "a skill issue"
now it works
there can be hash collisions after all

ALSO I CANT SEE ANYTHING
this is balls
is my framebuffer byteswapped
NOOOOOOOOO
THEY BYTESWAPPED MY FRAMEBUFFER
DUDE
WHAT
fool, im gonna byteswap my colors then
AHAHAHAHAHAHAHHAHAHAHAH!!!!!!!!!!!!!!!!
DEATH UNTO YOU QERMU
wait
no i byteswapped my own colors
DUDEEEEEEEEEEEEEEEEEEEEEEEEE
ima go use the toshiba satellite font
Wasn’t it meant to be a Solaris larp
yes
my os works too differently to be a solaris larp
You don’t even have an OS yet
😭
Though I have a friend that would like an OS/2 larp lol
true
but i have an idea 
i can have ideas right 
yeah me /j
me after using ring 2 on x86-64 
You don’t have to go that far
obv
true
yeah im not your friend /j
i mean i dont really want exactly that but apparently my os ideas match os/2
worryingly
i mean not all of them
obv
You are a friend
but it will probably feel like os/2
i own a thinkpad that has official support for it
i ran os/2 
You get my point
obv
if i really wanted the most accurate ever os/2 larp im going to be using segmentation
literally impossible in x86-64
You could support PowerPC and x86-64 and only use rings 0 and 3 but still have it work similarly
You could also just use backwards compat mode and allow segmentation there :p
Which I think still works
So the kernel is 64 bit but 32bit apps can use segmentation
nah i dont want segmentation im not this much of a degenerate
fair
theres powerpc os2 too
warp 3
i wonder how age verification laws can even affect most os's here
kvass wouldnt really have an account creation screen
what about the darned age verification system call
i aint adding that
account creation screen just feels op
theres no account creation screen your honor, there is a user control panel 
i get sent in jail for the next 4939292928281717 years
who control panel if there is no user
your honor, there are no users 
root control panel
also how are you gonna be installing kvass onto the hard drive?
no
wikipedia has an article
hfs+ will be balls so i need a better fs
bro did not get the reference
your honor, thee shaming thou shall eternally depict on thee legal paper
thats it im adding a "this software does not comply with california law [whatever] and colorado [whatever]" on boot

"so sue me"
in russian this is a little bit freakier
macintosh on russian: "сосуми"
true
or not
hey wait the kernel doesnt have anything its only the GUI crap 
a reasonable counterpoint would only be that the gui would be part of the so called "OS"
ok im now become unlicensed lawyer
this software does not comply with colorado and california state laws - go and sue me :trl: /hj
If you are from California or Colorado, shut the fuck down your pc and delete this copy or else i will get fined $500.000
I would love California to sue me
“This operating system is for use in California and does not adhere to age prompting laws and validation for user applications; Please sue me and see how well this holds up in court”
I'm just not going to comply. I don't live in the US and don't give a toss
if you're not in an affected country they can't do shit, that's not how law works
if you're in the us the situation is a bit different
also something to consider, where will 99% or more of users run your os? in qemu right? so they're running it like an app in another os making the age stuff THAT OSes responsibility
We are in full, knowing, and intentional noncompliance with the age verification requirements of Cal. Civ. Code § 1798.501(a).
i am mr vsid
i gotta go bring back the imagine crashing screen
wait no i need to get interrupts first
the imagine crashing screen will not probably be interrupt induced most of the time but whatever
time for asm routine
idk if i need to flush the TLBs
implementing timers and interrupts
also kernel panic
yes we still have the imagine crashing ascii art 
also this just barely fits into an 80x25 console
so i can have this on x86 text mode too 
also im gonna print the build date after i booted
like i started all the services and crap and can now launch userspace programs
You should compact this a bit more and just have the syscall list on one side and then do a register dump on the other
Along with extra error code info
true
Like you possibly don’t need the args listed there, you just need it to see what happened following the crash so you can add logging yourself
true
@raw prairie i have a regdump but i think its utterly meaningless
i may only dump certain related special registers
maybe a stack trace
im just gonna keep the large syscall tracew
How do you do it :p
On interupt you may make a stack frame you pass to the handler
Which has the reg dump
Then that’s passed to panic
For normal panics from C you have an assembly stub that generates that frame
And passed it with the reg dump
That way it can be much more complete
From inside C?
dont have it anymore 
because im not a degenerate, how am i accessing the info in the stack inside a panic function
there is technically no stack anyway 
ok true
i need interrupts first
how to copy a function except like, unironically i need to do that 
use this one for panic 😄
i literally would use an image on my panic screens, but there is a nonzero change that the state is messed up by a crsah so that you cant exactly go diving into stack drawing images
maybe idk for nonfatal stuff
maybe gui
not kernel,
barely fits into the crash screen

no way kvass is real 
lvass
we had imagine crashing v2
"crashing: reimagined" - apple computer inc 
ok so i have to somehow
- make an assembly stub to jump back to the kernel (very easy)
- copy that stub (very difficult)

literally copy it
like memcpy 😭
i have to do a thing where i have to maintain saved registers

crap i explained it bad
so i need to do a thing where during an interrupt the stub has to check if you are in usermode or in kernelmode
if you were in user mode, the registers have to be restored from some location
if you were in kernel mode, then dont do anything
i want to account for smp even though i dont have support for that

i cant have support for that nr
rn
since like
open fartware


4 evil kernel registers
KERNEL ONLY NO USERSPACE ACCESS AHAHAHAHSJDAHSJDBAHSDBJAHSDBHJASBDHJASHJ IBM I LOVE YOU
i do need a pmm to allocate the crap wall of doom
i wanna do a 64 bit impl of gregloader for the funny now
what in the giggle fart do you mean THERMAL MONITORING
TAU is not garuanteed to exist on all CPUs and in fact doesn't in most
I've only found 2 machines that have it, my iBook G3 and my GameCube
not in my iBook G4, nor my PowerBook G4, nor my Wii(s), nor my Wii U(s)
it also really kinda sucks even on machines it does exist on
it can frequently be off by like up to 20C
fair
bruh
my ibook g3's cpu (750cx) is the source material for the gamecube cpu i think
i think i have the thermal unit™
i feel like its mainly made for embedded applications
wait do you have the 750cx ibook
almost
Gekko was a heavily modified 750CXe
nah Linux reported it as 745/755
it's a 12" Glossy White 600MHz model
i also have a 12 inch white 600mhz model
was yours manufactured in 2001 
those are two different cpus
one is motorola and the other one is IBM
I'm aware
true
idk if im sure i 100% have it
os9 reports it as 750cx
also what linux are you using for it
oh
this certainly exists
-# why doesnt it run on qemu i can only real mac now 
God no
Do x86-64
You will want support for a 32 and 64bit arch early
you're the same person who told me the practically impossible task of doing interrupts before a pmm 
Add x86-16 support

ok so im gonna do a multiboot 2 port and no one can stop me 
i have a chance of getting SMP some time within my lifetime too 
please magic cat man I also ask for x86-16 support
segmentation is even more depressing than powerpc's paging
also its ia16, yall calling it x86-16 is more psychotic than the idea itself 
arguably easier tho
ehhhhhh
set up? yes, actually use? 
i may try if i really want to die
otherwise nah
is 286 ia16??
x86 is 16 bit, ia32 is 32 bit x86, and amd64 is 64 bit x86
also on specifically ia32 paging, i have to probably treat it weird compared to ppc hash tables
which sucks 
might port my bootloader to x86 actually
except i have to rip my own terminal emulator from kvass kernel to get console out 
and also it has to have a boot menu present 
and maybe fat32 support 
i mean honestly not really
my powerpc thing also should have a boot menu, however i want it to expect that you type the boot args in the ofw console
what if i make a dos stub like old linux, i get a console with arguments like i wanted to technically 
also i have a gateway laptop with w98
easy dos access, no copium needed 
at worst i need to write some crap in 16 bit x86 asm
so i went on a mild tangent of now trying to do ia32 gregloader, while having DOS as a firmware 
side project galore
i shouldve just written a regular dos program instead of gregloader 😭
if you want to do an os for anything newer than 2005, use limine or even grub2 atp
i cant really run all forms of my os on anything newer than 2005 too, powerpc died that year 
also i can emulate an RS/6000 40p in qemu, which is actually a powerpc machine that has PS/2 io
allegedly
RS/6000 is IBM's old workstation line
RS stands for RISC system
what if i write a dos 
actually kvass is an os/2 larp already im essentially making a dos anyway
NOOOO THIS FONT IS USED IN FLANTERM
holy crap i found the os2 font
when i get home im gonna try to attempt to use it
866)))
not
flanterm's font is TOSH-SAT.F16 from the vga text mode fonts archive
i use tosh-sat.f14
technically the same font 
what is power pc?
a pc with power or smth, idk
architecture, used in old nintendo and apple stuff
I use BBC512.F8
and also the Xbox 360 and the PlayStation 3 and also 90s-present IBM workstations and servers
And also several space probes
a
so i left the server for a while
Kvass Advanced Professional Operating System Version 3.519 Service Pack 9
so the thing is that i still want to leave the server
the project is still alive
whyyyy :<
rip 😔
kvass has fallen
no idea
Kvass (OS thing™)
i left for an unrelated reason but i burnt out from osdev as well
im making a game engine at the moment
maybe i should remake kvass (THIRD TIME ALREADY)
im probably keeping this dead until i wanna osdev again
might make a progress thread for the game engine tho
indeed
the v stands for game engine
V1
tfw ur burnt out from a hard project so u start another hard project
out of the big 3 kernels only linux does buddy
oh
accidental necro
both NT and XNU do free list of pages
btw do you happen to know which function performs free list page allocation in nt
would be interesting to look at how it does the job in ghidra disassembler
i only know the function for ancient NT
no clue if it still exists
under the same name
but it was MiRemovePageFromList
not that huge actually, but still is a mess https://pastebin.com/LY6TmsxB
unfortunately this symbol is absent today
stand ready for my arrival worms
i figured out what a buddy allocator is
im doing the evil scary struct page thing
o theres a no ai channel
basically i crashed out, left the server, uncrashed out, crashed out again, rejoined the server and thats why i kept leaving all this time
dont feel like elaborating
tldr i likely regressed mentally and im making a 32 bit ia32 OS with multiboot1 for fun
i have set up gdt, idt, virtual memory and a pmm (no vmm really yet)
-# yes in this order its weird
i mean no pmm yet
i set it up, thought it was trash (it wasted 1 page per allocation), nuked it, and now im making a new one
except its the scary one with struct pages and itll probably be a buddy allocator
wait i have to set up a git repo again
how about later
im doing the thing again
this os changed so bad i want a new thread
i cant go there my itoa is vibe coded
thats the only thing tho
the rest isnt clankered through
no way he is back
no i'm a mirage
johann sebastian kvass
i tried fedora kinoite except it sucked and broke my monitor driver i dont recommend it
regular fedora idk i installed it yesterday
fedora kde tho
kde is the objectively better graphical interface 
smh with those immutable/atomic freaks
they never make anything useful smh my head
atomic people are scary
true
they have their file system split in half
A/B stuff?
theres a different partition for / and /home/
you cant access /
therefore theres also no sane package manager
vruh
no dnf only flatpaks 
and also rpm-ostree
ew flatpaks
i can tolerate flatpaks
I can not
fair
i downloaded my minecraft through flatpaks, it somehow runs fine
im gonna get karmad in 3 seconds
minecraft will die on me
and break my monitor forever
do not the monitor
i have a laptop but its plugged to a monitor all the time so i just asked parents that they should help me assemble a pc the next time im buying a computer
its pointless to have a laptop atp
i have a macbook for my actual laptop laptop
the hunt for ram sticks in this economy is crazy
idk here at least its still scary
sure thing
ill go put evil scary text editor for editing things on my computer now
recompile gcc 😭
e(vim)l
anyway tho this os is stupidly basic now because i just gave up whenever something's too complex so im just gonna focus on enjoying making this and not creating linux 2 electric boogaloo
286 protected mode 
I dropped mine entirely 
for the same reason
lore accurate kilo volt ass
we have 33.5 linux 2s already
kilovolts ass is real
always has been
this thing has so much rewrites its actually crazy
ignore all the history this has before you realize this is more deranged than kirby lore 
it has more rewrites than writes
every commit is a rewrite
kvass philosophy
everything is a rewrite

there is no >> redirection
only >
in russia instead of driving we rebuild the car to be in a different place
if the car is broken apart piece by piece and reassembled again somewhere else is the car still itself 
car of theseus

car of kvass
🗣️ 🔥
anyway so i need to finish pmm and then start diong a vmm but its probably like a freelist
the vmm
the pmms probably a buddy alloc
every rewrite done in the world of software development is done with the kvass spirit underpinning it
and kvass blessings
based
astral did something like ts
oh no linux 2
not sure if it still does have it
I mean it can work in practice for how simple it is
but sure
no linux 2
o
u mean like swapping pages n stuff?
yes
it could be relatively simple if u do it in process granularity
so instead of keeping up a working set bullshit u can just yeet entire processes
acpi
scary
scary shit
true
anyway tho ill be online here rarely because this server is scary i rarely write my OS and also i have a life
Kvass (vibecoden't)
where do you generate these lol
idk
Hello!
Prepare for unforeseen consequences.
Best,
Sour.

