@drewdevault@fosstodon.org
@drewdevault@fosstodon.org avatar

drewdevault

@drewdevault@fosstodon.org

I write code

Natural language proficiency:
★★★★★ 🇺🇸
★★★☆☆ 🇯🇵
★★☆☆☆ 🇳🇱
★★☆☆☆ 🤟
★☆☆☆☆ 🇫🇷

Does not want to talk to you about cryptocurrency or AI

This profile is from a federated server and may be incomplete. Browse more on the original instance.

drewdevault, to random
@drewdevault@fosstodon.org avatar

Any good assemblers and linkers which are broadly GNU compatible but written in C and simpler than binutils?

drewdevault,
@drewdevault@fosstodon.org avatar

@grimmy yeah I think this may be it

drewdevault, to random
@drewdevault@fosstodon.org avatar

Wow so today I learned that egregious labor violations are utterly widespread throughout the yoga industry

A friend was describing how they "volunteer" at their local yoga studio in exchange for free classes by working 4 hour shifts at the cash register... of a for profit company... where they report to a manager... and whose owner takes regular expensive vacations and lives in a beautiful, spacious home...

Upon further research I found out that this happens at MOST OF THEM

drewdevault,
@drewdevault@fosstodon.org avatar

The "manager" as far as I can tell is the only paid employee aside from the owners, the instructors are contractors whose own labor conditions are... not good

drewdevault,
@drewdevault@fosstodon.org avatar

@hatpinhacker yeah, that's not legal in most countries

drewdevault,
@drewdevault@fosstodon.org avatar

@hatpinhacker report it to the local labor authority and they can probably collect back pay

drewdevault, to random
@drewdevault@fosstodon.org avatar

I needed a break from Real Work, so I'm speedrunning writing a Unix-ish operating system

Day 3

drewdevault,
@drewdevault@fosstodon.org avatar

@mxk I'm using a fork of musl libc heavily patched to support bunnix

drewdevault,
@drewdevault@fosstodon.org avatar

Today:

/dev/cons
/dev/kbd

drewdevault,
@drewdevault@fosstodon.org avatar

Here's the whole PS/2 keyboard driver, 42 lines of code: https://git.sr.ht/~sircmpwn/bunnix/tree/master/item/sys/arch/dev/+x86_64/ps2kbd.ha

(plus the generic keyboard driver support code): https://git.sr.ht/~sircmpwn/bunnix/tree/master/item/sys/dev/chr/kbd.ha

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

signals /o\

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

Having some more fun with Bunnix

drewdevault,
@drewdevault@fosstodon.org avatar

@hexaheximal it runs on aarch64 and riscv64 as well, though Bunnix has to be ported to each as it's inherently arch-specific

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

(no, it does not work correctly)

drewdevault,
@drewdevault@fosstodon.org avatar

Summarizing day 22:

I fixed signals and the shell works great. So I went on a porting spree. I ported a further 15 core utilities from sbase, which includes ed(1), so now there is a text editor for Bunnix.

The real news, however, is that I somehow managed to port binutils, and you can assemble and link assembly programs on Bunnix now. I also got gcc to compile for Bunnix, but it has some bizzare issues I don't care to debug right now -- I didn't expect to get even that far.

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

I think the definition of "done" for Bunnix is:

  • Has a reasonably comprehensive set of shell utilities
  • Has a working C toolchain
  • Has a working Hare toolchain
  • Can play doom

At least for the "speedrun" purposes, I might work on it more afterwards off and on

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

Finally implemented uname

Today I am trying to flesh out the libc enough to finish porting sbase

drewdevault,
@drewdevault@fosstodon.org avatar

@whynothugo I'll write a blog post about the process when I'm done

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • tacticalgear
  • magazineikmin
  • khanakhh
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ethstaker
  • InstantRegret
  • thenastyranch
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • cubers
  • osvaldo12
  • modclub
  • GTA5RPClips
  • tester
  • Durango
  • provamag3
  • anitta
  • Leos
  • normalnudes
  • lostlight
  • All magazines