List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Did someone get the SNES core working with the RTC or does it need a ticket or to ask in the SNES section of the forum?
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

After I tried, my conclusion was that the support added was about making the emulated RTC work, but not synced with the actual RTC. Maybe worth a ticket.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Right, I see, are you able to add a ticket with the expected behaviour and your findings?

https://github.com/MiSTer-devel/SNES_MiSTer/issues
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

No, I left github for good.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

OK, If you give a write up I can post a ticket.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

I'm not good at wording stuff in a way that motivates people to do things, due to my Asperger's. I tend to get too technical and maybe too strict-sounding. This is my best try:

"The S-RTC and SPC7110 + RTC4513 support doesn't seem to make use of MiSTer's RTC module. It would be nice if it did, so that the involved games use the real date and time without needing any adjustments."

Feel free to reword in a more welcoming way.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Thanks, have raised a ticket:
https://github.com/MiSTer-devel/SNES_MiSTer/issues/267

Also, RTC support added to Spectrum Next in today's release.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

I am wondering if it is worth just putting in Feature Request tickets on all the cores that could get RTC and ADC support, so at least there is visibility and developers could add if they wanted.

Is the Google sheet on the previous page the best one to work from? It might be worth adding a couple of tabs for RTC on orig hardware and RTC supported in core to log those in there as well.

The Atari 2600 could get ADC once the Supercharger is supported, which is seemingly easy to add.
User avatar
bootsector
Posts: 162
Joined: Sun May 24, 2020 6:58 pm
Has thanked: 4 times
Been thanked: 30 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by bootsector »

Tengai Makyou Zero makes correct usage of the RTC module in the SNES core. I was able to start the game, save and restore all with correct time without having any network connectivity.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

bootsector wrote: Mon May 03, 2021 10:37 am Tengai Makyou Zero makes correct usage of the RTC module in the SNES core. I was able to start the game, save and restore all with correct time without having any network connectivity.
Really? When starting a new game, I get a setup screen with 1995年 12月 22日 12時 0分.
User avatar
bootsector
Posts: 162
Joined: Sun May 24, 2020 6:58 pm
Has thanked: 4 times
Been thanked: 30 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by bootsector »

pgimeno wrote: Mon May 03, 2021 12:20 pm
bootsector wrote: Mon May 03, 2021 10:37 am Tengai Makyou Zero makes correct usage of the RTC module in the SNES core. I was able to start the game, save and restore all with correct time without having any network connectivity.
Really? When starting a new game, I get a setup screen with 1995年 12月 22日 12時 0分.
Yes! You still need to go through the two initial tests and also setting up the initial date time. After that, and saving inside one of the houses you see, you won't be asked for time setup anymore.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

bootsector wrote: Mon May 03, 2021 2:30 pm Yes! You still need to go through the two initial tests and also setting up the initial date time. After that, and saving inside one of the houses you see, you won't be asked for time setup anymore.
You're right. Support does work for both Tengai Makyou Zero and Daikaijuu Monogatari 2; I have updated the OP.

I wonder what happened the first time I tried. I remember it failed one of the tests during setup. Maybe there was an issue that has been fixed with a more recent update after I tried.

