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
- US GAO - About GAO - 100 Years of GAO - Government Accountability Office [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Oklahoma football: Baker Mayfield making OU history in the NFL - Stormin' in Norman [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Here are the 5 biggest HRs in Padres history - MLB.com [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Corey Crawford retires as one of the best in Chicago Blackhawks history - Da Windy City [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Cardinal Koch: History of separation can be part of history of reconciliation - Vatican News [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- The Local Take Talks Health, History and African Americans - WCLK [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- In Depth: What history tell us about the US Capitol riots - RADIO.COM [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Brighton Women's History Roll Of Honor Accepting Nominations For 2021 Inductees - WHMI [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Who Has the Most Rushing Yards and Touchdowns in NFL Playoff History? - Sportscasting [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Denver's cataloguing its Latino and Chicano history through places and buildings - Denverite [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- The Apple Car would wreck Apple, and Tesla's incredibly volatile history shows why - Business Insider [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- America Is Not Exceptional. It Has a History of Violence. - The Intercept [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- A brief history of the headscarf - CNN [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- On this date in history: -60 temperature reported in Cameron, WI - WQOW TV News 18 [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Morning Flurries: WHL announcement and the Toronto Marlies make history - Mile High Hockey [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- How Warnock and Ossoff's victories evoked the history of the Black freedom struggle - CNN [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Presidential Pours: A History of Wine in the White House - The Wall Street Journal [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Today in History - MyMotherLode.com [Last Updated On: January 9th, 2021] [Originally Added On: January 9th, 2021]
- Today in History: George Washington approved adding two stars, two stripes to the American flag - Lompoc Record [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- More inclusive: Local principal, teacher to help review history education in Virginia - WYDaily [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Here's a salute to one of Ohio women's suffrage pioneers - Richland Source [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Police Commissioners brother, an SFPD sergeant, has a history of shootings and excessive force complaints - Mission Local [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- On January 13 in NYR history: The longest unbeaten streak ever in the NHL - Blue Line Station [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Democratic Party history from the year you were born - Buffalo News [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- A US history teacher tries to explain attacks - The Hechinger Report [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Ron Rivera Embraced History To Find Success In His First Season In Washington - Forbes [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- The Mother Lode: This is history in the making - again - for kids - CT Insider [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- The History Behind 'Mob' Mentality - The New York Times [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- 'I saw my life flash before my eyes': An oral history of the Capitol attack | TheHill - The Hill [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- The US Capitol attack fits into the history of White backlash - CNN [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Bylaws of the Department of History - Nevada Today [Last Updated On: January 13th, 2021] [Originally Added On: January 13th, 2021]
- Subversive Capital Acquisition Corp. Closes The Largest Cannabis SPAC In History And Announces The Launch Of The Parent Company With Shawn... [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Out of the Attic: The Moss Kendrix Collection at the Black History Museum - Alexandria Times [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- How Does the Nets' Big Three Compare to Other Big Threes in NBA History? - InsideHook [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- The Ku Klux Klans history is a warning about the Capitol riot - Vox.com [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- New Phillies reliever made postseason history vs. Pat Neshek - That Balls Outta Here [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Lionel Gossman, specialist in French literature and history and 'one of the great humanists and scholar-teachers of his generation,' dies at 91 -... [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- 'Southern Charm': Leva Bonaparte Is on The Right Side Of History. Are You? - Decider [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- This Place in History: Warren Austin - Local 22/44 News [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Here's how Tom Brady and the Buccaneers could make NFL history if they win their next two playoff games - CBS Sports [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- A History of the Trump Era Through Stories About Toilets - New York Magazine [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- 'Alarmingly Similar.' What the Chaos Around Lincoln's First Inauguration Can Tell Us About Today, According to Historians - TIME [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- A Brief Cultural History of Work Sucking - The New Republic [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Naples Underground Featured on the History Channel - PRNewswire [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Derby history is not kind to the Lecomte - VSiN [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Gandhi, History, and the Lessons of the Events at the Capitol - The New Yorker [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- Will Donald Trump go down as the worst president in history? - CNN [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- View and delete your browsing history in Internet Explorer [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- View and delete browser history in Microsoft Edge [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- This Day in History - What Happened Today - HISTORY [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- History | discipline | Britannica [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- History - Wikipedia [Last Updated On: January 15th, 2021] [Originally Added On: January 15th, 2021]
- The most memorable walkoff wins in Cubs history, Part 2: Original NL teams - Bleed Cubbie Blue [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Dustin Pedroia will always have a place in Red Sox history; what about the Hall of Fame? - CBS Sports [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Sundance: 'Judas and the Black Messiah' introduces 'a history thats been buried in this country' - USA TODAY [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Virginia teacher uses bowties to share history and teach life lessons - WAVY.com [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Kremlin critic Navalny tells court that Putin will go down in history as nothing but an 'underpants poisoner' - Yahoo News [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Trump's impeachment lawyers have a history of being involved in controversial legal matters - KCTV Kansas City [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- 'Black History is a Verb': A young poet's message about Black history in America - KARE11.com [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- February is Black History Month and Heart Month. Why one cardiologist says thats a good coincidence. - ABC27 [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Thanks to the Internet Archive, the history of American newspapers is more searchable than ever - Nieman Journalism Lab at Harvard [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Creativity Is the Focus of Black History Month 2021 | | SBU News - Stony Brook News [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- This Black History Month, remember: History isnt here to make you feel good - Chicago Sun-Times [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Black History Month: How did it start, and why February? - 11Alive.com WXIA [Last Updated On: February 2nd, 2021] [Originally Added On: February 2nd, 2021]
- Comparing COVID-19 to other deadly diseases in U.S. history - CBS News 8 [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Talk of the Times: Touring the rich history of Cape Ann - Gloucester Daily Times [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Vice President Harris inspiring Black women and girls everywhere during Black History Month - Wink News [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Brookshire Grocery Company publishes book to share 92-year history - Weatherford Democrat [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Black History Month: Wyoming County was active on the Underground Railroad - The Daily News Online [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Suspect in NMSP officers death had an extensive criminal history - KTSM 9 News [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- This week in history: Historical Society votes to move forward with fundraising for museum - Albert Lea Tribune - Albert Lea Tribune [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- The topsy-turvy history of the Nissan Pathfinder - Autoblog [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- God and government linked in history | Religion And Values | messenger-inquirer.com - messenger-inquirer [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Black History and Heritage - The San Diego Union-Tribune [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Behringer Crawford's NKY History Hour will feature Travis Brown and Locks and Dams of Ohio River - User-generated content [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- History and Hope: A conversation with Seaside's John Nash - KSBW Monterey [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- Today in History | National News - Tulsa World [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- NFL: Protesting players 'on the right side of history,' union says - Reuters [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- The True History Behind Netflix's 'The Dig' and Sutton Hoo - Smithsonian Magazine [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]
- A look at the top rotations in Dodgers history - Los Angeles Times [Last Updated On: February 6th, 2021] [Originally Added On: February 6th, 2021]