aboutsummaryrefslogtreecommitdiff
path: root/examples/system/console
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-09-19 20:43:05 +0800
commit9f4891f95070c66ea9f1aba99d72724d4ab24e5a (patch)
tree723e3ef2118a3d1a9e6dafa811ed1b8b1bc9196e /examples/system/console
parent6762c39551ded059450d17d8bb0cb80642c8aaab (diff)
downloadpsn00bsdk-9f4891f95070c66ea9f1aba99d72724d4ab24e5a.tar.gz
Revised makefiles, added strtok(), command line arguments, SetHeapSize(), moved ISR and callback system to psxetc, moved debug font to psxgpu, fixed CD-ROM library crashing on PSIO, fixed interrupt callback setup to fix crashing on ResetGraph()
Diffstat (limited to 'examples/system/console')
-rw-r--r--examples/system/console/main.c2
-rw-r--r--examples/system/console/makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/system/console/main.c b/examples/system/console/main.c
index 988b428..405f0d6 100644
--- a/examples/system/console/main.c
+++ b/examples/system/console/main.c
@@ -172,7 +172,7 @@ int main(int argc, const char* argv[]) {
/* Uncomment this line if you don't have tty interfaces
* provided by n00brom or similar development environments with tty */
- AddSIO(115200);
+ //AddSIO(115200);
/* Main loop */
diff --git a/examples/system/console/makefile b/examples/system/console/makefile
index 0c27b55..d7e9374 100644
--- a/examples/system/console/makefile
+++ b/examples/system/console/makefile
@@ -1,4 +1,4 @@
-include ../../sdk-common.mk
+include ../../examples-setup.mk
# Project target name
TARGET = console.elf
@@ -19,7 +19,7 @@ INCLUDE +=
LIBDIRS +=
# Libraries to link
-LIBS = -lpsxsio -lpsxetc -lpsxgpu -lpsxgte -lpsxspu -lpsxapi -lc
+LIBS = -lpsxsio -lpsxgpu -lpsxgte -lpsxspu -lpsxetc -lpsxapi -lc
# C compiler flags
CFLAGS = -g -O2 -fno-builtin -fdata-sections -ffunction-sections