#Kvass (vibecoden't)

1 messages · Page 14 of 1

ocean ore
#

no unmap yet

#

i need to add that depresse

tropic tusk
#

lol

ocean ore
#

the entire thing is pretty simple

#

you pretend to be the CPU

#

(how to do that is in the programmers manual trl)

#

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

ocean ore
#

better vmem map

whole heath
grim lance
ocean ore
ocean ore
#

google chrome requirements: 1920x1080x32 display (any less would cause overflow)

#

doesnt chrome have like horrible stack usage or smth

grim lance
#

feast upon the stack

ocean ore
#

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

#

😭

ocean ore
#

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 😭

ocean ore
#

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 KEKW

ocean ore
#

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

#

😭

ocean ore
#

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"

ocean ore
#

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 trl

#

what if i make an os/2 larp we need more of those trl

#

my os works way different from os/2 but whatever unleash the [C:\] prompt

ocean ore
#

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

ocean ore
#

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

ocean ore
#

got terminal

#

i need to add scrolling and crap

ocean ore
#

ima go use the toshiba satellite font

ocean ore
#

im making an os/2 larp

#

you can do nothing about it

raw prairie
ocean ore
#

my os works too differently to be a solaris larp

raw prairie
#

You don’t even have an OS yet

#

😭

#

Though I have a friend that would like an OS/2 larp lol

ocean ore
#

but i have an idea trl

#

i can have ideas right trl

raw prairie
#

You don’t have to go that far

ocean ore
#

obv

raw prairie
#

You just have to make it look and feel like OS/2

#

Also that friend isn’t you

ocean ore
#

true

raw prairie
#

It’s a friend who is old and used OS/2

#

And no it’s not binder

ocean ore
ocean ore
#

worryingly

raw prairie
ocean ore
#

obv

raw prairie
ocean ore
#

but it will probably feel like os/2

raw prairie
#

Just not the friend that owns OS/2 Warp disks

ocean ore
#

i ran os/2 trl

raw prairie
#

You get my point

ocean ore
#

obv

#

if i really wanted the most accurate ever os/2 larp im going to be using segmentation

#

literally impossible in x86-64

raw prairie
#

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

ocean ore
#

nah i dont want segmentation im not this much of a degenerate

ocean ore
#

theres powerpc os2 too

#

warp 3

ocean ore
#

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

ocean ore
#

the GUI depresse

muted talon
ocean ore
#

i get sent in jail for the next 4939292928281717 years

muted talon
ocean ore
muted talon
ocean ore
#

im reading the law

#

man

#

we need loophole depresse

muted talon
#

also how are you gonna be installing kvass onto the hard drive?

ocean ore
#

ATA driver????

#

i mean the mac has funny partition tables

#

idk

muted talon
#

not the driver

#

the way

#

do you know the way

ocean ore
#

wikipedia has an article

#

hfs+ will be balls so i need a better fs

muted talon
ocean ore
#

i dunt knu de wae

muted talon
#

your honor, thee shaming thou shall eternally depict on thee legal paper

ocean ore
ocean ore
#

tfw sosumi

muted talon
#

macintosh on russian: "сосуми"

ocean ore
#

true

ocean ore
#

hey wait the kernel doesnt have anything its only the GUI crap trl

#

a reasonable counterpoint would only be that the gui would be part of the so called "OS"

ocean ore
# ocean ore or not

ok im now become unlicensed lawyer

this software does not comply with colorado and california state laws - go and sue me :trl: /hj

muted talon
raw prairie
#

“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”

gloomy mist
#

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

gloomy mist
#

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

raw prairie
#

I know

ocean ore
#

We are in full, knowing, and intentional noncompliance with the age verification requirements of Cal. Civ. Code § 1798.501(a).
trl

ocean ore
#

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

ocean ore
#

its time to reimagine crashing

#

we had this screen a bunch of time ago

ocean ore
#

implementing timers and interrupts

#

also kernel panic

#

yes we still have the imagine crashing ascii art letsgo

#

also this just barely fits into an 80x25 console

#

so i can have this on x86 text mode too trl

