QB64 Hits Version 2.0, Gets Enhanced Debugging

Despite the name, BASIC isn’t exactly a language recommended for beginners these days. Technology has moved on, and now most people would steer you towards Python if you wanted to get your feet wet with software development. But for those who got their first taste of programming by copying lines of BASIC out of a computer magazine, the language still holds a certain nostalgic appeal.

If that sounds like you, then may we heartily recommend QB64. The open source project seeks to modernize the classic programming language while retaining compatibility for QBasic 4.5, the late-80s BASIC environment Microsoft included with MS-DOS. That modernization not only includes the addition of contemporary technology like OpenGL, but cross-platform support that lets you run the same code on Windows, Linux, and Mac OS.

The new debug mode in QB64 v2.

The QB64 team released version 2.0 just a few days ago, making this the perfect time to give the project a test drive if you haven’t tried it out yet. The changelog includes platform specific improvements for each supported operating system, as well as a long list of general fixes and updates. But arguably the biggest feature for this release is the inclusion of the $Debug metacommand.

When this command is included in your code, the IDE will insert a debugging stub into the compiled program. During execution, the QB64 IDE will switch over to debugging mode, and communicate with your program in real-time over a local TCP/IP connection. The debugging mode lets you step through the code line-by-line, check the values of variables, and set breakpoints. Once you’re done fussing with the code and want to release a final binary, you just need to remove that single $Debug command and recompile.

We’ve talked in the past about using QB64 to revitalize vintage code, and think the project is a fantastic melding of old and new technology. You never know when you might suddenly have the urge to dust off some code you wrote back in the 80s and run it on an OS that didn’t even exist at the time.

Valve Reluctantly Shows How To Mod The Steam Deck

As the narrator in this official instructional video from Valve reminds the viewer several times, the gaming company would really rather you not open up your brand new Steam Deck and start poking around. They can’t guarantee that their software will function should you start changing the hardware, and since there’s no source for replacement parts yet anyway, there’s not much you can do in the way of repairs.

That said, Valve does believe you have the right to take apart your own device, and has produced the video below as an aid to those who are willing risk damaging their new system by opening it up. Specifically, the video goes over how to replace the most likely wear items on the handheld, namely the thumb sticks and the SSD. It seems inevitable that the stock thumb sticks will wear down after a couple years of hard use, so we’re glad to see they are easily removable modules. As for the SSD, it stands to reason that users would want to swap it out for faster and higher capacity models as they become available in the coming years.

Sooner or later, these are going to need to be replaced.

Now to be clear, we appreciate Valve making this video, and would love to see other manufacturers be so forthcoming. But we have to admit that some of its messaging does seem a bit heavy handed. The narrators admonition that users who open their Steam Deck are literally taking their lives into their own hands due to the danger of potentially rupturing the system’s lithium-ion battery is a bit hyperbolic for our tastes. The constant reminders of how badly you could bungle the job just comes off as overly preachy, though to be fair, we probably aren’t the intended audience.

Outside of its obvious gaming functions, we’re excited too see what the community can do with the Steam Deck. With official reference material like this, perhaps we’ll even start seeing some hardware modifications before too long. Though we wouldn’t blame you for hitting the Mute button halfway through.

Continue reading “Valve Reluctantly Shows How To Mod The Steam Deck”

These First Remoticon Speakers Are Just A Taste Of What’s To Come

With the 2021 Hackaday Remoticon fast approaching, we’ve been hard at work crafting a schedule filled with thought-provoking presentations from knowledgeable speakers; precisely what you’ve come to expect from one of our events, virtual or otherwise. We’ve already announced that Laser Interferometer Gravitational-Wave Observatory (LIGO) astrophysicist Keith Thorne will be presenting a literally out-of-this-world keynote on the incredible engineering it takes to detect gravitational waves with the highest precision interferometers ever devised, but that’s only the beginning.

To make doubly sure we’ll be able to pack every available minute of our second Remoticon with fascinating content, we’ve decided to extend the deadline on talk proposals for a few more days to see what the late-bloomers can bring to the table. If you’ve ever wanted to present at a Hackaday event, but couldn’t swing the trip to Pasadena or Belgrade, this is your chance to take the stage virtually and show off what you’re passionate about.

In the meantime, we’ve churned through enough of the early proposals to let slip the first four talks that we’ll be beaming out between November 19th and 20th. There is plenty more to announce over the coming weeks, but hopefully this gives you an idea of what we’ve got in store for our global audience of hardware hackers. So grab your Remoticon ticket right now!

Continue reading “These First Remoticon Speakers Are Just A Taste Of What’s To Come”

3D Printing Toothpaste In The Name Of Science

While we don’t often see them in the hobbyist community, 3D printers that can extrude gels and viscous liquids have existed commercially for years, and are increasingly used for biological research. [Ahron Wayne] has recently been working with such a printer as part of a project to develop a printed wound dressing made of honey and blood clotting proteins, but for practice purposes, wanted to find a cheaper and more common material that had similar extrusion properties.

The material he settled on ended up being common toothpaste. In the video below you can see him loading up the cartridge of a CELLINK INKREDIBLE+ bioprinter with the minty goop, which is then extruded through a thin blunt-tip needle by compressed air. After printing out various shapes and words using the material, often times directly onto the bristles of a toothbrush, he’s come up with a list of tips for printing similarly viscous substances.

