Close
0%
0%

BADGE FOR SUPERCON.6 / November 2022

After three years... Supercon again!
And the new badge too!

Similar projects worth following
YouTube video: https://youtu.be/ix__enrtYF4

4-bit processor simulated by 16-bit MCU. Registers, flags, ALU, SP, two Data Memory pages, current Program Word and some internal logic states are displayed in binary form, with 272 LEDs.
- A total of 31 instructions
- Processing speed: adjustable (in runtime) from 250,000 ips to 0.5 ips, plus Single Step
- Program Memory: 4096 pgm words × 12 bits
- Data Memory: 256 nibbles (32 visible in real time)
- 5-deep Subroutine Stack
- Opcodes/Operands are 4-bit aligned, visible on 3×16 LED disassembler display
- Three ways of programming:
1. Direct, using on-board buttons in Binary or Select mode
2. Indirect, using 2-pass assembler, created by Mike Szczys
3. Save/Load to/from computer or other badge (using serial I/O) or internal flash
- Bootloader for firmware update
- I/O port with 4-bit IN and 4-bit OUT
- 3V (2×AA) Battery supply
- SAO port with Serial I/O
- Detailed User Manual
- Dimensions 17.5×9.

Reflash to version Badge Berlin 2023.zip

Please download, unzip and read the attached .TXT file

x-zip-compressed - 10.75 kB - 04/28/2023 at 19:31

Download

Badge Berlin 2023.zip