ocean ore
#

like i started all the services and crap and can now launch userspace programs

raw prairie
# ocean ore also kernel panic

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

raw prairie
#

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

ocean ore
#

@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

ocean ore
#

also crap i genuinely need to copy an assembly routine

#

straight up memcpy

raw prairie
#

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

ocean ore
#

ed

raw prairie
#

From inside C?

ocean ore
#

dont have it anymore trl

ocean ore
#

asm stub

raw prairie
#

Why do you put it into an array

#

Instead of the stack

ocean ore
#

because im not a degenerate, how am i accessing the info in the stack inside a panic function

#

there is technically no stack anyway KEKW

ocean ore
#

i need interrupts first

#

how to copy a function except like, unironically i need to do that depresse

gloomy mist
#

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

ocean ore
#

maybe gui

#

not kernel, meme barely fits into the crash screen

gloomy mist
#

would be a good idea for a popup error modal

#

like this

ocean ore
modern shell
#

no way kvass is real flnsh

ocean ore
#

we had imagine crashing v2

#

"crashing: reimagined" - apple computer inc trl

ocean ore
#

ok so i have to somehow

  1. make an assembly stub to jump back to the kernel (very easy)
  2. copy that stub (very difficult)
#

literally copy it

#

like memcpy 😭

ocean ore
#

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

tropic tusk
#

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

ocean ore
#

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

tropic tusk
#

Gekko was a heavily modified 750CXe

tropic tusk
#

it's a 12" Glossy White 600MHz model

ocean ore
#

was yours manufactured in 2001 thinkong

tropic tusk
#

yes iirc

#

I don't think yours has the 750CX lol

ocean ore
#

idk

#

i need to check

ocean ore
#

one is motorola and the other one is IBM

ocean ore
#

maybe we just have the same laptop thinkong

tropic tusk
ocean ore
#

idk if im sure i 100% have it

#

os9 reports it as 750cx

#

also what linux are you using for it

tropic tusk
ocean ore
#

this certainly exists

#

-# why doesnt it run on qemu i can only real mac now depresse

ocean ore
#

ima work on pmm after i get home

#

also im gonna consider 32 bit x86 trl

raw prairie
#

Do x86-64

#

You will want support for a 32 and 64bit arch early

ocean ore
#

you're the same person who told me the practically impossible task of doing interrupts before a pmm trl

ocean ore
#

ppc64

ocean ore
#

ppc64 kvass with SMP letsgo

#

hopium

raw prairie
#

Add x86-16 support

ocean ore
ocean ore
#

ok so im gonna do a multiboot 2 port and no one can stop me trl

#

i have a chance of getting SMP some time within my lifetime too depresse

grim lance
ocean ore
#

also its ia16, yall calling it x86-16 is more psychotic than the idea itself trl

grim lance
ocean ore
#

ehhhhhh

#

set up? yes, actually use? nooo

#

i may try if i really want to die

#

otherwise nah

ocean ore
#

x86 is 16 bit, ia32 is 32 bit x86, and amd64 is 64 bit x86

grim lance
#

it has PMODE and EMS

#

but is still 16-bit

ocean ore
#

which sucks trl

ocean ore
#

might port my bootloader to x86 actually

#

except i have to rip my own terminal emulator from kvass kernel to get console out nooo

#

and also it has to have a boot menu present nooo

#

and maybe fat32 support nooo

ocean ore
#

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 thinkong

#

also i have a gateway laptop with w98

#

easy dos access, no copium needed KEKW

#

at worst i need to write some crap in 16 bit x86 asm

ocean ore
#

so i went on a mild tangent of now trying to do ia32 gregloader, while having DOS as a firmware trl

#

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 KEKW

#

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

ocean ore
#

what if i write a dos trl

#

actually kvass is an os/2 larp already im essentially making a dos anyway

ocean ore
ocean ore
#

holy crap i found the os2 font

#

when i get home im gonna try to attempt to use it

#

866)))

barren sierra
#

flanterm's font is TOSH-SAT.F16 from the vga text mode fonts archive

ocean ore
#

technically the same font depresse

