-
Notifications
You must be signed in to change notification settings - Fork 0
/
Retruino.ino
39 lines (32 loc) · 1.16 KB
/
Retruino.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
Retruino
by John´s Project
Retruino is a tiny retro gaming console for the arduino,
it's based on the Arduios, what enables you to upload multiple
retro games once and play them.
You can easily write an app by including "kernel.h",
extending and implementing the methods of the App class
and registering it in the apps array here.
(App class is in "kernel.h")
You can access the Retruino hardware using the "Retruino.h"
If you need docs just take a look into the '.h' files.
----------------------------------------------------------
https://github.com/JohnsProject/Arduios
https://github.com/JohnsProject/Retruino
----------------------------------------------------------
This is the bootloader of the Arduios, it loads the kernel
and is the place where your apps should be registered.
*/
#include "Retruino.h"
#include "Desktop.h"
//#include "TestGame.h"
//#include "Pong.h"
void setup() {
kernel.addApp(desktop);
//kernel.addApp(testGame); // uncomment to enable TestGame
//kernel.addApp(pong); // uncomment to enable Pong
kernel.setup();
}
void loop() {
kernel.loop();
}