#Kvass (vibecoden't)

1 messages · Page 12 of 1

ocean ore
#

yall if i have to ban kvass in california or colorado i will do so lololol move out trl

#

idk these laws suck BALLS

#

i ean nobody cares but like

#

this crap is risky trl

#

honestly

#

we can't fight back

#

nobody cares enough to

#

you have all your conveniences already - they're not gonna enter your country, and then they enter your country

#

you complain a little

#

a little group complains a little

#

a little group complains a little about a big group who does a LOT

#

you cant persecute someone you are under control of

#

one button and all of your friends are as if they were dead

#

one button and your house is raided

#

ONE SINGLE BUTTON and YOU WILL DIE

#

people claim the politicians simply dont understand technology

#

oh believe me they do

#

they know enough that most people will be trapped under their ideology

#

they know that everyone is gonna bow down to their laws since they are afraid to fight back

#

you all activists are just as afraid - where are you outside protesting about this?

#

or you cant

#

hm

#

are the activists all teenagers

#

if they are not an adult thats the only excuse i can make up

#

no way

#

WHERE ARE ALL OF YOU WHAT ARE YOU DOING

ocean ore
#

ban the source code

#

theyre gonna approve rhel, theyre gonna approve fedora, just as long as they have their possibly orwellian age practices trl

#

all linux distros are uncensored and available! It's just that some of them are more available than others!

ocean ore
#

"someone else will do it"

#

come to terms - if you accept that no one will do it then someone will do it

#

if the opposite, then nobody will do it

#

its gonns get worse anyway i feel it

#

cant criticize someone under their own platform nooo

#

sadly i forgot to include myself too

#

nobody wants to bother

#

this is the end of the line nooo

#

one more day and this is 1984 nooo

#

actually nvm im of the opinion that california has brain damage

#

wasnt there a law that requires to recognize all gun patterns for 3d printer

#

i hope this monstrocity stays in california (also refered to as the layer of "greed" trl) and never gets out

ocean ore
#

ok so thats enough ultra krill

#

gregloader trl

ocean ore
#

bruh so open fartware sucks a bit at putting crap into virtual memory

#

it maps basically one less page than what i tell it to

#

i tell it to map "1 byte" (yes the map function is in bytes) but it actually rounds down so it allocates 0 pages

#

WHAT

#

like excuse me thinkong

ocean ore
#

paging

#

today i will get to learn if my understanding of fartpc paging is correct

#

these numbers are completely random

#

