Page 2 of 3

Re: Dallas RTC drivers (beta)

Posted: 09 Oct 2020 16:31
by agranlund
Thanks for testing it out and I'm glad it works on the H4 :dualthumbup:

I uploaded the whole thing to my Github repository:
https://github.com/agranlund/rtc

The one on Github has better cookie handling but is otherwise identical to what I posted here.
(it creates or resizes the jar if needed)

Re: Dallas RTC drivers (beta)

Posted: 11 Nov 2020 10:25
by agranlund
Fixed bugs when Dallas chip is located in TOS rom sockets instead of cartridge address space.
RTCX.zip
Also available on https://github.com/agranlund/rtc

Re: Dallas RTC drivers (beta)

Posted: 21 Dec 2020 14:14
by AndresPlazaR
Hi!

I was trying this driver in my H5 B1, and every time I load it (whatever it is via AUTO or manually), it just bombs. Any ideas?

BTW, I'm using TOS 1.04 and, of course, trying to use the internal RTC of the H5.

Thanks,

Andres.

Re: Dallas RTC drivers (beta)

Posted: 23 Dec 2020 13:33
by agranlund
AndresPlazaR wrote: 21 Dec 2020 14:14 Hi!

I was trying this driver in my H5 B1, and every time I load it (whatever it is via AUTO or manually), it just bombs. Any ideas?

BTW, I'm using TOS 1.04 and, of course, trying to use the internal RTC of the H5.

Thanks,

Andres.
I’m not in front of the sourcecode right now but I’m guessing I have a bug in the chip location detection code. It will look for it in cartridge, tos2/3 and tos1 address space and my gut reaction says that I probably forgot to trap bus errors and thus it bombs for you when it looks in the Tos2 address range. Should be an easy fix when I’m back at the computer :)

Re: Dallas RTC drivers (beta)

Posted: 23 Dec 2020 15:06
by AndresPlazaR
agranlund wrote: 23 Dec 2020 13:33 I’m not in front of the sourcecode right now but I’m guessing I have a bug in the chip location detection code. It will look for it in cartridge, tos2/3 and tos1 address space and my gut reaction says that I probably forgot to trap bus errors and thus it bombs for you when it looks in the Tos2 address range. Should be an easy fix when I’m back at the computer :)
Super, thank! I will be on vacations until January 3th, so I can test quickly. ;-)

Andres.

Re: Dallas RTC drivers (beta)

Posted: 29 Dec 2020 05:22
by AndresPlazaR
@agranlund, any luck? ;-)

Re: Dallas RTC drivers (beta)

Posted: 07 Mar 2021 01:48
by AndresPlazaR
@agranlund ping? :-)

Re: Dallas RTC drivers (beta)

Posted: 07 Mar 2021 06:20
by exxos
AndresPlazaR wrote: 07 Mar 2021 01:48 @agranlund ping? :-)
He's not logged on this year yet...

Re: Dallas RTC drivers (beta)

Posted: 05 Apr 2021 09:25
by kodak80
Tested this on my Mega ST4 and it works with the Ricoh IC as well. Very happy that it works.

Mega 4 RTC.jpg

Re: Dallas RTC drivers (beta)

Posted: 05 Apr 2021 09:39
by rubber_jonnie
Still not had the opportunity to test due to house moving, will see if I can get a look at it.