| Post Your Message | |
| |
| Previous Messages | Posted By
 Fuzzweed on 2025-07-01 02:48:37
| Re: Using AI to code machine language for the Plus/4
I agree with this. I didn't know this product existed and I just uploaded the Atari ST cubase manual to a new notebook and its perfect. I also found it can do helpful things like convert code for different assemblers - convert org $2000 to * = $2000 ; DB to !byte etc.
|
|
Posted By
 George on 2025-06-30 07:49:03
 | Re: Using AI to code machine language for the Plus/4
To interact with the documentation is already a great deal. Saves a lot of time searching.
|
|
Posted By
 Hendriks on 2025-06-30 07:24:59
| Re: Using AI to code machine language for the Plus/4
I just ask it simpler questions, like how does smooth scrolling work, indicate which TED registers to use and how? Or, write some assembly to interrupt the raster at the start of the bottom border, please comment and explain what you did.
I know there are examples on how to do that inside the documentation. This just makes it easier and better (because it will document the examples real well and make them generic).
I get it that it doesn't create a whole adventure in BASIC. It's not really made for programming. It's more a fancy way to interact with the documentation that I put in.
|
|
Posted By
 JamesC on 2025-06-29 17:57:18
| Re: Using AI to code machine language for the Plus/4
I played with it for a bit. It wrote a "Hello World" program for me in ML, then in Basic.
Then I asked for something a teensy bit more complicated: a six-room interactive text adventure, much like an Infocom game, where the player has to collect four randomly-placed objects.
I had to keep updating my request because the LM kept making mistakes. Text variables MUST have an $ at the end (like DOG$), variable names cannot cannot reserved keywords (like CMD$), etc.
This is the last request I submitted, just to give an idea of how detailed other people's requests may need to be:
Please create an interactive text adventure in Basic. The interpreter needs to work much like an Infocom interpreter, including movement instructions such as 'N' for North and 'D' for down in addition to 'go N' and 'go D'. Variable names should be three characters, cannot include underscores, and cannot contain reserved keywords such as CMD. Do not include references in square brackets ([ and ]) in your REM statements. Text variables require an $ at the end of their variable names. Do not use code that requires the 'ENDIF' command. There should be six locations and four randomly-placed objects that the player will need to collect to win the game. Remember to change the screen colors to black text on a grey background.
|
|
Posted By
 Hendriks on 2025-06-29 14:46:29
| Re: Using AI to code machine language for the Plus/4
Yes, I agree this is amazing. I find myself going to it every time I need to do something on my Plus/4 that I know is possible, but don't remember how to do it exactly. It knows all the BASIC commands as well, and can write BASIC programs as well. I asked it for a BASIC program to find prime numbers, and it did it.
|
|
Posted By
 George on 2025-06-29 06:53:43
 | Re: Using AI to code machine language for the Plus/4
This is amazing! Thanks for sharing!
|
|
Posted By
 Hendriks on 2025-06-29 05:28:19
| Re: Using AI to code machine language for the Plus/4
Allright, here's a link, so you can try it for yourself. Feel free to suggest sources, things to add.
https://notebooklm.google.com/notebook/8cd63643-2eca-4226-9e87-1cabc71e461f
1 1 |
|
Posted By
 JamesC on 2025-06-28 07:53:24
| Re: Using AI to code machine language for the Plus/4
You've already created the Notebook LM. Simply ask it to write an interface to itself, and to give you a link that you can share with others.
Then share that link with us, so we can try it. 
1 |
|
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?
1 |
|
| |
Copyright © Plus/4 World Team, 2001-2025. Support Plus/4 World on Patreon |