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.

Porting A “Crappy” Flash Game To The IBM 5150 And Beyond

Flash is obsolete and the IBM 5150 is obsolete. Therefore, by the transitive property of algebra, you should be able to run flash games on IBM’s original PC, right? Okay, obviously not — there’s obsolete, and then there’s obsolete — but that didn’t stop [TheRasteri] from trying to bring his favorite scatological humor game to glorious CGA in a slightly not-safe-for-work video.

CGA is really not meant to display the fine details of a 2000s flash game, but [TheRasteri] has some experience with the Amstrad CPC and its demoscene, where they’ve learned to hack the heck out of the same MC6845 CRT controller chip that lives on a CGA card. With a few lines of carefully-crafted assembler, he’s able to swap character height on the fly to create the equivalent of a 160 x 86 pixel window in CGA text mode. That’s probably the most impressive part of this build, but the adventure of vintage-DOS C development on display here is worth watching. He’s using Open Watcom V2 and coding the entire thing as a huge state machine, and tests it on a wide range of DOS machines to catch all the bugs.

While Adobe Flash once enabled a golden age of browser games, we could be on the verge of another thanks to WebAssembly. If you want to hear about programming in C on DOS, we’ve seen a good case made for it.

Continue reading “Porting A “Crappy” Flash Game To The IBM 5150 And Beyond” →