You just have the knack of finding out all these weird issues.exxos wrote: 27 Jun 2019 17:36 Why is it always me who runs into issues when the datasheets wrong :lol: :roll:
REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Reading & write to RTC 12887 ?
-
Icky
- Site Admin

- Posts: 4383
- Joined: 03 Sep 2017 10:57
- Location: UK
Re: Reading & write to RTC 12887 ?
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
Does it also count that in hisoft basic, the classic "X,Y" order is actually "Y,X"... that drove me nuts as well :roll:
-
PhilC
- Moderator

- Posts: 7494
- Joined: 23 Mar 2018 20:22
Re: Reading & write to RTC 12887 ?
Project no 46365335 Exxos Basic for the Atari ST
If it ain't broke, test it to Destruction.
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
Yeah! :lol: I think I like STOS the best :lol:
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
We now have time and date functioning :)
In fact the whole program is functional now I think :D
In fact the whole program is functional now I think :D
You do not have the required permissions to view the files attached to this post.
-
PhilC
- Moderator

- Posts: 7494
- Joined: 23 Mar 2018 20:22
Re: Reading & write to RTC 12887 ?
Ok, how about exSTOS? not only can you program with it but it reminds you to drink Vodka?
If it ain't broke, test it to Destruction.
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
Probably last update for the week..
Adding in a new option to set the ST's time & date from the RTC clock... "almost" works :lol:
Really I need someone to do a simple version in ASM which can access the RTC registers and set the ST's clock.. like a small AUTO folder program..
EDIT:
Fixed the date bug.. but no matter what I put in as the year, it always reads (from the ST) "20;9"... I tried putting in "2019", "20", "19" but makes no odds.... I'm assuming the internal ST clock just doesn't work with these numbers :shrug:
Adding in a new option to set the ST's time & date from the RTC clock... "almost" works :lol:
Really I need someone to do a simple version in ASM which can access the RTC registers and set the ST's clock.. like a small AUTO folder program..
EDIT:
Fixed the date bug.. but no matter what I put in as the year, it always reads (from the ST) "20;9"... I tried putting in "2019", "20", "19" but makes no odds.... I'm assuming the internal ST clock just doesn't work with these numbers :shrug:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
I tried using the TSETDATE function and it worked in that I could set 1/1/1980, but again setting 2019 resulted in "20;9" :roll: So its not a bug in hisoft in setting the date.. so maybe reading the date is wrong.. will try a system call for that next...
EDIT:
The value I write to the ST clock comes back the same, so I think its a bug in reading the time in hisoft basic :roll:
EDIT:
The value I write to the ST clock comes back the same, so I think its a bug in reading the time in hisoft basic :roll:
-
exxos
- Site Admin

- Posts: 28594
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Reading & write to RTC 12887 ?
Had to write me own DATE decoder :roll: But now the date is reporting correctly :)
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: Bing [Bot], ClaudeBot, MasterOfGizmo and 16 guests