CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: dxs on 19:14, 10 February 15

Poll
Question: Would you be interested in buying a RTC board?
Option 1: Yes. Definitely, as a complete standalone. votes: 14
Option 2: Only if usable in parallel with the X-MEM. votes: 22
Option 3: Only as a module to plug on my physical ROMBOARD I already have. votes: 1
Option 4: No thanks. votes: 8
Title: Real Time Clock Board
Post by: dxs on 19:14, 10 February 15
Hi there!

Like I said on a previous topic, I started a reproduction of the Dobbertin SmartWatch. If you don't know it see here: Dobbertin Smart Watch - CPCWiki (http://www.cpcwiki.eu/index.php/Dobbertin_Smart_Watch)

This is a board plugged on the expansion port, which brings RTC to the CPC. You can easily retrieve day, month, year, time from Basic, and use it as the RTC for FutureOS!

The prototype board working:
(http://thumbnails111.imagebam.com/39266/234609392658023.jpg) (http://www.imagebam.com/image/234609392658023)

Original boot screen:
(http://thumbnails110.imagebam.com/38887/adea07388866002.jpg) (http://www.imagebam.com/image/adea07388866002)

5 lines of basic can display time and date in real time:
(http://thumbnails109.imagebam.com/38887/ed98a1388865964.jpg) (http://www.imagebam.com/image/ed98a1388865964)

FutureOS Desk:
(http://thumbnails109.imagebam.com/39266/1da450392657842.jpg) (http://www.imagebam.com/image/1da450392657842)


The final production board:
(http://thumbnails108.imagebam.com/41707/3abdfd417068853.jpg) (http://www.imagebam.com/image/3abdfd417068853)


(http://thumbnails105.imagebam.com/41707/237740417068803.jpg) (http://www.imagebam.com/image/237740417068803)


The board is made of the RTC module itself which has a backup lithium battery, and an EPROM containing the original SmartWatch ROM which provides RSX access to the watch from basic (TIME ROM+ (http://www.cpcwiki.eu/imgs/c/c4/TIMEROM%2B.ROM)).
There are 2 ways of using this board, selected by jumpers.

First as a standalone.
The TIME ROM+ and RTC module are both located at position 2, allowing Parados in position 6 and being usable on a 464 as is. The whole board is usable as a standalone on any CPC 464-6128- + range.

Second in parallel with a MegaFlash or X-MEM, as the board is MX4 format compatible.
In this case the onboard EPROM is no longer used, you need to populate one slot of your X-MEM with a provided patched TIMEROM version and select a few jumpers. Otherwise if using FutureOS you don't need the TIMEROM at all.

A 20 pieces batch with "pro" PCB is planned, first come, first serve.

Q&A

Q: What will be the price?
A: Price INCLUDING TRACKED SHIPPING is 33.90e (36.90e) within France (Europe) for the first board. Each additional board is 30e.

Q: Is it MX4 compatible?
A: Yes it fully complies to IEC-MX4 standard :D !

Q: Is it compatible with other expansions?
A: MegaFlash: yes. X-MEM: yes. MFII: yes. The address is fully decoded so as long as other expansions do the same it should be fine.

Q: Is it FutureOS compatible?
A: Yes. Thank you TFM.

Q: Is it 6128+ compatible?
A: Yes I tested it with a 6128 and a 6128+.

Q: What is the battery life?
A: I calculated >10 years, anyway the battery is a standard 12mm lithium button cell, user replaceable for cheap.

Q: Does it come with an edge connector?
A: No, I have no time to make them. It comes with a male 50pin header like the Megaflash for example or any MX4 card. You can use your MX4 or Megaflash edge connector to 50pin female to run the RTC as a standalone. Connecting to the passthrough of the MX4 is also possible however you'll have to provide your own 50pin female-female cable.

Q: Is the software complete?
A: Yes, since I made the above screenshots I corrected the Y2K bug and translated the days and some text to english and french. I'm also making a small user manual since no information is available ATM on the Wiki.

Q: Why is this better than other RTC solutions on the CPC?
A: It's not. It provides compatibility with existing software like TIME ROM+, FutureOS. You can replace the battery easily. It brings the good old feeling of old electronic stuff which you can actually understand ;D . If you don't like it, then don't buy it I'm not making money here anyway.

Q: I would like to have one, but in a shiny box and with a 2 year warranty?
A: ...

Included in this post is a RAR file containing the User Manual, along with the English and French ROM files.
Title: Re: Real Time Clock Board
Post by: TFM on 20:31, 10 February 15
That's pretty cool! I would take one!


Now I have to update the FutureOS installation for being able to comfortable change the ROM number of the SmartWatch.  :)


EDIT: I would post a screenshot with the !BIGWATCH command too.  :laugh:
Title: Re: Real Time Clock Board
Post by: steve on 20:40, 10 February 15
 8)
Title: Re: Real Time Clock Board
Post by: gerald on 20:56, 10 February 15
One single question :
Is this a ROM extension ?
If so, I suspect it will not work with either the XMEM (an maybe the SymbifaceII) which populate the whole ROM range from 0 to 31, even if the ROM slot is not active.

Actually, a second question :
The slot connectors on the MX4 are female, while the passtrough and cable connector are male.
You say that one can use
   - either the cable provided with the MX4 or Megaflash -> your card connector should be male.
   - or use the passthrough connector on the MX4 -> your card connector should be female.
So : is the card connector male or female  ???
Title: Re: Real Time Clock Board
Post by: TFM on 21:50, 10 February 15
Quote from: gerald on 20:56, 10 February 15
You say that one can use
   - either the cable provided with the MX4 or Megaflash -> your card connector should be male.

Right, look at picture. Card is male.


Quote from: gerald on 20:56, 10 February 15
   - or use the passthrough connector on the MX4 -> your card connector should be female.
You need a cable with two female connectors for the pass through connector.

Title: Re: Real Time Clock Board
Post by: TFM on 21:53, 10 February 15
When using the great ROM-RAM-Box, then you can put the RTC directly in the provided single EPROM socket, as I did with the original RTC from Dobbertin back the day.  :)


I can test the board with the X-MEM for compatibility as soon as I got one unit of both of them.  8)


And who cares about the SF2? It already got an RTC.  :laugh:
Title: Re: Real Time Clock Board
Post by: gerald on 21:59, 10 February 15
Quote from: TFM on 21:50, 10 February 15
Right, look at picture. Card is male.
Look at the picture, this is the prototype, not the final product  ;)

Now, why the question :
The wording is misleading as it says you either use the cable provided with the MX4 OR connect it to the passthrough connector. Each solution requires a different connector.
It is not mentioned that you can plug it in one MX4 slot.
It is not mentioned that you need a cable to plug it on the passthrough.
Title: Re: Real Time Clock Board
Post by: TFM on 23:13, 10 February 15
*English* is the compromise ;-) Not what sounds the best or what we could speak the best.  :laugh:
Title: Re: Real Time Clock Board
Post by: dxs on 10:52, 11 February 15
Hi!
I just updated the FAQ in the first post.


@Gerald
Yes this is basically a single fixed position romboard. Regarding X-MEM compatibility I'm waiting for the MX4 to show up to run tests (I do have the X-MEM and Megaflash). I recognize this would be a huge problem. I checked the MegaROM schematic and yes it would need to be hacked to allow the RTC module to run in parallel.
Title: Re: Real Time Clock Board
Post by: Bryce on 11:05, 11 February 15
What ROM position does it occupy?

Bryce.
Title: Re: Real Time Clock Board
Post by: dxs on 11:21, 11 February 15
Position 5.
Definitely paralleling this with the MegaFlash or MegaROM will cause bus contention. A jumper would be needed to disable the specific ROM location.
Title: Re: Real Time Clock Board
Post by: Bryce on 13:04, 11 February 15
Hmm, 5 isn't easy to disable without a lot of logic.

Bryce.
Title: Re: Real Time Clock Board
Post by: dxs on 14:16, 11 February 15
Well I could change that of course but anyway the MegaFlash would need modifications people won't want / be able to perform. Too bad.
Easiest solution would be using the /OE from my board as input to logic on the MegaFlash which would prevent it from activating it's own ROM. Doesn't seem to be any free wire on the expansion port which would have made this cleaner.
Sure enough without a romboard you can't use F-OS or any custom disc system which removes a lot of interest to the RTC. Remains access from basic but...
Title: Re: Real Time Clock Board
Post by: TFM on 18:32, 11 February 15
Ok... just an idea!


Would the RTC itself be compatible with the X-MEM or MegaFlash? In this case the TimeROM software could be loaded into the X-MEM / MF without any trouble.


If not? Can the RTC itself get a high ROM number and we patch the TimeROM software to look there?


Just ideas.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 19:48, 11 February 15
Well trouble is the way the RTC socket works (or at least I understand it works). Say it's at position 5 with an EPROM on top (containing TIMEROM+ for example), then the socket is totally transparent and the EPROM is accessed from the computer just like if the RTC module wasn't there.
However when the RTC receives the recognition pattern which turns it on, the socket is no longer a pass-through and the EPROM  on top of it gets disabled, but the RTC remains enabled, allowing it to send data on the bus.


Meaning that the EPROM responding at the same position as the RTC has to be on top of it, no matter what. Be it a physical EPROM or an X-MEM or MegaFlash. If you load TIMEROM+ file in a MegaFlash, have the RTC without EPROM connected on another board in parallel, then both the RTC and the MegaFlash will answer when the RTC is accessed, causing failure.


However working with ROM numbers above 31 might be the solution, at least for F-OS. I'll look at MegaFlash schematics. A skillfull ASM coder will be needed to patch the TIMEROM+ however for basic operation, ideally below 7.
All updates regarding compatibility and design changes will be reflected in the first post I'll update.


@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)  as requested  ;)
(http://thumbnails111.imagebam.com/38916/30ad98389154905.jpg) (http://www.imagebam.com/image/30ad98389154905)
Title: Re: Real Time Clock Board
Post by: TFM on 20:02, 11 February 15
IIRC: The RTC and TimeROM don't have to be at the same ROM select. I remember I usually had them separated. Can somebody confirm or contradict? (I'm pretty sure though).





Title: Re: Real Time Clock Board
Post by: dxs on 21:47, 11 February 15

I think you are right.

I'll try since the prototype I made has 2x 28pins sockets, I can easily wire them for 2 different positions. Depends on how the TIMEROM+ is coded, it seems to be searching for the RTC on boot, unknown is how far (7? 15? 31?). If the RTC is at say pos 32 I doubt it will work.


What I (tried) to explain is that I believe no other ROM can be at the same position as the RTC, be it an EPROM, MegaFlash or whatever, UNLESS it's plugged on top of the RTC. Trouble is MegaFlash-like boards will respond on all empty slots with FF, what a physical romboard would not do because, well, no chip means no data :)
Title: Re: Real Time Clock Board
Post by: TFM on 22:15, 11 February 15
Right!

Guess the TimeROM searches slots 1-15, but I have to look at the source code...Yes.


EDIT: BTW Voting: I voted for "watch to plug in EPROM board", but I would take it in any way it comes. And I would like to have too of them if possible. But of course first one watch for everybody.  :) :) :)
Title: Re: Real Time Clock Board
Post by: TFM on 21:25, 12 February 15
Added support for the ROM number selection to the FutureOS installer... (not tested on real machine now, because I'm currently moving).

Title: Re: Real Time Clock Board
Post by: dxs on 10:17, 13 February 15
Turns out the TIMEROM search for the RTC starts at 15 and works downwards, so a patch is on it's way.
Physical decoding of a higher rom position will need extensive reworking of the prototype though so stay tuned. Plus the backside of the proto board is... well a sort of wild jungle  :)


