Dallas RTC sync + TOS Y2K fix
James - Nov 2, 2017
OK, so the specific pass throu option of the DS1216(EorF) will only work on a 2 tos board. Good to know. I thought all 6 chip were the 28pin and the 2 chip were the 32pin.. so because you said either or, I thought it would work that way. Now your tool you say works to 2050? can it be used with say http://fr.meric.free.fr/Articles/articlesba/forgetmeclockinside/forgetmeclockinside.html RTC? maybe I will built that then.. or Exxos kit.
Hi Troed, I think you’re right. In fact DS1216 and DS1315 is the same part. DS1315 have 16pins and DS1216 is a 28/32pins module with a DS1315 inside. On DS1216 D0 and D2 are connected to the bus. On ‘forget me clock’ cartbrigde D0 and D1 are connected. On chipset WE is data input on A1 or A2 (write enable) st bus, Q on D0 (data output) and A1 on D (data input). So Write should be Fe0002 or Fe0004 if i understand. Best regards Franck
Hmm. Actually if it’s running a 6 chip TOS I don’t think it would work. If you convert to 2 chip then yes. The AReal suite needs to be used for setting the date, after that my tool takes care of syncing it back Y2K compliant each boot. The battery in a (new) DS-chip should work for about 10 years.
Ah ok. The DS1216 is accessed like this: * write: fe0000 or fe0002 * read: fe0008 - read bit in bit 0 So for the DS1315 the only difference would be accessing xxxxx4 instead when reading? Not having the device myself makes it a bit difficult - but if that’s all then yes I should be able to add that with only a few bytes of code so that everything might still fit within a boot sector (although it will be very tight … ;)) /Troed
Dear Troed, Very nice work ! i love it. I made almost the same hack with a DS1315 with the forget me clock. It use A0 and A1 bit on bus. It’s possible to add this configuration in your program ? Best regards
Hi Franck, Thanks! I did a quick read-through on the 1315 and it seems to work exactly the same (64 bit magic, the same one as on the 1216, next is read or write depending on WE etc). How is it mapped/accessed in your config? /Troed
Hi Troed, Yes, in fact DS1216 is a DS1315 in 28 or 32 pins packaged. So its the same. I wrote an article on the Forget me clock and i made schematic of this cardbridge. The différence with DS1216 on your hack, is on adresse map. With forget me clock adresse bus is A0-A1, and on DS1216 on Eprom, it’s A0 and A2. If you hunderstand french (that explain my bad english ;) ), you can see that on : http://www.labibleatari.fr/Articles/articlesba/forgetmeclockinside/forgetmeclockinside.html (work in progress and not published yet) Best regards Franck
Hey Troed, As i think, i tried to connect pin6 of my DS1315 to A2 line, and DALLRTS.EXE read correctly date in RTC. Of course “Forget me clock” cartbridge programme now did’nt detect it. It should be easy to add a test to detect if this device is connected to A1 line. Your program is really good ! Franck
So if I understand your article A DS1216E - would fit on one of the TOS chips in a 6 chip tos machine. - Thats all i have to do, and using your Rtc program v1.0 it will be set. Do I still use programs from the Bill Penner items? How long will the battery last? and I assume not replaceable?