tribal needle
#

what is power pc?

frigid basin
#

a pc with power or smth, idk

muted talon
gloomy mist
tough socket
#

And also several space probes

ocean ore
#

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

modern shell
modern shell
#

rip 😔

frigid basin
#

kvass has fallen

pliant glen
#

no, no

#

it's in a better place now

ocean ore
#

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

ocean ore
pliant glen
#

the v stands for game engine

ocean ore
frigid basin
#

tfw ur burnt out from a hard project so u start another hard project

tough socket
#

out of the big 3 kernels only linux does buddy

#

oh

#

accidental necro

#

both NT and XNU do free list of pages

glacial orchid
#

would be interesting to look at how it does the job in ghidra disassembler

tough socket
#

no clue if it still exists

#

under the same name

#

but it was MiRemovePageFromList

glacial orchid
#

maybe MiGetPage

#

its fking huge

glacial orchid
glacial orchid
ocean ore
#

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

ocean ore
#

thats the only thing tho

#

the rest isnt clankered through

modern shell
#

no way he is back

ocean ore
#

no i'm a mirage

modern shell
#

just as the prophecy foretold

#

the legends were true

#

its him

#

The Kvass

ocean ore
#

johann sebastian kvass

modern shell
#

Saint John Kvass

ocean ore
#

am i gonna be banned for being a fedora user

#

i got bored of arch

modern shell
#

well if it works it works

ocean ore
#

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 trl

modern shell
ocean ore
#

atomic people are scary

modern shell
#

true

ocean ore
#

they have their file system split in half

modern shell
#

A/B stuff?

ocean ore
#

theres a different partition for / and /home/

#

you cant access /

#

therefore theres also no sane package manager

modern shell
#

vruh

ocean ore
#

and also rpm-ostree

modern shell
ocean ore
#

i can tolerate flatpaks

modern shell
#

I can not

ocean ore
#

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

modern shell
#

do not the monitor

ocean ore
#

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

modern shell
ocean ore
#

i think its better now

#

idk if its the best

#

should be better

modern shell
#

idk here at least its still scary

ocean ore
#

fair

#

itll be fine either way tho

modern shell
#

sure thing

ocean ore
#

ill go put evil scary text editor for editing things on my computer now

#

recompile gcc 😭

ocean ore
#

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 trl

modern shell
ocean ore
#

fair

#

you gotta understand tho i dont wanna go insane

modern shell
ocean ore
#

we have 33.5 linux 2s already

ocean ore
modern shell
#

always has been

ocean ore
#

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 trl

modern shell
modern shell
ocean ore
#

everything is a file?

#

false

#

rewrite

#

vfs rewrite #939

modern shell
ocean ore
#

in russia instead of driving we rebuild the car to be in a different place

modern shell
#

if the car is broken apart piece by piece and reassembled again somewhere else is the car still itself thonk

ocean ore
#

car of theseus

modern shell
#

true
car of kvass

ocean ore
#

car of kvass

#

kvass is rewrite

#

we are rewrite

modern shell
#

🗣️ 🔥

ocean ore
#

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

modern shell
# ocean ore we are rewrite

every rewrite done in the world of software development is done with the kvass spirit underpinning it
and kvass blessings

modern shell
modern shell
ocean ore
#

oh no linux 2

modern shell
#

not sure if it still does have it

modern shell
#

but sure
no linux 2

ocean ore
#

true

#

the only thing that might seem like linux 2 is that i wanna add hard drive swap

modern shell
#

o
u mean like swapping pages n stuff?

ocean ore
#

yes

modern shell
#

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

ocean ore
#

and hibernation

#

(even scarier)

modern shell
#

acpi
scary

modern shell
#

scary shit

ocean ore
#

true

#

anyway tho ill be online here rarely because this server is scary i rarely write my OS and also i have a life

modern shell
#

understandable sir

#

enjoy touching grass and writing kvass 🙏

ocean ore
#

Kvass (vibecoden't)

gloomy mist
ocean ore
raven oasis
#

Hello!

Prepare for unforeseen consequences.

Best,
Sour.