Thanks TFM! In final version the RTC position will be fixed but choosing will allow users with a physical romboard to select their own 'random' RTC position.
Title: Re: Real Time Clock Board
Post by: TFM on 17:51, 20 February 15
Thanks dxs for your report... Now here an other little update of the FutureOS installer which automatically activated the Dobbertin RTC in the configuration bytes when altering the RTC ROM number.

EDIT: dxs could confirm it working!  :)  Thank you for testing!  :)
Title: Re: Real Time Clock Board
Post by: dxs on 12:38, 24 February 15
Hi there!


First post updated with details and new pictures.


The board is now MegaFlash compatible, FutureOS compatible, and very soon will be tested with the X-MEM!
Title: Re: Real Time Clock Board
Post by: TFM on 19:06, 24 February 15
Awesome!  :)  BTW: I talked to some people in the German forum, I guess some of them would be interested in the RTC too.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 01:12, 25 February 15
I'm planning a 10 pieces batch as a start, as I don't want to have too many left on my desk...
Title: Re: Real Time Clock Board
Post by: TFM on 17:48, 25 February 15
I'm sure you will sell very easy 20 of them IMHO.[nb]10 PCB's cost nearly as much as 20, right?[/nb]  :)
Title: Re: Real Time Clock Board
Post by: Rennert on 18:38, 25 February 15
i order a board :)
Title: Re: Real Time Clock Board
Post by: TFM on 19:43, 25 February 15
Me too!  :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 22:45, 25 February 15
Oh hell, yeah why not. I'll have one too.
Title: Re: Real Time Clock Board
Post by: Cpcmaniaco on 03:47, 26 February 15
One for me, thanks.
Title: Re: Real Time Clock Board
Post by: dxs on 02:55, 27 February 15
Ok I'll make 20 of them then  :)


I'll be on holidays this month so don't expect it to be available very fast however I'm working on it. Please watch this thread for updates.
Title: Re: Real Time Clock Board
Post by: TFM on 17:22, 27 February 15
Enjoy your holiday's!!!  :) :) :)  Tomorrow the month is over, back to RTC then.  :laugh: :laugh: :laugh:   :D   :) :) :)
Title: Re: Real Time Clock Board
Post by: skywalky on 19:56, 10 March 15
I like to have one for me if not too late.
Title: Re: Real Time Clock Board
Post by: dxs on 01:39, 12 March 15
Sure a 20 pieces batch will be made there will be one for you. But not this month cause I'm far away (March  ;) )
Title: Re: Real Time Clock Board
Post by: Gryzor on 20:52, 23 March 15
Ah hell, have I declared interest? I think not :D What is the cost?
Title: Re: Real Time Clock Board
Post by: dxs on 23:18, 18 April 15
Hi!


To everyone who is interested in this MX4 card...


The routing on eagle is progressing but I've got very little spare time. I hit a problem when I realized the battery in the RTC module is now (2015) almost empty, I measured the voltage of a few of them.


Hence I'm changing a bit the design, you'll get either a brand new 3v battery or even a socketed batt like on PC mainboards. Howver this implies that I'm going to drop the "standalone" capability, so that the card will be meant to be plugged on a MX4 in parallel with a romboard (MegaFlash, X-Mem).


Stay tuned.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 23:46, 18 April 15
Sounds good to me. Still wanting this one.

Craig.
Title: Re: Real Time Clock Board
Post by: Audronic on 01:05, 19 April 15
I am Interested also in a clock Board.


Ray
Title: Re: Real Time Clock Board
Post by: dxs on 23:42, 22 May 15
Hi there,


Eventually got some spare time and completed the design of the board.  This is a tight fit on the MX4 format.
You can check the updated FAQ in the first post, but what you will get in short:
  - usable as a standalone or with a MegaFlash / X-Mem, on the full CPC range
  - user replaceable standard lithium button cell (big improvement over the original design), life should be >10yr
  - MX4 format
  - corrected software without the Y2K bug and "translated" in english or french


(http://thumbnails106.imagebam.com/41114/b0088a411132967.jpg) (http://www.imagebam.com/image/b0088a411132967)


What remains to be done is ordering the boards, components and soldering.
Keep an eye here if you want one.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 00:07, 23 May 15
Indeed I want one :)


Edit: No 2 actually, one for my 4128plus and one for my JustCPC :)

Title: Re: Real Time Clock Board
Post by: Jungsi on 15:21, 23 May 15
I also want one !  :)
Title: Re: Real Time Clock Board
Post by: fgbrain on 19:06, 23 May 15
Of course Im in as well!!!  When you plan to ship???  ;D
Title: Re: Real Time Clock Board
Post by: dxs on 19:18, 23 May 15
When?
I would say after I order the pcbs, solder one to find out I made some stupid mistake, re-order the pcbs, then they get lost in the mail, then...  :D
Title: Re: Real Time Clock Board
Post by: Cpcmaniaco on 00:30, 24 May 15
1 for me please, too.


Thanks.
Title: Re: Real Time Clock Board
Post by: radu14m on 06:38, 24 May 15
sound interesting :)
i would then need a second Mother X4 :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 08:37, 24 May 15
Quote from: radu14m on 06:38, 24 May 15
sound interesting :)
i would then need a second Mother X4 :)
I already do.
Title: Re: Real Time Clock Board
Post by: skywalky on 16:39, 24 May 15
I'm still interested in one board.
Title: Re: Real Time Clock Board
Post by: TFM on 19:06, 01 June 15
Don't forget me. ;-) Push! ;-) Great to see that this comes forward. And an external battery is awesome!  :) :) :)
Title: Re: Real Time Clock Board
Post by: dxs on 21:56, 01 June 15
Thank you for your support!
I ordered the parts including HCT ic's for lower CPC power supply drain - thanks Toto on this one.
The prototype PCB's should also be there in 3 weeks...
Title: Re: Real Time Clock Board
Post by: Rennert on 20:10, 06 June 15
Great, one for me ;)
Title: Re: Real Time Clock Board
Post by: Poliander on 20:40, 06 June 15
Me, too! Hoping for a correct desktop clock in SymbOS =)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 20:45, 06 June 15
Quote from: Poliander on 20:40, 06 June 15
Me, too! Hoping for a correct desktop clock in SymbOS =)
indeed, that's what I want one for too. Then my justcpc will be my main symbos machine. With the 3 inboard slots occupied by xmem, xmass and rtc.
Title: Re: Real Time Clock Board
Post by: radu14m on 20:50, 06 June 15
Quote from: CraigsBar on 20:45, 06 June 15
indeed, that's what I want one for too. Then my justcpc will be my main symbos machine. With the 3 inboard slots(http://cdncache-a.akamaihd.net/items/it/img/arrow-10x10.png)(http://cdncache-a.akamaihd.net/items/it/img/arrow-10x10.png) occupied by xmem, xmass and rtc.


yes, thats the only usage place i see. It"s a nice to have board imho.
Or i am missing something ?
Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:00, 06 June 15
Quote from: radu14m on 20:50, 06 June 15

yes, thats the only usage place i see. It"s a nice to have board imho.
Or i am missing something ?
FutureOS as well, and I am hoping that ACMEDos will support timestamping on a FAT 32 filesystem...
Title: Re: Real Time Clock Board
Post by: radu14m on 07:11, 07 June 15
ACMEDos... when it will be released ? :)
Title: Re: Real Time Clock Board
Post by: TotO on 07:52, 07 June 15
SyX will be back this summer. So, please, wait...  8)
Title: Re: Real Time Clock Board
Post by: dxs on 23:49, 07 June 15
AFAIK this kind of RTC is not supported by SymbOS at the moment. However, as stated, FutureOS does support it.
Title: Re: Real Time Clock Board
Post by: TFM on 16:34, 08 June 15
The Dobbertin RTC (that's what we are talking about here) is supported by (nearly) everything:
- Firmware (TimeROM)
- CP/M Plust (TimeROM+.COM)
- 63 KB Dobbertin CP/M 2.2
- FutureOS


There are lots of usages aside of the Time stamp (CP/M Plus or ACMEDOS). Use your fantasy  ;)
Title: Re: Real Time Clock Board
Post by: tonio8bits on 10:14, 10 June 15
I'm interested in one board too ! :P
Title: Re: Real Time Clock Board
Post by: dxs on 16:28, 21 June 15
Yesterday the first boards showed up in the mail, so I fired the soldering iron today and to my complete surprise the board / software is fully working as expected. Compatibility was checked with other MX4 extensions, everything is fine (I couldn't check regarding X-Mass as I'm waiting for the AcmeROM to be released).
I'll get back to interested people and also report in this thread. Price and details will be announced then, 20 pieces will be made, first come first serve.


(http://thumbnails108.imagebam.com/41707/3abdfd417068853.jpg) (http://www.imagebam.com/image/3abdfd417068853)


(http://thumbnails105.imagebam.com/41707/237740417068803.jpg) (http://www.imagebam.com/image/237740417068803)


The full stack  ;)
(http://thumbnails108.imagebam.com/41707/3bad63417068977.jpg) (http://www.imagebam.com/image/3bad63417068977)


French software version, Di = dimanche = sunday.
(http://thumbnails108.imagebam.com/41707/13085e417069214.jpg) (http://www.imagebam.com/image/13085e417069214)


This is the final production board, except you won't get socketed ICs (except for the EPROM), and the EPROM will actually be an EEPROM (the same as in the MFII reproduction by Talrek).
Title: Re: Real Time Clock Board
Post by: CraigsBar on 16:37, 21 June 15
Great news interested in 2 of these please. One for my just CPC and one for my other machines :)
Title: Re: Real Time Clock Board
Post by: Gryzor on 18:22, 21 June 15
Damn, I'll be on vacation then :( Can't I pre-order one piece?
Title: Re: Real Time Clock Board
Post by: radu14m on 18:30, 21 June 15
Interested in one piece, depending of the cost  ;)
Title: Re: Real Time Clock Board
Post by: remax on 22:19, 21 June 15
Quote from: radu14m on 18:30, 21 June 15
Interested in one piece, depending of the cost  ;)


Same for me
Title: Re: Real Time Clock Board
Post by: TFM on 23:54, 21 June 15
Quote from: dxs on 16:28, 21 June 15
Yesterday the first boards showed up in the mail, so I fired the soldering iron today and to my complete surprise the board / software is fully working as expected. Compatibility was checked with other MX4 extensions, everything is fine (I couldn't check regarding X-Mass as I'm waiting for the AcmeROM to be released).
I still have to make the user manual, and I'm overloaded with stuff until mid-july, so orders will be taken around mid-summer, I'll get back to interested people and also report in this thread. Price and details will be announced then, 20 pieces will be made, first come first serve.


This is awesome. I would like to take one for sure.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 11:52, 22 June 15
Actually I decided to start taking orders right now, so everybody who expressed interest in this thread should have received a PM with details. Shipping will take place from mid-july up to end of august.


Price has been set: including tracked shipping is 33.90e (36.90e) within France (Europe) for the first board. Each additional board is 30e.


If you want one and didn't post in this thread or didn't receive my PM, please get in touch I might have a few left.
Title: Re: Real Time Clock Board
Post by: qbert on 15:57, 22 June 15
ok dxs, then I'm up for one more ! (I haven't expressed my interest to this day).
Please just confirm availability.

Quote from: dxs on 11:52, 22 June 15
Actually I decided to start taking orders right now, so everybody who expressed interest in this thread should have received a PM with details. Shipping will take place from mid-july up to end of august.
Title: Re: Real Time Clock Board
Post by: dxs on 17:47, 22 June 15
qbert: PM sent
Title: Re: Real Time Clock Board
Post by: Bryce on 20:30, 22 June 15
I don't want one, but full marks for keeping the design so "old school", no CPLD, FPGA etc, just good old TTL and through-hole parts! Beautiful.

