EEHEEHEE lotta good work on this today, I'm trying to build it up to the point of execing an /etc/init that reads a file to a lil hello world!!

acourse't I'm still in the weeds on all the stack swapping multiprocessing low level muck, arghh hate this parta this kinda stuff -- but i've gotten SO FAR hehehe gonna head back to it tomorry

(I'm now on the init branch if y'all wanna check progress on the codeberg >:3)

#c #rust #unix #ancientUnix #compiler #popix #c6t

trying to be on here more often (again lol)

Back on my BS with my project to make a portable version of Unix V6 (from 1975) with a self-hosted pre-K&R C compiler, that could be released on anything that can at least simulate the memory model

Gonna start on a custom VM written in #Rust, but then port to the #C64 and probably also #ALtair8800!!

You can check out the progress on the kernel branch here: https://codeberg.org/popeyeotaku/popix/src/branch/kernel

Right now the compiler's almost done, with a bootstrapper compiler written in Rust. I'm about to start booting and bugfixing the kernel as soon as I extend the VM a tad

Still gotta gut the kernel by another several K, and write self-hosted assembler/linker package, and port userland. Also gonna write a custom YACC that uses less RAM

but it's coming along swimmingly!!!

#ancientUnix #C #Popix #C6T

popix

A highly-portable implementation of 1975's Research Unix Sixth Edition (aka Unix V6), with minimal system requirements.

Codeberg.org

I'd beened stalling on my #AncientUnix #Popix project, but it just got a big shot in the arm

I jus realized my #AncientC compiler had a bug where any initialized array came out twice as big as it was susposed to, fixing it has cut all my programs compiled in it by several K 😅😅

I was so worried about how on Eart' I was gonna slim everthin down enuf, now I don't gotta worry about any of that

I'm still hacking away on my #AncientUnix #Popix port, and it's wild how you really can just go look up the source of something to check its behavior or add something you need!

more importink #POPIX #ANCIENTUNIX NOW CLEARS THE BOOT PROCESS

(still not executing the user program but that hokey crap!!!)

NOTHER BUG HECKT IN #AncientUnix #Popix

hey, did you know if I want to drop the stack by `size` bytes, i shouldn't use the `sp=*pc*-size`, that might produce some memory bugs

PFFFFT it turns out me #AncientUnix #Popix bug was caused on accouna me #AncientC #C6T compiler didn't handle multi-dim arrays correck 🙃 thas all fix't now tho 💪💪

here's hopin for the next bug to be nicer as I recompile

boy i'd sure love it if this mysterious and otherworldly bug wud resolve isself thas wot #popix #ancientUnix

I'm getting a weird thin wit some pointer write going haywire that i gotta track down today, but I'm so excittid hehehe #popix #ancientUnix

I'll probably get thisk VM thin an mosta its userland together an releasked afore I make big headway on the 8bit ports, it shudint be TOO mucht work once't the kernel works

!!!!!!!!!!!!!!

(the TRAPk2's are clock ticks) THIS IS FAR ENOUGH IN THE BOOT PROCESS ITS STARTED SETTING UP THE ROOT DRIVE #popix #ancientunix