Dallas RTC drivers (beta)

General Discussion, STOS.
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1749
Joined: 18 Aug 2019 22:43
Location: Sweden

Re: Dallas RTC drivers (beta)

Post 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)
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1749
Joined: 18 Aug 2019 22:43
Location: Sweden

Re: Dallas RTC drivers (beta)

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
AndresPlazaR
Posts: 147
Joined: 03 Apr 2019 15:35
Location: Boston, MA, USA

Re: Dallas RTC drivers (beta)

Post 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.
--
Andres Plaza R.
Bluesky: @aplaza.bsky.social
Twitter: @AndresPlazaR
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1749
Joined: 18 Aug 2019 22:43
Location: Sweden

Re: Dallas RTC drivers (beta)

Post 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 :)
User avatar
AndresPlazaR
Posts: 147
Joined: 03 Apr 2019 15:35
Location: Boston, MA, USA

Re: Dallas RTC drivers (beta)

Post 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.
--
Andres Plaza R.
Bluesky: @aplaza.bsky.social
Twitter: @AndresPlazaR
User avatar
AndresPlazaR
Posts: 147
Joined: 03 Apr 2019 15:35
Location: Boston, MA, USA

Re: Dallas RTC drivers (beta)

Post by AndresPlazaR »

@agranlund, any luck? ;-)
--
Andres Plaza R.
Bluesky: @aplaza.bsky.social
Twitter: @AndresPlazaR
User avatar
AndresPlazaR
Posts: 147
Joined: 03 Apr 2019 15:35
Location: Boston, MA, USA

Re: Dallas RTC drivers (beta)

Post by AndresPlazaR »

@agranlund ping? :-)
--
Andres Plaza R.
Bluesky: @aplaza.bsky.social
Twitter: @AndresPlazaR
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Dallas RTC drivers (beta)

Post by exxos »

AndresPlazaR wrote: 07 Mar 2021 01:48 @agranlund ping? :-)
He's not logged on this year yet...
User avatar
kodak80
Posts: 536
Joined: 21 Oct 2017 01:14
Location: Brisbane, QLD, Australia

Re: Dallas RTC drivers (beta)

Post 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
You do not have the required permissions to view the files attached to this post.
Creator of the Atari ST Review and ST Action magazine archives: https://www.chillichai.com/
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 14888
Joined: 17 Aug 2017 19:40
Location: Essex

Re: Dallas RTC drivers (beta)

Post by rubber_jonnie »

Still not had the opportunity to test due to house moving, will see if I can get a look at it.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...

Return to “SOFTWARE”

Who is online

Users browsing this forum: ClaudeBot and 4 guests