I did the same, looked at VBA and got it workin in the emu - but on
hardware (XG2 Turbo) the date of month and hours are wrong like this:
When date is 16 or higher, 4 is added
When hour is afternoon (PM) 3 was added (I think)
allthough after messing around lately I got hours like this:
0-11:59 AM is OK
0-11:59 PM give 80 to 92, like there's a PM flag
I looked at your code but doing it that way doesnt work at all on
hardware (normally you write 5 4s and the a 5 before reading) - maybe
the Pokemon clock is more accepting?
<swedish>
Förresten, försökte med din mail & icq tidigare men fick inte tag på
dig - har du nåt aktuellt kontakt-sätt? :)
</swedish>
--- In gbadev@yahoogroups.com, Fredrik Olsson <flubba@h...> wrote:
> Den 2004-01-09 18:46:56 skrev "jonas_minnberg"
<jonas_minnberg@y...>:
>
> >
> >I'm in the process of figuring out how this works, but it would be
> >much easier if I could find some real documentation. Has anyone
> >opened up either Pokemon or a flashcart with RTC and found a
> >component-number so I could look it up on the net?
>
> I used the source from VBA ( http://sourceforge.net/projects/vba/ )
as a starting point, but it didn't work on hardware, so I got someone
to test it on a Pokemon cart and after some coding/testing back and
> forth it now works quite good. If you want to you can download the
PCEAdvance source from http://hem.passagen.se/flubba/gba.html