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 »

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: 677
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 255 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: 677
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 255 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.
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 »

So after closing the ticket asking for ADC in the C64 core about a week ago as not feasible, Sorg has seemingly done it!

#MiSTerFPGA update
Re: MiSTer updates and changelog
C64:

- Update tape module to support more loaders.

- Tape input through ADC (not tested yet).

- C1541: support up to 42 tracks.

- Support for Prophet64 cartridge.
https://t.co/CBBte8lqVR


Anyone set up to test it?
User avatar
LamerDeluxe
Top Contributor
Posts: 1179
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 821 times
Been thanked: 264 times

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

Unread post by LamerDeluxe »

Woa, that is great news! I hope the VIC-20 (and Plus/4) cores will get ADC support 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 »

Here is another core with ADC, PMD85 an old Czech computer, hopefully will get added to Main at some point:

viewtopic.php?f=14&p=34363#p34363
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 »

Is the ZX Next the only Spectrum core with RTC support?
User avatar
pgimeno
Top Contributor
Posts: 677
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 255 times
Been thanked: 208 times

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

Unread post by pgimeno »

The +2/+3/+2A versions didn't have one. Most likely the Timex ones didn't either. Not sure about the Pentagon/Scorpion, but I'd say it's unlikely.

Edit: Oh yes, the TSConf has one (and was already in the list).
User avatar
thisisamigaspeaking
Posts: 231
Joined: Mon May 23, 2022 12:28 am
Has thanked: 74 times
Been thanked: 21 times

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

Unread post by thisisamigaspeaking »

How many of the systems with RTC support have y2k or similar bugs, whether currently active or coming up soon?

Does the physical RTC module offer anything over the NTP time off the network?
AngelicLiver
Posts: 328
Joined: Fri May 29, 2020 8:50 am
Has thanked: 67 times
Been thanked: 94 times

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

Unread post by AngelicLiver »

How many of the systems with RTC support have y2k or similar bugs, whether currently active or coming up soon?
None off the top of my head. In all likelihood they may just 'wrap' around to the wrong century but I've yet to see that on a MiSTer core. It would depend entirely on how the hardware/software implemented dates.
Does the physical RTC module offer anything over the NTP time off the network?
Retains the time when the MiSTer is not networked. That's all.
User avatar
pgimeno
Top Contributor
Posts: 677
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 255 times
Been thanked: 208 times

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

Unread post by pgimeno »

When you print DATE$ with the PC-88, it shows the wrong year but correct month and day. I suspect that may be a Y2K issue, but I haven't tried to set the date to < 2000 to verify.
dave18
Posts: 72
Joined: Sun Jun 21, 2020 8:21 am
Has thanked: 4 times
Been thanked: 7 times

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

Unread post by dave18 »

I seem to remember that the Commodore datasette has an internal ADC and outputs (or receives) a digital signal from the user port. It is possible to connect it to the MiSTer user port (obviously an adapter would be needed) to read the digital signals and also control the motor?
User avatar
pgimeno
Top Contributor
Posts: 677
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 255 times
Been thanked: 208 times

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

Unread post by pgimeno »

dave18 wrote: Mon Sep 26, 2022 7:18 am I seem to remember that the Commodore datasette has an internal ADC and outputs (or receives) a digital signal from the user port. It is possible to connect it to the MiSTer user port (obviously an adapter would be needed) to read the digital signals and also control the motor?
I think the appropriate thread is this one: viewtopic.php?t=4848

Short answer: not possible yet because no one has made it yet, but feasible.
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 194 times

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

Unread post by Malor »

thisisamigaspeaking wrote: Mon Aug 15, 2022 7:52 pm How many of the systems with RTC support have y2k or similar bugs, whether currently active or coming up soon?

Does the physical RTC module offer anything over the NTP time off the network?
This is an incredibly late reply, but the RTC means that Linux boots up with the correct network time instantly. You don't have to wait for the time to appear in the title bar before launching RTC-aware cores. I think it shortens my cold boot time by about ten seconds.

You do have to set the RTC once per battery, but it's not difficult.

Dunno nothin' about Y2K bugs on old computers. I can say that the systems I've tried (Amiga, Archimedes, and AO486) seem to understand that it's 2022 just fine, at least at a system level. Individual programs could have all kinds of stupidities.
User avatar
thisisamigaspeaking
Posts: 231
Joined: Mon May 23, 2022 12:28 am
Has thanked: 74 times
Been thanked: 21 times

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

Unread post by thisisamigaspeaking »

Malor wrote: Wed Nov 02, 2022 11:48 am
thisisamigaspeaking wrote: Mon Aug 15, 2022 7:52 pm How many of the systems with RTC support have y2k or similar bugs, whether currently active or coming up soon?

Does the physical RTC module offer anything over the NTP time off the network?
This is an incredibly late reply, but the RTC means that Linux boots up with the correct network time instantly. You don't have to wait for the time to appear in the title bar before launching RTC-aware cores. I think it shortens my cold boot time by about ten seconds.

You do have to set the RTC once per battery, but it's not difficult.

Dunno nothin' about Y2K bugs on old computers. I can say that the systems I've tried (Amiga, Archimedes, and AO486) seem to understand that it's 2022 just fine, at least at a system level. Individual programs could have all kinds of stupidities.
So your NAS connects right away but NTP takes longer?
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 194 times

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

Unread post by Malor »

The NAS takes like +1 or +2 seconds after I see the Mister menu; by the time I can browse anything, it's up. NTP usually takes about ten seconds to synchronize.
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 »

Sord M5 now has ADC support, which is a nice little cherry on top of that core.

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

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

Unread post by pgimeno »

Thanks, I've also updated the status of molekula's other core, the MSX1, which I believe is official for quite some time now and was still listed as unofficial.

Post Reply