The way it works is somewhat confusing, I must say. After setup, it takes the time you have entered, until you reload the core; when you do, it takes the real time, even forcing Tengai Makyou Zero (which doesn't support years beyond 2014 during setup) to take the current year. Saves store the date at the time of saving, which for Tengai Makyou Zero, it may be some years behind if you do not reload the core before going through the intro.

I've successfully made Tengai Makyou Zero take the current date and time with this recipe:

- Launch it for the first time, or if you don't mind the saves, remove the save from /media/fat/saves/SNES/
- A screen with a big A and japanese characters should appear. Press A (circle if using a PlayStation controller).
- Save Backup RAM.
- Reboot.
- A screen with a big B and japanese characters should appear. Press B (X if using a PlayStation controller).
- Save Backup RAM.
- Reboot.
- Start the date/time configuration (as if you were to start a new game).
- Don't mind the date and time, just go down and accept by selecting "はい" (yes) and pressing A (PSX: circle).
- Enter your birth date and time (or the birth date and time with which you want to play), then accept by selecting "はい" (yes) and pressing A (PSX: circle).
- Save Backup RAM.
- Important: Reload the core.
- Launch the game again.
- Go through the intro; when you gain control of Higan, save backup RAM one last time. Check the date and time by pressing X (PSX: triangle). You can select "とけい" (clock) for a bigger version.

I imagine that the process will be similar for Daikaijuu Monogatari 2, except since you can enter the right date since the beginning, you don't need to reload the core for it to take the current date and time.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Should we close the ticket on the SNES issue?
https://github.com/MiSTer-devel/SNES_MiSTer/issues/267


Worth noting in the recent update to the C64 included this:
- Fix TOD(RTC) clock.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

Moondandy wrote: Thu May 06, 2021 3:20 pm Should we close the ticket on the SNES issue?
https://github.com/MiSTer-devel/SNES_MiSTer/issues/267
It seems so. Thanks for posting it. I guess that automatically displaying the current date and time during setup in these games is out of scope for the core.

Moondandy wrote: Thu May 06, 2021 3:20 pm Worth noting in the recent update to the C64 included this:
- Fix TOD(RTC) clock.
I already updated yesterday. I've tried to test it with this: https://retro64.altervista.org/blog/com ... m-compute/ but it's not persistent.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

New currently unofficial core supports ADC

viewtopic.php?f=14&t=2440
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Am quite surprised the C64 core doesn't support ADC, that's a popular system and I know people who bought them more recently and use an iPod etc. With wave files on it to load games.

Have raised a ticket:
https://github.com/MiSTer-devel/C64_MiSTer/issues/86
User avatar
LamerDeluxe
Top Contributor
Posts: 1160
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 798 times
Been thanked: 257 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by LamerDeluxe »

Moondandy wrote: Thu May 06, 2021 5:19 pm Am quite surprised the C64 core doesn't support ADC, that's a popular system and I know people who bought them more recently and use an iPod etc. With wave files on it to load games.

Have raised a ticket:
https://github.com/MiSTer-devel/C64_MiSTer/issues/86
I was surprised about that with the VIC-20 and Plus/4 cores as well.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Have raised tickets for the C16/Plus4 and VIC20 cores:

https://github.com/MiSTer-devel/C16_MiSTer/issues/6

https://github.com/MiSTer-devel/VIC20_MiSTer/issues/8

Will see if one of the Devs decides to add, would be nice if they could support it.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

Moondandy wrote: Fri May 07, 2021 9:44 pm People happy with the implementation of these so I can close them?

https://github.com/benitoss/ZXNext_Mister/issues/9

https://github.com/MiSTer-devel/Gameboy ... issues/131
Both work great for me. I could also mark the GB/GBC RTC support as verified in the OP.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Cool, have closed off ZX Next and have made a comment to make sure everyone in the thread is happy with the implementation on GBC before I close.

I also added an ADC request on ZX81, as the other two spectrum cores have this already so presumably can be added to the ZX81 core as well for parity.
https://github.com/MiSTer-devel/ZX81_MiSTer/issues/3

Sorg responded to the Commodore ADC requests:
"external tape input for C64/C16/VIC20 is problematic as computer controls the motor of tape player. Without control of player computer will miss the data.
There is already tape player integrated which is pretty much the same and additionally it's controlled by computer and gives full emulation of tape player."

Looks like it's not feasible to have ADC in for the Commodores which is a real shame.
User avatar
NML32
Posts: 288
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 272 times
Been thanked: 43 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by NML32 »

Thank you for opening the GitHub request for Commodore ADC support. I also had hopes for C64 ADC support.
User avatar
LamerDeluxe
Top Contributor
Posts: 1160
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 798 times
Been thanked: 257 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by LamerDeluxe »

Moondandy wrote: Mon May 10, 2021 11:06 am Cool, have closed off ZX Next and have made a comment to make sure everyone in the thread is happy with the implementation on GBC before I close.

I also added an ADC request on ZX81, as the other two spectrum cores have this already so presumably can be added to the ZX81 core as well for parity.
https://github.com/MiSTer-devel/ZX81_MiSTer/issues/3

Sorg responded to the Commodore ADC requests:
"external tape input for C64/C16/VIC20 is problematic as computer controls the motor of tape player. Without control of player computer will miss the data.
There is already tape player integrated which is pretty much the same and additionally it's controlled by computer and gives full emulation of tape player."

Looks like it's not feasible to have ADC in for the Commodores which is a real shame.
Too bad. I know the Commodore machines are able to control the motor, I still have a datasette. IIRC MSX machines can do this as well, using a separate remote connector. Regular cassette players used to have a jack plug connection allowing to pause and resume playing.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

Apparently the SAM Coupé could use an RTC too, though it's not a built-in feature. https://www.worldofsam.org/products/sambus

Edit: Or a Dallas clock https://www.worldofsam.org/products/dallas-clock - includes schematics.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Cool, have popped in a ticket if someone wants to pick it up:

https://github.com/MiSTer-devel/SAM-Cou ... r/issues/1

Mentioned it here also:

viewtopic.php?f=11&t=2637&p=26705#p26705
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Has anyone looked at compiling a list of cores that could potentially add RTC support that don't already have it?
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

That is now RTC support added to the C64 core, not sure how you test it.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

Tested, thanks!
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 97 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by Moondandy »

Nice, are you able to update the original post?

"C64 TOD clock in CIA chip (mentioned in the release notes: viewtopic.php?p=25021#p25021 - no idea how to test it - possibly not battery backed)"

I can then update the official MiSTer wiki
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: List of Cores with ADC (Tape Input) and RTC (Real Time Clock) Support

Unread post by pgimeno »

Moondandy wrote: Thu Jun 17, 2021 12:04 am Nice, are you able to update the original post?

"C64 TOD clock in CIA chip (mentioned in the release notes: viewtopic.php?p=25021#p25021 - no idea how to test it - possibly not battery backed)"

I can then update the official MiSTer wiki
On one hand, GEOS has support for a battery-backed RTC, I'm not sure which one but whatever it is, MiSTer has support for it. I can't understand German but this page lists some modules: https://www.c64-wiki.de/wiki/RTC and there's also this schematic: https://github.com/ytmytm/c64-ds12c887 - maybe it's one of those. That's what I tested and it uses the MiSTer RTC module, as listed.

On the other hand, the CIA chip contains a TOD (Time Of Day) clock, https://en.wikipedia.org/wiki/MOS_Techn ... D%29_Clock which I tested with a certain program but it didn't seem to be battery backed. From the info at Wikipedia it seems to me that it is clocked by the AC power line, which would mean that when the power goes out, there's no clocking; if my understanding is right, it wouldn't make sense for it to be battery backed. That's the second entry in the list. Sorg's wording in the release notes made me think that it used the RTC module, but everything I find seems to contradict that.
Post Reply