Google Maps on the C64

User avatar
Caldor
Top Contributor
Posts: 930
Joined: Sat Jul 25, 2020 11:20 am
Has thanked: 112 times
Been thanked: 111 times

Google Maps on the C64

Unread post by Caldor »

Google Maps on the C64... I wonder if this could run on the MiSTer? I am guessing it won't because this acts as a cartridge and needs a custom ROM as well. The MiSTer C64 core should be capable of loading that ROM, but it looks to me like the web features rely on this custom hardware and that it would not be enough to use the Internet capabilities of the C64 cores. I think it can get online if I am not mistaken?

https://www.youtube.com/watch?v=14giLbM4rhk

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

Re: Google Maps on the C64

Unread post by ericgus09 »

The cartridge is just a wifi modem as I understand it and thats already implemented in the c64 core .. and the custom rom just adds a "LOAD" command that even in one of the videos I watched was purely optional, most of the heavy lifting is done on the server side you connect to .. so I dont see why it couldnt work, you just need to run the right programs on the 64 side and ensure the modem emulation is enabled .. in theory it should work..

The question is beyond the initial novelty factor .. it doesnt have much long term use .. but the overall concept of loading stuff off a remote server is pretty cool.

User avatar
Armakuni
Posts: 208
Joined: Fri Jan 13, 2023 10:37 am
Has thanked: 38 times
Been thanked: 33 times

Re: Google Maps on the C64

Unread post by Armakuni »

There is only RS232 and IEC lines exposed by the Userport on the C64 and the hardware needs 8 data lines, 2 handshake lines and 1 control line.

It might be possible to add the hardware on the core but can't see that happening

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

Re: Google Maps on the C64

Unread post by ericgus09 »

Armakuni wrote: Tue Feb 07, 2023 6:31 pm

There is only RS232 and IEC lines exposed by the Userport on the C64 and the hardware needs 8 data lines, 2 handshake lines and 1 control line.

It might be possible to add the hardware on the core but can't see that happening

No need its already in the core "UART-MODEM"

I dont think the cartridge does anything special that the existing functionality in the c64 core for the built in "wifi" modem emulation that "UART-MODEM" setting in the core does now.. so its unlikely you actually even need to connect it.. I mean sure if thats what you want to do and see if you can hack wiring the WiC64 to the mister then sure, go for it, but I dont think to get the google maps program to run its required at all .. all the WiC64 is essentially is a wifi modem and the core does this already if you set in the core the uart to "modem". The only other thing you need to do is load their special display program .. (the google map images are pre-rendered by a web rendering proxy server you connect to, the wic64 isnt doing the conversion).

the "custom kernel" rom we can easily load but in one of the videos I watched all that does is hack out the tape loader kernel routines to run a command for you to get the data remotely, and as they mention in the video its not required to have the custom (experimental) kernel rom.

edit: I am looking at the various source code files to see if I can figure out what protocols its using.. but it might just be something as simple as having that added to the UART-MODEM on the Linux/ARM side ..

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

Re: Google Maps on the C64

Unread post by ericgus09 »

Update: ok at first glance at the published firmware, it does seem this device isnt a wifi modem, so on that I stand corrected, seems they are using some kind of straight up http type protocols .. the wic doesn't do all the work, it connects to a back end server the Wic folks run, the back end server does most of the work and its that which does a lot of the heavy lifting (eg scraping google maps to a format the 64 can use) .. its a clever design, interesting .. that said, from what I see, I still think it could be done with a modification / enhancement to the UART stuff that runs on the Linux/ARM side, but given this is exceptionally proprietary to the c64/Wic there would be no use of this outside of that.. not sure how open they would be to adding this. ill keep poking at this its a unique take.. but it does seem to be using its own form of protocols that somewhat mirror http calls.

User avatar
Caldor
Top Contributor
Posts: 930
Joined: Sat Jul 25, 2020 11:20 am
Has thanked: 112 times
Been thanked: 111 times

Re: Google Maps on the C64

Unread post by Caldor »

Yeah, I was pretty sure it does more than just be a modem, and the custom firmware I have heard is not really needed, but the hardware itself seems to help make it possible to open web links in some way. The custom firmware I think just helps make it more accessible.

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

Re: Google Maps on the C64

Unread post by ericgus09 »

Caldor wrote: Thu Feb 09, 2023 11:40 am

