home.social

#thefoundry — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #thefoundry, aggregated by home.social.

  1. the other day i looked through our old box of electronics parts from a few years ago. the box was missing some things, but it had some buttons, and an Arduino-compatible with internet capability (!).
    so i taught it how to light the onboard LED, accept Morse code, and send messages to @d6 's nanochat

    is this the first message sent to the nanochat server by somebody keying dots and dashes?!

    #theWorkshop #theFoundry

  2. Trying to learn some #DOS #sizecoding during lunch break. First mistake that qualifies as a happy little accident. :neofox_uwu:

    echo aACgB7ATzRCquM3M9+eI0PbgicOI8PbgAcOD+z596bAP6+U= | base64 -d > a.com
    dosbox a.com

    cc: #theWorkshop #theFoundry

  3. Oops, I fell down the embedded NAND/NOR storage rabbit hole! :oh_no:
    Trying to find a data structure that maximizes flash longevity and minimizes RAM and code footprint.

    edit: forgot to mention: it should also be simple enough to implement in #Forth or some other minimal language. The aim is #collapseOS -style self-hosting, for maximum #permacomputing coolness.

    #theWorkshop #theFoundry

  4. Made some very small progress on the #CollapseOS #PocketViewer port by figuring out more of the int86 routine.
    git.sr.ht/~raingloom/collapseo
    cc #theWorkshop #theFoundry

    ps.: my #assembly skills are pretty newbish and rusty, so consider all comments uneducated guesses :neofox_laugh_sweat:

  5. Oh good, the assembler in #collapseOS straight up does not support the specific kind of modr/m mov I was trying to use. The upside of this is now I can say that I have debugged an assembler.
    cc: #theFoundry #assembly

  6. Don't wanna jinx it yet, so all I'm gonna say is that the #CollapseOS #PocketViewer ROM writer is finally picking up steam. :neofox_owo:
    #theFoundry #theWorkshop

  7. > How Wozniak’s code for the #Apple1 works
    redirect.invidious.io/watch?v=
    Great video by #BenEater on the #MOS6502 machine monitor.
    I'm working on some low-level #PocketViewer stuff in #theFoundry , so I found it especially useful. Probably won't go to this level of optimization though, at least not for the first implementation.

  8. Continuing my attempts at decompiling the #PocketViewer BIOS in #Ghidra. I'm getting closer to figuring out where NC3022.BIN is mapped, but it's not yet enough to make Ghidra correctly decompile the first instruction, which is an indirect far jump, so it's affected by both the reset vector and the BIOS mapping.
    I'm kind of crossing my fingers and hoping that Ghidra's decompiler can correctly handle x86 segment shenanigans. :flan_worried:
    #theFoundry #reverseEngineering

  9. Damn it, I hoped it would not come to this, but I guess I'll have to actually solder those pins onto the test pads of the #PocketViewer. I can use the multi tack glue for temporary support and the glue gun to stop the pin from moving, but that still leaves a small gap between the test pad and the pin, so I have to flow a little bit of solder on there. Tested it with one pin, seems to work fine, but idk how I'll manage the other 8 without any of them shorting.
    cc: #electronics #theFoundry

  10. Holy heck, I found two mystery buttons on my #PocketViewer. There are 5 switches clearly labeled on the PCB, but two of them only have holes on the rear of the case, but there is no rubber dome or switch in there. The switch's hole is even covered with electric tape.
    Any #Casio engineers wanna tell me what they could be?
    One is labeled as "P" on the rear and has a similar hole as the reset button, the other looks like a slide switch.

    #theFoundry #electronics

  11. #PocketViewer finally (carefully!) disassembled! Damn, that required some finesse and "I wonder what Casio's engineers were thinking" pondering and poking.
    Anyways, now I might finally get a better angle from which I can poke at the serial port.

    ps.: Thanks @rostiger for the stickers! They arrived recently and I've been putting them on things so I become more attached to them. Hopefully that will give extra motivation for their maintenance.

    cc: #electronics #theFoundry #disassembly

  12. "A recent patch to glibc6 to add #POWER9 VSX strncpy was a whopping 250 hand-crafted assembly instructions, where its equivalent using Cray Vector principles is around 14."
    archive.fosdem.org/2021/schedu
    (haven't watched yet)

    This reminds me of that #MillComputing talk about how they automatically parallelize strlen.
    I think it was this one:
    redirect.invidious.io/watch?v=

    cc #theFoundry

  13. I envy those who do not choose projects where they have to learn about 16 bit #x86 segmentation.
    I'm digging deeper and deeper into the #PocketViewer SDK in #theFoundry and it was pretty messed up when I realized that I was incorrectly converting 32 bit addresses to segmented ones.

  14. Hmmm. Could I make my #Forth (or #Lisp, we'll see how far I can push the abstractions) for the #PocketViewer such that as long as no single byte array (be that executable code or data) was larger than 64k (quite a reasonable assumption) it could use 16bit offsets for jumps and pointers, and automatically insert 32bit ones for the rare cases where a jump crosses the segment boundary? 🤔
    There are only two segments' worth of memory.
    #theFoundry

  15. So with #OpenWRT having dropped support for old routers (at least for official full featured images), could they be repurposed for something like #DuskOS ?
    They consume very little power and often the hardware is rather hackable and has documented mods for adding serial and USB ports.
    #theFoundry

  16. Insides of a #Sansa #e130 mp3 player.
    Before I attempt it, does anyone have tips on removing that white paint without messing up the text underneath it?
    #electronics #theFoundry

    These disassembly scalpels might have given me a lust for power.

  17. "How to power your gadget without battery"
    Some good #salvageComputing / #collapseComputing ideas.
    I've seen a lot of folks in #postmarketOS chat want to use their phones as servers, they might also be interested in this. Sadly it doesn't use the battery at all, so it lacks the UPS feature some desire from using a normally battery operated device in a tethered fashion.
    redirect.invidious.io/watch?v=
    cc #electronics #theFoundry

  18. Hmm. Yknow how people make DIY laptops from PC parts? I wonder if one could make a DIY rugged laptop that way...
    cc #theFoundry is this within the realm of possibility?
    Also cc #collapseComputing / #frugalComputing since if you had to build a computer from spare parts in the apocalypse, you'd probably want to make it last.