Over the last several years, theres been a trend towards designing ever more complex and powerful electronic event badges. Color displays, sensors, WiFi, USB, Bluetooth you name it, and theres probably a con badge out there that has packed it in. Even our own 2019 Supercon broke new ground with the inclusion of a Lattice LFE5U-45F FPGA running a RISC-V core. Admittedly, observing this unofficial arms race has been fascinating. But as we all know, a hacker isnt defined by the tools at their disposal, but rather the skill and imagination with which they wield them.
So this year, weve taken a slightly different approach. Rather than try and cram the badge with even more state of the art hardware than we did in 2019, weve decided to go back to the well. The 2022 Supercon badge is a lesson in what it means to truly control a piece of hardware, to know what each bit of memory is doing, and why. Make no mistake, its going to be a challenge. In fact, wed wager most of the people who get their hands on the badge come November 4th will have never worked on anything quite like it before. Folks are going to get pulled out of their comfort zones, but of course, thats the whole idea.
Those well versed in the history of desktop computing will likely find the front of this years Supercon badge strangely reminiscent. Festooned with buttons and LEDs, its designed to resemble the front panel of early microcomputers such as the Altair 8800 and the IMSAI 8080 made famous in War Games.
But the resemblance is more than just skin deep. The badge doesnt just look like the front panel of an early microprocessor, it actually is. Well, a simulated one, at least. While the PIC24FJ256GA704 on the back of the badge is technically running the show, the user interacts with a virtual 4-bit processor designed by the legendary Voja Antonic.
Programs can be entered into the computer, bit-by-bit, using the row of tactile buttons on the front of the badge. Each 12-bit sequence, made up of an opcode and one or two operands, gets deposited into the memory address indicated by the program counter LEDs. If you make a mistake (and you will), you can step back and forth through the program counter to review and correct the instructions given to the CPU.
To help you out, the 31 instructions accepted by the badges 4-bit CPU are listed on the backside of the board. In addition, once youve entered in the binary opcode, a LED will illuminate next to the appropriate mnemonic on the front of the badge. While the silkscreen notes cant compare to the exceptional documentation Voja has put together, at least youll always have a quick reference.
Programming is also made easier by the fact that all of the opcodes are between 4 and 8 bits in length. While a machine like the Altair may have required you to deposit as many as three binary sequences per instruction, the shorter opcodes mean theres always enough space left over to enter the required operands simultaneously.
True to the early computers that the badge is trying to emulate, theres not much in the way of onboard hardware. In isolation, all youve got for input are the physical buttons on the front of the badge, and output is limited to what you can show using the 816 LED array which provides a window into the CPUs memory. A close examination of the documentation does reveal theres a pseudorandom number generator you can poke around at, but dont expect any more luxuries than that.
But dont worry, we wouldnt leave you without some room to grow. As you might expect from a modern electronic event badge, theres a 4-pin Simple Add-On (SAO) header which lets you plug in various little gadgets and do-dads. The standard I2C data and clock signals have been replaced with simple UART in this case, but that shouldnt break compatibility with most add-ons which do little more than pull power from the port anyway.
Theres also a dedicated I/O connector in the form of a 12-pin standard pitch header along the top-right edge of the badge. This header shares the UART TX and RX pins with the SAO connector, but is capable of quite a bit more. For one thing, it serves as the badges In Circuit Serial Programmer (ICSP) interface should you want or need to reprogram it. But more interestingly, it offers four input and four output pins that can be accessed in your programs by reading and writing to the appropriate memory registers.
Badge hacking is a big part of the Supercon experience, and over the three day event, we hope to see all kinds of interesting software and hardware developed for this faux-retro computer. Given the relatively short amount of time youll have, teamwork is strongly encouraged dont be shy to ask other attendees what theyre working on to see if you can lend a hand.
Of course, collaborative development is a bit difficult if the only way to share your code is by scribbling out binary on pieces of paper. While youll have our eternal respect (and perhaps even earn a special award) if you manage to accomplish something substantial on your badge using nothing but the integrated peripherals, were not so evil that wed make you do it that way.
As such, the UART pins on the expansion port can be used to upload a program from the badge to your computer by way of a standard USB-to-serial adapter. With the adapter already connected, you simply need to put the badge into DIR (Direct) mode and press the SAVE button.
This will cause the badge to immediately start spitting out data, so you should already have your receiving side setup and ready to go before pressing the button. On a *nix machine that would look something like this:
If you press the LOAD button, the process works in reverse. A hex file sent from your computer will be loaded into the badges memory where it can be immediately executed. In this way, a program that was entered by hand into one badge can be quickly backed-up and distributed to others. It also means that if you formatted it appropriately, you could write the code on your computer and simply send it over to the badge for execution
Incidentally, while the badge can only have one program loaded at a time, up to 15 can be stored to the onboard flash. This is accomplished by first holding ALT and using the OPERAND Y buttons to cycle through the available storage slots, and then with ALT still held, pressing either SAVE or LOAD. With this technique you can keep your own personal programs safely stored away while you experiment with whatever hot new hex is making the rounds.
Now, the best way to get one is to buy yourself a ticket and come join us at Supercon. But if you just cant make it, we understand. Well be releasing the Gerbers, a full badge emulator, and the code for the PIC soon, so stay tuned.
Go here to see the original:
The 2022 Supercon Badge Is A Handheld Trip Through Computing History - Hackaday
- THIS DAY IN SPORTS HISTORY: 8/20 - Region Sports Network - August 20th, 2023 [August 20th, 2023]
- This week in Loveland history for Aug. 20-26, 2023 - Loveland Reporter-Herald - August 20th, 2023 [August 20th, 2023]
- August 20: ON THIS DAY IN HISTORY - Brooklyn Daily Eagle - August 20th, 2023 [August 20th, 2023]
- How to Keep Track of Changes in Google Keep With Version History - MUO - MakeUseOf - August 20th, 2023 [August 20th, 2023]
- This Week in History: Vienna Homecoming welcomes native sons ... - Warren Tribune Chronicle - August 20th, 2023 [August 20th, 2023]
- Avatar: The Last Airbender: The History of the Water Tribe - GameRant - August 20th, 2023 [August 20th, 2023]
- Edy Tavares and Cape Verde poised to make history at 2023 FIBA ... - Olympics - August 20th, 2023 [August 20th, 2023]
- 10 all-time worst trades in Baltimore Orioles history - Birds Watcher - August 20th, 2023 [August 20th, 2023]
- Artists Komar and Melamid Give Lessons in History - The Moscow Times - August 20th, 2023 [August 20th, 2023]
- Butler welcomes the most diverse freshman class in university ... - WRTV Indianapolis - August 20th, 2023 [August 20th, 2023]
- Crow Fair 2023 packed with history and culture, and all are invited - Q2 News - August 20th, 2023 [August 20th, 2023]
- The sunset of Sonic Youth: An oral history of the band's final U.S. show - NPR - August 20th, 2023 [August 20th, 2023]
- Russia, Ukraine and Versailles: Bogus lessons from history won't ... - Salon - August 20th, 2023 [August 20th, 2023]
- Opinion | The Georgia Indictment Speaks to History - The New York Times - August 20th, 2023 [August 20th, 2023]
- UNC Football: A look at the 2023 schedule through the lens of history - Tar Heel Blog - August 20th, 2023 [August 20th, 2023]
- Types of public transports: Brief dive into history - Daily Sabah - August 20th, 2023 [August 20th, 2023]
- Red Sox infielder Luis Uras makes history with back-to-back grand ... - Yahoo Sports - August 20th, 2023 [August 20th, 2023]
- Ranking the top 10 running backs in Georgia football history - Red and Black - June 16th, 2023 [June 16th, 2023]
- The history of cyclical bull markets suggests the S&P 500 could rise ... - CNBC - June 16th, 2023 [June 16th, 2023]
- A history of healing | Hub - The Hub at Johns Hopkins - May 31st, 2023 [May 31st, 2023]
- J. Harrison Ghee and Alex Newell on Making Tony History - TIME - May 31st, 2023 [May 31st, 2023]
- Pee Dee archaeologists hope to unearth Native American history - Charleston Post Courier - May 31st, 2023 [May 31st, 2023]
- Studying slavery and the history of Juneteenth | Rowan Today ... - Rowan Today - May 31st, 2023 [May 31st, 2023]
- In a City of Monuments, History Lives Onstage and in the Streets - The New York Times - May 31st, 2023 [May 31st, 2023]
- Dua Lipa's Dating History: From Anwar Hadid to Romain Gavras - PEOPLE - May 31st, 2023 [May 31st, 2023]
- Kentucky Baseball's Homefield History In The NCAA Tournament - KSR - May 31st, 2023 [May 31st, 2023]
- Association of international scholars turns focus to history of women ... - Global Sisters Report - May 31st, 2023 [May 31st, 2023]
- Pat Mann Phillips makes Houston rodeo history as first woman elected to lead board of directors - Houston Public Media - May 31st, 2023 [May 31st, 2023]
- Tom Dwan Wins Largest Pot in Live-Stream Poker History ($3.1 ... - PokerNews.com - May 31st, 2023 [May 31st, 2023]
- The history of spy animals; 'Blue Ribbon Kitchen' offers award ... - NPR - May 31st, 2023 [May 31st, 2023]
- LOOKING BACK: A Vicksburg home with Stamps on history - The ... - Vicksburg Post - May 31st, 2023 [May 31st, 2023]
- The Oldest Olympic Champions In Swimming History - SwimSwam - May 31st, 2023 [May 31st, 2023]
- 'Tenacious' Guyer softball team aims for more history at second-ever ... - Denton Record Chronicle - May 31st, 2023 [May 31st, 2023]
- HISTORY: Tennessee Towns That Failed to Launch - Main Street Media of Tennessee - May 31st, 2023 [May 31st, 2023]
- A look at the history and influence of downtown San Diego's ... - ABC 10 News San Diego KGTV - May 31st, 2023 [May 31st, 2023]
- Learning the History and Customs of Martinsville Speedway - WSET - April 12th, 2023 [April 12th, 2023]
- World History Portal | Britannica - March 31st, 2023 [March 31st, 2023]
- Abstract paintings by Cleveland native John Moore reflect erasure of personal history as part of being Black - cleveland.com - February 5th, 2023 [February 5th, 2023]
- My first day was a sex scene: the disturbing history of teen actors and nudity - The Guardian - January 10th, 2023 [January 10th, 2023]
- Local historian brings Oakland Countys history back to life with online lectures - C&G Newspapers - January 10th, 2023 [January 10th, 2023]
- VCUs medical college history found to be intimately connected with slavery, report finds - WRIC ABC 8News - January 10th, 2023 [January 10th, 2023]
- Dolphins Super Bowl history: When is the last time Miami made it to, won the Super Bowl? - NBC Sports - Misc. - January 10th, 2023 [January 10th, 2023]
- At the San Diego History Center, a historic donation - The San Diego Union-Tribune - January 6th, 2023 [January 6th, 2023]
- Arrest of squeegee kid reveals history of run-ins with drivers and police, records show - Fox Baltimore - January 6th, 2023 [January 6th, 2023]
- Tesla is now worth less than Exxon as stock plunges toward worst month, quarter and year in history - MarketWatch - December 21st, 2022 [December 21st, 2022]
- On this day in history, Dec. 21, 1945, Gen. Patton dies in Germany after he was paralyzed in auto crash - Fox News - December 21st, 2022 [December 21st, 2022]
- Vikings stun Colts: Matt Ryan has now been on the losing end of these four biggest blown leads in NFL history - CBS Sports - December 18th, 2022 [December 18th, 2022]
- What time will National Treasure: Edge of History air on Disney+? Release date, plot, and more details about the action-adventure series - Sportskeeda - December 12th, 2022 [December 12th, 2022]
- Mendocino County history: Willits Grade lumber spill, and other news from November 1948 - Ukiah Daily Journal - November 23rd, 2022 [November 23rd, 2022]
- The Renaissance Run: Bruce Boudreau Named 14th Head Coach in Franchise History On This Day 15 Years Ago - NoVa Caps - November 23rd, 2022 [November 23rd, 2022]
- Qatar Make World Cup History As First Host Nation To Lose In Opening Game - Sports Illustrated - November 21st, 2022 [November 21st, 2022]
- History is best told through relatable human stories. - Monterey County Weekly - October 23rd, 2022 [October 23rd, 2022]
- History made in China as Xi Jinping to serve third term - breaking decades-long precedent - Sky News - October 23rd, 2022 [October 23rd, 2022]
- No matter who wins, the next Governor of Arkansas will make history - KNWA - October 21st, 2022 [October 21st, 2022]
- Ole Miss vs. LSU history: Last time they played, who has won the most games, best moments - DraftKings Nation - October 21st, 2022 [October 21st, 2022]
- What is witchcraft? The definition, the types and the history. - USA TODAY - October 15th, 2022 [October 15th, 2022]
- Women Reflected in Their Own History - Notes - E-Flux - October 15th, 2022 [October 15th, 2022]
- History in the making: Wells is new museum director - Sent-trib - Sentinel-Tribune - October 15th, 2022 [October 15th, 2022]
- And the West is History: Train Crossing 12th Street - 1966 - The Durango Herald - October 15th, 2022 [October 15th, 2022]
- The Intimate and Interconnected History of the Internet - The Nation - October 15th, 2022 [October 15th, 2022]
- The Haunted History of New England Presentation ~ October 23 - thebedfordcitizen.org - October 15th, 2022 [October 15th, 2022]
- An Oil Company Planned to Bulldoze Black History. This Community Fought Back. - Earthjustice - October 15th, 2022 [October 15th, 2022]
- New Tourist Attraction to Educate Tourists, Community on Manistee History - 9 & 10 News - 9&10 News - October 15th, 2022 [October 15th, 2022]
- WATCH: Phillies' J.T. Realmuto hits inside-the-park home run, first catcher in postseason history - CBS Sports - October 15th, 2022 [October 15th, 2022]
- Mother-daughter race duo make history in Las Vegas: 'I hope we do it again' - Fox News - October 15th, 2022 [October 15th, 2022]
- This week in history Oct. 14, 1922: Winter arrives and slows seasonal mining business - Summit Daily - October 15th, 2022 [October 15th, 2022]
- LeBron James record watch: Where the Lakers star stands in history books before the season - CBS Sports - October 15th, 2022 [October 15th, 2022]
- The history of Quinsippi Island | History | whig.com - Herald-Whig - October 15th, 2022 [October 15th, 2022]
- Miles grad makes largest alum donation in school history, hopes to be catalyst for giving to HBCUs - AL.com - October 15th, 2022 [October 15th, 2022]
- Investor Optimism Drops to One of 60 Lowest Readings in History - The Epoch Times - October 15th, 2022 [October 15th, 2022]
- Will short week hurt Chiefs vs. the Bills? Heres what history tells us - syracuse.com - October 15th, 2022 [October 15th, 2022]
- The untold history of UC San Diego's terrible, weird and glorious single season of football - The San Diego Union-Tribune - October 15th, 2022 [October 15th, 2022]
- The History Channel - October 13th, 2022 [October 13th, 2022]
- What we risk by narrowly restricting our kids view of history and culture - Idaho Capital Sun - October 13th, 2022 [October 13th, 2022]
- The history of Jewish admissions and experience at Stanford - Stanford Report - Stanford University News - October 13th, 2022 [October 13th, 2022]
- Snapshots of history coming to Glens Falls - NEWS10 ABC - October 13th, 2022 [October 13th, 2022]
- How one Santa Cruz teacher teaches U.S. history and how she sees her role as a history teacher today - Lookout Santa Cruz - October 13th, 2022 [October 13th, 2022]
- SDMHA Announce Cherokee History Event Oct. 15 And Other Upcoming Programs - The Chattanoogan - October 13th, 2022 [October 13th, 2022]
- History book contest winners announced | The American Legion - The American Legion - October 13th, 2022 [October 13th, 2022]
- Christian Bale and Margo Robbie's 'Amsterdam' is on pace to lose $100 millionthese are the 10 biggest box office bombs in history - CNBC - October 13th, 2022 [October 13th, 2022]