#ancientC

2024-05-19

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

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-11-05

in the #AncientC i'm workin' wit', it's actually reversed -- `=+`/`=*`, which i think makes more logical sensk but is hell to tokenize wit one character lookahead and 2 character operators like `=>>`

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

#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