Writing a command line program that needs a little more pizzaz? Ncurses just not colorful or high res enough? Or maybe you want to bring the demo scene to the command line. Notcurses has your back. The demo is great, and looks like it can push out enough detail to pull off silliness like pushing an SNES game’s output straight to the console. What might be the most impressive element of the library is that while it can blit high res graphics through a terminal emulator with graphical support, it will also work on the basic Linux console, with no graphical system installed, by using some very old tricks. I know what you’re wondering: That’s all well and good, but can it run Doom? Yep. Come back after the break for a demo.
Continue reading “Terminal Magic With Notcurses”
computer hacks1316 Articles
computer hacks
Thousands Of Discrete MOSFETs Make Up This Compact CPU-Less Computer
How long has it been since a computer could boast about the fact that it contained 2,500 transistors? Probably close to half a century now, at a guess. So in a world with a couple of billion transistors per chip, is a 2,500-transistor computer really something to brag about? Yes. Yes, it is.
The CPU-less computer, called the TraNOR by its creator [Dennis Kuschel], is an elaboration on his previous MyNOR, another CPU-less machine that used a single NOR-gate made of discrete transistors as the core of its arithmetic-logic unit (ALU). Despite its architectural simplicity, MyNOR was capable of some pretty respectable performance, and even managed to play a decent game of Tetris. TraNOR, on the other hand, is much more complicated, mainly due to the fact that instead of relying on 74HC-series chips, [Dennis] built every single gate on the machine from discrete MOSFETs. The only chips on the four stacked PCBs are a trio of memory chips; we don’t fault him at all for the decision not to build the memory — he may be dedicated, but even art has its limits. And TraNOR is indeed a work of art — the video below shows the beautiful board layouts, with seemingly endless arrays of SMD transistors all neatly arranged and carefully soldered. And extra points for using Wintergatan’s marble machine melody as the soundtrack, too.
As much as we loved the original, TraNOR is really something special. Not only is it beautiful, but it’s functional — it’s even backward-compatible with MyNOR’s custom software. Hats off to [Dennis] for pulling off another wonderful build, and for sharing it with us.
Continue reading “Thousands Of Discrete MOSFETs Make Up This Compact CPU-Less Computer”
Transparent Hard Drive Gives Peek At The Platters
Solid-state drives (SSDs) are all the rage these days, and for good reason. But that doesn’t mean the era of the spinning disk is over, as traditional mechanical hard drives still offer a compelling value for mass storage applications where access times aren’t as critical. But the components inside these “slow” mechanical drives are still moving at incredible speeds, which [The Developer Guy] has nicely illustrated with his transparent hard drive.
Now unfortunately the technology to produce a fully transparent hard drive doesn’t exist, but laser cutting a new top plate out of acrylic is certainly within the means of the average hacker. The process is pretty straightforward: cut out a piece of clear plastic in the same shape and size as the drive’s original lid, put the appropriate mounting holes in it, and find some longer screws to accommodate the increased thickness.
Because this is just for a demonstration, [The Developer Guy] doesn’t need to worry too much about dust or debris getting on the platters; but we should note that performing this kind of modification on a drive you intend on actually using would be a bad idea unless you’ve got a cleanroom to work in.
In the videos below [The Developer Guy] records the drive while it’s in use, and at one point puts a microscope on top of the plastic to get a close-up view of the read/write head twitching back and forth. We particularly liked the time-lapse of the drive being formatted, as you can see the arm smoothly moving towards the center of the drive. Unfortunately the movement of the platters themselves is very difficult to perceive given their remarkably uniform surface, but make no mistake, they’re spinning at several thousand RPM.
Have an old mechanical drive of your own that you’re not sure what to do with? We’ve seen them turned into POV clocks, impromptu rotary encoders, and even surprisingly powerful blower fans.
Continue reading “Transparent Hard Drive Gives Peek At The Platters”
Repairing A Vintage HP 9825 The Hard Way
[CuriousMarc] is at it again, this time trying to undo the damage from a poorly designed power circuit, that fried the internals of his HP 9825 computer. (Video, embedded below.)
The power supply on this particular model has a failure mode where a dying transistor can lead to 13 V on the 5 V line. This causes all the havoc one would expect on the internals of a 1970s era portable computer. This particular computer is rather rare, so instead of calling it a lost cause, our protagonist decides to replace the faulty transistor, install a proper overvoltage protection circuit, and then start the tedious hunt for which chips actually let their magic smoke out.
Continue reading “Repairing A Vintage HP 9825 The Hard Way”
Putting An Ultra-Tiny Linux Board In A Phone Charger…Eventually
Among security professionals, a “drop box” is a device that can be covertly installed at a target location and phone home over the Internet, providing a back door into what might be an otherwise secure network. We’ve seen both commercial and DIY versions of this concept, and as you might expect, one of the main goals is to make the device look as inconspicuous as possible. Which is why [Walker] is hoping to build one into a standard USB wall charger.
This project is still in the early stages, but we like what we see so far. [Walker] aims to make this a 100% free and open source device, starting from the tools he’s using to produce the CAD files all the way up to the firmware the final hardware will run. With none of the currently available single-board computers (SBCs) meeting his list of requirements, the first step is to build a miniature Linux machine that’s got enough processing power to run useful security tools locally. Obviously such a board would be of great interest to the larger hacker and maker community.
So far, [Walker] has decided on his primary components and is working on a larger development board before really going all-in on the miniaturization process. As of right now he’s planning on using the Allwinner A33 to power the board, a sub-$10 USD chipset most commonly seen in low-cost Android tablets.
The A33 boasts a quad-core Cortex-A7 clocked at 1.2 GHz, and offers USB, I2C, and SPI interfaces for expansion. It will be paired with 1 GB of DDR3 RAM, and an SD card to hold the operating system. Naturally a device like this will need WiFi, but until [Walker] can decide on which chip to use, the plan is to just use a USB wireless adapter. The Realtek RTL8188CUS is a strong contender, as the fact that it comes in both USB and module versions should make its eventual integration seamless.
Even if you’re not interested in the idea of hiding security appliances inside of everyday objects, this project is a fascinating glimpse into the process of creating your own custom Linux board. Whether you’re looking to put into a wall wart or a drone, it’s pretty incredible to think we’ve reached the point where an individual can spin up their own miniature SBC.
Could Seven Gamers Play Quake On Just One 1996 SGI Machine?
[Linus Tech Tips] undertook a fun experiment a few years back. By running multiple virtual machines on a single tower PC with tons of RAM and GPUs, it was possible to let seven gamers play on a single rig at once. [CelGenStudios] found the idea intriguing, and has theorised that the same feat could be possible on mid-1990s Silicon Graphics hardware.
The idea is to use the Origin 2000 server as the base. These didn’t ship with any form of video output or even a keyboard and mouse interface. However, by substituting in the IO6G module from the Onyx2 machine, and SI graphics cards from the Octane, it’s possible to get graphics and input up and running. With multiple graphics cards and a few CAD DUO boards installed via a PCI adapter called the “shoebox”, there’s provisions for up to four separate monitors, keyboards and mice. With all this hardware, it’s theoretically possible for four users to login to the X server running in the IRIX OS on the Origin 2000 machine. Then, it’s a simple matter of firing up four instances of Quake and a dedicated server and you’re up and gaming.
[CelGenStudios] goes so far as exploring the limits of the supercomputer-grade hardware, suggesting that 7 players or more could be possible. Unfortunately, SGI hardware isn’t easy to come by, nor is it cheap, even decades after release — so thus far, the concept remains untested. We’d dearly love to see such a setup happen at QuakeCon or a hacker con, though, so if you pull it off, you know how to call. We note there’s a few Octane 2000s at the Jim Austin Computer Collection, so perhaps they might be the ones to achieve the feat.
In the meantime, check out a practical exploration of the concept on modern hardware with the original [Linus Tech Tips] project. The basic theory is simple – create a hugely powerful PC, with a beefy CPU, plenty of RAM, and one graphics cards for each of the seven players. They run multiple virtual machines and managed to deliver a full 7 player experience running off just one CPU.
Continue reading “Could Seven Gamers Play Quake On Just One 1996 SGI Machine?”
You Won’t Believe How Much Tech Is Hiding In This Desk
Say what you will about office life: there were definitely some productivity perks, but the coffee is much better at home. Like many of us, [Pierre] has been working from home for the last year or so. And as much as he might enjoy spending so much time in his small Parisian apartment, it lacks many of the amenities of the office such as a scanner, printer, and, you know, a reasonable amount of space in which to work.
Inspired by another build, [Pierre] set out to build his dream desk that is maximum PC power in minimum space. It is chock full of easily-accessible cavities that hide everything you’d expect, plus a few things you don’t, like a flatbed scanner, a printer, a router, and a wireless charging pad. One cavity is dedicated to I/O, and another has three international power sockets. The only thing it doesn’t hide is the 22″ pen display that [Pierre] uses for sketching, signing documents, and occasionally as a second monitor.
This desk may look like solid wood, but the top is a veneer that’s glued on to a custom-cut 1mm steel sheet. The inside frame is made of hardwood and so are the legs — one of them has a hidden channel for the only two cords that are even somewhat visible — the power and Ethernet cables. He joined all the frame pieces with dowel rods, and made a 3D-printed and metal-reinforced drilling jig to get the holes just right.
[Pierre] started this build by planning out the components and making meticulous notes about the dimensions of every piece. Then he sketched it and modelled it in FreeCAD to get all the cavities and cable runs correct and ensure good airflow through the desk. After that it was on to woodworking, metalworking, and PCB fab for relocated and hidden display controls and a custom-built amplifier.
It’s obvious that a lot of thought went in to this, and there’s a ton of work appreciate here, so clear off that inferior desk of yours and check out the build video after the break. Wish you had a PC desk? [Pierre] is seriously considering a Kickstarter if enough people show interest.
Are you into minimalism, but don’t want to build something of this magnitude? There’s more than one way to get there.
Continue reading “You Won’t Believe How Much Tech Is Hiding In This Desk”