Bryce.
Title: Re: Real Time Clock Board
Post by: TFM on 20:40, 22 June 15
Hi @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074) : What are the jumpers good for? One switches the ROM off right?


On which number is the ROM located?


Can you please tell us a bit more? Finally a dream comes true for me!  :) :) :)
Title: Re: Real Time Clock Board
Post by: dxs on 13:09, 23 June 15
Yeah well maybe I couldn't have FPGA'ed it  ;)  This is my first eagle project btw. If this was to be redone I would program a GAL to replace TTL parts.

A full documentation will be supplied, along with the software to be programmed into X-Mem / MegaFlash for use in parallel with such a board. The 3 jumpers are to be used to select the mode:
  - all 3 to INT: internal eprom is used, this way the RTC can be used on it's own. ROM is at position 2. You don't need anything else to use the RTC.
  - all 3 to EXT: external rom from romboard is used, this way the RTC can be paralleled with your X-Mem. The RTC module is at position &72 (decimal 114) and this info will be useful when installing FutureOS !
[ There are 3 jumpers because 3 bits from the databus are inverted, (&72 is 111 0010 and &2 is  10). ]

The RTC module I'm using is a modded Dallas DS1216, allowing using external battery and physically separating the RTC from EPROM. Regarding software, the mods I made are:
  - a translation to English and French (there's not much into it actually, just the days of the week and a few other lines)
  - correcting Y2K bug. This is how it's done: the leap years during 20th and 21th century are, by definition, at the same tens and units of years. I mean: leap years were 1904 1908 1912 ... and now they are 2004 2008 2012... So for any given date, the day of the week between 20th and 21th century is shifted by a fixed amount: -1.Meaning: 22/06/1915: Tuesday (day of week 2)                22/06/2015: Monday (day of week 1)and this is true for any day of the year.So I hex edited the two letter codes for the days, replacing TUesday by MOnday, etc etc.
  - changing the way the software searches for the RTC module, allowing to find it at &72 or &2


However the board is really simple to use, thanks to the TIMEROM software. I'll give details later, I'm working on the user manual.
Title: Re: Real Time Clock Board
Post by: Gryzor on 14:13, 23 June 15
Quote from: Bryce on 20:30, 22 June 15
I don't want one, but full marks for keeping the design so "old school", no CPLD, FPGA etc, just good old TTL and through-hole parts! Beautiful.

Bryce.


How about a few cogs, two or three arms and a flip-calendar? :D
Title: Re: Real Time Clock Board
Post by: Bryce on 14:24, 23 June 15
Quote from: Gryzor on 14:13, 23 June 15
How about a few cogs, two or three arms and a flip-calendar? :D

That's steampunk, not retro :D

Bryce.
Title: Re: Real Time Clock Board
Post by: Gryzor on 14:28, 23 June 15
Ah yes, do add some copper pipes in while you're at it.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 14:30, 23 June 15
Copper pipes, of course, an rtc must need some serious cooling ;)
Title: Re: Real Time Clock Board
Post by: Gryzor on 14:31, 23 June 15
:D


Unfortunately it can only have two dials at most... Or maybe three.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 14:40, 23 June 15
And where, pay tell, should we fit the flux capacitor?

Oh, that is one cultural reference too many. I'll be leaving now.
Title: Re: Real Time Clock Board
Post by: Gryzor on 14:42, 23 June 15
No, don't leave yet, the sand's not completely gone yet! (oo-er)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 14:46, 23 June 15
Lol.
Title: Re: Real Time Clock Board
Post by: Bryce on 14:53, 23 June 15
A true Steampunk clock would have an Hourglass and dials with cogs :)

Bryce.
Title: Re: Real Time Clock Board
Post by: dxs on 16:07, 23 June 15
Quote from: Gryzor on 18:22, 21 June 15
Damn, I'll be on vacation then :( Can't I pre-order one piece?
--- > PM sent!




Otherwise a first board was dispatched today to an undisclosed french member, so expect some feedback soon ;)
Title: Re: Real Time Clock Board
Post by: TFM on 16:53, 23 June 15
Thanks for the explanation.  :)  So setting some jumpers to in and ext can change the ROM number according to the bit. Good to know!  :)
Title: Re: Real Time Clock Board
Post by: remax on 18:22, 23 June 15
Quote from: dxs on 13:09, 23 June 15
- correcting Y2K bug. This is how it's done: the leap years during 20th and 21th century are, by definition, at the same tens and units of years. I mean: leap years were 1904 1908 1912 ... and now they are 2004 2008 2012... So for any given date, the day of the week between 20th and 21th century is shifted by a fixed amount: -1.Meaning: 22/06/1915: Tuesday (day of week 2)                22/06/2015: Monday (day of week 1)and this is true for any day of the year.So I hex edited the two letter codes for the days, replacing TUesday by MOnday, etc etc.


OK so we can expect a Y3K bug  :-X   ;D
Title: Re: Real Time Clock Board
Post by: dxs on 18:46, 23 June 15
Actually the calendar is good up to 2099, by then I swear I'll replace all EPROMs for free  :D
Title: Re: Real Time Clock Board
Post by: TFM on 19:18, 23 June 15
Up to then we will have a self adjusting software for sure.  :P
Title: Re: Real Time Clock Board
Post by: talrek on 19:46, 24 June 15
Quote from: dxs on 16:07, 23 June 15
--- > PM sent!




Otherwise a first board was dispatched today to an undisclosed french member, so expect some feedback soon ;)

;D ;D ;D
Title: Re: Real Time Clock Board
Post by: TFM on 19:51, 24 June 15
Quote from: talrek on 19:46, 24 June 15
;D ;D ;D


Do you also want to be the first one who beta-tests my Virus for the Watch?  :D
Title: Re: Real Time Clock Board
Post by: talrek on 20:12, 24 June 15
Is it dangerous ????
Title: Re: Real Time Clock Board
Post by: talrek on 20:13, 24 June 15


Quote from: talrek on 20:12, 24 June 15
Is it dangerous??????
[emoji33] [emoji33] [emoji33] [emoji33] [emoji33] [emoji33] [emoji33] [emoji33] [emoji33]



Envoyé de mon HTC One en utilisant Tapatalk

Title: Re: Real Time Clock Board
Post by: Bryce on 20:21, 24 June 15
Quote from: TFM on 19:51, 24 June 15

Do you also want to be the first one who beta-tests my Virus for the Watch?  :D

The worst it could do is tell the wrong time or no time at all, and only till you reboot. Not exactly a major threat :D

Bryce.
Title: Re: Real Time Clock Board
Post by: TFM on 20:26, 24 June 15
Quote from: Bryce on 20:21, 24 June 15
The worst it could do is tell the wrong time or no time at all, and only till you reboot. Not exactly a major threat :D

Bryce.


Ups, yes, you're right. I referred to the SYMBiFACE II clock, which has some RAM.  :laugh: :laugh: :laugh: :) :) :)
Title: Re: Real Time Clock Board
Post by: Bryce on 20:45, 24 June 15
Quote from: TFM on 20:26, 24 June 15
Ups, yes, you're right. I referred to the SYMBiFACE II clock, which has some RAM.  :laugh: :laugh: :laugh: :) :) :)

Yeah, a SymbiFace Virus! :D It looks like Windows, so to be truly authentic it should have viruses :)

Bryce.
Title: Re: Real Time Clock Board
Post by: TFM on 21:57, 24 June 15
Quote from: Bryce on 20:45, 24 June 15
Yeah, a SymbiFace Virus! :D It looks like Windows, so to be truly authentic it should have viruses :)

Bryce.


Would be so easy to do this for SymbOS and then the only Anti-Virus-Software will run under FutureOS *rofl*
Title: Re: Real Time Clock Board
Post by: talrek on 08:13, 26 June 15
Hi !
Received Yesterday !!! Very well made, it is very neat ;-) great job.
I'll post some pictures when i have time. Also, i didn't have time to test it. I keep it for this weekend.
Title: Re: Real Time Clock Board
Post by: TFM on 19:58, 26 June 15
I'm curious if TIMEROM+.COM will work even when the clock is at ROM number &72. If not, an quick patch will do it.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 20:04, 26 June 15
I guess it was made along the same lines as the TIMEROM rom, so I expect a patch will indeed be needed.
However at position 2 (standalone mode) it will.
Title: Re: Real Time Clock Board
Post by: TFM on 21:18, 26 June 15
Ok here is a patched TIMEROM+ which scans ROMs 1-127. I call it TIMEROM#  :laugh:


Let me know it it works please!  :)



Title: Re: Real Time Clock Board
Post by: dxs on 10:21, 28 June 15
I'm away until mid july, and I don't travel with my CPC  ;)  Will try when coing back.


In the meantime I completed the user manual, see included .pdf !
Title: Re: Real Time Clock Board
Post by: TFM on 18:45, 29 June 15
Quote from: dxs on 10:21, 28 June 15
In the meantime I completed the user manual, see included .pdf !


WoW! Relly done very well!!!  :) :) :)  Thank you!!!  :) :) :)
Title: Re: Real Time Clock Board
Post by: Poliander on 18:59, 29 June 15
Awesome  :)
Title: Re: Real Time Clock Board
Post by: seanb on 12:40, 30 June 15
This board won't melt down my cpc because of the leap second tonight?
Title: Re: Real Time Clock Board
Post by: TFM on 19:14, 30 June 15
In the next update the documentation could mention the TIMEROM+.COM[nb]See before for a working version with ROMs 1-127[/nb] program for CP/M which sets the software clock of CP/M according to the RTC.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 23:33, 30 June 15
Sure will do!
Btw I don't write books for a living, so please don't make fun of my writing style  ;)
Title: Re: Real Time Clock Board
Post by: TFM on 19:15, 02 July 15
Quote from: dxs on 23:33, 30 June 15
Sure will do!
Btw I don't write books for a living, so please don't make fun of my writing style  ;)


No, it looks cool! I like that one sees a picture, so this is better than any words. It tells all you need. Well, few people may use it for CP/M, but why not also having a comment for them. I know, my patch arrived too late to be put into the first version.  :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 19:23, 02 July 15
Quote from: TFM on 19:15, 02 July 15

No, it looks cool! I like that one sees a picture, so this is better than any words. It tells all you need. Well, few people may use it for CP/M, but why not also having a comment for them. I know, my patch arrived too late to be put into the first version.  :)
That's the one thing I missed in the symbiface rtc... CPM and amsdos support
Title: Re: Real Time Clock Board
Post by: TFM on 19:41, 02 July 15
Quote from: CraigsBar on 19:23, 02 July 15
That's the one thing I missed in the symbiface rtc... CPM and amsdos support


Actually it's not a big thing to patch the TIMEROM+.COM or the TIME-ROM (ROM) for the SF2 RTC. If you would like to have that then I can take a look into it. But it may take a bit, the job keeps my busy over the weekend too now.  :-X
Title: Re: Real Time Clock Board
Post by: CraigsBar on 20:44, 02 July 15
That would be very cool thanks. Sf2 rtc in amsdos and CPM would be a wow factor lol.
Title: Re: Real Time Clock Board
Post by: dxs on 19:15, 13 July 15
Hi there, Quick update to tell those who bought my CPC RTC that I started shipping, Rennert, Jungsi and Poliander you should shortly receive the board.
When your board is shipped you will receive an email containing the tracking information, user manaul and ROM files.
Title: Re: Real Time Clock Board
Post by: TFM on 19:48, 13 July 15
Awesome! Can't wait until I get mine, but don't rush it of course.  :)
Title: Re: Real Time Clock Board
Post by: Poliander on 13:15, 18 July 15
Mine has arrived today. Very well crafted - and working perfectly on my 664/MotherX4/XMEM/XMASS setup.

