Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

8-bit acorn hardware • Re: Reading/Writing from the RTC in the Electron Plus 1 AP6

$
0
0
Beta Release of AP6 RTC *TIME, *DATE etc Support :idea:
I have shared all the code (thank you Martin again) and a beta compiled AP6 version of the I2CBeeb ROM with rather long README file. This repository (https://github.com/fozretro/ap6rtc) also includes how to not only build an AP6 compatible version of Martins amazing I2CBeeb ROM but also the other variants - all from a shared source file using the cool INCLUDE feature of the Lancs Assembler. However, importantly, only the binary for the AP6 variant is included, continue to use Martin's official thread viewtopic.php?t=10966 for all the others.

Changes to the Code 8)
As I mentioned in the README attached to the repo above, when making these changes it felt wrong to ignore the other variants as this would lead to future updates not being so easy to apply as Martin made updates. So as of now, all variants can be built from a single source file thats not at all that different from what Martin kindly shared above. Accept that now it uses includes to vary the important bits between handling I2C bus access and RTC chip variations. As noted, in the README this is not the official place for I2CBeeb, that is still Martins thread, but as of now is aligned with the latest from Martin and the only place to get the AP6 variant.

Meanwhile all, a big you!!! =D>
This started out as an itch for me, I could not let it go that my new Electron powered with an AP6 had an RTC sat inside ticking away all by itself (Dave teased me with a battery for it!). Now with this communities help - that itch has been scratched! My Electron Plus 1 with AP6 has an accessible clock and some cool I2C support!

Statistics: Posted by !FOZ! — Tue May 28, 2024 2:16 am



Viewing all articles
Browse latest Browse all 2528

Trending Articles