It's instantaneous.
Running emulated on Qemu. Without any acceleration.
It's instantaneous.
Running emulated on Qemu. Without any acceleration.
Timothy Roscoe, "It's Time for Operating Systems to Rediscover Hardware"
My next step maybe: assemble hardware. Some candidate specs:
No BIOS/UEFI/Linux/mobile.
Maybe an MNT Reform?
I worry about debugging flow. But Mu had the same problem at the start.
The Mu computer has only 256 colors by default, but approximates arbitrary RGB combinations using dithering.
https://archive.org/details/akkartik-mu-2021-07-30 (video; 9 minutes)
Main project page: https://github.com/akkartik/mu
Testimonial from 4 year old: this is the best program you've made.
Source: http://akkartik.github.io/mu/html/apps/color-game.mu.html
Main project page: https://github.com/akkartik/mu
https://en.wikipedia.org/wiki/Two%27s_complement#Most_negative_number
The reason it came up: it's the result of trying to convert a floating-point Infinity or NaN to an integer.
https://c9x.me/x86/html/file_module_x86_id_61.html
Here is a before/after pair of images. Before has 256x256x256 colors. After has 256 colors.
Before:
After:
Notice all the yellow pixels in the first image that turn into alternating greens and oranges in the second. Also, the stem looks very different. But overall, it looks gratifyingly similar to the original. My eyes took a while before they started to notice differences.
Before:
After:
This screenshot shows a greyscale image dithered using just black and white pixels.
Before:
After:
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
I like Lisp. But I also strongly believe anyone should be able to boot into a computer and immediately type in '1+1'. Get started using the computer as just a calculator. It's surprising how few computers satisfy that property. Now the Mu computer does.
https://archive.org/details/akkartik-mu-2021-06-23 (video; 8 minutes)
Main project page: https://github.com/akkartik/mu
If anybody is into long and rambling 100-minute videos that taper off without a certain conclusion:
https://archive.org/details/2021-06-02-akkartik-sumeet
Mostly by Sumeet Agarwal
Here's the working solution if anyone wants to try it out it: http://akkartik.github.io/mu/html/linux/advent2017/1a.mu.html
Main project page: https://github.com/akkartik/mu