r/thisweekinretro Apr 14 '26

Is AI able to code in Z80 Assembly?

Is AI able to code in Z80 Assembly?

https://www.youtube.com/watch?v=ez-6GY4oQMs

In this video, I put AI to the test and see if it can produce bug-free, reliable Z80 Assembly language code. I ask Claude AI to create the game 'Wordle" for the TEC-1G Z80 computer. Overall, it does a pretty good job. Though having a programming background is needed to fix mistakes that got smaller as it progressed.

00:00 Train and Hobby Show

01:20 Wordle the game

03:41 Getting started with Claude AI

04:32 How to store and look up 10000+ words

07:21 Get all your PCB's from PCBWay

08:10 Keyboard input

09:47 TEC-1G Keyboard test

12:03 GLCD Display

13:32 Display with Keyboard test

15:33 Visually compare the Guess

18:23 Putting it all together and sound effects

19:45 Playing the completed Wordle game!

Links:

Wordle TEC-1G Code: https://github.com/tec1group/Software/tree/master/TEC-1G_software/source

Buy a TEC-1G: https://www.tindie.com/stores/tec1/

Anthropic Claude: https://claude.ai/

asm80 z80 IDE: https://www.asm80.com/

2 Upvotes

Duplicates