mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-04 14:58:09 -05:00
Almost working SPI
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <string>
|
||||
#include "mirror.h"
|
||||
#include "gba_flash.h"
|
||||
#include "debug.h"
|
||||
|
||||
char arr[16] = {
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "LinkSPI.h"
|
||||
#include "gb_link.h"
|
||||
#include "gameboy_colour.h"
|
||||
#include "LinkGPIO.h"
|
||||
|
||||
// This file is autogenerated from the file in the graphics folder
|
||||
#include "metr.h"
|
||||
@@ -76,6 +77,9 @@ void load_sprite(void)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
||||
linkGPIO->reset();
|
||||
|
||||
REG_DISPCNT = DCNT_MODE0 | DCNT_BG0 | DCNT_OBJ | DCNT_OBJ_1D;
|
||||
tte_init_se_default(0, BG_CBB(0) | BG_SBB(31));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user