Thank you very much, @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)
Title: Re: Real Time Clock Board
Post by: radu14m on 17:39, 18 July 15
I would get also one, but still don"t see the use of it.
Can you guys give some example of the card usage ?  ;D

Title: Re: Real Time Clock Board
Post by: Rennert on 18:20, 18 July 15
Today the board is receive, works fine. Thanks for the great board ;)
Title: Re: Real Time Clock Board
Post by: dxs on 18:28, 18 July 15
Hi, Sorry there's no board left anyway and no future batch planned.


Use is the same as almost everything we "do" with our CPC, tampering with old electronics / computers, bringing back memories, creating, experimenting, ...


Thanks for the feedback and the kind words  ;)  Shipping will go on, all boards are soldered now.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 20:21, 18 July 15
Once it's supported in SymbOS then it will be very useful.

No rush @Prodatron, I've not got mine yet ;)
Title: Re: Real Time Clock Board
Post by: TFM on 02:43, 19 July 15
Quote from: CraigsBar on 20:21, 18 July 15
Once it's supported in SymbOS then it will be very useful.


Well, even if there is the danger that you will again argue that I bitch at symbos I have to provide my comment here...  ;) :)


This excellent RTC IS already very very useful, because there is support for:
- Firmware/BASIC/Amsdos (Use the wonderful TIMEROM, which provides a nice variety of RSX commands)
- CP/M Plus (which really makes sense because it actually has time stamps)
- CP/M 2.2 (yes, indeed!)
- And therefore there is support for the Z3Plus and NZCOM
- FutureOS
Title: Re: Real Time Clock Board
Post by: remax on 23:52, 24 July 15
It works great...

I use it mainly to turn my CPC into a big clock. (If someone can make a program with a handwatch, that would be great !)

I now have to find another use, but it's really funny :-D

Thanks @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)
Title: Re: Real Time Clock Board
Post by: TFM on 16:21, 25 July 15
Quote from: remax on 23:52, 24 July 15
It works great...

I use it mainly to turn my CPC into a big clock. (If someone can make a program with a handwatch, that would be great !)

I now have to find another use, but it's really funny :-D

Thanks @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)


Can you post a picture of the clock you like as CPC screen?

Title: Re: Real Time Clock Board
Post by: remax on 11:01, 26 July 15
Quote from: TFM on 16:21, 25 July 15

Can you post a picture of the clock you like as CPC screen?

Something simple like that

(http://www.ikea.com/PIAimages/13080_PE040801_S3.JPG)
Title: Re: Real Time Clock Board
Post by: TFM on 17:07, 27 July 15
Ah the classic design... Now I just need to get the RTC and sadly also a new monitor, because my Sony broke (well, the cat knocked it down the Desk, it did still work for a while, but no it remains dark and the cat lives outside now). Maybe I can do something nice, but it will take a while.  :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 23:41, 27 July 15
Quote from: remax on 23:52, 24 July 15
It works great...

I use it mainly to turn my CPC into a big clock. (If someone can make a program with a handwatch, that would be great !)

I now have to find another use, but it's really funny :-D

Thanks @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)
I am doing the exact same right now. Seems to be a great use for a CPC to me. The Hour chime is bloody brilliant :) Well done. this is awesome work @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074). I cannot wait for my Just CPC to arrive and I can start building a box that I don't feel guilty leaving on to display a clock ROFL.
Title: Re: Real Time Clock Board
Post by: skywalky on 07:40, 01 August 15
I've received the board. I have to test it if I get some free time but thank you for all.
Title: Re: Real Time Clock Board
Post by: TFM on 22:07, 01 August 15
Quote from: dxs on 18:28, 18 July 15
Hi, Sorry there's no board left anyway and no future batch planned.


Maybe one day. That would be nice!


How much did you make? 20 boards?

Title: Re: Real Time Clock Board
Post by: dxs on 22:15, 01 August 15
Thanks to everyone who sent me a message when their board was delivered.


Yep 20 were made. Btw did you get yours?
Title: Re: Real Time Clock Board
Post by: TFM on 22:22, 01 August 15
Quote from: dxs on 22:15, 01 August 15
Thanks to everyone who sent me a message when their board was delivered.
Yep 20 were made. Btw did you get yours?
Not yet, but overseas takes a while. It will come.  :)


EDIT: It arrived yesterday! Yay!  :)  Looks absolutely professional made! Thank you very much!!!  :) :) :)
Title: Re: Real Time Clock Board
Post by: Audronic on 03:50, 10 August 15

@ DXS


Thanks


Mine arrived today Monday 10 August 2015  ! Yay!    Looks absolutely professional made! Thank you very much!!!   
Thanks for the Note on the Box about shorting out the battery.


Keep up the good work


Ray    Australia ( Down Under )
Title: Re: Real Time Clock Board
Post by: TFM on 18:28, 10 August 15
What did the note say?

Title: Re: Real Time Clock Board
Post by: Audronic on 00:37, 11 August 15
The Note said


""  Read the Manual before powering up.
Caution live battery, don't lay the board on another or Metal Surface.. ""


Thanks      Ray



Title: Re: Real Time Clock Board
Post by: dxs on 09:52, 11 August 15
Thanks Audronic I'm glad you received it fine, right at the other site of the earth!


BTW I have one very last CPC RTC remaining so if anyone want it get it touch, otherwise I'll ebay it (33.9 including shipping in France, 36.9 Europe, other request quote - not that much more).
Title: Re: Real Time Clock Board
Post by: TotO on 09:58, 11 August 15
Why ebay it? You finaly made that for money?  ???
You should keep it if a guy come late here, or simply if needed to replace a defective one (after sales service). No ?
Title: Re: Real Time Clock Board
Post by: Poliander on 11:45, 11 August 15
Quote from: dxs on 09:52, 11 August 15
BTW I have one very last CPC RTC remaining so if anyone want it get it touch, otherwise I'll ebay it (33.9 including shipping in France, 36.9 Europe, other request quote - not that much more).

I'll donate 10,00 € if you give it to @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13)

::)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:26, 12 August 15
Quote from: Poliander on 11:45, 11 August 15
I'll donate 10,00 € if you give it to @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13)

::)
I'll match that if @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) confirms he will add support for this card to Symbos ;)
Title: Re: Real Time Clock Board
Post by: dxs on 08:17, 13 August 15
Ok  :)
If a third 10e volunteer show up I'll send it to him!

(TotO I waited for everyone to receive it's card, and ebaying something doesn't mean necessarily ripping people off. Just reaching peole who don't come here)
Title: Re: Real Time Clock Board
Post by: TotO on 08:23, 13 August 15
OK, send it @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13).  8)
Title: Re: Real Time Clock Board
Post by: dxs on 18:04, 13 August 15
Did anybody told him about this, or we just make this appear in his mailbox out of the blue ?  :D
Title: Re: Real Time Clock Board
Post by: Poliander on 18:24, 13 August 15
That's out of the blue  :D My 10 € are already on its way to you @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)
Title: Re: Real Time Clock Board
Post by: radu14m on 19:21, 13 August 15
i"m waiting for the next batch to order one :)


when is the next batch planned ?
Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:14, 13 August 15
Quote from: Poliander on 18:24, 13 August 15
That's out of the blue  :D My 10 € are already on its way to you @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)
Mine too. :)


This is crowd funding at it's best ;)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:30, 13 August 15
Quote from: dxs on 18:04, 13 August 15
Did anybody told him about this, or we just make this appear in his mailbox out of the blue ?  :D
the number of @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) tags in this thread it certainly should not be out of the blue ;) LOL
Title: Re: Real Time Clock Board
Post by: dxs on 21:56, 13 August 15
@Poliander (http://www.cpcwiki.eu/forum/index.php?action=profile;u=203) I got your crowd funding participation  thank you!
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482) let me know if you need my Paypal id again.
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) Pm sent!

Believe it or not some people actually enjoy off-line holidays  8)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 22:22, 13 August 15
Quote from: dxs on 21:56, 13 August 15
@Poliander (http://www.cpcwiki.eu/forum/index.php?action=profile;u=203) I got your crowd funding participation  thank you!
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482) let me know if you need my Paypal id again.
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) Pm sent!

Believe it or not some people actually enjoy off-line holidays  8)
I sent it already. Can you double check you PP I used the same address as the payment for my 2 RTC boards
Title: Re: Real Time Clock Board
Post by: TotO on 22:27, 13 August 15
Me too...  ;D
Title: Re: Real Time Clock Board
Post by: dxs on 22:37, 13 August 15
I got all the payements, @CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482) I didn't receive the email as usual but the money did arrive on the account so everything is fine.

Shipment will take place shortly I'll keep you crowd-funders posted !
Title: Re: Real Time Clock Board
Post by: Prodatron on 14:17, 14 August 15
Thanks so much guys!!  :o I didn't have a look at this thread for a while, so I was very surprised when I got DXS pm today.
Wow, thank you Poliander, Craigsbar, TotO and DXS! Of course now I will add Dobbertin RTC support in SymbOS :)
DXS, I will send you a pm now!
Title: Re: Real Time Clock Board
Post by: Trebmint on 14:35, 14 August 15
Oh crowdfunding for a CPC, this is good :) Well done guys
Title: Re: Real Time Clock Board
Post by: dxs on 17:02, 14 August 15
Prodatron's gift has just been sent to Germany this evening !

If further software support sparks more interest in this board a new batch could  be relaunched, for at least 10 pieces.

So anybody willing to buy one in the future just drop me a PM or post here, I'll write your name down.
Title: Re: Real Time Clock Board
Post by: TFM on 17:27, 14 August 15
Well, I would take a second one. But people who don't have one at all should always be served first.  :)
Title: Re: Real Time Clock Board
Post by: Prodatron on 17:54, 14 August 15
One little question, was the original Dobbertin Smartwatch always placed at ROM 2 and/or ROM 114 as well?
Title: Re: Real Time Clock Board
Post by: TFM on 18:36, 14 August 15
Quote from: Prodatron on 17:54, 14 August 15
One little question, was the original Dobbertin Smartwatch always placed at ROM 2 and/or ROM 114 as well?


The origninal SmartWatch could be placed at position 1-15. most people had it at 14 or 15. The ROM software and the CP/M tools checked that range of ROM numbers.


So basically it can be everywhere.
Title: Re: Real Time Clock Board
Post by: dirtybb on 20:50, 14 August 15
Quote from: dxs on 17:02, 14 August 15
Prodatron's gift has just been sent to Germany this evening !

If further software support sparks more interest in this board a new batch could  be relaunched, for at least 10 pieces.

So anybody willing to buy one in the future just drop me a PM or post here, I'll write your name down.


As my PM from yesterday, i'm Interested in one.


Regards,
Title: Re: Real Time Clock Board
Post by: TFM on 17:21, 17 August 15
If somebody out there (f.e. @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) ) needs code to read / write the Dobbertin RTC just let me know and I will post code here.


