#C6T

2026-02-06

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

2026-02-04

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: codeberg.org/popeyeotaku/popix

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

2023-11-17

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

2023-10-27

The #C6T #AncientC compiler has a dirt simple backend which't shud be pretty easy to port to a buncha CPU's, perfornanss aside

An' the #Popix #AncientUnix kernel has v lil in the way of system dependint routines -- the biggesk hurdle is figgerin up how yer gonna handle the stack whin getting into an out of the kernel. Once't thas finich't, they's jus' a baker's dozing small utiliky routines, an yer I/O drivers -- an yer set!!

2023-10-27

well the last few days may have been hell, BUT i distracktid meself by working on me #AncientUnix #Popix #AncientC #C6T projecks!!!

For those who don't know, I'm porting Unix V6 from 1975 to 8-bit platforms like the C64 and Altair 8800.

To do thisk, I wrote a self-hosting 8-bit compiler for the pre-K&R version of C that Unix6 uses.

Thas actually finiched! An I puts together most of the kernel, and hav it testable on the Altair... but acourse't debugging it is a ***** and a half, so to heck wit it

The past couple days, I work't up a modern VM made espeshially for the C6T language, and just now got most of *its* kernel together.

Tomorry I'm gonner put together the last bits on the VM to interack wit the hosk environmink, get a tesk user program, an try bootin up the kernel!!

(the igea being the modern VM will be a *lot* easier to debug the kernel on hehe)

2023-08-23

the new #ancientC #c6t C compiler is *self hosting*, so it'll be a nice text-based dev environment on 8-bit platforms. At some point it might get some relatively-independant graphics support too, having dug into unix v6 for this projeck, it's a very fun system to doodle around software and tools on

2023-08-23

for those who yaint awares, I'm porting #ancientUnix Sixth Edition from '75, using a new pre-K&R #c6t #ancientC compiler I've written that's designed to be easy to port around to different platforms (especially 8 and 16bit ones)

It's *almost* running on the #altair8800 right now (it gets fairly far into the boot process before hanging), then I'm gonna work up a #commodore64 port

2023-07-27

#Popix #C6T then i kin start work on the 6502 backend an the #C64 version, which't kin take advantage of the REU/GeoRAM carts to get really good perfornanss wit multitasking

acourse't i'll also hav to write a buncha documentashing, grr

2023-07-27

#C6T also has a self-hosted assembler/linker packidge, wit the assembler being made easy to modify for a new CPU platform

Affer #C64 an #Altair8800 ports of #Popix, i think a xt-class #dos port wud be pretty simple - #Popix can work wit blocking device drivers, so you cud jus use the BIOS, an for starters you cud re-use the Altair's 8080/Z80 backend, wit a cheap program to convert it to 8086

but i cud easily see stuff like #WASM getting a port as well, I'm really excittid for the possibilikies!

2023-07-27

#AncientUnix #Popix thisk is a projeck to hav a portable, cut-down version of the 1975 Unix V6, designed to run in a flat address space w/o a MMU, an possibly witout a hard drive - wit two particlar systems to start on being the #Altair8800 and the #C64

unlike most Unix V6 reimplementashings, like xv6, #Popix has a new portable #AncientC compiler call't #C6T, which't is *self hosting*, allowing for developmink on #Popix itself

to me, that wud be the whole point of wantink a unix kinda system, they's a nice dev platform (esp. whin you don't hav dynamick linking, etc etc, issues like nowadays)

2023-07-27

for the evening crowd, i updaked me #AncientUnix #Popix #AncientC #C6T compiler an better documinked the IR! :3

also gonna start hash'ttagging me posts on thisk projeck

github.com/popeyeotaku/c6t

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst