After finishing the simple hardware version I started coding on a Gameboy emulator to try to display time and play "a-russian-tune-that-looks-like-a-famous-game-music-that-gets-a-lot-of-copyright-complaints"
The controls are :
- button A : set time
- button B : set alarm
- up/down : select hours or minutes
- left/right : increase/decrease time (minutes or seconds, choose with up and down)
I wrote the code in C and use GBDK to compile it. I will put the source code on Github soon, for now you can find the .gb file in the files section.