Commit Graph

172 Commits

Author SHA1 Message Date
fincs
9abad5bbaf Update GPU example (untested) 2015-03-01 23:20:01 +01:00
Dave Murphy
4caa875489 fix smdh building 2015-03-01 16:56:10 +00:00
Dave Murphy
6d25d6d335 add smdh embedding 2015-03-01 16:39:34 +00:00
Dave Murphy
36f82b8bb8 fix typo 2015-02-26 08:37:23 +00:00
Dave Murphy
02ff590b5a add intermediate Makefile for input examples 2015-02-25 15:36:07 +00:00
Dave Murphy
c5fa04e845 add thread event example 2015-02-25 15:28:30 +00:00
Dave Murphy
aa98a0796b use variable to recurse make 2015-02-23 19:25:59 +00:00
Dave Murphy
6822f89c4c update for latest libctru 2015-02-23 19:25:31 +00:00
Dave Murphy
403c277bf8 switch to hard float 2015-02-23 19:24:59 +00:00
Dave Murphy
d28e3bf1da Merge pull request #64 from Aurelio92/example-TouchScreen
Added TouchScreen example
2015-02-23 19:21:33 +00:00
Dave Murphy
da57493368 update aemstro reflog 2015-02-22 22:37:17 +00:00
Eric Hobbs
fa41041abf fixed lighting in shader for gpu example 2015-02-22 14:55:04 -05:00
Eric Hobbs
dcd1ccf939 updated shader for current aemstro 2015-02-22 13:38:58 -05:00
Dave Murphy
a8b20600cf rename example 2015-02-19 10:26:34 +00:00
Dave Murphy
56317483fb Merge pull request #63 from Aurelio92/example-CirclePad
Added example for reading input
2015-02-18 17:50:10 +00:00
Aurelio Mannara
24bceda509 Merged with Pad example
Also updated to make it work with latest ctrulib and devkitARM
2015-02-18 18:34:58 +01:00
Dave Murphy
9a08d26e03 more relevant text 2015-02-18 15:09:15 +00:00
Dave Murphy
257f77a05d simplify imagemagick conversion 2015-02-18 15:06:09 +00:00
Dave Murphy
6be71c218e update for latest libctru 2015-02-18 15:05:29 +00:00
Dave Murphy
131d3380ac use variable to recurse make 2015-02-18 15:04:34 +00:00
Dave Murphy
83c496bcdb use hard float abi 2015-02-18 15:04:04 +00:00
Dave Murphy
64d918a719 Merge pull request #61 from Aurelio92/example-24bit_Bitmap
Added 24bit Bitmap example
2015-02-18 14:58:08 +00:00
Dave Murphy
5a17bfd631 don't need + when using variable 2015-02-18 12:01:03 +00:00
Dave Murphy
71788b4a66 use variable to recurse make 2015-02-18 00:34:55 +00:00
gudenau
bb1ca9e63a Fixed a type-o 2015-02-16 18:47:40 -06:00
Dave Murphy
7e24c7766f switch to hard float 2015-02-15 01:26:16 +00:00
Dave Murphy
ccb36c8c87 update with reflog for working Aemstro 2015-01-18 15:11:56 +00:00
Dave Murphy
cecae02b1d use console to display info, download from real url 2015-01-09 09:49:08 +00:00
Dave Murphy
678b89e9b2 remove unneeded boilerplate from examples 2015-01-09 08:14:01 +00:00
Dave Murphy
6728df3556 one Makefile to rule them all 2015-01-03 00:25:00 +00:00
Dave Murphy
2cc62ba17f move mic example to audio subfolder 2015-01-03 00:10:32 +00:00
Dave Murphy
81e93f867b update examples to use gfxInitDefault 2015-01-03 00:06:22 +00:00
profi200
bb5c4a6ca8 Simplified reading the system language by adding a wrapper. Print only once in the get_system_language example. 2014-12-29 22:46:59 +01:00
profi200
4f08f191ff Better in hex. 2014-12-26 03:03:40 +01:00
profi200
9ab796b058 Forgot to finish the changes on the get_system_language example. 2014-12-26 02:57:49 +01:00
profi200
eb0f771409 Replaced spaces in cfgu.c. 2014-12-26 02:46:38 +01:00
profi200
80c9b397ba Merge branch 'master' of github.com:smealum/ctrulib 2014-12-26 02:34:07 +01:00
profi200
54f2afcb19 Added CFGU_GetConfigInfoBlk2() and an example. 2014-12-26 02:31:59 +01:00
Dave Murphy
b0b125cc20 use stdio and malloc 2014-12-26 01:11:13 +00:00
Dave Murphy
0f8a756276 put data in C file where it belongs 2014-12-26 00:57:54 +00:00
Dave Murphy
01e939aba9 Merge pull request #57 from Aurelio92/example-HelloWorld
Added a Hello World example
2014-12-24 19:35:53 +00:00
Dave Murphy
ced5424bd4 add library template 2014-12-24 19:32:49 +00:00
Dave Murphy
2c4e229370 move template to examples/templates/application 2014-12-24 19:32:18 +00:00
yellows8
1a72193dc5 Added qtm support + example. 2014-12-21 01:02:23 -05:00
Dave Murphy
73b76cad57 wrong float abi 2014-12-19 10:07:53 +00:00
Dave Murphy
b3f8a99426 use new image 2014-12-19 10:07:28 +00:00
Dave Murphy
2177ad8619 replace picture with something nicer 2014-12-16 17:13:46 +00:00
Dave Murphy
de38b29ed4 check for ImageMagick and fail gracefully 2014-12-15 15:39:16 +00:00
Dave Murphy
cbb00e413d Automate graphics conversion
Makefile:

