Commit Graph

426 Commits

Author SHA1 Message Date
Dave Murphy
8087dc8aea roll a new libctru release 2015-01-06 12:47:47 +00:00
Dave Murphy
0a3bb7bcad allow for extenstion beyond 256 characters 2015-01-06 12:28:16 +00:00
Dave Murphy
93de4971bd full 256 character font 2015-01-06 12:27:37 +00:00
Dave Murphy
168d967743 __libc_init_array needs run after stack adjustment, __libc_fini_array before original stack is restored 2015-01-04 15:00:11 +00:00
smea
ed72f9474b fixed linear/vram mem align 2015-01-04 12:45:30 +01:00
Dave Murphy
74c37b4e87 and protect from double exit 2015-01-03 00:45:31 +00:00
Dave Murphy
d6e0e5b198 free screens from where they were allocated 2015-01-03 00:43:21 +00:00
Dave Murphy
897498f0c1 add parameters to gfxInit, add gfxInitDefault function 2015-01-03 00:02:49 +00:00
Dave Murphy
abfb15af1b use struct for channel status array 2015-01-02 22:42:12 +00:00
Dave Murphy
39605bc6e2 add macros for packing and aligning 2015-01-02 22:42:11 +00:00
profi200
42d96bf184 Fixed CFGU_GenHashConsoleUnique() header code. 2015-01-01 13:39:23 +01:00
Slashmolder
71ae462ba9 Fix for issue #66 2014-12-30 15:39:26 -08:00
Dave Murphy
2712498d2d oops 2014-12-30 23:00:31 +00:00
Dave Murphy
192b88b6a2 allow user configurable stack 2014-12-30 22:45:55 +00:00
Dave Murphy
c68afb5f31 check for directory in stat too and set st_mode appropriately 2014-12-30 20:39:49 +00:00
yellows8
c1d8df8b68 Implemented actual code for sdmc_stat(). 2014-12-30 01:04:55 -05:00
Dave Murphy
da496b6a89 revert stack changes, broken on hardware :( 2014-12-30 04:05:12 +00:00
Dave Murphy
02011660d5 add literal pool 2014-12-30 03:19:06 +00:00
Dave Murphy
5f95d314cb or bss might be better 2014-12-30 00:04:34 +00:00
Dave Murphy
7e51b3888e oops, forgot these need to be in data section 2014-12-30 00:02:55 +00:00
Dave Murphy
2ed782f5f3 Set default stack to 32K, allow user adjustment 2014-12-29 23:52:51 +00:00
profi200
18190a0237 Added more cfg:u cmds. 2014-12-29 23:31:15 +01: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
5524e700b4 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-27 02:35:33 +01:00
smea
800cb7b566 Update apt.c 2014-12-26 12:51:01 -08:00
smea
8e6056f1a0 Update fs.c 2014-12-26 12:50:34 -08:00
smea
dac642f613 Update sdmc_dev.c 2014-12-26 12:49:19 -08:00
smea
805e757b49 Update hid.c 2014-12-26 12:46:01 -08:00
smea
95fe42b294 Update hid.c 2014-12-26 12:45:25 -08:00
profi200
eb0f771409 Replaced spaces in cfgu.c. 2014-12-26 02:46:38 +01:00
profi200
54f2afcb19 Added CFGU_GetConfigInfoBlk2() and an example. 2014-12-26 02:31:59 +01:00
Dave Murphy
78b94b4eea auto initialise commonly used services, prevent double initialisation 2014-12-25 23:27:36 +00:00
Dave Murphy
f6ec685086 give function the right name 2014-12-25 11:01:08 +00:00
Dave Murphy
b5cd5e10c8 include header for memcpy 2014-12-25 10:52:52 +00:00
Dave Murphy
766ee2c703 split up sysyem initialisation and allow overriding 2014-12-25 10:50:38 +00:00
smea
7f0d169c10 fixed hb naming 2014-12-24 21:06:09 -08:00
smea
8f9a2edd1a additional HB stuff 2014-12-23 21:05:55 -08:00
smea
2c04f993d6 added HB service support (ninjhax only) 2014-12-23 20:47:00 -08:00
yellows8
1a72193dc5 Added qtm support + example. 2014-12-21 01:02:23 -05:00
Dave Murphy
a58f2def09 set errno for file too big 2014-12-21 03:13:15 +00:00
mtheall
edf2c1c139 Add gfxGetScreenFormat(). 2014-12-19 23:38:30 -06:00
fincs
6aa30b4c3e Fix osGetTime(), this time for real (also: race condition fix by mtheall) 2014-12-19 19:47:10 +01:00
smea
934f0f80b0 Revert "Merge branch 'master' of github.com:smealum/ctrulib"
This reverts commit f934dc0982, reversing
changes made to 60edc69d73.
2014-12-17 22:41:31 -08:00
smea
f934dc0982 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-17 22:28:39 -08:00
smea
7692b4eb54 added registers.h 2014-12-17 22:28:26 -08:00
Dave Murphy
60edc69d73 sdmc_open: implement O_EXCL and O_TRUNC 2014-12-15 23:23:04 +00:00
Dave Murphy
93dbdfd74a stop svcOutputDebugString trashing string 2014-12-15 02:40:11 +00:00
plutoo
f9dee4c2c0 Merge pull request #52 from Aurelio92/2-new-hid-function
Added 2 hid functions
2014-12-15 01:46:49 +01:00
plutoo
a720cb6e49 Reverting previous commit, fixing more resource leaks 2014-12-15 01:43:18 +01:00
plutoo
a3febb5fe1 Proposed fix for issue #66 2014-12-15 01:36:25 +01:00
plutoo
2d22fcd5e5 Fixed handle leak in httpc 2014-12-15 01:33:37 +01:00
mtheall
d93524b393 Fix inet_aton. 2014-12-14 14:56:20 -06:00
fincs
99186f4258 Add a VRAM allocator 2014-12-14 17:47:34 +01:00
profi200
e99b0def40 Fixed weird blackscreen issue 2014-12-14 00:21:29 +01:00
fincs
60d7d571e6 Fix linear.cpp 2014-12-13 20:05:48 +01:00
Dave Murphy
c76ea75ae2 stop building everything when any header changes 2014-12-13 16:36:54 +00:00
Dave Murphy
ee0a97f3ce fix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes 2014-12-13 16:20:54 +00:00
Dave Murphy
ab3b081398 allow redirecting stderr to 3dmoo 2014-12-13 14:03:12 +00:00
Aurelio Mannara
9849deca01 Added 2 hid functions
-Added HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
-Added HIDUSER_GetSoundVolume(u8 *volume)
2014-12-13 13:10:54 +01:00
Dave Murphy
478d11f468 render strikethrough & underline 2014-12-13 03:19:57 +00:00
Dave Murphy
7bcd9b2270 make it build 2014-12-13 03:11:21 +00:00
Dave Murphy
b05f574889 fix formatting 2014-12-13 03:07:41 +00:00
Dave Murphy
5c64201fa5 unneeded default case 2014-12-13 03:07:00 +00:00
Dave Murphy
94591dc5f7 better parameter checking 2014-12-13 02:58:07 +00:00
Dave Murphy
2de946890d support more codes 2014-12-13 02:51:57 +00:00
Dave Murphy
28ef35f4a6 intialise parameter, ignore unsupported escapes 2014-12-13 02:40:25 +00:00
Dave Murphy
e8df59be59 check parameters are valid as we parse 2014-12-13 02:32:21 +00:00
Dave Murphy
49200b8b96 use switch for 'm' parameters 2014-12-13 02:24:24 +00:00
Dave Murphy
6a36d31568 use 3 intensity levels 2014-12-13 02:21:50 +00:00
Dave Murphy
493d7dc55a add macro to convert 8bit RGB to RGB565 2014-12-12 22:57:24 +00:00
Dave Murphy
a39890ef48 allow console on either screen 2014-12-12 13:43:40 +00:00
Dave Murphy
d6a58d4a2f fix scroll size 2014-12-12 13:40:54 +00:00
Dave Murphy
35307ad5f2 use word copy for extra speed in console scroll 2014-12-12 12:18:00 +00:00
Dave Murphy
c0a0ec1fb2 fix console scrolling 2014-12-12 12:05:45 +00:00
Dave Murphy
382f1320ce lighten up half bright green 2014-12-12 10:58:16 +00:00
Dave Murphy
5fe960fda0 fix color code scanning 2014-12-12 09:58:14 +00:00
smea
7d8a27fe14 Merge pull request #50 from yuriks/memperm-dontcare
Add MEMPERM_DONTCARE to MemPerm
2014-12-11 19:18:48 -08:00
Dave Murphy
a645436ebe add console 2014-12-12 00:24:08 +00:00
Dave Murphy
bc980fb34d use correct doubleBuf variable 2014-12-12 00:16:23 +00:00
Dave Murphy
36e3a3de3a add macro for building RGB565 colors 2014-12-11 23:03:29 +00:00
Dave Murphy
1a575891eb allow independent setting of double buffering 2014-12-11 22:24:15 +00:00
Yuri Kunde Schlesner
46c0a1763c Add MEMPERM_DONTCARE to MemPerm 2014-12-11 16:44:09 -02:00
mtheall
20d4e95dfd Make soc_fcntl.c more sane. 2014-12-11 08:33:26 -06:00
fincs
d486a0ffc6 Correct SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field correctly] 2014-12-11 00:01:34 +01:00
fincs
1844295bfd Minor correction 2014-12-10 11:00:40 +01:00
archshift
3da1a19f0c Added CreateFile implementation, tested on hardware.
Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.
2014-12-10 00:33:08 -08:00
Jeffrey Pfau
31a8beb120 Fix copy/paste error in FSFILE_Write documentation 2014-12-09 22:20:31 -08:00
smea
1322d44f22 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-09 21:49:30 -08:00
smea
c282d4262e temporary solution for 0x10 byte gpucmd alignment
fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)
2014-12-09 21:49:18 -08:00
Dave Murphy
88bef35b8f set default device so relative paths work in 3dmoo 2014-12-08 23:21:46 +00:00
fincs
4b4b781ec3 Minor code formatting fix in svc.s 2014-12-09 00:15:04 +01:00
Subv
e0bf993fd9 Styling 2014-12-08 18:05:46 -05:00
Subv
a2d2f4483e SVC: Implemented svcGetThreadId 2014-12-08 18:04:31 -05:00
smea
a9f68cde3b Merge pull request #45 from Subv/semaphores
Added svcReleaseSemaphore and svcCreateSemaphore
2014-12-08 15:02:19 -08:00
mtheall
f02082048f Update poll.h 2014-12-08 16:19:07 -06:00
mtheall
8536e1e6ef Update poll.h 2014-12-08 12:12:34 -06:00
fincs
b5723c9209 Add gfxSetDoubleBuffering() for disabling double-buffering 2014-12-08 15:57:39 +01:00
Subv
a85c6edfaa Added svcReleaseSemaphore and svcCreateSemaphore.
Tested.
2014-12-05 14:57:51 -05:00
Dave Murphy
6a195608aa bump version for release, add dist target 2014-12-05 13:57:50 +00:00
Dave Murphy
1aae1b2cd9 Revert "Switch to -mfloat-abi=hard, bump version to 0.2.0"
This reverts commit 3f9e0a630b.
2014-12-05 13:47:05 +00:00