To mention one piftall here: The code to access the watch MUST be in RAM, it can not work from ROM.
Title: Re: Real Time Clock Board
Post by: Prodatron on 20:40, 17 August 15
After studying the documentation (http://www.cpcwiki.eu/index.php/Dobbertin_Smart_Watch) and the time ROM itself I came to this routines for reading and writing:


;### DSWRED -> read 8 bytes from the Dobbertin Smart Watch
;### Input      HL=destination address
;###            ROM is already selected
;### Destroyed  AF,BC,HL
dswred  ld b,8
        di
dswred1 ld c,128
dswred2 ld a,(#c004)
        rra
        rr c
        jr nc,dswred2
        ld (hl),c
        inc hl
        djnz dswred1
        ei
        ret

;### DSWWRT -> write 8 bytes to the Dobbertin Smart Watch
;### Input      DE=source address
;###            ROM is already selected
;### Destroyed  AF,B,DE,HL
dswwrt  di
        ld a,(#c004)
        ld b,8
dswwrt1 ld a,(de)
        ld h,#c0
        scf
dswwrt2 rr a
        jr z,dswwrt3
        ld l,0
        rl l
        ld l,(hl)
        jr dswwrt2
dswwrt3 inc de
        djnz dswwrt1
        ei
        ret


There is additional stuff to do like resetting the recognition patterns and sending them again, but these should be the both core routines. I will see soon, if it works :)
Title: Re: Real Time Clock Board
Post by: Prodatron on 21:35, 17 August 15
I wonder if it's possible to optimize the READ routine like this:

;### DSWRED -> read 8 bytes from the Dobbertin Smart Watch
;### Input      DE=destination address
;###            ROM is already selected
;### Destroyed  AF,BC,DE,HL
dswred  ld b,8
        lh hl,#c004
        di
dswred1 ld a,128
dswred2 rr (hl)
        rra
        jr nc,dswred2
        ld (de),a
        inc de
        djnz dswred1
        ei
        ret


The RR (HL) command will do a write to #c004, would this disturb the communication??
Title: Re: Real Time Clock Board
Post by: TFM on 23:20, 17 August 15

Looks good. Of course it's the most fun to make own routines.  ;D   IIRC I unlooped it to speed it a bit up. But it's basically the same...


Ok, now on my own PC I could dig that out...


;TFM of FutureSoft - part of FutureOS
;All rights reserved and other bla, bla, bla

;Dobb.Uhr Daten ins RAM ab UHR_00 ; AKT_ROM ein
;Mani; AF,BC,DE,HL

LUHR LD BC,(UHR_ROM)

OUT  (C),C
LD   A,(&C004)
LD   DE,&C000
LD   HL,&C001
CALL KOAS
CALL KOAS
LD   E,4  ;DE=&C004

     LD HL,UHR_00
     LD B,8
RDUL LD A,(DE)

RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  A,(DE)
RRA
RR  C
LD  (HL),C
INC HL

DJNZ RDUL
LD   BC,(AKT_ROM)
OUT  (C),C
RET

KOAS LD A,(HL)

LD A,(DE)
LD A,(HL)
LD A,(DE)
LD A,(DE)
LD A,(DE)
LD A,(HL)
LD A,(HL)
LD A,(DE)
LD A,(HL)
LD A,(DE)
LD A,(HL)
LD A,(HL)
LD A,(HL)
LD A,(DE)
LD A,(DE)
LD A,(HL)
LD A,(HL)
LD A,(DE)
LD A,(DE)
LD A,(DE)
LD A,(HL)
LD A,(DE)
LD A,(HL)
LD A,(DE)
LD A,(DE)
LD A,(HL)
LD A,(HL)
LD A,(HL)
LD A,(DE)
LD A,(HL)
LD A,(DE)

RET


;Uhr-Daten schreiben
;-------------------
;DE=8 Bytes in.Page, Dobb.komp
;Mani; AF,BC,E,HL,BC',DE',HL'
;AKT_ROM aktiv

SUHR EXX

LD BC,(UHR_ROM):OUT (C),C
LD A,(&C004)
LD DE,&C000
LD HL,&C001
CALL KOAS
CALL KOAS
EXX
LD BC,&0800
LD H,&C0

SUGL LD A,(DE):SCF
SUNB RR A:JR Z,SUZZ

LD L,C
RL L
LD L,(HL)
JR SUNB

SUZZ INC E

DJNZ SUGL
LD BC,(AKT_ROM):OUT (C),C
RET

Title: Re: Real Time Clock Board
Post by: CraigsBar on 19:24, 18 August 15
Quote from: TFM on 21:18, 26 June 15
Ok here is a patched TIMEROM+ which scans ROMs 1-127. I call it TIMEROM#  [emoji23]


Let me know it it works please!  :)
I am not sure if anyone else has tested this. So I did.
(http://images.tapatalk-cdn.com/15/08/18/1571cb637ee220a537131e56ce030029.jpg)
As you can see it works [emoji3]  but the year is screwed up, unless " ;5 " is an unusual way of writing 2015 or 15 that I am not aware of [emoji6]
Title: Re: Real Time Clock Board
Post by: TFM on 19:31, 18 August 15
That's expected. There are versions of DATE.COM including the year 2K patch. I can upload this later on from my own Laptop.


Oh, my CP/M ROMs do contain the Y2K bugfree version IIRC. Let me check later...
EDIT: No, they don't .. yet... but I fix that. (Problem: The ROM CP/M Plus uses an internal DATE command, so how to override that? We'll see ... ;) ).
Title: Re: Real Time Clock Board
Post by: Bryce on 20:33, 18 August 15
Aaaaarrrrgggghhh! The Y2K bug has finally got us! 15 years later.

Bryce.
Title: Re: Real Time Clock Board
Post by: TFM on 21:01, 18 August 15
And here is the fix: (see attachment)


Please use all the new programs, especially when using date stamping. Enjoy!  :)

Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:17, 18 August 15
Thanks. Perfect.
Title: Re: Real Time Clock Board
Post by: TFM on 21:35, 18 August 15
My pleasure.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 09:37, 19 August 15
Thanks TFM for your help, as usual!
Title: Re: Real Time Clock Board
Post by: TFM on 15:37, 19 August 15
Quote from: dxs on 09:37, 19 August 15
Thanks TFM for your help, as usual!


Thanks for your thanks!  :)


fun mode on...
But don't like me posting CP/M stuff, move that like over to my FutureOS source code sniplet!
fun mode off...


Well you did a great job with the RTC. Actually it THE ONLY ONE currently available somehow (maybe one day Dr. Zed will make a new batch of SF2's though). So it's of course the communities duty to support you.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 17:25, 19 August 15
Yeah well don't forget only 20 were made,  not to mention some people bought more than one  ;D
Title: Re: Real Time Clock Board
Post by: TFM on 18:45, 19 August 15
TBH... I have hope that you make a 2nd batch.  ;D   :)
Title: Re: Real Time Clock Board
Post by: Prodatron on 14:08, 21 September 15
The Dobbertin Smart Watch is now supported in SymbOS, including autodetection :)
[attach=2]
[attach=3]
It will be included in the next Beta version, which will be available for download probably end of September or beginning of October.
Thanks again to Poliander, CraigsBar and TotO for the donation and of course to  DXS for this nice piece of hardware!!
Title: Re: Real Time Clock Board
Post by: TFM on 15:07, 21 September 15
Ah, good to see this thread coming up agian.  :)  Now I got my CPC working again in the USA and I had time to verify the TIMEROM#.COM I posted here before, it does work find. I also included it in the CP/M Plus ROMs collection I made (see download on my homepage),


The RTC behaves excellent, and at least as well as the original.  :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 16:11, 21 September 15
Awesome news. I did see yesterday that the rtc rom corrupts fw3.15 mode 2 startup screen, and that it breaks the hxc v3 app from either autoboot hfe or rom. Will test further and confirm later.

Sent from my A3-A30 using Tapatalk

Title: Re: Real Time Clock Board
Post by: TFM on 17:26, 21 September 15
Quote from: CraigsBar on 16:11, 21 September 15
Awesome news. I did see yesterday that the rtc rom corrupts fw3.15 mode 2 startup screen, and that it breaks the hxc v3 app from either autoboot hfe or rom. Will test further and confirm later.

Sent from my A3-A30 using Tapatalk


The documentation of the RTC stated that it's important to put the jumpers from int to ext when using an x-MEM. In this case you put the TimeROM in one 16 KB slot of the X-MEM. If there are problems, please describe the hardware configuration you're using. I got no problems here, but my setup will be different.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 00:03, 22 September 15
Quote from: TFM on 17:26, 21 September 15

The documentation of the RTC stated that it's important to put the jumpers from int to ext when using an x-MEM. In this case you put the TimeROM in one 16 KB slot of the X-MEM. If there are problems, please describe the hardware configuration you're using. I got no problems here, but my setup will be different.
Yes I know that. It makes no difference if the rom is internal or external. See screenshots linked below.

https://www.dropbox.com/s/f6ec501a78m4tbo/2015-09-21%2022.15.58.jpg?dl=0
https://www.dropbox.com/s/hs0fihtch1b3hg3/2015-09-21%2022.17.45.jpg?dl=0
Title: Re: Real Time Clock Board
Post by: Singaja on 15:21, 22 September 15
I'd be interested in a next batch  ;)
Title: Re: Real Time Clock Board
Post by: TFM on 18:55, 22 September 15
Quote from: CraigsBar on 00:03, 22 September 15
Yes I know that. It makes no difference if the rom is internal or external. See screenshots linked below.

Dropbox - 2015-09-21 22.15.58.jpg (https://www.dropbox.com/s/f6ec501a78m4tbo/2015-09-21%2022.15.58.jpg?dl=0)
Dropbox - 2015-09-21 22.17.45.jpg (https://www.dropbox.com/s/hs0fihtch1b3hg3/2015-09-21%2022.17.45.jpg?dl=0)


For FW 3.15 thsi was expected, because it suppresses the sign on message. Therefore the TimeROM can't show you the graphic clock symbol, nor time, nor date. Clearly a FW3.15 problem.


About the HxC ROM... it's buggy anyway! I have the HxC as B drive and it always tries to fuck up my A drive by moving the head to track 255, that really suxx. The solution I found it to start the HxC tool from the autoboot.hfe file on drive B.


Sorry, for not being able to help more, but in this case the problems are somewhat in the cases nature. And there is no source for the HxC ROM out there (or I just don't know about it. Else a fix would be doable).

Title: Re: Real Time Clock Board
Post by: TotO on 20:28, 22 September 15
Quote from: TFM on 18:55, 22 September 15For FW 3.15 thsi was expected, because it suppresses the sign on message. Therefore the TimeROM can't show you the graphic clock symbol, nor time, nor date. Clearly a FW3.15 problem.
It is a feature...  ;D
With 30 ROM, that avoid messages scrolling the screens, making things impossible to read and taking close to 5 seconds to get READY!  :-\

I should update the X-MEM Install for asking about a QUIET or VERBOSE Firmware 3.15...
By the way, you can replace "CD 57 BB" by "CD 54 BB" for that. (offset $264E)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 21:46, 22 September 15
Quote from: TotO on 20:28, 22 September 15
It is a feature...  ;D
With 30 ROM, that avoid messages scrolling the screens, making things impossible to read and taking close to 5 seconds to get READY!  :-\

I should update the X-MEM Install for asking about a QUIET or VERBOSE Firmware 3.15...
By the way, you can replace "CD 57 BB" by "CD 54 BB" for that. (offset $264E)
I understand why the date and time don't show, and to be honest I prefer it quiet.... BUT with it quiet why does the clock face creep in. that was more the question.


Craig
Title: Re: Real Time Clock Board
Post by: TFM on 21:57, 22 September 15
As told, it is GFX not character.  :)


@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : A verbose / quiet mode selection would be nice. But even nicer would be the selection of MODE 1 / 2.  :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 23:35, 22 September 15
Quote from: TFM on 21:57, 22 September 15
As told, it is GFX not character.  :)


@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : A verbose / quiet mode selection would be nice. But even nicer would be the selection of MODE 1 / 2.  :)
Hmmmm. But the symbos logo is also a graphic not characters and that is suppressed. Also, on the rtc rom, only the clock graphic is shown, and not the calendar one. Sorry, I don't buy your answer ;)

