Search found 165 matches

by tzok
Tue Sep 04, 2018 7:00 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

Re: no-software internal RTC

It is ready... 8165213200_1536065036-800x451.jpg 2757590500_1536065030-800x451.jpg ... and fits inside STe: 7399977500_1536065051-800x451.jpg Edit by IngoQ: Images scaled and uploaded to forum, high-res pictures available here: https://obrazki.elektroda.pl/8165213200_1536065036.jpg https://obrazki.e...
by tzok
Mon Sep 03, 2018 12:19 pm
Forum: ATARI FOR SALE & WANTED
Topic: WANTED - MFM drive for Supra drive
Replies: 14
Views: 3738

Re: WANTED - MFM drive for Supra drive

Drive on the photo is Fuji Electronic FK309-26 and it was a 21MB drive. C: 615 H: 4 S: 17 PC: 616 LZ: 614 BS: 512 I've been using different MFM drives in MEGAFILE 60, and only thing to be noticed is most MFM drives from PCs are set as ID=1, while MEGAFILE, and probably SUPRA too, will require ID=0. ...
by tzok
Mon Sep 03, 2018 11:21 am
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

Re: no-software internal RTC

Last update (hope so). For TOS 1.x it requires STE_FIX to work, so it only works on STe with TOS 1.06 and 1.62. On TOS 2.06 it doesn't require any software, so it should work on any ST running this version of TOS. Code after clean up: /****************************************************************...
by tzok
Sun Sep 02, 2018 8:58 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

Re: no-software internal RTC

Today I've discovered two things: 1) bit-mask for reading hour from ds3231 is 1 bit too short, and essentially unnecessary, 2) on TOS 1.62 it is not the CONTROL.ACC what polls the IKBD clock, but... STE_FIX.PRG (despite it is only for TOS 1.06, and here it displays that it is not required for this T...
by tzok
Wed Aug 29, 2018 4:02 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

Re: no-software internal RTC

...and fully featured version, with ability to set the RTC using CONTROL.ACC: /****************************************************************** Created with PROGRAMINO IDE for Arduino - 06.08.2018 15:23:03 Project : Atari ST IKBD clock injector with DS3231 RTC Libraries : SoftwareSerial, Wire Auth...
by tzok
Wed Aug 29, 2018 11:12 am
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

Re: no-software internal RTC

Here is the working code (without option to set RTC): /****************************************************************** Created with PROGRAMINO IDE for Arduino Project : Atari ST IKBD clock injector with DS3231 RTC Libraries : SoftwareSerial, Wire Author : tzok Description : ARD_RX0 from KB_5, ARD...
by tzok
Tue Aug 28, 2018 10:17 pm
Forum: RTC (Real time clock)
Topic: no-software internal RTC
Replies: 49
Views: 14264

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: 14264

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: 14264

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: 14264

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

Go to advanced search