The Mu computer now has drivers for disk and mouse.
Still extremely klunky. IDE disk drives only, and the mouse driver uses polling because configuring IRQ 12 is still beyond me.
Example programs (as usual memory safe and translating 1:1 to x86 machine code)
Disk: http://akkartik.github.io/mu/html/ex9.mu.html
Mouse: http://akkartik.github.io/mu/html/ex10.mu.html
Here's video of the mouse example. There's no pointer so you have to imagine me moving the mouse around.
Like I said. Klunky.
Main project page: https://github.com/akkartik/mu
one man experiments with modular computer. blocks with magnetic snapping. PI4 Compute block. HDMI output.
love the instant on small display that changes based on attached blocks.
Mu can now read from an ATA (IDE) disk drive on Qemu.
https://github.com/akkartik/mu/tree/main/shell#readme
It wouldn't have been possible without the lovely folks over on #osdev. And the inspiration of ColorForth (https://merveilles.town/@akkartik/105906716550232992), though I still don't understand how that driver works.
Hello everyone! I'm Andy, and I'm so excited to be here!
I'm a sysadmin from Cambridge in the UK, and have earnt a Merveilles invitation by hacking about with @neauoire's Uxn. I think my contributions span three lines of code so far!
I'm in the middle of a mechanical keyboard building project, inspired by @Kooda here. It's gone on for ages and might be suffering from feature creep. I'm sure by the time it's running Uxn and I can phone and SMS people with it, it'll be finished.
Uxn assembler in uxn itself from @andya
https://git.sr.ht/~alderwick/uxn/commit/8db53b9fe22a8c5096404183b25d4a1db953d028
*picks up bits of brain all over the floor*
If I bitwise AND the mouse.x and mouse.y positions I get this crazy fractal pattern *____*
~pos.x #00 ~px.x ADD2 ~pos.y #00 ~px.y ADD2 AND2 SWP POP RTN
Please remember: functional cookies (login session, shopping carts) do not need user consent. So every time you see one of this oversized cookie banners someone is trying (often through dark patterns) to make you accept the whole tracking and spying as well. Don't be mad at the legislative for creating the need for tracking consent. Be mad at the websites that are trying to stir you up against that law by annoying you with those banners.
@akkartik Hmm, I think this only handles a single disk? I tried to implement ATA for #CollapseOS a few months ago and I remember there being more possible I/O ports than that. And since I wanted ATA so that CollapseOS could install itself onto different drives that could then be transferred to different machines, multi-drive operation was a requirement. Maybe I could extend this if/when I resume that project...
A driver for IDE hard disks in Forth
https://colorforth.github.io/ide.html
It seems to be using https://wiki.osdev.org/ATA_PIO_Mode which transfers data to disk one byte at a time. Super inefficient. And yet, so small! ❤️
Feeling very excited about how this is going to look on the wiki. https://clarity.flowers/wiki/notate.html
Barbarian Programmer.
Promiscuous dependencies are the root of all evil.