Sent from my A3-A30 using Tapatalk
Title: Re: Real Time Clock Board
Post by: TFM on 23:37, 22 September 15
Then ask somebody else. Or look into the source code.
Title: Re: Real Time Clock Board
Post by: CraigsBar on 23:55, 22 September 15
Quote from: TFM on 23:37, 22 September 15
Then ask somebody else. Or look into the source code.
Yes, helpful
Title: Re: Real Time Clock Board
Post by: ||C|-|E|| on 03:47, 23 September 15
I would also be interested in the next batch. The idea would be to have X-MASS, X-MEM, this board and the clone of Multiface II at the same time  :D
Title: Re: Real Time Clock Board
Post by: TotO on 06:20, 23 September 15
Quote from: TFM on 21:57, 22 September 15But even nicer would be the selection of MODE 1 / 2.
And restore Tape routines? Just use FW 3.0.
With that to handle ROMs, FW3.1x is mainly quiet and hardware information displayed on MODE 2 than not fit on MODE 1.
Title: Re: Real Time Clock Board
Post by: TFM on 17:05, 23 September 15
For some MODE 2 is hard to read.  :o
Title: Re: Real Time Clock Board
Post by: TFM on 17:06, 23 September 15
Quote from: CraigsBar on 23:55, 22 September 15
Yes, helpful


Ditto!

Title: Re: Real Time Clock Board
Post by: TFM on 17:07, 23 September 15
Quote from: ||C|-|E|| on 03:47, 23 September 15
I would also be interested in the next batch. The idea would be to have X-MASS, X-MEM, this board and the clone of Multiface II at the same time  :D


Then the MX4 is full with all you  need.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 17:16, 23 September 15
2 or 3 more people and I'll look into making some more when I have time this fall. This time I would offer the possibility to buy the kit for those how like breathing toxic fumes... I mean soldering :-)

@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) thanks for the great work!
Title: Re: Real Time Clock Board
Post by: TFM on 17:19, 23 September 15
Quote from: dxs on 17:16, 23 September 15
2 or 3 more people and I'll look into making some more when I have time this fall. This time I would offer the possibility to buy the kit for those how like breathing toxic fumes... I mean soldering :-)


Great news!!!  :) :) :)
Title: Re: Real Time Clock Board
Post by: CraigsBar on 23:37, 23 September 15
Quote from: TFM on 18:55, 22 September 15

For FW 3.15 thsi was expected, because it suppresses the sign on message. Therefore the TimeROM can't show you the graphic clock symbol, nor time, nor date. Clearly a FW3.15 problem.


About the HxC ROM... it's buggy anyway! I have the HxC as B drive and it always tries to fuck up my A drive by moving the head to track 255, that really suxx. The solution I found it to start the HxC tool from the autoboot.hfe file on drive B.


Sorry, for not being able to help more, but in this case the problems are somewhat in the cases nature. And there is no source for the HxC ROM out there (or I just don't know about it. Else a fix would be doable).
so can I confirm, that with the rtc fitted and rtc rom active you can launch hxc.bin from the autoboot.hfe? Because I can't. I get the same clock and app crash as I do with the hxc rom. I might go back to the hxc v2 ;)
Title: Re: Real Time Clock Board
Post by: TFM on 16:14, 24 September 15
You should be able to use RSX commands like !ROMON or !ROMOFF to select your active ROMs. Guess parking a ROM is only a valuable option for ROMs which one is NOT using on a regular base. However that brings me to the idea of adding an RSX like !RP (for ROM park which does just invert the first byte of a ROM at &C000 and by this means park or unpark it).

If I have time then I will take a look at the TIMEROM source code, but in my case the HxC ROM doesn't work at all from ROM (only from autoboot.hfe disc image).

The TIMEROM isn't imho interfering with other stuff, except reserving some RAM maybe. Try to move it to a place lower than that of the HxC (I can't to that experiment, because HxC always accesses the wrong physical drive, which is bad for the mechanics. Got no idea where's the problem).


EDIT: Thinking about all that it reminds me a lot about the pioneer days of the CPC. Also back the day products / ROMs from different 'companies' didn't work together well. That was one main reason for me to decide to do my own OS, leaving the flaws of other OS behind me: Monolithic and made for a dedicated hardware, no need to run with any platform. Just run well with one platform.  :)  Seems that in time things always repeat.  :)
Title: Re: Real Time Clock Board
Post by: dirtybb on 11:54, 18 March 16
Hello all,

I am always looking for this board :) 

Got dxs via PM, he actually agrees for a 10 boards' second batch.
@TFM, radu14m, Singaja, ||C|-|E||, are you always interested in one board?

If yes, counting me, we miss 5 more...So, are some other people interested in?

Cheers.
Title: Re: Real Time Clock Board
Post by: Singaja on 12:38, 18 March 16
Yes, I'm still interested. I reckon there's no other MX4 board forthcoming which would have the clock functionality combined with something else analogously to Symbiface2 (which is not MX4 obviously)? There were some ideas to make a MX4 board for the PS/2 mouse, I'm not sure if this can be combined together with clock but would be cool if feasible, because I'm running out of MX4 slots (I know the MX4 motherboard can be stacked but my Amstrad(s) surrounding is getting messy :P)
Title: Re: Real Time Clock Board
Post by: ||C|-|E|| on 14:01, 18 March 16
I would interested in the board, sure  :D
Title: Re: Real Time Clock Board
Post by: TFM on 18:04, 18 March 16
Hi! I would definitely take another one.  :)  The board itself is in great quality, fits the MX4 slots and is supported by all major CPC-OS. IMHO the best choice of an RTC for the CPC.  :)
Title: Re: Real Time Clock Board
Post by: dirtybb on 09:49, 19 March 16
 :)

So, need 6 more to go.
Someone else interested ?


Regards
Title: Re: Real Time Clock Board
Post by: TFM on 21:16, 19 March 16
 (https://www.youtube.com/watch?v=d-Rb6bYtnRE)
[/url]
Title: Re: Real Time Clock Board
Post by: TotO on 04:04, 20 March 16
I always keep in mind to produce a MiniBooster add-on that provide RTC and mouse.
It is intended to be plugged over it and not waste an extra MX4 slot. But I have not actually the time to acheive it.
Title: Re: Real Time Clock Board
Post by: ||C|-|E|| on 04:18, 20 March 16
That would be a superb idea as well, really superb to be honest  :)
Title: Re: Real Time Clock Board
Post by: TotO on 05:20, 20 March 16
The MiniBooster was made for and we have already done prototyping some years ago.
It is why, this expansion is slim and some pins are available for extra serial capabilities.
Title: Re: Real Time Clock Board
Post by: netmercer on 16:09, 20 March 16
Hi dirtybb,
I'm interested in this RTC board too.
Having CP/M plus with RTC would be great.

Kind regards
netmercer
Title: Re: Real Time Clock Board
Post by: archcosmo on 21:44, 20 March 16
I'm interested in an RTC board too!


Cheers
Title: Re: Real Time Clock Board
Post by: dirtybb on 11:19, 21 March 16
Quote from: netmercer on 16:09, 20 March 16
Hi dirtybb,
I'm interested in this RTC board too.
Having CP/M plus with RTC would be great.

Kind regards
netmercer



Quote from: archcosmo on 21:44, 20 March 16
I'm interested in an RTC board too!


Cheers


So, only 4 more to go now :)


Someone else interested in ?
Title: Re: Real Time Clock Board
Post by: TFM on 22:47, 21 March 16
We're getting there!  ;D
Title: Re: Real Time Clock Board
Post by: TFM on 23:30, 24 March 16
Well, if nobody wants them I can take two too. They're awesome!  :)
Title: Re: Real Time Clock Board
Post by: dxs on 10:03, 04 April 16
Hi there,


To people interested in the CPC RTC, I received a request for 2 more boards via PM so I think we're at something like 8, I'll start a 10 pieces batch. Expect a delay of at least 1 month, payments will be requested once the boards are made or at least components are ordered.
Watch your PM's.


Best CPC regards
Thierry
Title: Re: Real Time Clock Board
Post by: TFM on 17:26, 04 April 16
Great news!!!  :) :) :)
Title: Re: Real Time Clock Board
Post by: dirtybb on 18:54, 04 April 16
Quote from: dxs on 10:03, 04 April 16
Hi there,


To people interested in the CPC RTC, I received a request for 2 more boards via PM so I think we're at something like 8, I'll start a 10 pieces batch. Expect a delay of at least 1 month, payments will be requested once the boards are made or at least components are ordered.
Watch your PM's.


Best CPC regards
Thierry


Great  :D   
Thanks !
Title: Re: Real Time Clock Board
Post by: remax on 23:32, 13 April 16
Quote from: CraigsBar on 16:11, 21 September 15
Awesome news. I did see yesterday that the rtc rom corrupts fw3.15 mode 2 startup screen, and that it breaks the hxc v3 app from either autoboot hfe or rom. Will test further and confirm later.

Sent from my A3-A30 using Tapatalk

Now that i can test my X-Mem, i can confirm the problem, and it's quite major, especially for the HxC...
Title: Re: Real Time Clock Board
Post by: CraigsBar on 15:40, 14 April 16
Quote from: remax on 23:32, 13 April 16
Now that i can test my X-Mem, i can confirm the problem, and it's quite major, especially for the HxC...
Indeed. Hopefully fixable ;)
Title: Re: Real Time Clock Board
Post by: TFM on 16:08, 14 April 16
Quote from: remax on 23:32, 13 April 16
Now that i can test my X-Mem, i can confirm the problem, and it's quite major, especially for the HxC...


For this case you have the jumpers on the RTC board. When using it together with the X-MEM then you set the jumpers and that's it. (Without the jumpers set the RTC runs all alone fine). Just look at the instruction manual of the RTC.  :)
Title: Re: Real Time Clock Board
Post by: remax on 17:13, 14 April 16
Quote from: TFM on 16:08, 14 April 16

For this case you have the jumpers on the RTC board. When using it together with the X-MEM then you set the jumpers and that's it. (Without the jumpers set the RTC runs all alone fine). Just look at the instruction manual of the RTC.  :)


No


The problem, as CraigsBar stated in his post too, happens also when the RTC is in EXT mode with the RTC rom flashed on the XMEM (at slot 12 for me).


If the RTC is plugged, then HXC Manager hangs, if it's not plugged, it works ok. See the screenshot of Craigsbar.
Title: Re: Real Time Clock Board
Post by: TFM on 18:41, 14 April 16
That's not a problem of the RTC. Simply disable the Time-ROM and FW 3.1x and HxC shall run.

However the Time-ROM was there before, FW 3.x and HxC manager came later, they should be adapted.


If I understand right, then for FW 3.x there is a bit of the watch to see on the screen, ok, that shouldn't bother much if this is the only problem.

About the HxC software, I never got it really running from ROM anyway, it works only from a DSK, so I can't really talk about it. But obviously it still has some bugs in the ROM version, which tries to crash my 3" disc.  :(
Title: Re: Real Time Clock Board
Post by: CraigsBar on 22:18, 14 April 16
ERM. The same happens when launching the hxc manager from disc BTW. So it's not just the ROM.
Title: Re: Real Time Clock Board
Post by: TFM on 16:50, 15 April 16
Quote from: CraigsBar on 22:18, 14 April 16
ERM. The same happens when launching the hxc manager from disc BTW. So it's not just the ROM.


