Dithering 256 levels of greyscale using 16 levels of greyscale.
Starting to render images on the Mu computer
This screenshot shows a greyscale image dithered using just black and white pixels.
I rather suspect this isn't quite right. There are some suspicious streaks in various places. Rounding error, maybe.
Credit: https://tannerhelland.com/2012/12/28/dithering-eleven-algorithms-source-code.html. I'm using standard Floyd-Steinberg.
Main project page: https://github.com/akkartik/mu
#Programming paved my way into English, so I never noticed how unnatural "if … then … else …" sounds. But Eric Fischer did, and found out where the "else" came from: https://github.com/ericfischer/if-then-else/blob/master/if-then-else.md What a fascinating dive into history!
Finally got through to the end of the last SubV refactor: I added a new pipeline stage and everything makes much more sense now - including long jumps :)
I also played with UART/Serial input for the first time now, writing slightly more complex SubV programs, like this little guy:
Despite Deere's lobbying, patronizing and FUD, the right to repair has - finally - triumphed.
Today, the Biden administration announced an executive order directing the Department of Ag and the FTC to develop R2R rules for agricultural equipment!
The fight's not over yet. The devil is in the details, those rules the FTC and Ag develop.
Today I fixed a little mistake I made regarding tail calls in my prototype Kernel implementation in Comfy-RV (RISC-V lisp assembly), that pretty much finishes off the core of the interpreter. It can run anything from now on, in theory!
I tried running the fibonacci function, (fib 30) takes 10 seconds on my machine through qemu user-land emulation, versus 9 minutes 45 seconds for the bootstrap interpreter I wrote in Scheme, oof!
Anyone know of any good blogs or discussion sites for finding and sharing #lightweight #software? I've mentioned a few resources here: https://lmemsm.dreamwidth.org/1142.html
Would be interested in finding others. Recommendations appreciated. Thanks.
So I published a kilometric blogpost about some stuff I learned on machine code generation.
Hope you enjoy the mess, because it gets messy.
"Writing device drivers is in practice a very important part of OS development, but from a conceptual or architectural viewpoint it is also one of the least interesting."
And this is why academia is irrelevant 😠
This is also why the software world is shit. Treat it as low status, actively encourage people not to take an interest. And then wonder why hardware vendors act anti-socially at every opportunity.
Monitoring device drivers is an essential civic duty.
@neauoire no real thinking behind it other than the misguided thought it would boot on my hardware one day.
I’m now thinking that I might just target i386 instead as it seems “simpler” and like theres more tutorials about.
I dunno to be honest, this is absolute chaos in real time.
Promiscuous dependencies are the root of all evil.
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.