- The new version of firmware, created in February 2023. - The year and v1r1 extension are generic, that`s why it's 2022 v1r1. - Contains new functions described in Manual Rev4a.pdf, and some minor bug fixes - This version of firmware was prepared for the Berlin conference, but due to a manufacturing error in China, the old version was programmed. - To open the project, install MPLAB X IDE - To program using MPLAB X IPE, use this file: \dist\default\production\Badge2022_v1r1.production.hex (the year and v1r1 extension are generic)

x-zip-compressed - 322.08 kB - 04/27/2023 at 18:14

Download

1 Manual Rev4a.pdf

User Interface, Commands and Modes of Operation

Adobe Portable Document Format - 1013.21 kB - 11/11/2022 at 20:45

Preview
Download

2 Instruction Set Rev4.pdf

Detailed explanation of all instructions

Adobe Portable Document Format - 1.05 MB - 11/03/2022 at 02:25

Preview
Download

3 SFR Rev4a.pdf

Special Function Registers. NOTE: Revision 4a (Nov.03.2022) contains an error fix (page 24, KeyReg). Please use this revision if you have Rev4 or lower.

Adobe Portable Document Format - 647.36 kB - 11/04/2022 at 03:07

Preview
Download

View all 10 files

Enjoy this project?

Share

Discussions

Ben Combee wrote 10/17/2022 at 03:15 point

Also, I'm a bit confused by the OR/AND/XOR instructions -- the encoding says that you can pick R0, R1, R2, or RS (3), but I cant' find anything in the docs explaining what RS is.  The docs for KEYSTATUS mention RS3 at the top, but that doesn't seem to match the register description.

  Are you sure? yes | no

Voja Antonic wrote 10/17/2022 at 03:39 point

Now I'm confused - sorry, I wrote the manuals two years ago so I don't remember about details. Instructions OR/AND/XOR RX,RY work with all 16 registers equally and OR/AND/XOR R0,N with R0 only. Coding for R0,R1,R2,RS are valid for bit test/set/reset/toggle instructions only, but they are explained there (the bottom of pages). Please give me a pointer. (I guess that you are talking about 2 Instruction Set book?)

RS is OUT or IN register (0x0A or 0x0B) depended on the data flow (writing or reading). If the bit IOPos (WrFlags,1) is set, then OUT and IN are on addresses 0xFA and 0xFB. This was explained in SFR docs, WrFlags (0xF3).

  Are you sure? yes | no

Ben Combee wrote 10/17/2022 at 03:44 point

You're right -- I mean the bit instructions, I just got confused in posting the question.  I missed the diagram that explained the OUT/IN register use because it didn't use the term RS again, so my text search in the document failed to find it.

  Are you sure? yes | no

Ben Combee wrote 10/17/2022 at 02:48 point

Hi, @Voja Antonic!  In the Rev2 SFR docs, the diagram for SFRF2 (Sync) is the same as the one for KeyReg. Can you update that with the correct version?

  Are you sure? yes | no

Voja Antonic wrote 10/17/2022 at 03:19 point

Corrected, thanks! If I didn't miss something, it was the error in register name, and the rest of the page is OK.

  Are you sure? yes | no

matt venn wrote 10/15/2022 at 21:26 point

Hey Voja, is there an easy way to contribute to the docs? I can help fix typos/spellings

  Are you sure? yes | no

Voja Antonic wrote 10/15/2022 at 22:13 point

Thank you, Matt, it would be great! My English is awful, so you can help a lot! There are three possible ways to do it:

1. The easiest way is to edit text in Acrobat, but I think that you would need Acrobat PRO then.
2. All docs were created in CorelDraw and then converted to PDF. So if you have Corel, I could send you CDR files.
3. Use Redact mode in Acrobat to note all modifications and errors, so that I can correct them.

What do you think?

  Are you sure? yes | no

matt venn wrote 10/16/2022 at 07:53 point

None of those options are good for me. Does this work for you? It's a shared google drive of the pdf, with comments enabled.

https://drive.google.com/file/d/1ilunbteJH7hmsRhtUm11dk3dljxXaPH8/view?usp=sharing

I have added a few comments - can you see them? Hopefully you will also be able to make a fix on your doc and then comment them as completed (leave them open so I know I've already marked them)

  Are you sure? yes | no

matt venn wrote 10/16/2022 at 08:03 point

btw the quality of the datasheet is very high, and your English is very good. There are only a few things to change

  Are you sure? yes | no

SHAOS wrote 10/13/2022 at 05:50 point

Great design - looks super !!! :)
This badge is getting popular on Twitter right now ;)
20K+ impressions just from my account and counting :)
200+ likes and 36 retweets for the 1st twit in the thread:
https://twitter.com/Shaos1973/status/1580307109622599680

  Are you sure? yes | no

Yann Guidon / YGDES wrote 10/13/2022 at 04:52 point

> it is still "on hold"

not anymore !

https://hackaday.com/2022/10/12/the-2022-supercon-badge-is-a-handheld-trip-through-computing-history/

  Are you sure? yes | no

Voja Antonic wrote 10/13/2022 at 04:56 point

You are right. Corrected!

  Are you sure? yes | no

Yann Guidon / YGDES wrote 10/13/2022 at 04:51 point

TTLer People at https://hackaday.io/project/8449 ask if it could be implemented in TTL chips.

OF COURSE.

  Are you sure? yes | no

Voja Antonic wrote 10/13/2022 at 04:53 point

Why not in tubes and relays too :)

  Are you sure? yes | no

Yann Guidon / YGDES wrote 10/13/2022 at 05:01 point

exercise left to the reader ;-)

  Are you sure? yes | no

Jim Bailey wrote 10/14/2022 at 02:35 point

Actually while not a badge, someone did make a small'ish relay computer that could be a breastplate armor - The "SBC Relay Trainer" the CPU is made of 82 DPDT relays.

  Are you sure? yes | no

Andy Geppert wrote 04/19/2022 at 12:51 point

I look forward to buying one of these in the near future! Absolutely awesome. Voja's projects are inspirational and I learn a lot from them. This will go to the left of my Heathkit Microcomputer Learning System, which looks forward to a Monster 6502 showing up on the right side some day!

  Are you sure? yes | no

Elliot Williams wrote 10/12/2022 at 13:34 point

Oh, you're in for a treat at 2022 Supercon.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates