ChatGPT on cores with serial(UART) support?

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

ChatGPT on cores with serial(UART) support?

Unread post by bbond007 »

ChatGPT-C=64.png
ChatGPT-C=64.png (263.61 KiB) Viewed 2846 times
ChatGPT-PCTX.png
ChatGPT-PCTX.png (364.12 KiB) Viewed 2831 times
User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by ericgus09 »

Love it..

How did you manage this ..?

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by bbond007 »

ericgus09 wrote: Sun Feb 12, 2023 3:39 am

Love it..

How did you manage this ..?

Would you believe I asked ChatGPT how to do it?

To run it you'll need to update your ".pem" files, and for this I suggest Locutus73's security fixes script-->https://github.com/MiSTer-devel/Scripts ... y_fixes.sh

You'll have also need to add your OPENAI_KEY = ######################################## to /media/fat/linux/MidiLink.INI.

The entry point will be the "AT" command ATCHAT.

Once you are done they you'll simply tell ChatGPT "thanks" and then you'll return to the normal "modem".

I think its important to thank the AI, so that it won't eventually kill all humans...

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by ericgus09 »

bbond007 wrote: Sun Feb 12, 2023 4:03 am
ericgus09 wrote: Sun Feb 12, 2023 3:39 am

Love it..

How did you manage this ..?

Would you believe I asked ChatGPT how to do it?

Actually yes ...

bbond007 wrote: Sun Feb 12, 2023 4:03 am

I think its important to thank the AI, so that it won't eventually kill all humans...

I tell my son to thank Alexa/Siri as well .. might as well get in the habit now .. cause, yea at some point who knows.. lol

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by ericgus09 »

You should ask GPTChat to pretend its a BBS .. Someone posted an entire dialog of the thing it was hilarious ..

https://www.reddit.com/r/ChatGPT/commen ... ith_games/

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by ericgus09 »

bbond007, how hard is it to extend the "AT" functionality in the midilink layer? .. why I ask, there is a discussion going on over in the c64 section "google maps" thread, about the Wic64 which is a new type of wifi modem that uses its on http type protocols rather than the classic Hayes "AT" set .. seems like that functionality can be added to the existing midilink-modem stuff?

bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by bbond007 »

ericgus09 wrote: Sun Feb 12, 2023 7:37 am

bbond007, how hard is it to extend the "AT" functionality in the midilink layer? .. why I ask, there is a discussion going on over in the c64 section "google maps" thread, about the Wic64 which is a new type of wifi modem that uses its on http type protocols rather than the classic Hayes "AT" set .. seems like that functionality can be added to the existing midilink-modem stuff?

its not hard to extend the "AT" command set... but its not user accessible right now, as you need to recompile MidiLink. Perhaps I could add an option for user definable commands that run scripts.

[modem.c]

Code: Select all

  else if (memcmp(lineBuf, "ATCHAT", 6) == 0)
    {
        modem_do_chat_gpt();
    }

Check this out --> https://youtu.be/V1AYvh7j_Eo

User avatar
ericgus09
Posts: 217
Joined: Mon May 25, 2020 2:47 am
Has thanked: 12 times
Been thanked: 32 times

Re: ChatGPT on cores with serial(UART) support?

Unread post by ericgus09 »

bbond007 wrote: Tue Feb 21, 2023 3:52 am
ericgus09 wrote: Sun Feb 12, 2023 7:37 am

bbond007, how hard is it to extend the "AT" functionality in the midilink layer? .. why I ask, there is a discussion going on over in the c64 section "google maps" thread, about the Wic64 which is a new type of wifi modem that uses its on http type protocols rather than the classic Hayes "AT" set .. seems like that functionality can be added to the existing midilink-modem stuff?

its not hard to extend the "AT" command set... but its not user accessible right now, as you need to recompile MidiLink. Perhaps I could add an option for user definable commands that run scripts.

[modem.c]

Code: Select all

  else if (memcmp(lineBuf, "ATCHAT", 6) == 0)
    {
        modem_do_chat_gpt();
    }

Check this out --> https://youtu.be/V1AYvh7j_Eo

SERIOUSLY WITH VOICE.. get out.. lol.. {now I got a new rabbit hole to go down}

But the Wic64 is interesting the firmware is all published so its easy to see what the server end is looking for (seems to be all HTTP type commands).. would be interesting to make Midilink have user definable command sets.. yes.

BTW when you are doing an ATCHAT, try asking ChatGPT to pretend its a BBS ! .. someone posted the prompt and the thing can roleplay being a BBS complete with messages and such and the bbbs users you talk to remember you etc..

https://www.reddit.com/r/ChatGPT/commen ... ith_games/

Post Reply