Learning VIC-20 Programming with ChatGPT-3.5: Part 2

Subscribers:
3,120
Published on ● Video Link: https://www.youtube.com/watch?v=eE0pVZ9CutI



Duration: 19:03
256 views
27


Continuing on with our attempt to get ChatGPT-3.5 to write a simple Commodore VIC-20 program, we finally have success ... after correcting it further. I find it interesting that it appears to interpret the correction I give it to ... mostly ... come up with the corrected program. This time I'm using the VICE emulator on my Mac rather than Retro Game's THEVIC20.

The chat can be found here:
https://chat.openai.com/share/fb4570c4-7a07-4769-b2f6-d382d8c4e1e8

After providing several corrections, I checked in a new chat session if it remembered any of my corrections ... no, it appears not. It came up with several different variations, none appeared correct and none appeared to incorporate my corrections.

The next part will be to see if it can convert it to assembly language ...

So far, I don't think VIC-20 programmers have anything to worry about from ChatGPT-3.5 ...

The final program:

10 REM BOUNCING BALL
20 REM INITIALISE VARIABLES
30 X=10:Y=10
40 DX=1:DY=1
50 FOR I=7680 TO 8185:POKE I,32:NEXT I
60 REM MAIN LOOP
70 PRINT CHR$(147)
80 POKE (X+Y*22+7680),143:POKE (X+Y*22+38400),6
90 X=X+DX:Y=Y+DY
100 IF X=0 OR X=21 THEN DX=-DX
110 IF Y=0 OR Y=22 THEN DY=-DY
120 FOR T=1 TO 50:NEXT T
130 GOTO 70




Other Videos By The Clueless Engineer


2024-05-11πŸ‡ΈπŸ‡° Tesla PMD 85: Part 6 (Video output!) [TCE #0446]
2024-05-09πŸ‡ΊπŸ‡Έ Commodore VIC-20 for the Ham Shack: Part 1 (First Look) [TCE #0445]
2024-05-05Kleincomputer KC 85/3: Part 3 (Repairs & First Boot) [TCE #0444]
2024-05-04πŸ‡«πŸ‡· Thomson MO5 "Platini": Part 1
2024-05-01Kleincomputer KC 85/3: Part 2 (Disassembly)
2024-04-28Kleincomputer KC 85/3: Part 1 (First look)
2024-04-25πŸ‡«πŸ‡· Thomson TO8D: Part 1 (First look)
2024-04-24πŸ‡«πŸ‡· Thomson TO7/70: Part 2 (Repairs made)
2024-04-20πŸ‡¬πŸ‡§ Sinclair ZX Spectrum: Part 2 (Refurbishing begins)
2024-04-17πŸ‡¬πŸ‡§ Sinclair ZX Spectrum & Interface 1: Part 1 (First look & test)
2024-04-10Learning VIC-20 Programming with ChatGPT-3.5: Part 2
2024-04-10Learning VIC-20 Programming with ChatGPT-3.5: Part 1
2024-04-09πŸ‡«πŸ‡· Thomson MO5 "Platini" et TO8D: Quick Look
2024-04-08THE400 Mini & "Breakout: How Atari 8-Bit Computers Defined a Generation"
2024-04-08πŸ‡«πŸ‡· Thomson TO7/70: Part 1 (First look)
2024-04-04πŸ‡§πŸ‡ΎπŸ‡±πŸ‡Ή Π‘Π°Π½Ρ‚Π°ΠΊΠ° 002 (Santaka): Part 6 (Dumping PLA contents)
2024-04-03ΠŸΠ°Ρ€Ρ‚Π½Π΅Ρ€-01.01 (Partner): Part 8 (Trying to load software ... NOK)
2024-04-02πŸ‡«πŸ‡· Thomson TO7/70: Quick Look
2024-04-02ΠŸΠ°Ρ€Ρ‚Π½Π΅Ρ€-01.01 (Partner): Part 7 (Where was I?)
2024-04-01πŸ‡«πŸ‡· Thomson MO6: Part 2 (Adding Audio Input to Load Software)
2024-03-30πŸ‡ΊπŸ‡Έ Commodore VIC-20 Refurbish: Part 4 (65C22 & more troubleshooting)



Tags:
vc20
vc-20
vic1001
vic-1001
vic20
the vic20