Well, in my case it is like I described. You seem to have an additional factor, or we are not completely on the same page. [nb]Frog protection you know?[/nb]
Title: Re: Real Time Clock Board
Post by: TFM on 16:54, 15 April 16
But to end this discussion: Ok, so some ROMs are incompatible, that's nothing new. So one can use commands like !ROMON or !ROMOFF to select the desired ROMs and everything is good.


What's the alternative anyway? There is no other RTC with support for BASIC, CP/M, FutureOS and even SymbOS.  :)
Title: Re: Real Time Clock Board
Post by: remax on 20:15, 15 April 16
Quote from: TFM on 16:54, 15 April 16
But to end this discussion: Ok, so some ROMs are incompatible, that's nothing new. So one can use commands like !ROMON or !ROMOFF to select the desired ROMs and everything is good.


What's the alternative anyway? There is no other RTC with support for BASIC, CP/M, FutureOS and even SymbOS.  :)


I agree with you, but was hoping there can be a software patch. You're right that it might be easier on the HXC Manager side.
Title: Re: Real Time Clock Board
Post by: TFM on 02:14, 16 April 16
Quote from: remax on 20:15, 15 April 16

I agree with you, but was hoping there can be a software patch. You're right that it might be easier on the HXC Manager side.


Well, we have the source. And there could be a software patch. Just need somebody who can look at it. In this case it would be nice to have the source of the other two 'problem' ROMs too. If somebody volunteers please PM me. Sadly I have nearly no time at the moment.
Title: Re: Real Time Clock Board
Post by: Tolkin on 21:14, 14 May 16
Hy, iam interested in one board too!
So if there is a chance for one, please sign me in.
Or should i write a PM?

Thanks so much for the Work.

My original Dobbertin Timerom is dead for about 10 years, so a replacement would be perfect  ;D
Title: Re: Real Time Clock Board
Post by: dxs on 22:40, 15 May 16
Hi, I just received the last missing parts for the 10pcs batch so it should be fine. No need to PM I'll get back to you when they're ready.
This one should last much longer considering the battery is user serviceable.
Title: Re: Real Time Clock Board
Post by: Tolkin on 19:49, 17 May 16
I am so nervous about... Future OS will have the correct time then.
Really nice
Title: Re: Real Time Clock Board
Post by: TFM on 21:22, 23 May 16
Quote from: Tolkin on 19:49, 17 May 16
I am so nervous about... FutureOS will have the correct time then.
Really nice


The new installer allows you to select the ROM number of the RTC. This number depends on the jumpers on the board.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 18:24, 24 May 16
Hi there,

I finished building the 10 cards, I sent PM's to interested people, if you like to have one too please send me a PM!
Title: Re: Real Time Clock Board
Post by: TFM on 20:03, 10 June 16
The great RTC arrived! Thank you very much!  :)
Title: Re: Real Time Clock Board
Post by: Tolkin on 21:29, 10 June 16
Puh, it ist 22:30 here, find the Package on my Desk, a few seconds ago.
It arrived, package fine... so eat sth. and play a little bit with the clock :)
Thanks so much!
Title: Re: Real Time Clock Board
Post by: netmercer on 22:36, 10 June 16
Hi,
the CPC RTC board arrived a few days ago. dxs, you did a great work with Y2K patch and the mod for battery use. Thank you very much.  :-*
I have tested it already under BASIC and together with my Inicron ROM-RAM-Box. It works like a charme and the board looks very professional designed and soldered.
At last yesterday I had time to test the board with CP/M Plus. Time and Date for all files is marvellous. (Thanks to TFM for the TIMEROM#.COM patch)

Best regards
netmercer
Title: Re: Real Time Clock Board
Post by: Tolkin on 13:20, 11 June 16
Hy, played with the RTC yesterday until 4:00 in the morning.
Never thought that it is making so much fun with a "clock".
If you build another batch, you can count me in again for my 6128plus Setup.
Thank you so much!
And TFM too, of course!
Title: Re: Real Time Clock Board
Post by: dxs on 17:05, 11 June 16
Thanks to everybody for the kind words, I really appreciate it! I got some valuable input and help from a few people, especially TFM, Gerald and TotO.
BTW @Tolkin (http://www.cpcwiki.eu/forum/index.php?action=profile;u=81) if you like you can have another one right now, I was keeping a spare in case something would happen during shipping... Just PM me if needed!
Title: Re: Real Time Clock Board
Post by: 1024MAK on 09:36, 12 June 16
Hello

I would like one of your Real Time Clock Boards if you have any left please.

Mark
Title: Re: Real Time Clock Board
Post by: Poliander on 18:56, 20 June 16
I just found out that it's no more possible to play Fruity Frank on my 664 when the RTC is connected. Intro screen works (a first little glitch is visible while the intro screen is drawn) but entering the game results in a black screen (lockup). Tested with X-MEM FW 3.15. Booting with CPC BASIC ROM (I never start in MODE 2 basic, this disturbs CPC-RTC boot screen and disk menus)

My tests have shown almost the same result (graphical glitches may look different) on following setups:
- CPC 664 + CPC-RTC + X-MEM
- CPC 664 + CPC-RTC w/o X-MEM
- CPC 6128 + CPC-RTC + X-MEM
- CPC 6128 + CPC-RTC w/o X-MEM

So it seems there is incompatibility to be expected when RTC ROM is placed in X-MEM.
Title: Re: Real Time Clock Board
Post by: TFM on 21:01, 20 June 16
For a quick look I would guess that your power supply could be to weak.


Can you upload a DSK of the game you used, then I can test this and mabybe confirm and try to find out what's going on. :)
Title: Re: Real Time Clock Board
Post by: Poliander on 21:10, 20 June 16
I'm using an additional external PSU (Conrad/VoltCraft SPS 15-36W). The game DSK can be obtained here (http://www.cpc-power.com/index.php?page=detail&onglet=dumps&num=930)
Title: Re: Real Time Clock Board
Post by: Bryce on 08:23, 21 June 16
The 664 only scans for the first 8 ROMs (ROM 7 - 0). If the RTC ROM is in a slot above this, then it won't be visible or usable on a 64K CPC (the 6128 scans for ROMs 15 - 0). You also don't mention what was installed on the X-MEM. You may just have used up to much of the internal 664 RAM because of too many ROMs being installed. This can effect many games.

Bryce.
Title: Re: Real Time Clock Board
Post by: Poliander on 09:30, 21 June 16
Thank you for your response! IIRC (currently at work) but ROMs in use are...

#00h - BASIC (not in use)
#01h - FW 3.15
#02h - RTC
#07h - CP/M

BTW on the 664 the RTC works even when I place it's ROM in X-MEM between 08h - 0Fh (but the game quits immediately after start displaying I have to reboot the machine). I used the same ROM configuration for both testing with 664 and 6128.
Title: Re: Real Time Clock Board
Post by: TotO on 10:01, 21 June 16
If FW3.15 is used, the 664 will scan for 16 (FW315EN16) or 32 ROMs (FW315EN32) not 8.
Title: Re: Real Time Clock Board
Post by: dxs on 10:33, 21 June 16
Quote- CPC 664 + CPC-RTC w/o X-MEM = RTC is not available at all (not shown on boot message)
Do you confirm his behaviour? Do you have anything else connected to the 664? Is your expansion connector spotless clean? Are the 3 jumpers of the RTC in the "Int" position when NOT using the X-MEM?


Unfortunately I couldn't test the RTC with a 664 because I don't own any. Anyone having a 664 and the RTC board could confirm that the RTC works (or not) on 664?
If not, can you try replacing the lower ROM (using X-MEM or lower rom board from Bryce) with a 6128 firmware? Also try replacing rom 0 (basic) with a 6128 version?

---------------------------------------
Quote

#00h - BASIC (not in use)
#01h - FW 3.15
#02h - RTC
#07h - CP/M



I'm using this opportunity to remember users that under no circonstance should the jumpers be set to "INT" when using an external romboard, be it the X-MEM, Megaflash or any other ROM board (at least one being based on modern chips, not an old one where you physically plug EPROMS).
Title: Re: Real Time Clock Board
Post by: Poliander on 10:47, 21 June 16
Quote from: dxs on 10:33, 21 June 16
Do you have anything else connected to the 664? Is your expansion connector spotless clean? Are the 3 jumpers of the RTC in the "Int" position when NOT using the X-MEM?

There was nothing else connected and I confirm the jumpers were set correctly (I was absolutely aware that this is required). The expansion connector works perfectly when using it together with X-Mother/X-Mem and I used the same cable/plug when trying without X-Mother/X-Mem, directly connected to the RTC. Unfortunately I have no other ROM board to test with.

Could someone connect the RTC to a plain, unmodified 6128, without any other hardware, and try to start Fruity Frank, please? I suspect there is a collision in memory use somewhere which also affects my 664 setup.
Title: Re: Real Time Clock Board
Post by: dxs on 11:16, 21 June 16
Thanks for quick reply! I'm on holiday for a few days more so I can't test that for you now unfortunately.
Maybe can you try another version of the game (cracked / repacked / trained...).


I'm more concerned about possible incompatibility with the 664, which is quite strange as the RTC does work with both 464 and 6128. 664 and CPC RTC owners see above posts for requested help please!
Title: Re: Real Time Clock Board
Post by: Poliander on 18:00, 21 June 16
I did just some testing again. And I have to tell you, this time the RTC works "as usual" on my CPC 664 when directly connected, without X-MEM. (I could think of one jumper did not properly fit...) So X-MEM can be fully dismissed from my "testing matrix" :-) ...and leaves an incompatibility between RTC and at least one game on both machines, 664 and 6128.
Title: Re: Real Time Clock Board
Post by: arnoldemu on 18:05, 21 June 16
Quote from: Poliander on 18:00, 21 June 16
I did just some testing again. And I have to tell you, this time the RTC works "as usual" on my CPC 664 when directly connected, without X-MEM. (I could think of one jumper did not properly fit...) So X-MEM can be fully dismissed from my "testing matrix" :-) ...and leaves an incompatibility between RTC and at least one game on both machines, 664 and 6128.
Are you excluding the RTC ROM software from this test?

So is the bug with RTC on it's own ?

EDIT: I am wondering if the RTC ROM has installed a firmware interrupt. Fruity Frank uses firmware. Maybe it needs to reset the firmware to run correctly?
EDIT: Does Donkey Kong (ocean) also crash?
Title: Re: Real Time Clock Board
Post by: dxs on 18:55, 21 June 16
Ok for the 664, a jumper is indeed the most likely cause.


But you said everything is working fine with 6128 + RTC - XMEM.
The fact is that from the computer's point of view, regarding RTC operation, there is very little difference between this config and 6128 + RTC + XMEM.


So maybe you should try removing other ROMs from XMEM like fw3.15...
Also try the game with this config: 6128 + XMEM - RTC , both with or without the RTC rom, but with module physically unplugged.
Title: Re: Real Time Clock Board
Post by: Poliander on 19:11, 21 June 16
@dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074) X-MEM can be excluded, same effect both with and without X-MEM (I updated my original post accordingly)
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) Donkey Kong runs fine on both 664 and 6128 (tested w/o X-MEM)
Title: Re: Real Time Clock Board
Post by: dxs on 20:16, 21 June 16
Ok I'll make some tests when back home. I think that the function which displays real time (ctrl + esc) or the programmable timer could be the culprit. I'll also check the one other known trouble soft aka  hxc manager. If possible I'll release a patch but I'm quite ASM-impaired 🙄
Title: Re: Real Time Clock Board
Post by: TFM on 16:42, 22 June 16
Ok, there was not 664 to use. But I could do a test with the regular CPC6128.


On an MX4 board I had the dxs RTC, the X-MEM, X-MASS and Albireo. The RTC jumpers were all set to ext (see handbook).
I started Fruity Frank and it worked without an problem.


