Copilot Runs On Raspberry Pi, And This Time It’s Local

[Martin Woodward] provides a step-by-step tutorial on getting a functional coding AI model running on a Raspberry Pi 5 equipped with an official AI accelerator add-on. This setup involves no remote API calls; everything runs locally and completely offline. If you’ve seen the Raspberry Pi AI HAT+ 2 board but had difficulty grasping how to use it, this project is the missing link.

Raspberry Pi 5 with AI accelerator add-on attached.

Under the hood is the GitHub Copilot command-line interface, running natively on the Raspberry Pi. Copilot supports local AI models instead of using paid APIs. By attaching the AI HAT+ 2 — a neural network accelerator — running the qwen2.5-coder:1.5b model at a reasonable pace becomes feasible.

The runtime for the accelerator board serves the model, LiteLLM provides a standard OpenAI-compatible API interface, and Copilot talks to that.

[Martin] provides the exact steps and configuration required to make the Pi boot headless and have everything up and running shortly after power-up. After that, all one needs to do is SSH into the Pi and run copilot in order to get the model started on a coding task.

Continue reading “Copilot Runs On Raspberry Pi, And This Time It’s Local” →

Coding On Windows? Redmond May Already Know.

File this one under “shocked, but not that shocked”– hacker [Xusheng Li] did some digging on a recent Windows 11 build and found that it seems to be phoning home with details about not only what AI agents you might be using on your system, but what dev tools are in use too. The full writeup is worth reading before rushing to judgement on this, but no doubt Microsoft has your best interests at heart– they always do, right?

The saga starts with a library called MissionControlAggregator.dll, which contains a list of executable files to look for– things like codex.exe on the agent front, but also dev tools as common as python.exe or gcc.exe–which would be innocent enough, and perhaps even helpful if the OS was watching for these files to do something locally. It might be doing something locally, but [Xusheng] was able to trace the diagnostic that triggers when you launch one of the apps it is listening for, and yes, at least on a default Windows 11 install, it phones home about it. Alas, WSL won’t save you this time, as the same event is apparently generated when you launch the linux version in said subsystem.

Of course the default Windows 11 install does have “optional diagnostics” enabled by default, so you could argue that this is something that the system administrator consented to– provided they knew about it, which they likely don’t. We certainly had no idea that this was part of those “optional diagnostics” and are thankful to [Xusheng] for the tip.

Our own [Jenny List] took Windows 11 for a drive back in June, and emerged rather unimpressed. Your mileage may vary, but if you are, like the majority of the world’s desktop users, on Windows, you might want to double-check those privacy settings.

On-Demand Development Boards With Remote Access Methods

In an increasingly digitally connected world, it can be easy to forget sometimes how much work still relies on specific pieces of hardware, especially in the field of hardware development. Regardless of whether you’re an embedded software developer who needs to run some code on a specific platform, or a hardware developer who’d really like to test out a feature in some specific IC, access to hardware is always needed.

In lieu of just buying everything and awaiting delivery, what if a buddy of yours happened to have that one development board right there on their desk, yet they didn’t exactly live around the corner? Here it would be perfect if said pal could hook up a testing harness and give you access to this board via the Information Super-Highway, AKA the Internet.

While remote access to server systems is fairly common, things get a lot more interesting when it comes to the wider area of development boards, and their plethora of physical features and fascinating world of errata and silicon-specific bugs. So how does one get easy access to such a remote board?

Continue reading “On-Demand Development Boards With Remote Access Methods” →

RPN Loved Honk If (or, Write Your Own PostScript Interpreter)

Maybe you like old laser printers. Maybe you were a fan of [Don Lancaster]. Maybe you like Forth, HP calculators, and everything RPN. Whichever it is, why not write your own PostScript interpreter? That’s what [beyondloom] did (and we shamelessly stole their joke for the post title, too).

PostScript started out as a language to describe pages for laser printers but went on to have a life of its own, including a stripped-down version being at the core of PDF files. If you are a fan of RPN, you’ll love PostScript, which operates on several stacks.

Continue reading “RPN Loved Honk If (or, Write Your Own PostScript Interpreter)” →

Borland C++ 2.0 Compiler Source Reconstructed

