Close
0%
0%

BBTC

Big Beautiful Trump Card

Similar projects worth following
This is a clone of Steve Ciarcia's Trump Card. The design uses a 512k x 16 bits RAM chip instead of the dynamic RAM. Also, all the glue logic is contained in a CPLD.

Capture d’écran du 2026-06-17 01-12-38.png

Desassembly session of a Z8001 binary with Ghidra!

Portable Network Graphics (PNG) - 166.39 kB - 06/17/2026 at 05:14

Preview

BBTC_EV.bin

Double byte patch of BOOTEVEN. See log.

octet-stream - 600.00 bytes - 05/31/2026 at 12:30

Download

BBTC_OD.bin

Double byte patch of BOOTODD. See log.

octet-stream - 600.00 bytes - 05/31/2026 at 12:30

Download

TrumpCPLD2.pdf

Flip-flop modifications: replaced inverter with a nand gate (inst 12, 19, 25) When the /RES input is low, it disables the /PRE input so the FF is reset. Correction: added inverter inst 40

Adobe Portable Document Format - 596.15 kB - 05/31/2026 at 11:31

Preview

IMG_20260525_061935197.jpg

Setup to check the bucket logic with 2 alien probes: 1 for the Z8001 and the other on the PC-XT bus

JPEG Image - 1016.69 kB - 05/25/2026 at 10:25

Preview

View all 26 files

  • 1 × EPM7128STC100-15 Logic ICs / Programmable Logic: PLDs
  • 1 × CY62157ELL-45ZSXI Memory ICs / Static RAM (SRAM)
  • 2 × 27C16 2k x 8 EPROM
  • 1 × Z8001P Microprocessors, Microcontrollers, DSPs / Microprocessors (MPUs)
  • 1 × Z8581 Clock and Timer ICs / Clock Generation and Distribution

