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
smea
08f8caf924
Merge pull request #20 from idunoe/master
...
Defined FS archive ids
2014-10-27 09:31:10 -07:00
idunoe
df841d272b
Removed magic number from sdmc example
2014-10-27 22:59:14 +08:00
StapleButter
afd2140cb7
Create APT event handler thread as soon as possible, and complete initialization automatically when needed. No more 'call aptSetupEventHandler() as late as possible' shit.
...
Adapt examples to the changes (not tested).
2014-10-27 15:37:30 +01:00
archshift
746e8e12c1
Get sdmc example building again
2014-10-26 17:08:55 -07:00
archshift
0a176ddba8
Get arm11u example building again
2014-10-26 16:59:11 -07:00
smea
40d35ee420
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor
2014-10-23 22:12:08 -07:00
smea
77b421aa6b
nothing important
2014-10-23 22:11:50 -07:00
yellows8
63c3e5af0d
Fixed mic example README.
2014-09-03 14:38:47 -04:00
yellows8
aa77f9b1e2
Added code for using the microphone and an example app for it.
2014-09-03 14:36:05 -04:00
fincs
125398a52f
Refactor linear heap code (formerly known as GSP heap)
2014-08-27 23:44:38 +02:00
fincs
589c59fab7
Move 3ds.h to root, add C++ guard, use #pragma once
2014-08-26 22:53:00 +02:00
fincs
9e89151f22
Add .gitignore to examples
2014-08-26 22:51:50 +02:00
smea
45c7f027d8
gpu: shader fix
2014-08-25 23:44:52 -07:00
smea
8e86af967a
added Makefile rule to compile vsh shader code to gpu example (fincs, can you see if you can improve it ?)
2014-08-25 23:26:36 -07:00
smea
0aff9c6902
so sick of all these includes
2014-08-25 22:55:12 -07:00
smea
19071d7fb1
moved some things around
2014-08-25 22:38:37 -07:00
smea
ca0cecec57
cleaned up gpu example code
2014-08-25 22:27:28 -07:00
smea
4f397abd63
added WIP GPU example code
2014-08-25 21:47:50 -07:00
plutoo
d35233fb1c
Revamped "srv.c".
2014-07-28 23:26:13 +02:00
plutoo
884df0ba75
Moved header files from ctr/ to 3ds/.
2014-07-28 21:41:48 +02:00
plutoo
15d2dc765d
Renamed svc_camelCase to svcCamelCase.
2014-07-28 20:58:47 +02:00
plutoo
baffd53020
Moved example projects to examples/.
2014-07-28 18:41:18 +02:00