As the successor to Turbo C++, Borland C++ was a staple of professional IDEs for C and C++ development, starting with the initial 2.0 release in 1991. Being a commercial project the original source code for the toolchains were naturally not made available by Borland, but thanks to the efforts of [Abedegno] we have now got what is claimed to be a byte-perfect recreation, in the sense that the binaries compiled using the toolchain are identical to the original toolchain.

The process of creating the source from the original toolchain binaries is detailed in a separate document, including the use of [Abedgno]’s Claude Code-based Exhume tool to assist in the effort.

Having the source code for BC++ 2.0 available is probably most useful for projects that deal with DOS-based software from the same era, as well as for purely historic interest reason. When BC++ 2.0 was released, the C programming language had only just seen itself standardized in the form of C89, and C++’s initial standard in 1998 was still years away.

Thanks to [Stephen Walters] for the tip.

Custom Game Boy Cart Speeds Up Development

These days, it is easy enough to get a flash cart for your Game Boy that makes it easy to run code — yours or otherwise — on it, but they aren’t necessarily ideal for actual development. The process of shuttling new code over to the cart via an SD card isn’t bad if you’re doing it once, but it gets very annoying if you’re trying to make rapid incremental changes.

Which is specifically what [MrFrenchLame] was looking to improve on with his development cart. Rather than using a SD card to move over ROMs, the cart features a small bootloader that establishes communication with the computer over the Game Boy’s link port. The new code goes right into the cart’s RAM, where it can be immediately executed without having to write it out to flash. When you want to load new code, just press a button on the cart, and the whole thing starts over fresh. The upload routine can even be worked into your IDE to streamline the process.

This lack of permanence makes the cart a poor choice for actually playing games since everything goes poof when the power goes out. Plus, it only has 32K of RAM to work with, and can’t really do anything without being tethered to a computer. But it’s a fantastic solution if you’re looking to test things out quickly.

That said, there is one pretty major problem with this project: it requires your development computer to have a physical parallel port, which is a tall order in 2026. [MrFrenchLame] mentions this could likely be addressed by pulling in knowledge from some of the modern DIY flash carts we’ve seen recently, but hasn’t had time to tackle it yet. Maybe you could lend a hand?

Continue reading “Custom Game Boy Cart Speeds Up Development” →

Why The ULC Audio Codec Is A Perfect Fit For The N64

Although the Nintendo 64 could deliver solid 3D graphics with assets loaded at a blistering speed from the game cartridge, audio-wise it was a bit more hampered. The main challenge here was that streaming PCM audio data from a roomy CD as on the PlayStation wasn’t an option, and using compressed audio samples was impaired by Nintendo’s refusal to open up more than the CPU for third-party codecs, leading to most N64 games using so-called ‘sound fonts’ that use sample-based tracks.

Once the N64’s RSP vector processor became available for use by developers it became possible to use MP3s without clobbering the CPU, but this was still an imperfect solution. In a recent article by [Dominic Szablewski] it is thus argued that the Ultra Low Complexity (ULC) codec might be a match made in haven for the N64 hardware.

This still uses the same modified discrete cosine transform (MDCT) as many lossy audio codecs including MP3 do, but the ULC code is designed to be extremely light-weight for decoding. [Dominic] first came across it in the form of an old Game Boy Advance demo that played a 70 kbps file with no issues on the 16 MHz ARM CPU.

Naturally the ULC codec’s creator [Aikku93] didn’t employ any unusual black magic to achieve this feat, mostly just foregoing some of the heavier elements of e.g. MP3 like splitting the signal into bands, and using a light-weight syntax to store transformed coefficients.

Here [Dominic]’s goal was to port the ULC code to work with the N64’s RSP so as to offload as  much of the decoding as possible. This required becoming extremely intimate with MIPS assembly, with [Dominic] eventually giving up and asking an LLM coding chatbot to translate bits of ULC C code to [Max Bebök]’s RSP language (RSPL) syntax instead.

The good news here is thus that the open source N64 SDK libDragon now has ULC support, just in case you want more than simple tracker-based music for your homebrew N64 game and do not feel like clobbering the RSP and CPU at the same time with something like MP3 or Ogg Vorbis.