Search found 259 matches

by tzok
Tue Aug 28, 2018 10:17 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

Last time: TOS calculates date starting from year 1980 - it is stored as 0 in 7 bits provided for year in word for date (stays for all versions). TOS 1.xx adds $80 to it when writes to IKBD, and subs same after reading. Not 'should' , it does it. And that's what limits year span to only 20 years - ...
by tzok
Tue Aug 28, 2018 7:15 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

I'm not a native english speaker... but still "this is what should be sent" (in context of analyzing source code or documentation) sounds for me like "what I should see on the logic analyzer". Nevertheless - why you don't like my solution so much? TOS 1.62 (via the CONTROL.ACC) and TOS 2.06 (directl...
by tzok
Tue Aug 28, 2018 6:25 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

" TOS code (I looked 1.04) adds $80 (writing in hex because it is how CPU sees it) to packed BCD value of year before writing it to IKBD," - As said, you did not read it ... Btw. same is in 1.62 . One day I will check 2.06 . According to me, for year 1999 $19 (packed BCD) should be sent. And $99 (p...
by tzok
Tue Aug 28, 2018 3:45 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

Obviously you did not read what I wrote, and you don't care for. How can you see what is added and what not by looking only signals and not code? I do care, but not understand... I see raw data being sent to the IKBD, so if TOS would add anything, I should see it. When I set 1999 I see 0x99 being s...
by tzok
Tue Aug 28, 2018 2:50 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

I gave you explanation why it works not in 1.04-1.62 . Because Rainbow TOS itself won't query the IKBD for a current time? I don't see this 0x50 being added/subtracted while communicating with IKBD. As I said - I was physically intercepting communication between ST and IKBD and values sent by/to IK...
by tzok
Tue Aug 28, 2018 1:01 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

My solution works without any software on TOS 2.06. On TOS 1.04 and 1.06/1.62 it requires CONTROL.ACC. IKBD ignores bytes higher than 0x99, allowing to set only an hour or day (rest of fields have to be set to 0xFF or 0xAA or whatever value higher than 0x99). However my solution is to intercept thes...
by tzok
Tue Aug 28, 2018 10:28 am
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

Because TOS coders had again some 'great' solution - their TOS code (I looked 1.04) adds $80 to packed BCD value of year before writing it to IKBD, so it will keep real year (of century), after xx80. But that lowered year span to only 20 . After reading year from IKBD, BCD value is converted to bin...
by tzok
Mon Aug 27, 2018 7:32 pm
Forum: HARDWARE DISCUSSIONS
Topic: My latest restoration in pictures
Replies: 14
Views: 4051

Re: My latest restoration in pictures

...and? The stains are probably residues of electro-isolating lacquer the PCB was painted with. They are visible around all components.
by tzok
Mon Aug 27, 2018 3:01 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

Petari wrote:
Mon Aug 27, 2018 2:16 pm
You should test will it switch to correct next year at midnight of Dec 31 .
23:59:00 31.12.2019 (0xFC, 0xB9, 0x12, 0x31, 0x23, 0x59, 0x00) TOS 2.06 and CONTROL.ACC:

by tzok
Mon Aug 27, 2018 1:38 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 20448

Re: no-software internal RTC

Today I've finally done some tests. First of all - it works! Values over 99 are invalid, so supposed $B8 is bad. I've checked that and although IKBD won't accept or would never send a year byte higher than 0x99, yet TOS 1.62 and 2.06 will accept and correctly handle such values. My simple solution w...

Go to advanced search