Therefore the RTC is not the problem, it could be the TimeROM on 664, but I don't have a 664 here.
Title: Re: Real Time Clock Board
Post by: Poliander on 18:10, 22 June 16
Thanks for testing. But I experience same problem on both my 664 and 6128.
Title: Re: Real Time Clock Board
Post by: 1024MAK on 14:00, 23 June 16
Yay, my RTC arrived yesterday  :P

I'm at work again until very late today  >:(. So I will play with it at the weekend.

Thank you very much @dxs (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1074)  :D

Mark
Title: Re: Real Time Clock Board
Post by: TFM on 15:26, 23 June 16
In addition I tested Fruity Frank on my CPC6128 yesterday with only RTC connected and the TimeROM enabled. Everything worked fine. Couldn't reproduce the error you saw.
@Poliander (http://www.cpcwiki.eu/forum/index.php?action=profile;u=203): Sorry, can't help you any further (maybe try another PSU).

Something else:
However I saw that the TimeROM-ROM (located a postion 9 in an X-MEM) does not find the RTC when the RTC is at ROM select &72 (jumpers set to EXT), but FutureOS does find the RTC and shows time and date correct. So maybe the Time-ROM is not scanning all ROM slots for the RTC. I have to look into this one day.
Title: Re: Real Time Clock Board
Post by: netmercer on 16:44, 23 June 16
Quote from: TFM on 15:26, 23 June 16

Something else:
However I saw that the TimeROM-ROM (located a postion 9 in an X-MEM) does not find the RTC when the RTC is at ROM select &72 (jumpers set to EXT), but FutureOS does find the RTC and shows time and date correct. So maybe the Time-ROM is not scanning all ROM slots for the RTC. I have to look into this one day.



Hi,
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)
use the TIMEROM File dxs delivered to you per e-Mail, not a copy of the ROM from RTC board.

Kind Regards
netmercer
Title: Re: Real Time Clock Board
Post by: TFM on 17:48, 23 June 16
Quote from: netmercer on 16:44, 23 June 16
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)
use the TIMEROM File dxs delivered to you per e-Mail, not a copy of the ROM from RTC board.
Kind Regards
netmercer


Good advice, can you post it here? (I had an email crash).
Title: Re: Real Time Clock Board
Post by: netmercer on 20:16, 23 June 16
Quote from: TFM on 17:48, 23 June 16

Good advice, can you post it here? (I had an email crash).


Hi TFM,
it had been already posted at the first side of this thread  :D

Title: Re: Real Time Clock Board
Post by: TFM on 20:21, 23 June 16
Quote from: netmercer on 20:16, 23 June 16

Hi TFM,
it had been already posted at the first side of this thread  :D


Yes, but that's 1.00 and not 1.01
Title: Re: Real Time Clock Board
Post by: netmercer on 22:19, 23 June 16
Quote from: TFM on 20:21, 23 June 16

Yes, but that's 1.00 and not 1.01


Yes, that's 1.00 from 19/05/2015, which I'm using too. I don't know a version 1.01 of CPCRTCEN.ROM.
Title: Re: Real Time Clock Board
Post by: TFM on 22:20, 23 June 16
Quote from: netmercer on 22:19, 23 June 16

Yes, that's 1.00 from 19/05/2015, which I'm using too. I don't know a version 1.01 of CPCRTCEN.ROM.


Maybe I mix things up, will take a look later.  :)
Title: Re: Real Time Clock Board
Post by: dxs on 17:00, 24 June 16
You are both right.

1.01 is for onboard EPROM only
1.00 is for external romboard


The difference is that the onboard version searches for the RTC module at position 2, since it is hardwired that way. The External version starts looking at &72. Reason for that is that using onboard EPROM there would have been a slight delay at bootup while searching through &72 down to &2.
Hence V1.01 won't work when used in X-MEM with jumpers to "EXT".


In this thread (first post, or as I sent via email) you will only find v1.00, as users weren't supposed to dump the EPROM I shipped  ;)
The numbering was used to make sure there was no mixup during development.
Title: Re: Real Time Clock Board
Post by: TFM on 21:31, 24 June 16
Let me ask an illegal question: The onboard EPROM is an 27C512 (iirc), that's 32 KB, the time-ROM uses 16 KB. Are the other 16 KB are mapped in somewhere? Is it for future expansion?


A mystery of the clock!  :o :o :o
Title: Re: Real Time Clock Board
Post by: dxs on 21:41, 24 June 16

Actually the 27C512 is 64KB.
The remaining space isn't available, I chose this IC beacuse this was the least expensive memory I could have! The board is compatible with 27c128 27c256 27c512 I fixed the unused address pins at GND or 5v to ensure compatibility.

QuoteLet me ask an illegal question: The onboard EPROM is an 27C512 (iirc), that's 32 KB, the time-ROM uses 16 KB. Are the other 16 KB are mapped in somewhere? Is it for future expansion?A mystery of the clock!  :o :o :o


are you expecting users to reverse-engineer FutureOS ?  :D
Title: Re: Real Time Clock Board
Post by: TFM on 22:24, 24 June 16
Isn't it crazy? 16 KB are more expansive than 64 KB.  :laugh:  But yes, you could fit FutureOS on it.  :-X
Title: Re: Real Time Clock Board
Post by: netmercer on 14:07, 01 December 18
Hi,
I'm using the CPC RTC under CP/M+ and TIMEROM#.COM.
Is it possible to set time and date of the SmartWatch chip with a CP/M tool? Perhaps TIMEROM#.COM could do that, but I don't knew the syntax.
Standard CP/M+ tools like DATE.COM sets only the software clock of the CPC.


Best regards
netmercer
Title: Re: Real Time Clock Board
Post by: GUNHED on 01:06, 02 December 18
Hi, to set time and date you can either use the Dobbertin TimeROM or FutureOS. Well, I could make a CP/M program for you too, but I just picked up a new job a week ago (highschool teacher - never do that!!!), so I'm super busy at the moment.
Title: Re: Real Time Clock Board
Post by: netmercer on 22:03, 04 December 18
Hi @GUNHED (http://www.cpcwiki.eu/forum/index.php?action=profile;u=2029),
thank you for your answer and your friendly offer, but it's not necessary to do a lot of programing work. I'm searching for a already existing solution...

Best regards
netmercer
Title: Re: Real Time Clock Board
Post by: poulette73 on 06:53, 14 November 22
I'm way too late... ;D

I am interested in this interface, but I know that there will be no more produced.
By any chance, is anyone selling a used one?
If so you can send me a PM !
Title: Re: Real Time Clock Board
Post by: GUNHED on 17:22, 18 November 22
Well, maybe it would make sense to set up a second batch?

This RTC probably got the best software support of all RTC's on the CPC. So it would make sense to get a 2nd batch done.

Most important question: What does @dxs think about it?

Is somebody else interested in getting one of the great dxs RTCs?
Title: Re: Real Time Clock Board
Post by: Richard_Lloyd on 20:55, 18 November 22
Yes, I would be interested.......
Title: Re: Real Time Clock Board
Post by: Nemo59 on 21:46, 18 November 22
Im interested too for my CPC+ ;D 
Title: Re: Real Time Clock Board
Post by: angelcaio on 18:44, 20 November 22
I am also interested in a MX4 card for my 464 with CP/M plus (HDCPM)
Title: Re: Real Time Clock Board
Post by: rambler on 20:33, 20 November 22
I am also interested
Title: Re: Real Time Clock Board
Post by: GUNHED on 12:51, 21 November 22
Great! Now we need somebody to do a new batch!  ;) ;) ;)

Several members of this forum could do that. Who would like to do it?
Title: Re: Real Time Clock Board
Post by: GUNHED on 15:50, 25 November 22
Who will do a new batch?

@dxs , @Piotr , @TotO , @Bryce , @PulkoMandy , @talrek or anybody else?

Sadly I can't do it by myself.  :-X
Title: Re: Real Time Clock Board
Post by: TotO on 16:06, 25 November 22
- PulkoMandy will probably suggest you to buy the Nova board instead (NVRAM + RTC)
- X-MEM users can swap the RAM IC with a 9$ M48T512Y-70PM1 (https://www.utsource.net/itm/p/281852.html) (512K backed up + RTC)
Title: Re: Real Time Clock Board
Post by: GUNHED on 16:11, 25 November 22
Quote from: TotO on 16:06, 25 November 22- PulkoMandy will probably suggest you to buy the Nova board instead (NVRAM + RTC)
- X-MEM users can swap the RAM IC with a 9$ "M48T512Y-70PM1" (512K backed up + RTC)
 
Two well ideas.  :)

1. The Nova I already got personally, it's a great card.
2. Also the X-MEM is awesome.

However, the RTC of the Nova does not have the same amount of software support compared to the dxs (Dobbertin) RTC. And the chip you mention for the X-MEM is commercially just not available.

What's the big advantage of the dxs RTC?
It's the software: There is a complete ROM for the native OS (full of wonders), there is also support in CP/M Plus (even in CP/M 2.2 - the one with 63 KB TPA) and of course for other OS too.
Title: Re: Real Time Clock Board
Post by: TotO on 16:24, 25 November 22
Quote from: GUNHEDthe chip you mention for the X-MEM is commercially just not available.
Well, I have provided the link to buy it. :-*
6 years ago, people don't looked interested by a 1024K backed-up RAM with RTC (Z-MEM)

Quote from: GUNHEDthe RTC of the Nova does not have the same amount of software support compared to the dxs (Dobbertin) RTC.
You may patch the softwares instead of asking to buy new hardware for the same usage. It will cost less for users. :)
Title: Re: Real Time Clock Board
Post by: GUNHED on 17:20, 25 November 22
Well, I followed you link 6 years ago, and I couldn't get it back the day, also at no other day. They seem to be very scarce. But you can provide a link of the X-MEM RTC right now.

I do not ask nobody to buy new hardware. And why shall I patch some software? My software already support everything RTC in CPC world.

Here we talk about that people want to buy the dxs RTC. Therefore I tried to support them here by asking hardware people for support.

Again: Just to make this clear, users WANT to get the dxs RTC!  :)
Title: Re: Real Time Clock Board
Post by: revaldinho on 17:49, 25 November 22
Just slightly off topic, I remember Dk'Tronics used to advertise heavily in the CPC magazines back in the day. They had a RTC card too which I think came with RSXes on tape/disk and possibly some patches for CP/M. I don't see people talking about the Dk'T RTC though - was that not as popular and as well supported as the others ?
Title: Re: Real Time Clock Board
Post by: poulette73 on 08:10, 24 December 22
Quote from: GUNHED on 17:22, 18 November 22Well, maybe it would make sense to set up a second batch?

This RTC probably got the best software support of all RTC's on the CPC. So it would make sense to get a 2nd batch done.

Most important question: What does @dxs think about it?

Is somebody else interested in getting one of the great dxs RTCs?

I raise the subject.

It would make me happy that a new batch sees the light of day.  😉 👍

What I really like with this dxs RTC interface (compared to the other solutions offered) is the integration of TIME ROM+ which allows to :
  • Show date and hour each time the CPC starts on the top screen.
  • The presence of RSX allowing to retrieve and use the date and time in programs, in a simple and intuitive way for everyone whatever the level of programming.
Title: Re: Real Time Clock Board
Post by: HigashiJun on 13:38, 24 December 22
I would be interested too.

Looks really good.
Title: Re: Real Time Clock Board
Post by: GUNHED on 23:07, 26 December 22
Maybe one of the usual CPC hardware producers / cloners does read here and is willing to do a batch?
Powered by SMFPacks Menu Editor Mod