Added crypto libs, tons of code refactoring to support other firms, other minor stability issues handled.

This commit is contained in:
Reisyukaku
2015-08-21 14:11:23 -04:00
parent 9989554994
commit b914674325
13 changed files with 764 additions and 84 deletions

View File

@@ -9,7 +9,7 @@ CFLAGS=$(SFLAGS) -std=c99
all:
$(CC) -g source/thread.c source/lib.c $(CFLAGS)
$(CC) -g source/_start.s source/FS.S -I source $(SFLAGS)
$(CC) -g source/_start.s source/FS.s -I source $(SFLAGS)
$(CC) -nostdlib -T 3ds.ld _start.o thread.o lib.o FS.o
$(OBJCOPY) -O binary a.out arm9.bin
rm -f *.o *.out

View File

@@ -1,3 +1,9 @@
/*
* FS.h
* by Reisyukaku
* Copyright (c) 2015 All Rights Reserved
*/
#ifndef FS_H
#define FS_H
#include <stdio.h>

View File

@@ -1,3 +1,9 @@
#
# FS.s
# by Reisyukaku
# Copyright (c) 2015 All Rights Reserved
#/
.text
.thumb

View File

@@ -1,6 +1,7 @@
/*
* thread.c
* by Reisyukaku
* Copyright (c) 2015 All Rights Reserved
*/
#include <wchar.h>