(they SHOULD be random, these are supposed to be id's used for hashing)

astral pagoda
#

damn

ocean ore
#

ok so when i get home im writing a bunch of page table functions (map, unmap, etc) that basically pretend to be the cpu

#

they search the table like the cpu does

#

including all the hash bullcrap meme

#

i might have a mmu_page_t struct that is used for reference for loading and unloading pages (possibly multiple of them)

#
uint32_t startPhys;
uint32_t startVirt;
uint32_t size; // in pages

uint8_t  allowSupervisor : 1;
uint8_t  allowUser : 1;
uint8_t  allowExecution : 1;
uint8_t  userWritable : 1;

thinkong

#

all powerpcs have the "do not allow execution" bit

#

BEFORE x86 made it cool trl

#

man porting this to x86 might mean sacrificing a bit of security but whatever meme

tough garden
ocean ore
ocean ore
raw prairie
#

dont support thoes CPUs PSP1G_pspTrollar

ocean ore
#

i mean core 2 duo and newer would make sense to support, i guess meme

ocean ore
raw prairie
#

i mean all x86-64 CPUs should have it

ocean ore
#

i mean i should consider doing ppc64

raw prairie
#

unless disabled in bios

ocean ore
raw prairie
ocean ore
#

brah

ocean ore
#

powerpc 64 makes the most sense after this one tho

#

qemu is highly drugged so im not sure about emulation accuracy

tough socket
raw prairie
tough socket
#

x86 was lame!

ocean ore
tough socket
#

by like years and years too

ocean ore
#

i remember your rant about this meme

#

i think

#

but anyway idk which cpu would make sense to move this ordeal to 64 bit, naturally powerpc 64 bit would work

#

except i dont have a powermac and i dont trust qemu to work that much fine with it

#

i have an ibook but thats a 32 bit so i can use qemu 32 bit fine

#

if it explodes on real hardware at least i HAVE real hardware

#

risc-v qemu is probably well done since open source architecture or whatever

#

so im thinking of moving this to risc-v 64 bit if im doing 64 bit

ocean ore
#

im certain all powerpc's have the stupid no execute bit

#

of some form

#

so i assume POWER machines also do

raw prairie
#

wait @tough socket i never noticed that you have IRLQs in your name PSP1G_pspTrollar

#

im about to have to implement them for my debugging stub to work proper heh

ocean ore
#

i apologize for the off topic but wikipedia is genuinely insane

#

i think it might have info on the apple desktop bus

raw prairie
#
  • there is WAYYY less fragmentation lol
ocean ore
raw prairie
#

so if you get over the hurdles it will run on everything

raw prairie
ocean ore
tough socket
#

ADB is from like 1984

#

PS/2 is from later

#

99% sure

ocean ore
tough socket
#

in any case no chance they could have known about PS/2

ocean ore
#

ADB is 1986 and ps/2 is 1987 ig

#

but still tho meme

#

they came out around the same time

tough socket
raw prairie
#

my plan is to add IRQLs so my serial can be at IRQL15 and my debugger can set it to IRQL14 when waiting for serial to tell it things PSP1G_pspTrollar

#

what way i can pause the CPU properly without the cursed AF NMI crap

ocean ore
#

irql 17

raw prairie
#

Thats illegal

ocean ore
ocean ore
tough socket
ocean ore
#

maybe he does

#

did he implement them

tough socket
#

its because ive been shilling NT features since like 2020

raw prairie
tough socket
#

nobody here knew jack about it before that

tough socket
#

he learned it from me

raw prairie
#

Oh lmfaoooo

tough socket
#

whats prism

raw prairie
#

Well IRQLs look like the perfect solution to my problem don’t they?

raw prairie
raw prairie
#

It’s not dead

#

Fully

ocean ore
#

so much for linux compat meme

ocean ore
raw prairie
#

But yeah @tough socket could I ask you about IRQLs more later so you can shill them to me when I try and implement them lol

#

Because from the little I see

#

They are very kool

ocean ore
#

actually, nobody can survive the paging for some reason meme

#

you need to reach nirvana before you can

raw prairie
#

Make an open source PPC paging library

ocean ore
#

i genuinely dont know why the people ive talked to are scared of the paging

ocean ore
ocean ore
#

my sticker 👍

#

i thus shall actually USE the diagram

#

be afraid mortals the shitposts are gonna become actually useful

raw prairie
#

I actually do wonder why mode kernels don’t use IRQLs PSP1G_pspTrollar

#

Will kvass support IRQLs

ocean ore
#

im thinnking of adding support for graphics cards and audio early on for some reason tho meme

#

maybe hard drive swap, my os is kinda designed to work on like 128 mb of ram

#

actually thinking about that

#

hard drive swap is schizophrenically insane

#

id rather make my powermac play ultrakill instead of this meme

raw prairie
#

No that’s normal mmLol

#

But like on 128mb ram

#

Your kernel won’t use nearly that much

#

Even on x86-32 a full TTY userspace is 32mb

#

For Linux*

ocean ore
#

risc jumpscare

raw prairie
#

So you should be fine

ocean ore
#

but some ibooks shipped with like 128 or 256

#

or worse meme

raw prairie
#

I mean that’s to be expected from Apple

#

A fucking 600 dollar laptop in 2026 with 8gb ram a worse processor than the iPhone because they stripped it down further. And it still has a USB 2 port and they placed it in a missleading spot

ocean ore
#

they did put normal amounts of ram tho

#

its not today's apple, they had braincells meme

raw prairie
ocean ore
#

i mean 256 mb of ram was FINE for their cheapest laptop probably

#

but anyways, behold, address

raw prairie
#

Even if it bumped the price up to 700 and 800

ocean ore
#

ok fine i dont use the ports for anything meme

raw prairie
#

No one usb c is 2.0 another is usb 3.0

#

And the port that you wana your your charger in

#

Is the 3.0 port

#

And 8gb ram is unacceptable

#

I want 24gb minimum on any laptop I get in the future

ocean ore
#

my address is now dissected by Machine(TM)

#

0xF1234ABC

ocean ore
#

aint that a crap ton

#

thats a crap ton pain

#

why you need so much

raw prairie
#

My desktop has 32gb ram :p

ocean ore
#

i have 16

raw prairie
#

24gb can be gotten with two 12gb ddr5 sticks in modern laptops

ocean ore
ocean ore
#

but why do you need the dedotated wham

raw prairie
#

I play modded Minecraft and that can gobble up ran somtimes

#

I’ve had it OOM on my laptop with 16gb ram only having zram

ocean ore
#

zram?

#

also ive seen like two people say that they need gigatons of ram to play modded minecraft

#

cope, it works fine on my machine meme

raw prairie
#

zram is compressed ram for swap

raw prairie
ocean ore
#

yall i just realized

#

this is utterly psychotic

#

this paging sucks balls

#

beyond human comprehension

ocean ore
#

wait no this might be wrong thinkong

frigid basin
raw prairie
raw prairie
#

Yes

#

But use more XORs

ocean ore
#

i thought of a scary pmm idea but i think i just realized how to make a buddy allocator

#

or not

#

how do these work again meme

#

wait

#

hash map pmm trl /hugej

muted talon
#

brotato

#

when you will port kvass on x86

#

use clamboot as a bootloader

#

(it will be done already probably)

ocean ore
#

also can someone send me a huge text wall on how buddy allocators work

#

please speed im interested my brain is kinda empty meme

muted talon
ocean ore
#

🔥 🔥 🔥 🔥 🔥 🔥

#

anyway

#

yall i genuinely dont understand them

#

send help

#

ykw im just gonna do my alloc idea when the time comes

#

its gonna be the best alloc - utter magnificence /j meme

raw prairie
#

Why not use a freelist

#

Then for devices use scatter gather DMA

#

Iirc NT does this

ocean ore
raw prairie
#

Your fine

ocean ore
#

whats that

raw prairie
#

That’s the point of paging

#

So you can have fragmented physical memory

#

But contiguous virtual

ocean ore
#

or whut

raw prairie
#

Like two pages that meet up

ocean ore
raw prairie
#

Like 0x0000 and 0x1000 and 0x2000

#

That’s contagious

#

Contiguous

ocean ore
#

if two pages meet up theyre being merged trl

#

im willing to dig through the entire freelist every time i alloc MUAHAHAHAHAHABAHAHAHAHAB

#

still faster than a bitmap

raw prairie
#

You don’t need contiguous pages that’s the point

#

That’s why a freelist is fine ;p

ocean ore
#

fine ima freelist

#

i need my paging implementation first

#

im afraid im doing it wrong because ppc is insanity

raw prairie
#

Power pc paging be like

raw prairie
ocean ore
ocean ore
#

crazy?

#

i was crazy once

#

they locked me in a room

#

a rubber room

#

a rubber room with hash maps

#

and hash maps

#

they make me crazy

muted talon
tough socket
#

It's just a list of page frames

#

That you can pop and push items from

ocean ore
#

true

#

honestly sure with the freelist crap but like i still want to know how buddy allocators actually work meme

#

ive heard several explanations

#

i understood none

tough socket
#

Have you looked at ancient XNU releases for hints on how to do PPC paging

#

Amit Singh's book Mac OS X Internals is from like 2004 and describes how they use paging on PPC

ocean ore
ocean ore
#

explains a bunch of crap

tough socket
ocean ore
#

honestly true i guess

#

apple devs might have a bit more braincells

tough socket
#

I'm somewhat stunned you haven't already looked there

#

Getting to empathize with other kernel devs who had to figure out the same shit you are is like one of the most satisfying ways to learn things like this

ocean ore
#

i did use the mac os x bootIoader for some reference of navigating open firmware's calls

#

til the 256 color palettes use 24 bit colors for reference meme

#

im thinking of feeding the palette rgb stuff instead of a bunch of grays like the mac people did

#

i need to convert 8-8-8 rgb to 3-3-2 rgb or whatever tho

#

i have an idea for an allocator but im worried the allocation crap might require a few gigabytes

#

for 128 mb meme

#

actually wait if i redo it a little i can have a reasonable pmm

ocean ore
ocean ore
#

basically behold, my idea in the worst format possible trl

#

big array meme

#

if i reinvented something dont crucify me

#

im thinking of having smaller arrays instead of one big one

#

space saving on old hardware

ocean ore
#

hopefully

#

69420 tiers meme

#

this is literally a slightly faster bitmap

wet barn
ocean ore
ocean ore
#

i got blocked by some dude

#

whatever meme

#

so kvass

#

returning to this xor crap

#

idk i set my address to 0xFFFFFFFF

raw prairie
#

You know what an xor is right

ocean ore
raw prairie
#

Good

ocean ore
#

put a 0xFFFFFFFF mask over it

#

1s are 0 and 0s are 1s

raw prairie
#

if you xor a number with its self its zero

#

and thats faster than a mov

ocean ore
#

what 😭

raw prairie
#

but on x86 never do xor rax, rax mmLol

#

because its slower

#

somtimes

ocean ore
#

crap86

#

SOMETIMES

raw prairie
#

always do xor eax, eax which still clears the upper bits

#

and is always faster

ocean ore
#

who made this 😭

#

anyways i should actually work on this

#

so i got the table hash

#

and i lost the diagram

#

and i need to find it again

raw prairie
ocean ore
#

oh

raw prairie
#

because you dont need the extra byte for 64bit code

ocean ore
#

intel microcode bugs go hard

#

do you remember the pentium M thing meme

raw prairie
#

and for 32bit compat. all operations with 32bit regissters zero the upper 32 bits of it. as they are the same as 64 bit ones

#

just a slice of it

#

16 bit registers dont do thus btw iirc

ocean ore
#

oops

#

idk they gotta have a testing suite

#

why didnt the pentium M crap have a PAE test

#

😭

ocean ore
#

this is diarrhea

#

actually no wait this is ine

#

fine

#

probably

#

idk its less registers to waste

#

idk how this works on powerpc

#

i think the 32 registers are gonna actually become 16 registers meme

#

or not

#

no i dont think they do

#

its 32 registers

raw prairie
#

this is a great wruteup

ocean ore
#

i guess im gonna implement a NUM_ZERO macro and it uses it instead of mov meme

#

i hope

#

💀

raw prairie
#

Do not try and outsmart the compiler

ocean ore
ocean ore
#

anyways so currently i have to implement this part of the diagram™

raw prairie
#

Just if you go and write x86-64 assembly

raw prairie
#

It’s somthing to keep in mind ;3

ocean ore
ocean ore
#

wait

#

idk waht i said

#

what do i move into pteg addr

#

it looks like the top 3 of the first 9 bits are moved at preg and the rest of the 10 bits are grabbed meme

#

MOVED AT PREG KEKW

#

🔥🔥🔥🔥

#

surreal feeling when there are no new messages at the server

ocean ore
#

i did a lazy

#

i played crap ton of ultrakill

#

but anyway so ive got the bits the diagram wants from me

ocean ore
#

then what do i have to do in the ritual here

#

best var name btw

#

idk what to call it

#

/gen

ocean ore
#

way better than thing1 at least

#

got PTE number

#

utterly deranged i say

ocean ore
#

i forgot to send paging

#

i got my address together

#

have some binary crap no one can understand

#

👍

#

i need to replace FFFF with the actual pt address

#

my utoa sucks balls

#

aaaaaaaaaaaaaa

#

what if i evaporate and make a new account meme

#

no traces of my existence

#

idek

#

i have too much to just yeet it out the window

#

im just mildly pissed at an argument that happened today

#

yall shouldnt care, its just annoying that if im in a good mood something will HAVE to ruin it

#

venting in an os progress thread, it cant get any worse pain

#

anyways so maybe i should take a break from discord

ocean ore
#

which is sad but understandable

#

whatever i definitely should stop lamenting about that

#

you cant have everybody liking you meme

ocean ore
#

so here's the fart basically

#

my goal is to uhhh

#

turn that to a virtual address meme

#

also why did it change to 29828

#

what thinkong

#

where should powerpc pagetables be aligned at

#

i just wanna make sure

#

IM DOING MY CRAP WRONG

#

RRRRRAKUJHUQWB

ocean ore
#

i have to offset it 32-12 bits to the left

#

that is 20 bits for the mathematically impaired

#

binary number that i refuse to describe where

#

:(

#

THATS NOT THE ADDRESS

#

im tired boss 😭

#

fine im gonna lock in

#

this feels like terminal lucidity

#

actually this isnt even terminal lucidity anymore i feel dead

#

so the PT address is 16 bit long

ocean ore
#

they smoked something

#

if i discover something more stupid im gonna probably be able to guess how severe of a drug that was

#

so basically the HTABORG address is turned to 16 bit, 3 bits are cut off, its then shifted left by idk 20???

#

conclusion: the substances are illegal

#

i need to do this with the addresses they give me

#

chatgippity made me a macro to print a binary with all of the bytes into a string but then got the byte order wrong meme

muted talon
ocean ore
#

brain fried

muted talon
#

roasted at 380*C for 800 hours

#

uebi

ocean ore
#

uefi

muted talon
#

uebi

ocean ore
#

how to confuse american

muted talon
#

read uebi in russian

ocean ore
muted talon
ocean ore
#

suka

#

resurrect otos for powerpc

muted talon
#

pizdec nahui pidor ti ahuel

#

ahem

ocean ore
muted talon
#

does gregloader still exist even

#

grub vs clamboot vs limine vs gregloader

#

who will come out on top 🇵 🇮 🇩 🇴 🇷

#

(its limine btw)

ocean ore
#

oh wait you said that

#

poop

ocean ore
muted talon
#

grub vs clamboot, limine vs gregloader

ocean ore
#

lomine™®®£™¢¡º•™ª

ocean ore
muted talon
#

i agree

#

grub vs clamboot

ocean ore
muted talon
#

limine boot protocol is 64 bit only

#

clamboot and grub are 32 bit

ocean ore
muted talon
#

greg is ppc

ocean ore
#

ppc is a bitness now thinkong

muted talon
#

i mean x86

#

fuck

ocean ore
#

x86-128

muted talon
#

okay greg cant run on x86

ocean ore
#

it will later meme

ocean ore
#

im gonna die before i do it

muted talon
#

oh okay then

#

+1 competitor later then

ocean ore
#

+1 or minus 1

muted talon
#

+1

ocean ore
#

0.5

muted talon
#

when you start porting greg to x86 i will send a missile to your computer

#

i want no competition

#

oh wait cancel

#

competition is healthy

#

i need that

ocean ore
ocean ore
#

im being VIOLENTLY and BRUTALLY trolled by IBM

#

this is an intentional joke

#

this feels like fraud in ultrakill

#

"oh look a checkpo-" lol no you're gonna bounce on a bunch of lightbulbs

#

"a basic cubical room" no, the center of the room is gonna slide up and enemies are gonna appear in reverse gravity

#

"a door leading to " a bossfight room that happened at least 15 levels ago

#

"are we fighting a fraud of the boss" wrong, you're fighting his simps instead meme

#

but anyway im gonna go rewrite all me paging code

#

MUAHAHAHAHAHAHAH

ocean ore
#

my address has to be 64 kilograms aligned

#

no but like idk its wrong even with 128k alignment

#

how do i allocate memory for these darn tables

#

wait

#

wait wait wait

#

oh no

#

oh

#

they have to be 64k aligned

#

FOOL I ALIGNED THEM 128 K STOP COMPLAINING

#

i concluded i have to align them by 1 mib

#

no wait its 64 k again

tough socket
ocean ore
#

however the thing is that only the first 12 bits of the address are used in the actual pte search and the other 3 bits are pulled from the hash

#

which sounds correct, since if these 3 bits of the hash were somehow 0, it would be the start of the table

#

basically this is the address of the table and my small rant printed out

#

i wonder

#

i think it has to be an address way high up in memory

#

el this crap

#

so my question is that 0x23000 isnt a full 32 bit address

#

so the address looks like this???

#

so its 1 mb

#

the 1 mib alignment is so stupid because i only have 128 of these pain

#

i wonder what an OS with a non euclidean GUI would look like meme

ocean ore
#

memory map of doom 😭

#

but we have the concept of bootloader reclaimable ram for a reason meme

ocean ore
#

im just gonna send it here

ocean ore
# ocean ore

if its not 1 mib aligned, im just gonna align it by that because why not

#

"memory safety guys meme" - rust people

#

wait i have a better idea

#

allocate from the top of the memory map meme

#

its gonna solve the problem i hope

#

b e t t e r

#

yeah it should be 1 mib aligned

#

what if i just keep drafting memory until its address is more than 1 mb

#

just in general greater than 1 mib

#

because this paging sucks balls or something

#

wait

#

thats 64 kilobyte aligned

ocean ore
# ocean ore

64 kib isnt fine since these top 3 bits get cooked

#

one more 0 boys meme

#

better

#

1 megabyte

#

PLASMA BANNED ME FROM MY OWN ACCOUNT

#

I CANT EVEN PLAY ULTRAKILL ANYMORE

#

my pc locked for 10 minutes

#

💔

#

ima restart

#

i think i saved everything

#

except the terminal command to test this

ocean ore
#

paging rewrite

#

yall i want a "debug stdout" thing

#

where it prints a crap ton of crap onto there

#

and then i can use it in like a kernel panic

#

also i forgot to post the address im actually looking for

raw prairie
ocean ore
#

i just restarted my computer

#

stupid people protection

#

i print the entire 32 bit number

#

its good for utility

ocean ore
#

i found the UltraSPARC spec

#

if the mmu doesnt suck balls again i might port my crap to that meme

#

maybe SPARC V8

#

currently i want a ppc64, SPARC V8 and UltraSPARC (V9) port meme

ocean ore
#

what if i make a CPU

#

i like the load-store system a lot

ocean ore
#

hmmmm

#

a wise man once said, "I know a guy."

ocean ore
#

their compiler no have switch statements

#

im not elaborating on who meme

#

@raw prairie oh also did you upload the instruction manual of doom and evil

#

i am claculate pteg

#

final address (at least the 0xF980 part) matches

#

i have to OR it with the start of the thing now

#

i did the same addresses as in the example to make sure i had everything done right

#

now it matches the diagram

#

i did it

#

i saved the world

#

I SURVIVED POWERCRAP PAGING

#

i expected to be slightly more excited

#

whatever(TM)

#

wait

#

the htabmask

#

bruh it says its explicitly shown in the figure

#

the process of ANDing it with something

#

where KEKW

#

wait

#

WAIT WAIT IWAIT IWA

#

NO NO NO NO NO

#

NO

#

NO NO NO NONO

#

AAAAAAAAAAAAA

#

the number of bits in the HTABMASK determines how many bits are added to the left of bit 15

#

I AM NOT DONE WITH THIS I AM TRAPPED

#

AAAAAAAAAAAAAAAAAAAAAAAAA

raw prairie
ocean ore
#

i did it i calculatedeth the stupid paging

#

ima take a break and move my elf parser so i can reuse it in my kernel later

tough garden
#

PowerShit™

ocean ore
#

dudududududududdudududududuudud

#

whombwhombwghombhwomhb

#

anyways im making a cpu architecture for some reason meme

#

load/store risc and all meme

tough garden
#

make it 128 bit

ocean ore
#

i want to give it SANE paging that wont make me want to kill myself

ocean ore
whole heath
#

pagemification

tough garden
#

247 bit paging

ocean ore
#

MUAHAHAHAHAHAHAHAH

tough garden
#

literally itanium

ocean ore
#

least psychotic itanium ripoff

#

i mean itanium is weird honestly

tough garden
#

give it 8.3 registers

ocean ore
#

what 😭

tough garden
#

give it .3 of a register

ocean ore
#

but why

tough garden
#

because I said so

ocean ore
#

you jump to a location in a register meme

whole heath
#

That's not weird at all

tough garden
#

actually can x86 not do that

ocean ore
whole heath
#

x86 can do that

ocean ore
#

i thought you usually jump to a memory address

whole heath
whole heath
whole heath
#

Those work with jump to register

ocean ore
#

caps lock abuse

#

fair enough

#

i mean my thing with the jump on register is that you have to pull the address from another memory location meme

#

you cant just move it into the register with a move instruction, the move instruction only moves from a register to another register KEKW

whole heath
#

What

#

Why have jump **register but not jump *register

ocean ore
whole heath
#

You do realize this is going to make it super hard to get support on mainstream C compilers right?

ocean ore
#

fair

#

fine im gonna make move move numbers in the binary into a register

#

idk move r0, 0xC0000000 is valid now

whole heath
#

This just sounds like you're creating an intentionally unusable and esoteric arch

ocean ore
#

nah id say its quite tolerable

#

currently only 22 instructions meme

whole heath
#

If I had to guess you don't design CPUs as a hobby whereas I do

ocean ore
whole heath
#

And I'm telling you from what I've learned this is all sorts of bad ideas

ocean ore
#

now i do but like

ocean ore
#

ok honestly some of this design sucks balls

#

half the instructions require you to use numbers in registers when they could very well just use regular numbersmeme

#

actually nevermind no CPU meme

#

kernel time, again

raw prairie
ocean ore
#

ok so my powercrap is gonna now be actually used in the real world(TM)

#

if it dies, im gonna go insane

ocean ore
#

powerpc64 paging has an upgrade to be even MORE psychotic

#

i have to somehow put the size of the table into the storage register and then i have to decode it into a mask during translation or whatever

#

BUT WHY, THE MASKS ARE THE SAME yeshoney

#

not just that, plus a bonus of the fact that i never worked on 64 bit addressing ever

#

its not gonna be bad, its just intimidating and im gonna go insane comparing my crap with whatever diagram

#

yall the diagram is even more concerning

#

thisi s "the diagram" in full 64 bit glory

#

this is utterly OUTRAGEOUS

#

holy crap its more vague too

#

The low-order 17 bits of hash value 1 are then concatenated with the high-order 40 bits of HTABORG and with seven low-order 0 bits, defining the address of the primary PTEG (0x0F05_8400_0F3F_F300).
AAAAAAAAAAA

#

wait

#

no

#

nvm i thought this was the intended form of the cpu as well

#

generational level crash out avoided

#

or delayed until i find out

#

you have the option of a page table taking 70368744177664 bytes on 64 bit tho

#

sure that may sound large

#

except its way larger than you think

#

THAT IS 64 TERRABYTES

#

"future proof architecture" indeed 💔 🥀

#

they should use powerpc for data centers

#

i feel like this is the only arch that can comprehend this much ram

#

ok so i did more accurate testing on my powerwasher paging

#

i think i dislike this crap enough to start calling "powerpc" a "powerwasher"

#

im thinkong of making a powerpc64 port of the bootloader as soon as i get a test kernel booted

#

thinkong thinkong

ocean ore
#

its probably the same other than the diagrams sucking even more balls and it having another additional section of this CBT ritual

#

yes the diagrams have explanations

#

they just suck tho

ocean ore
#

ok so my goal once i boot a test kernel fine is to actually make a powerpc64 port of this bootloader

#

with funny paging again floshed

#

i should genuinely consider doing a SPARC port of this

#

no idea if it would run on a real sun machine

#

whatever

ocean ore
#

im usually now a RISC shill but people put the 68k in high regard

#

im pretty sure i cant do it on a 68k macintosh machine yet, however i think qemu has a firmware thinkong

#

kvass for NeXT workstations trl

#

might fit actually, ive noticed my computer choice is all fancy workstations

#

sparc, 64 bit powerpc

#

the only home one is 32 bit ppc

tough socket
ocean ore
#

at least V9

ocean ore
#

the mmu would be anything if i understood the manual in the first place memedown

#

i figured out the powerpc one so idk how sparc v8's or ultrasparc's manuals are gonna be bad

ocean ore
#

sparc is utterly insane compressing their manuals in *.gz's

#

pdf.gz

#

a normal unix/linux machine would open it but not my android phone KEKW

ocean ore
#

you need to pay sparc international $99 to produce a SPARC processor

#

their blog last posted in 2020 pain

#

it feels like a website from like 2013

#

its giving me the same vibes as the java installer for windows does

#

US$99 for a keyboard license 😭

#

thats the same as the rest of the ISA

#

What a steal! trl

#

The SPARC ISA does not mandate that a single MMU design be used for all system implementations. Rather, designers are free to use the MMU that is most appropriate for their application — or no MMU at all, if they wish.
THATS THE BEST MMU!!!

#

NO MMU!!!
pain

#

what does qemu implement

#

supports sun4m fully

#

its some workstation i guess

#

sun 4

#

russian (idk why its russian) wikipedia says sun 4m is intended to be a multiprocessor version

ocean ore
tough socket
#

i have a 32 bit sparc workstation

#

and a 64 bit one

#

i put nextstep 3.3 on the 32 bit one

#

its a sparcstation 20

ocean ore
ocean ore
ocean ore
tough socket
#

i found it in my dad's basement

#

he had taken them home from work in 1997

#

and forgot about them

#

until i found them

#

they still worked

ocean ore
#

have you ever put linux on it before NS

#

i want to check what mmu it actually uses and if i need to dig it out from the depths of the internet pain

tough socket
ocean ore
ocean ore
tough socket
#

u could look up linux sources

#

and see how it manages the mmu

#

on sparc

ocean ore
#

true ig

#

i hope there isnt a kiloton of these stupid sparc machines with like 50 various mmu's pain

ocean ore
gloomy mist
#

proprietary

ocean ore
gloomy mist
#

I had a few sparc boxes back in the day

ocean ore
#

interesting

#

what was the experience

ocean ore
#

idk why not the rest of the ISA

raw prairie
#

It’s a very fancy keyboard

ocean ore
#

a license to the rest of the SPARC isa also is $99

raw prairie
#

Can you believe how much work they put into that keyboard smh

gloomy mist
raw prairie
#

It’s almost harder than making an entire ISA

ocean ore
gloomy mist
#

and one of these.... brb finding

ocean ore
#

UltraSPARC ultrameme

ocean ore
#

the bugs manufacturers have with PS/2 are sometimes outrageous

gloomy mist
#

I had sun storedge 3300 fibrechannel

#

I can't find a pic of it

#

basically the t1s and the storedge were part of an enterprise redundant failover

#

free from an old workplace

ocean ore
gloomy mist
#

but I got rid, they were too expensive to maintain and at the time had no 2nd hand value

ocean ore
gloomy mist
#

there's a pic

#

it weighed 60lbs without drives

#

I didn't drive at the time had to haul it to a train station

#

serious big iron

ocean ore
#

this plastic thing holding it up says too much about it

#

looks like its made of like steel or something

gloomy mist
#

that's not part of it, that's for taking product photo

#

it is solid metal casing

#

I cut myself sliding the top off

#

had to buy a ton of fibrechannel SCSI to run it, and I still couldn't configure it

#

I think it needed a smart card with a license on it to boot

gloomy mist
#

the t1s had a smart card in the front for their boot code, was weird

ocean ore
ocean ore
#

idk what smart cards are

#
Welcome to OpenBIOS v.1.0.1

Please insert a valid credit card to continue system start-up...

meme

gloomy mist
ocean ore
#

oh

gloomy mist
#

it's like chip and pin debit cards but instead of bank details they hold openboot code and digital certs

ocean ore
ocean ore
#

this feels unnecessary on one hand

#

but like, its quite secure otherwise meme

gloomy mist
#

it was called a system config card

ocean ore
gloomy mist
#

you need the grey key

ocean ore
#

idek what the SPARC workstation and powermac firmware is even called

#

qemu has "openbios", macs have "open firmware", there's also "openboot"

gloomy mist
#

sparc was openboot firmware

#

idk what was open about it

tough socket
gloomy mist
#

ah

ocean ore
#

was

barren sierra
# tough socket

do you have interest in porting mintia2 to this machine someday? I would port my own OS to it if I had one

ocean ore
#

honestly the worst part of my idea is that i dont even own a sparc workstation, sadly

#

nor a ppc64 computer

#

im pretty sure some dude is willing to test it on ppc64 but either way

barren sierra
#

I was considering the same thing, now with monkuous' xr17032 gcc it's possible

barren sierra
ocean ore
#

theres like a trillion versions of that though

#

theyre probably the same ISA but intended for different versions of experimental CIA supertorture railcannons

#

"supertorture railcannon" actually sounds scary ngl

#

anyway tho

#

currently im gonna be reading about the (i'd say) saner part of powerpc paging

#

and implementing, of course

#

there are PTEGs, they are searched after determining the hash

#

the hash calculation is the stupid part

ocean ore
#

however there is a second hash

#

thankfully, for my own sanity, the second hash is an xor of the first one by 0xFFFFFFFF

ocean ore
#

this exists for accounting for hash collisions,

#

uhhhhh

#

yeah

#

16 entries per hash

#

they have no funny schemes which involve searching them, they're just searched consecutively

#

it also mandates every PTE has the VSID

#

of uhhhh

#

idk segment register???

#

probably the vsid of the segment register which lead to that entry

#

my MMU implementation should skip all enabled entries and stop at the first disabled one

#

i like the motorola docs, except this is a bit evil

#

why cant you have normal page numbers :(

#

i remember that "The Diagram" is located at 373 i think

#

that is 7-80 something

#

ight found it

#

V = valid, H = no idea, API = EVIL crap, RPN = physical address??? R = uhhh, C = changed, WIMG = 4 bits that set protection stuff, and PP is protection combinations of some sort

#

from what i remember

#

id say a bit field will be fine for this

#

two, its 2 32 bit numbers

#

well this is better

#

whats an API

#

abbreviated what how thinkong

ocean ore
#

im gonna consider compiling sparc and ppc64 gcc and binutils

#

i assume powerpc64 would be powerpc64-elf-gcc

#

sparc is probably sparc-elf-gcc

#

but sparc64 is either in sparc-elf-gcc or its in like sparc64-elf-gcc or something

#

its in sparc-elf-gcc it seems

#

-mcpu=v9 is 64 bit meme

#

-mcpu=v7 is for mentally disabled people and -mcpu=v8 is 32 bit

frigid basin
#

unrelated but would u recommend osdev to a normal person

ocean ore
ocean ore
#

c++ looks really cool, im thinking of writing my kernel in it

#

link it with some C stuff to avoid me crashing out KEKW

#

im probably gonna write it like c with classes and namespaces

#

i like C a lot, im not gonna completely enter circus mode

#

what im definitely writing in C is the boot function which sets up PMMs and such so i get new operator meme

ocean ore
#

its gonna be stolen from gregloader

#

im just gonna port it on c++ honestly

#

idk c++ just looks cool, ive never made anything in it tho

ocean ore
#

nevermind c++ might be dum kernel level

#

waltuh

ocean ore
#

valgrind pain

ocean ore
#

slightly dead thread

#

so i got a really cool keyboard first of all

#

second im thinking of quitting this server

#

i mean like, idk

#

genuinely dont know

#

its pretty cool here but like

#

idk

#

i met a bunch of cool people here but honestly im not sure if i care

#

im thinking of simply avoiding lounge 0 like the plague, no matter how much i liked it

#

that place is actually brainfart inducing

#

also im thinking of localizing everything into russian or whatever

#

like the stuff i have

#

it sounds pointless but either way though

#

:/

#

anyways so bootloader has full paging implementation and such

ocean ore
#

what if i just drop all english crap and make my os be basically fully russian except the C code trl

#

powerpc OS in russian, this is truly gatekeeping of all time

ocean pasture
#

You will lose your main audience,

ocean pasture
ocean ore
#

true that

ocean ore
ocean ore
#

i might just not use it as often

#

what do i have to share anyway

ocean ore
raw prairie
ocean ore
#

WHERE IS GABRIEL AND WHAT HAVE YOU DONE TO HIM

#

he's under the sauce trl

#

IM BRITISH AND THIS OFFENDS ME

hes under the sauce