First and foremost, go slow. [Ahron] says the material needs a moment to contract after being extruded if it’s going to have any hope of supporting the next layer of the print. Thick layer heights are a necessity, as is avoiding sharp curves in your design. He also notes that overhangs must be avoided, and though it probably goes without saying, clarifies that an object printed from toothpaste will never be able to support anything more than its own weight.

In addition to the handful of legitimate DIY bioprinters that have graced these pages over the years, we’ve seen the occasional chocolate 3D printer that operated on a similar principle to produce bespoke treats, so the lessons learned by [Ahron] aren’t completely lost on the hacker and maker crowd. Who knows? Perhaps you’ll one day find yourself consulting this video when trying to get a modified 3D printer to lay down some soldering paste.

Continue reading “3D Printing Toothpaste In The Name Of Science”

Spilled OJ Does A Number On Zelda Game Boy Cartridge

When [Taylor Burley] first opened up the cartridge for The Legend of Zelda: Oracle of Seasons, it certainly didn’t look like it had been dunked in corrosive orange juice. But looks can be deceiving, and while the game’s owner certainly did an admirable job of cleaning up the surface of the PCB, the cartridge was no longer functional. Clearly, this was a sticky situation.

After removing all of the components from the PCB, [Taylor] was quickly able to piece together what had happened. Despite the vigorous cleaning the game received after the spill, juice had found its way under each IC on the board. Left to sit in these nooks and crannies for who knows how long, the juice started to eat away at the traces on the PCB. Getting the game back up and running would naturally require considerable board repairs, but they don’t call him Solderking for nothing.

Corrosion lurking under each chip.

In the video below, you can see [Taylor] methodically scraping away the corrosion on the board before he starts recreating damaged connections with solid 30 gauge wire. Using tweezers and viewing the action through a digital microscope, he deftly bends the wire around to fit the shapes of the original traces and tacks the new conductors down with solder. He even goes ahead and repairs the traces that go to various test points on the cartridge; it’s a completely unnecessary extravagance, but we’re certainly not complaining. There’s a relaxing quality to watching him work, so we were in no rush to see his latest video end.

After fixing the board back up, he replaces all the components and takes it for a test drive on an original Game Boy Color. Confirming that Link’s 2001 outing is working as expected, he finishes the job with a few coats of spray-on conformal coating. With any luck, the next time this particular cartridge has to go face-to-face with some spilled juice, it will roll right off.

This isn’t the first time we’ve seen [Taylor] laboriously rebuild a Game Boy cartridge, and it certainly isn’t the first time we’ve seen him pull off some particularly impressive feats of soldering, either. His work always reminds us that patience and a steady hand can really do wonders.

Continue reading “Spilled OJ Does A Number On Zelda Game Boy Cartridge”

Adding Wireless Charging To The Switch Lite

The Nintendo Switch is a monstrously popular machine, and it’s had no difficulty raking in the bucks for the Japanese gaming giant, but there’s no denying that it’s technologically a bit behind the curve. Until the long-rumored “Pro” version of the Switch materializes, industrious gamers like [Robotanv] will simply have to make up for Nintendo’s Luddite ways by hacking in their own upgraded hardware.

In this case, [Robotanv] wanted to add Qi wireless charging to his Switch Lite. He figured that if all of his other mobile devices supported the convenient charging standard, why not his portable gaming system? Luckily, the system already supports the increasingly ubiquitous USB-C, so finding an aftermarket Qi receiver that would connect to it was no problem. He just needed to install it into the handheld’s case.

After liberating the Qi receiver from its protective pouch enclosure to get it a bit thinner, [Robotanv] taped it to the inside of the system’s case and ran thin wires to the rear of the USB-C port. As luck would have it, Nintendo was kind enough to put some test pads for the power pins right behind the port, which made for an ideal spot to connect the charger.

At first he only connected the positive and negative lines from the charger, but quickly realized he also had to connect the CC pin to get the juice flowing. After that, it was just a matter of buttoning the system back up. All told, it looks like a pretty simple modification for anyone who’s not bashful about taking a soldering iron to their $199 console.

We’ve seen these Qi receivers retrofitted into devices before, and it remains an excellent way to add the feature not only to commercial products, but to your own projects.

Continue reading “Adding Wireless Charging To The Switch Lite”

3D Printed Adapter Puts Slides In Their Best Light

If you’ve got old family photos on slides there’s an excellent chance you’ve considered digitizing them at one point or another, but perhaps didn’t know the best way of going about it. In that case, this 3D printed adapter designed by [Rostislav Persion] that lets you photograph slides with a standard DSLR may be exactly what you were waiting for.

The idea is simple enough, you place the slide inside the adapter, get your focus right, and snap a picture. But of course, you’ve also got to provide some illumination. In this case, the camera is mounted on a tripod and pointed at an appropriate light source. Once you’ve experimented a bit and got the image backlit the way you want it, you can lock everything in place and easily power through a stack of vintage family memories in no time.

For such a straightforward concept, we really appreciate the little details in the execution. For example, rather than just sliding a 3D printed cylinder over the DSLR’s lens, [Rostislav] came up with a foam-padded “shim” that’s strong enough to hold the adapter on without marring anything. The two-part slide spacer that features a bit of springiness to hold everything tight is also a very nice touch.

An approach like this should work nicely for the amount of slides most families are likely to have, but if you’re in a position where you need to digitize thousands of images, some automation would certainly help things along.