View all 8 components

  • Trump Card BIOS disassembly

    Jacques Pelletier06/29/2026 at 06:44 0 comments

    I'm currently disassembling the Trump Card's BIOS with Ghidra (Z8001 now supported with my extension! https://github.com/jpelletier/Z8000).

    The disassembly seems to make no sense. It seems some stuff may be missing in the BIOS binary on the TC floppy disks.

    Can somebody who have a working Trump Card make a dump of the BIOS for verification?

  • Ghidra extension for DOS functions

    Jacques Pelletier06/18/2026 at 03:43 0 comments

    I found a useful extension for Ghidra for use with DOS executables. It decodes the DOS and BIOS interrupts.

    https://github.com/Gravelbones/GhidraDosToolbox
    This package needed some TLC to make it work with Ghidra 12.1 and later.
    I posted an issue about this where the update is solved, with updated java files attached.
    https://github.com/Gravelbones/GhidraDosToolbox/issues/7
    This will help for disassembling the DOS files for the Trump Card.

  • Some clue from disassembly

    Jacques Pelletier06/17/2026 at 07:36 1 comment

    By disassembling LDZSYS.COM, it seems the Trump Card ports are not mapped as found in the Byte magazine. It uses 3EB, 3ED and 3EF instead of 3E8, 3EC and 3EE. I'll try to remap my ports.

  • Z8001 disassembler ready for Ghidra!

    Jacques Pelletier06/17/2026 at 05:25 0 comments

    I completed the Ghidra extension to support the Z8001. For now, all the z8001 (segmented) instructions can be disassembled. However, many instructions miss the code to implement the instructions (for simulation, I suppose). To develop the extension, I used the opcode tests provided with ASL, which I ported to the GNU AS (z8k-coff-as). GNU AS is not perfect, but ASL is better. The first try is with the binaries included in the Trump Card's disks: I disassembled the program DIAG with Ghidra. A screenshot is shown in the gallery.

  • Il nous Ghidra vers un monde meilleur!

    Jacques Pelletier06/16/2026 at 09:14 0 comments

    I'm about to finish the instruction decoding maybe the next weekend. Many instructions are implemented but I left the more difficult instruction to implement later. I will put the code somewhere public like github, as soon as all instructions can be decoded.

  • Ghidra to the rescue

    Jacques Pelletier06/13/2026 at 05:00 0 comments

    I started implementing the Z8000 in Ghidra. It frigging worked! I can disassemble an instruction. A much hard milestone achieved!
    Now, much work to do.

  • Debug with 3 Alien Probes

    Jacques Pelletier06/06/2026 at 15:35 0 comments

    With a 3rd Alien Probe (Generic), I probed additional signals routed to the 6116 RAM and the 2 bus buffers enable.

    It looks like the bit bucket is working properly.

    LDZSYS now runs without complaining, but DIAG still doesn't work.

  • EPROM address lines bug

    Jacques Pelletier05/31/2026 at 12:37 0 comments

    The 2 EPROM chips are connected to address LA0 to LA10 instead of LA1 to LA11 so I double the bytes instead of an ugly hardware patch. I use the 2 files BOOTEVEN and BOOTODD, but I doubled every bytes.
    Still with this modification, the DIAG utility doesn't work.

  • Flip-flop modifications

    Jacques Pelletier05/31/2026 at 11:30 0 comments

    I made the modifications of the flip-flop logic and it seems to work. The diag utility goes further but the BBTC still doesn't work yet.

  • Debugged the NMI flip flop logic

    Jacques Pelletier05/30/2026 at 16:59 0 comments

    With the help of my Alien Probes, I found out that the NMI flip flop remains set when activated and a reset signal couldn't reset the chip. 

    So the circuit in the CPLD doesn't work as expected. With TTL logic, the circuit works.

    I made a small modification in the CLPD to check only the NMI flip flop logic, and it works now.

View all 27 project logs

  • 1
    CPLD programming

    Get Quartus II 13.0 sp1 from Altera/Intel. The release 13.1 may work but I'm not sure. It's available for Linux and Windows. Search the web for Quartus II 13.1 download.

    Load the CPLD project, it should be already compiled and ready to upload to the CPLD.

    If you double-click on TrumpCard, it should open the file TrumpCard.bdf. It is a schematic of all the glue logic and the bit bucket interface.

    If the schematic is modified, compile it and program the chip in circuit with a USB Byte Blaster connected to the JTAG connector.

    To program the chip, in Quartus II, select Tools, Programmer,
    click on Hardware Setup, your Altera USB blaster should be visible. Clicking on Start should run the programming process.

    The Altera USB Blaster can be bought for cheap at AliExpress. The Quartus software will work fine with them.

View all instructions

Enjoy this project?

Share

Discussions

Keith wrote 09/14/2025 at 21:07 point

A PC104 type connector would be very welcome. They are easier to get, and more compact, than ISA bus backplanes.

  Are you sure? yes | no

Jacques Pelletier wrote 09/23/2025 at 21:42 point

Good idea! I'm working on the PC104 version of the BBTC. I'll make the latches and buffer surface mount. The 6116 is also available in an SOIC format. I'll call it the SBTC, for Small BTC.

  Are you sure? yes | no

Keith wrote 09/14/2025 at 21:03 point

Trump card disks are also at archive.org:
https://archive.org/details/trump-card-disks

  Are you sure? yes | no

Jacques Pelletier wrote 09/10/2025 at 12:00 point

Yes, I have 4 spares. I'll sell them US$10 each + shipping costs.
My own PCB isn't tested yet, but schematic looks ok. I'll put instructions to program the CPLD.
If there is demand for it, maybe I can make a kit.
For your contact info, I don't know how to proceed. Thanks!

  Are you sure? yes | no

Keith wrote 09/10/2025 at 10:51 point

Bravo! I'd love to make one myself. Let me know if you have a spare PCB to sell! :-)

  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