Login
Back to forumReply to this topicGo to last reply

Posted By

Hendriks
on 2025-06-27
17:15:33
 Using AI to code machine language for the Plus/4

I just wanted to share this. I don't have a lot of free time, but every now and then I like to go back to the machine of my youth and write some assembly (mainly trying to get fast software sprites). It's always a struggle to remember and find all the information, like where is the charset in ROM, how do I soft scroll the screen 1 pixel to the left, etc.

I have a bunch of documentation like a 6502 assembly book, the Plus/4 reference guide, the commodore C16/Plus/4 reference book, DASM assembler documentation, 6502 instruction set web site, and the Plus/4 user manual. I uploaded them all to Google Notebook LM, which indexes them and then lets you ask questions afterwards. It's amazing how well it works, and its completely free if you have a google account.

I asked it where the charset was, and it gave the correct answer. Then I asked it to write some assembly to copy it from ROM to RAM, and it did that. It worked on the first try, was pretty clean code and was fully documented.

This made me so much more productive writing hobby code. I was I could have had this in the 80s when I needed it.

Since you can create and share these Notebook LMs, maybe somebody here could create the ultimate Plus/4 chatbot and post it here?


Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2025. Support Plus/4 World on Patreon