- Don't set DATA, we're no longer embedding files from there directly

- Add folders from GRAPHICS to VPATH. This is how make finds the source files

- Add PNGFILES variable containing all png files from GRAPHICS folders

- Add png files to OFILES with extension changed to rgb.o

- Add rule to create .rgb.o fromn .rgb using normal bin2o macro

- Add rule to create .rgb from .png using imagemagick

source/main.c

- the extension has changed to .rgb so the header is now <filename>_rgb.h and the variables end in _rgb
2014-12-15 12:35:03 +00:00
Dave Murphy
75d62ef1e3 delete generated bin file, move png to gfx folder 2014-12-15 11:59:54 +00:00
Aurelio Mannara
adeffd27ea Fixed a little mess I made with dir-names :D 2014-12-15 09:59:44 +01:00
Aurelio Mannara
eb1d6013cf Fixed a second little mess I made with dir-names 2014-12-15 09:56:03 +01:00
Aurelio Mannara
8533f4d706 Fixed a little mess I made with dir-names :D 2014-12-15 09:55:29 +01:00
Aurelio Mannara
27c8da8a11 Fixed a little mess I made with dir-names :D 2014-12-15 09:53:39 +01:00
Aurelio Mannara
ba6c48caac Fixed a little mess I made with dir-names :D 2014-12-15 09:52:51 +01:00
Aurelio Mannara
4ca16228da Fixed a little mess I made with dir-names :D 2014-12-15 09:51:25 +01:00
Aurelio Mannara
0f3afec935 Used *.c extension and lower case dir name 2014-12-15 09:35:49 +01:00
Aurelio Mannara
9887432e1d Used *.c extension and lower case dir name 2014-12-15 09:35:00 +01:00
Aurelio Mannara
0d47cd1503 Used *.c extension and lower case dir name 2014-12-15 09:34:02 +01:00
Aurelio Mannara
6a96abf2cb Used *.c extension and lower case dir name 2014-12-15 09:32:48 +01:00
Aurelio Mannara
7a8c9c78e7 Used *.c extension and lower case dir name 2014-12-15 09:31:25 +01:00
Aurelio Mannara
5cf80d1690 Used *.c extension and lower case dir name 2014-12-15 09:30:23 +01:00
Aurelio Mannara
31dfb6a92e Used *.c extension and lower case dir name 2014-12-15 09:29:33 +01:00
Aurelio Mannara
6bd1ef0de6 Used *.c extension and lower case dir name 2014-12-15 09:26:11 +01:00
Aurelio Mannara
c58179ef32 Used *.c extension and lower case dir name 2014-12-15 09:24:02 +01:00
Aurelio Mannara
9db5f7d9d1 Used *.c extension and lower case dir name 2014-12-15 09:23:03 +01:00
Aurelio Mannara
36f36fcea9 Used *.c extension and lower case dir name 2014-12-15 09:19:55 +01:00
Aurelio Mannara
b4cbe825e7 Used *.c extension and lower case dir name 2014-12-15 09:15:32 +01:00
Aurelio Mannara
fd3d64aa16 Used *.c extension and lower case dir name 2014-12-15 09:14:46 +01:00
Aurelio Mannara
d42cabd734 Used *.c extension and lower case dir name 2014-12-15 09:13:59 +01:00
Aurelio Mannara
117738ee5e Added RTC example
This example shows how to get os time and prints it on top screen
2014-12-14 18:11:30 +01:00
Aurelio Mannara
2cf9242785 Added TouchScreen example
This example shows how to get touch coordinates and prints them on top
screen
2014-12-14 18:10:25 +01:00
Aurelio Mannara
e82e9ce975 Added CirclePad example
This example shows how to get Circle Pad position and prints them on
the top screen
2014-12-14 18:09:02 +01:00
Aurelio Mannara
6218327628 Added 24bit Bitmap example
This example shows how to draw a 24bit bitmap on bottom screen
2014-12-14 18:03:27 +01:00
Aurelio Mannara
23c9e4b6da Added ColoredText example
This example shows how to print colored text using ansi escape sequences
2014-12-14 18:00:45 +01:00
Aurelio Mannara
850a6bf5e7 Added MultipleWindowsText
This example shows how to create multiple PrintConsole with custom
windows and print in them
2014-12-14 17:44:33 +01:00
Aurelio Mannara
28f97ad822 Added BothScreenText example
This example shows how to initialize and use a PrintConsole on both
screens
2014-12-14 17:36:19 +01:00
Aurelio Mannara
55a7f4bd25 Added an Hello World example 2014-12-14 17:29:29 +01:00
Dave Murphy
2d25b0359f Revert "Update example makefiles"
This reverts commit 0f93112ecb.
2014-12-05 13:47:57 +00:00
fincs
0f93112ecb Update example makefiles 2014-12-05 14:13:17 +01:00
yellows8
58192c8683 Fixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocating linearmem, in initSystem.c. 2014-11-28 19:28:59 -05:00
Dave Murphy
ac4c183868 fix examples for unpolluted libctru headers 2014-11-28 21:34:46 +00:00
yellows8
866cb1ff56 Added library applet launching example, this isn't usable from the homebrew launcher. 2014-11-26 22:12:20 -05:00
yellows8
6adaa95c18 Updated mic example. Returning from the example then launching it again via hbmenu is broken. 2014-11-24 23:42:47 -05:00
yellows8
ffef3fd06b Added warning in the mic example README regarding broken MIC. 2014-11-24 23:05:58 -05:00
Lectem
87de7de14a added fsExit 2014-11-23 20:57:57 +01:00
smea
49c293e8bf Merge pull request #33 from minexew/master
Fix error in GPU example
2014-11-22 10:51:12 -08:00
Xeatheran Minexew
3fa354313e Fix incorrect uniform setting in examples/gpu 2014-11-22 15:27:12 +01:00
yellows8
240ab44f9c Updated httpc code and added an example. 2014-11-22 00:43:39 -05:00
fincs
0db0a11751 Update Makefile in examples 2014-11-21 16:53:28 +01:00
profi200
dfde24702b Added comments to the app_launch example for better understanding for beginners 2014-11-20 14:58:24 +01:00
smea
c1ad708045 rewrote GPU examples/gpu/data/test.vsh 2014-11-19 17:13:43 -08:00
smea
5ecb358b56 fixed sdmc example 2014-11-19 15:53:36 -08:00
yellows8
ce226ec1b2 Updated mvd code and added an example. 2014-11-19 16:37:02 -05:00
profi200
b17a53fefc Makefile updated, added another note to the README.md file andremoved the svcSleepThread() call 2014-11-10 22:30:07 +01:00
profi200
8aee967e53 Forget the README 2014-11-10 19:23:15 +01:00
profi200
ffe682941f Added example for launching apps/applets 2014-11-10 17:34:11 +01:00
fincs
fab8bc25eb Minor Makefile correction 2014-11-08 13:49:39 +01:00
fincs
a667faa094 Update examples with new makefile (and remove obsolete arm11u example) 2014-11-07 19:13:47 +01:00
fincs
7f10ad4097 Add aptMainLoop() for handling APT events in main() 2014-11-02 18:58:37 +01:00