SD Loader v4 is coming! Big binaries, Settings, Real Time Clock

RTS functionality is my favourite of these.

Let the virtual pet revolution commence!

I still have my cartridge.
I got it second hand after playing Pokemon Ruby.
Johto and Hoenn are my favourite regions.

I can’t wait… Will sensitive be on the next SD collection?

Yes! We will make all the games work.

3 Likes

Great!
I only have a chinese version that don’t have RTS.
That times I cant afford a official version
and dont speak English or Japanese.

I remember I lied down sofa home and pressed the button again and again to change coin in gold city’s gambling house until tomorrow morning when my parents not home.
All day I seem to hear “ding! ding! ding!” :joy:

2 Likes

How is rtc achieved?

Did not know that was in there. Will the on/off switch not be a problem?

RTC have separated voltage input. Probably battery is always connected to VBAT pin whether Pokitto is on or off

Yes exactly. It also has its own crystal and extra low power voltage regulator.

You can try the rtc right away. Turns out the whole support is already built in mbed for LPC11U68 and is Linux ctime compliant!

Literally use “set_time(time_t value)” and the rtc begins ticking!!!

5 Likes

It’s awesome. I will try when I get my Pokitto :sweat_smile:
Little note about my Pokitto: I see it in my dreams last 2-3 days :cry:

3 Likes

Is it C++ chrono compliant as well?

Edit:
Or at least ctime compliant?
(I’m assuming “Linux ctime” means this.)

1 Like

Is there a page listing the available API we can use?

2 Likes

Go knock yourself out:

https://os.mbed.com/blog/entry/103/

https://os.mbed.com/handbook/Time

PokittoLib is fully compatible with the mbedOS2 implementation.

You do not have to wait for a special API for Pokitto. Its all there on mbed

2 Likes

Great thank you. I image set_time will not be a part of Pokitto’s user library? So the time will be configurable from within the loader but games can only access return functions? This way people cannot “cheat” by fast forwarding the clock?

1 Like

set_time and all time functions are part of the mbed core. They are accessible from anywhere.

Ah ok… now I get you. Hmm. Well, in open source games you kind of can cheat if you want.

You could release your game only as a binary and check the time to see no-one is cheating! Grr, damn cheaters!

1 Like

Up, up, down, down, left, right, left, right, b, a :sweat_smile:

2 Likes

People can recompile the game’s source code to make things easier or overwrite EEPROM to fake a highscore.

Setting the RTC is the least of our worries as far as cheating goes. :P

I have no idea if this works on real hardware, but… 3.bin (96.0 KB)

Edit: Silly me, I forgot an emulator breakpoint in the code. >_<

1 Like

Not for me, just white screen.

Aw, back to the drawing board… do you get the initial logo, then a white screen?
Edit: And does this white screen have black borders?

Does this work? 4.bin (95.9 KB)