Dallas RTC drivers (beta)

General Discussion, STOS.

Moderator: troed

User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

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
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

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
(17.63 KiB) Downloaded 156 times
Also available on https://github.com/agranlund/rtc
User avatar
AndresPlazaR
Posts: 113
Joined: Wed Apr 03, 2019 3:35 pm
Location: Boston, MA, USA
Contact:

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.
Twitter: @AndresPlazaR
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Dallas RTC drivers (beta)

Post by agranlund »

AndresPlazaR wrote: Mon Dec 21, 2020 2:14 pm 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: 113
Joined: Wed Apr 03, 2019 3:35 pm
Location: Boston, MA, USA
Contact:

Re: Dallas RTC drivers (beta)

Post by AndresPlazaR »

agranlund wrote: Wed Dec 23, 2020 1:33 pm 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.
Twitter: @AndresPlazaR
User avatar
AndresPlazaR
Posts: 113
Joined: Wed Apr 03, 2019 3:35 pm
Location: Boston, MA, USA
Contact:

Re: Dallas RTC drivers (beta)

Post by AndresPlazaR »

@agranlund, any luck? ;-)
--
Andres Plaza R.
Twitter: @AndresPlazaR
User avatar
AndresPlazaR
Posts: 113
Joined: Wed Apr 03, 2019 3:35 pm
Location: Boston, MA, USA
Contact:

Re: Dallas RTC drivers (beta)

Post by AndresPlazaR »

@agranlund ping? :-)
--
Andres Plaza R.
Twitter: @AndresPlazaR
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Dallas RTC drivers (beta)

Post by exxos »

AndresPlazaR wrote: Sun Mar 07, 2021 1:48 am @agranlund ping? :-)
He's not logged on this year yet...
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
kodak80
Posts: 370
Joined: Sat Oct 21, 2017 1:14 am
Location: Brisbane,QLD Australia
Contact:

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
Mega 4 RTC.jpg (176.12 KiB) Viewed 3536 times
Atari Falcon 030 | Atari 1040 STE | Atari 1040 STFM | Atari 1040 STF | Kryoflux & Supercard Pro Flux boards
Creator of the Atari ST Review magazine archive: https://www.chillichai.com/atari-st-review
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 10472
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

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...
Post Reply

Return to “SOFTWARE”