Yeah, I was pretty sure it does more than just be a modem, and the custom firmware I have heard is not really needed, but the hardware itself seems to help make it possible to open web links in some way. The custom firmware I think just helps make it more accessible.

Yea as far as I can tell the custom kernel rom just co-opts the tape "LOAD" command to do an HTTP fetch over the userport with the wic .. I do think this kind of functionality (in theory) could be added to the Mister and it would likely fall on the UART setting .. and specifically the midilink stuff that runs on the misters ARM side (possibly adding a new selection option alongside the current values) .. but it would be very specific and only to this application and the c64 -- .. Its cool and everything, but im not sure if its worth the effort to port it all just to poke at it for a week or two then move onto some new distraction.. If you have a real machine, it might be worth building one .. that said, i think there was something similar someone was talking bout (forget where) and they were discussing a new BBS protocol .. I dont think it was a RIP type bbs but along those lines.. And of course there is the PLATOTerm project .. again not identical but similar..

User avatar
ponder
Posts: 34
Joined: Thu Feb 04, 2021 11:27 am
Has thanked: 6 times

Re: Google Maps on the C64

Unread post by ponder »

The WiC64 is powered by an ESP32 which does the heavy lifting http/https work and is not compatible with other WiFi modems. It could definitely be emulated as it's now in VICE but not sure it could be done in FPGA, though I might well be wrong here.

Image
djsquare
Posts: 126
Joined: Mon May 25, 2020 3:29 pm
Has thanked: 18 times
Been thanked: 17 times

Re: Google Maps on the C64

Unread post by djsquare »

I have an WiC64 that I play with from to to time on my real C64. It's a neat party trick to use street view but really that's all it is. You can use Google Maps on the right BBS server using say an Ultimate +II but you won't get the street view just simply the maps. I should say that I have no idea what is possible using the C64 core on MiSTer since this is one area that I really like using real hardware.

These are pretty kick ass BBS servers to log into on real C64 but I don't know if it's possible on the C64 core as it uses Turbo56k protocol

LU4FBU.DDNS.NET:6400
LU8FJH-C64.DDNS.NET:6402

rcade
Posts: 119
Joined: Wed May 27, 2020 7:57 pm
Has thanked: 1 time
Been thanked: 17 times

Re: Google Maps on the C64

Unread post by rcade »

It's an ESP32 hooked up via parallel, i.e. not just an RS-232 connection, so also not a UART modem.

User avatar
thera34
Posts: 132
Joined: Fri Sep 11, 2020 7:51 am
Has thanked: 96 times
Been thanked: 89 times

Re: Google Maps on the C64

Unread post by thera34 »

djsquare wrote: Sun Jun 23, 2024 10:28 pm

These are pretty kick ass BBS servers to log into on real C64 but I don't know if it's possible on the C64 core as it uses Turbo56k protocol

LU4FBU.DDNS.NET:6400
LU8FJH-C64.DDNS.NET:6402

It is, some of us tested a year or so ago (https://discord.com/channels/6479093974 ... 9083425892) or (viewtopic.php?t=6459) :
"Go to https://github.com/retrocomputacion/ret ... ster/build and grab RetroTerm
Get the User Port "u" one (eg. rt_u_v0.20.prg) , as the 232, sl, ulti versions refers to Turbo232, SwiftLink, Ultimate and are not implemented/tested on MiSTer
In the Mister C64 Menu, go to "Hardware", set the "Expansion" to "RS232", "RS232 Connection" to "Internal", "RS232 mode" to "VIC-1011" and save it.
Set Uart Mode to Modem / Link TCP Baud 57600. Reset UART connection and save modem config
In the Mister C64 Menu, go to Audio&Video, Set both SIDs to 6581, Right SID Port same, video PAL - for the time of testing seems to work best
Load RetroTerm prg and ATDT your way to lu8fjh-c64.ddns.net:6402 to enjoy SIDs/PCM files and even Internet Radio (PCM 11kHz) streamed online on C64 core"

"BinaryBond007 — 04/30/2023 1:10 AM
you can also add "rbbs = lu8fjh-c64.ddns.net:6402" to MidiLink.DIR so all you have to do is type "atdtrbbs"
the newer midilink lets you have different sections like [C64] [MiniMig] [C64+MiniMig] etc... "

https://youtu.be/jIqWVO9Rd38

Post Reply