Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:05 18 Dec 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : More AI magic with Dave's Garage

Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 549
Posted: 01:00pm 16 Dec 2025
Copy link to clipboard 
Print this post

From Zero to READY: Recreating C64 BASIC in Visual Studio Code
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5538
Posted: 03:20pm 16 Dec 2025
Copy link to clipboard 
Print this post

Impressive,

Although the small 4 line program showed a problem (TAB missing), the debugging of larger basic programs will show more. No doubt.

But it is impressive that it is possible at all. With sufficient focus and money (payed AI licenses ?) you might get C64 basic in few days. So a 13y old whizzkid with time to spare could create MMBasic (Geoff and Peters work, and many others, that took 14 years 2011-2025) in a week or so.

Terrifying....

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10709
Posted: 04:33pm 16 Dec 2025
Copy link to clipboard 
Print this post

  Quote  So a 13y old whizzkid with time to spare could create MMBasic (Geoff and Peters work, and many others, that took 14 years 2011-2025) in a week or so.


No: not without understanding exactly what he was trying to achieve and the environment in which he was trying to achieve it. As I said in the previous thread, the role of the programmer is dead but the roles of systems analyst, systems architect and designer are now the crucial areas and needed skills
Edited 2025-12-17 02:34 by matherp
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 278
Posted: 06:33pm 16 Dec 2025
Copy link to clipboard 
Print this post

  matherp said  ... As I said in the previous thread, the role of the programmer is dead but the roles of systems analyst, systems architect and designer are now the crucial areas and needed skills

I fully agree
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2472
Posted: 09:07pm 16 Dec 2025
Copy link to clipboard 
Print this post

while i am not a fan of the 'AI revolution', the results in Dave Plummer's video are really impressive. although, i do wonder if the AI started out with a synthesis from various source code for BASIC interpreters out on the net?

here is a question for Peter and/or Geoff: if you took the source code for the Micromite MKII MMBasic (ie, MX170) and presented it to one of these AI's with instructions to optomize the source code such that the compiled binary was (a) no less efficient wrt to speed, (b) minimized wrt the generated binary size, what would the result be?

the reason i suggest the MX170 version is that it is feature-complete and well-tested, while already constrained wrt binary size. if the AI could squeeze 10k or so of extra flash space out of it, then there may be some possibility to, for instance, add in onboard SD card support. or double precision FP maths.


cheers,
rob   :-)
Edited 2025-12-17 07:08 by robert.rozee
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4171
Posted: 09:26pm 16 Dec 2025
Copy link to clipboard 
Print this post

Rob, I think that's too hard - currently.

The code could be squashed a bit (now, by hand) but would (I feel) be less and less readable/maintainable.  Getting 10K? My feeling is no chance.

John
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2873
Posted: 09:48pm 16 Dec 2025
Copy link to clipboard 
Print this post

  Quote  but would (I feel) be less and less readable/maintainable.
Almost certainly less human readable/maintainable, but once you go down the AI path is that necessary?
If needed AI can be used to explain how the resulting code works and do the maintenance when required.

Edit.
It would be a bit like Crunching a MMBasic program.
You would still have the source code and can re-do the whole process if there are serious problems.

AI can also be used to create a suite of test programs to ensure no new bugs are introduced.
Edited 2025-12-17 08:02 by phil99
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9786
Posted: 12:24am 17 Dec 2025
Copy link to clipboard 
Print this post

I rather like Dave's channel, and I watch a few of his videos, including this one.
Glad you thought enough of it, to link it here.  
Smoke makes things work. When the smoke gets out, it stops!
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 549
Posted: 01:31pm 17 Dec 2025
Copy link to clipboard 
Print this post

There is another video where he creates an entire new Notepad app using AI.

https://youtu.be/bmBd39OwvWg?si=1oRDqHgpkVV-SWYN

I agree with Peter. I've been using AI to speed up my work, helping with the development of some algorithms, APIs, unit tests, etc. I like to use the analogy of building an airplane. We cannot just ask an LLM to create an entire air plane project, with its hundreds of thousands of parts, but we can use an AI to help with each part. The architects and engineers are responsible for the idea, the instructions, and the overall picture and to put all together, and the AI can help with each part.
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 327
Posted: 06:45pm 17 Dec 2025
Copy link to clipboard 
Print this post

The thing is, if you give the Chatbot some meat to chew on, it will generally produce decent results as compared to starting from scratch with just your initial prompting.

I recently asked the Chatbot to help me write an image converter in Python, knowing that it has some decent image mangling tools like the PILLOW library.

I found an image format descriptor workup in C# language (a language I know little about). Still, after feeding that header file and related C# file, it produced a working Python script that could convert proprietary Microsoft (read: mostly undocumented) image format to PNG files for editing with just a couple of prompt iterations.

Amazing, actually.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025