2017-04-29 21:06:24 +00:00
|
|
|
#include "../../../hw/3ds9/picafb/picafb.hpp"
|
2017-04-30 19:15:41 +00:00
|
|
|
#include "../../../hw/3ds9/vectorinit/vectorinit.hpp"
|
2017-04-29 21:06:24 +00:00
|
|
|
#include <base.hpp>
|
|
|
|
#include <config.h>
|
2017-07-20 14:37:45 +00:00
|
|
|
#include "../../../mmaps/3ds9.mh"
|
2017-04-29 21:06:24 +00:00
|
|
|
|
|
|
|
PICAfb term;
|
|
|
|
void main();
|
2017-07-20 08:26:35 +00:00
|
|
|
extern "C" void start() { main();
|
|
|
|
for(;;);
|
|
|
|
}
|
2017-04-29 21:06:24 +00:00
|
|
|
void drivers_init() {
|
|
|
|
setMainTTY(&term);
|
|
|
|
--term;
|
2017-05-01 13:39:55 +00:00
|
|
|
initVectors();
|
|
|
|
asm volatile("svc #0");
|
2017-04-29 21:06:24 +00:00
|
|
|
}
|