]>
Chaos Git - corbenik/ctrulib.git/log
fincs [Fri, 21 Nov 2014 15:53:28 +0000 (16:53 +0100)]
Update Makefile in examples
fincs [Fri, 21 Nov 2014 15:52:48 +0000 (16:52 +0100)]
Merge pull request #26 from lioncash/va
soc_ioctl: Add missing va_end call
Lioncash [Fri, 21 Nov 2014 12:47:24 +0000 (07:47 -0500)]
soc_ioctl: Add missing va_end call
Dave Murphy [Fri, 21 Nov 2014 09:26:12 +0000 (09:26 +0000)]
remove temp check for CTRULIB
yellows8 [Fri, 21 Nov 2014 05:33:14 +0000 (00:33 -0500)]
Added code for APT_IsRegistered. Added code for launching library applets, which isn't usable from the homebrew launcher atm.
Dave Murphy [Thu, 20 Nov 2014 22:47:34 +0000 (22:47 +0000)]
ignore generated archives
Dave Murphy [Thu, 20 Nov 2014 22:47:08 +0000 (22:47 +0000)]
add versioning, install and dist targets
mtheall [Thu, 20 Nov 2014 21:36:50 +0000 (15:36 -0600)]
Overhauled soc service.
mtheall [Thu, 20 Nov 2014 21:33:21 +0000 (15:33 -0600)]
Added svcCreateAddressArbiter() and svcArbitrateAddress()
mtheall [Thu, 20 Nov 2014 21:29:37 +0000 (15:29 -0600)]
Merge branch 'master' of github.com:smealum/ctrulib
mtheall [Thu, 20 Nov 2014 21:28:13 +0000 (15:28 -0600)]
Add rbtree
plutoo [Thu, 20 Nov 2014 18:24:30 +0000 (19:24 +0100)]
Merge pull request #24 from profi200/master
Added comments to the app_launch example
profi200 [Thu, 20 Nov 2014 13:58:24 +0000 (14:58 +0100)]
Added comments to the app_launch example for better understanding for beginners
smea [Thu, 20 Nov 2014 11:05:51 +0000 (03:05 -0800)]
added prototype to soc.h
smea [Thu, 20 Nov 2014 01:25:40 +0000 (17:25 -0800)]
added APT_HardwareResetAsync (tested)
smea [Thu, 20 Nov 2014 01:13:43 +0000 (17:13 -0800)]
rewrote GPU examples/gpu/data/test.vsh
smea [Wed, 19 Nov 2014 23:53:36 +0000 (15:53 -0800)]
fixed sdmc example
yellows8 [Wed, 19 Nov 2014 21:37:02 +0000 (16:37 -0500)]
Updated mvd code and added an example.
yellows8 [Wed, 19 Nov 2014 04:48:50 +0000 (23:48 -0500)]
With RUNFLAG_APTWORKAROUND enabled, at the start of aptReturnToMenu just set the status to APP_EXITING then return(this func won't actually get executed with RUNFLAG_APTWORKAROUND atm). Updated __handle_notification() to check for errors from APT_InquireNotification. In aptExit only call the applet-utility code when RUNFLAG_APTWORKAROUND is not set. Minor other changes. Fixed APT_CheckNew3DS code so that it properly only uses one of the APT cmds.
mtheall [Tue, 18 Nov 2014 04:33:09 +0000 (22:33 -0600)]
Add sdmc.h
yellows8 [Tue, 18 Nov 2014 04:22:03 +0000 (23:22 -0500)]
Merge pull request #22 from profi200/master
Added functions for launching other apps/applets
yellows8 [Mon, 17 Nov 2014 02:12:24 +0000 (21:12 -0500)]
Fixed broken path code in sdmc_dev.c. Disabled attributes code in sdmc_open() for now, since that was causing file truncation(even with read-only file opening).
smea [Sat, 15 Nov 2014 22:08:45 +0000 (14:08 -0800)]
gpu stuffs
smea [Thu, 13 Nov 2014 06:08:40 +0000 (22:08 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 13 Nov 2014 06:08:31 +0000 (22:08 -0800)]
fixed initArgv
profi200 [Tue, 11 Nov 2014 14:07:23 +0000 (15:07 +0100)]
Little fix
StapleButter [Mon, 10 Nov 2014 23:12:31 +0000 (00:12 +0100)]
Scissor test.
(if calling SetScissorTest right after SetViewport, call FinishDrawing inbetween)
profi200 [Mon, 10 Nov 2014 21:30:07 +0000 (22:30 +0100)]
Makefile updated, added another note to the README.md file andremoved the svcSleepThread() call
profi200 [Mon, 10 Nov 2014 18:23:15 +0000 (19:23 +0100)]
Forget the README
profi200 [Mon, 10 Nov 2014 16:38:50 +0000 (17:38 +0100)]
Oops that should not be included
profi200 [Mon, 10 Nov 2014 16:34:11 +0000 (17:34 +0100)]
Added example for launching apps/applets
profi200 [Mon, 10 Nov 2014 16:03:41 +0000 (17:03 +0100)]
Added functions for launching other apps/applets
smea [Sun, 9 Nov 2014 08:40:35 +0000 (00:40 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 9 Nov 2014 08:40:23 +0000 (00:40 -0800)]
GPUCMD_GetBuffer, GPUCMD_AddRawCommands
fincs [Sat, 8 Nov 2014 22:28:51 +0000 (23:28 +0100)]
Make GX_* functions accept NULL in order to use default GX cmdbuf
fincs [Sat, 8 Nov 2014 22:21:41 +0000 (23:21 +0100)]
Add gxCmdBuf to headers
fincs [Sat, 8 Nov 2014 12:49:39 +0000 (13:49 +0100)]
Minor Makefile correction
fincs [Fri, 7 Nov 2014 18:13:47 +0000 (19:13 +0100)]
Update examples with new makefile (and remove obsolete arm11u example)
fincs [Fri, 7 Nov 2014 18:12:43 +0000 (19:12 +0100)]
Add 3DS application template
yellows8 [Fri, 7 Nov 2014 00:02:55 +0000 (19:02 -0500)]
Started implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew().
fincs [Wed, 5 Nov 2014 19:59:15 +0000 (20:59 +0100)]
Merge branch 'master' of github.com:smealum/ctrulib
fincs [Wed, 5 Nov 2014 19:58:50 +0000 (20:58 +0100)]
Add linearMemAlign() (current implementation sucks)
smea [Wed, 5 Nov 2014 18:32:30 +0000 (10:32 -0800)]
macros for texture parameters
fincs [Tue, 4 Nov 2014 23:24:24 +0000 (00:24 +0100)]
aptMainLoop(): Add handling for APP_PREPARE_SLEEPMODE
fincs [Tue, 4 Nov 2014 20:41:31 +0000 (21:41 +0100)]
Attempt to fix APT hang during startup due to bad event handling
fincs [Mon, 3 Nov 2014 19:20:33 +0000 (20:20 +0100)]
Add linearSpaceFree() for retrieving the free space in the linear heap
smea [Mon, 3 Nov 2014 05:11:13 +0000 (21:11 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib
smea [Mon, 3 Nov 2014 05:10:56 +0000 (21:10 -0800)]
GPUCMD_FlushAndRun
fincs [Sun, 2 Nov 2014 17:58:37 +0000 (18:58 +0100)]
Add aptMainLoop() for handling APT events in main()
yellows8 [Sun, 2 Nov 2014 03:48:35 +0000 (23:48 -0400)]
Updated APT_CheckNew3DS to only use the APT cmds once(which also now calls aptOpenSession/aptCloseSession), then store the output value in a flag which is then used for all future APT_CheckNew3DS calls. Updated HID init/shutdown code to automatically call irrst init/shutdown code when running on new3ds. Updated irrst init code to only do init when it wasn't already initialized, likewise for the irrst shutdown code.
yellows8 [Sun, 2 Nov 2014 02:11:19 +0000 (22:11 -0400)]
Updated CheckNew3DS code. Now the out value is cleared first, then the out value is only set to the cmdreply data when ret is zero.
yellows8 [Sun, 2 Nov 2014 01:39:18 +0000 (21:39 -0400)]
Added APT CheckNew3DS code. Added code for attempting to use the other APT services when APT:U isn't accessible.
StapleButter [Fri, 31 Oct 2014 00:17:43 +0000 (01:17 +0100)]
Add timer-related SVC calls.
plutoo [Thu, 30 Oct 2014 22:39:17 +0000 (23:39 +0100)]
Merge pull request #21 from profi200/master
Fixed cmds
mtheall [Thu, 30 Oct 2014 20:40:19 +0000 (15:40 -0500)]
use ARCH_SDMC for archive id
mtheall [Thu, 30 Oct 2014 18:52:30 +0000 (13:52 -0500)]
fix typo
mtheall [Thu, 30 Oct 2014 18:49:00 +0000 (13:49 -0500)]
return offset in sdmc_seek
mtheall [Thu, 30 Oct 2014 18:39:47 +0000 (13:39 -0500)]
Merge branch 'refactor'
mtheall [Thu, 30 Oct 2014 18:34:13 +0000 (13:34 -0500)]
start sdmc devoptab
profi200 [Thu, 30 Oct 2014 18:09:09 +0000 (19:09 +0100)]
Fixed cmds
smea [Thu, 30 Oct 2014 04:26:58 +0000 (21:26 -0700)]
plugged a bunch of handle leaks !
smea [Mon, 27 Oct 2014 16:31:10 +0000 (09:31 -0700)]
Merge pull request #20 from idunoe/master
Defined FS archive ids
fincs [Mon, 27 Oct 2014 16:30:55 +0000 (17:30 +0100)]
Fix APT initialization code when RUNFLAG_APTWORKAROUND is set
idunoe [Mon, 27 Oct 2014 14:59:14 +0000 (22:59 +0800)]
Removed magic number from sdmc example
idunoe [Mon, 27 Oct 2014 14:56:01 +0000 (22:56 +0800)]
Added archive ids to fs.h
StapleButter [Mon, 27 Oct 2014 14:37:30 +0000 (15:37 +0100)]
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).
StapleButter [Mon, 27 Oct 2014 14:19:27 +0000 (15:19 +0100)]
Add stencil op and other related stuff to make that functionality mostly complete.
Add color/depth write mask support (and rename GPU_SetDepthTest() accordingly).
Add blending color.
Blending color must be set right after stencil op. GPU freezes otherwise.
smea [Mon, 27 Oct 2014 05:46:40 +0000 (22:46 -0700)]
Merge pull request #19 from idunoe/master
Added new service APIs
idunoe [Mon, 27 Oct 2014 05:19:24 +0000 (13:19 +0800)]
SRV: misc fix
idunoe [Mon, 27 Oct 2014 05:17:56 +0000 (13:17 +0800)]
PS: Added API
idunoe [Mon, 27 Oct 2014 05:17:47 +0000 (13:17 +0800)]
PM: Added API
idunoe [Mon, 27 Oct 2014 05:17:34 +0000 (13:17 +0800)]
NS: Added API
idunoe [Mon, 27 Oct 2014 05:17:24 +0000 (13:17 +0800)]
AM: Added API
idunoe [Mon, 27 Oct 2014 05:17:07 +0000 (13:17 +0800)]
SRV: Added <7.X srv:pm
idunoe [Mon, 27 Oct 2014 05:11:55 +0000 (13:11 +0800)]
updated types.h
smea [Mon, 27 Oct 2014 01:34:58 +0000 (18:34 -0700)]
SOC : close shared mem handle when shutting down
smea [Mon, 27 Oct 2014 00:26:49 +0000 (17:26 -0700)]
Merge pull request #18 from archshift/examples
Fix arm11u and sdmc examples
archshift [Mon, 27 Oct 2014 00:08:55 +0000 (17:08 -0700)]
Get sdmc example building again
archshift [Sun, 26 Oct 2014 23:59:11 +0000 (16:59 -0700)]
Get arm11u example building again
fincs [Sun, 26 Oct 2014 23:23:47 +0000 (00:23 +0100)]
Merge pull request #17 from lioncash/fallthru
os: Fix switch fallthrough in osGetTime.
Lioncash [Sun, 26 Oct 2014 23:21:26 +0000 (19:21 -0400)]
os: Fix switch fallthrough in osGetTime.
fincs [Sun, 26 Oct 2014 23:15:22 +0000 (00:15 +0100)]
Merge pull request #16 from lioncash/vaend
soc: Add missing va_end() calls in fcntl.
plutoo [Sun, 26 Oct 2014 23:08:13 +0000 (00:08 +0100)]
Merge branch 'refactor'
Lioncash [Sun, 26 Oct 2014 23:02:10 +0000 (19:02 -0400)]
soc: Add missing va_end() calls in fcntl.
plutoo [Sun, 26 Oct 2014 23:07:07 +0000 (00:07 +0100)]
Added svcQueryMemory
smea [Sun, 26 Oct 2014 20:15:49 +0000 (13:15 -0700)]
Update README.md
smea [Sun, 26 Oct 2014 20:10:14 +0000 (13:10 -0700)]
fancy license because trusting people isn't cool
smea [Sun, 26 Oct 2014 20:06:42 +0000 (13:06 -0700)]
Merge branch 'refactor'
smea [Sun, 26 Oct 2014 20:06:26 +0000 (13:06 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Sun, 26 Oct 2014 20:05:17 +0000 (13:05 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 26 Oct 2014 20:03:49 +0000 (13:03 -0700)]
Merge branch 'master' into refactor
smea [Sun, 26 Oct 2014 20:01:51 +0000 (13:01 -0700)]
Merge pull request #15 from neobrain/refactor
Add the system call outputDebugString.
smea [Sun, 26 Oct 2014 01:30:19 +0000 (18:30 -0700)]
added c-stick, ZL and ZR support via ir:rst
Tony Wasserka [Sat, 20 Sep 2014 12:45:45 +0000 (14:45 +0200)]
Add the system call outputDebugString.
This doesn't do anything on retail consoles, but homebrew developers can use it to debug applications in Citra or in other 3DS emulators which HLE this system call.
smea [Fri, 24 Oct 2014 05:12:08 +0000 (22:12 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Fri, 24 Oct 2014 05:11:50 +0000 (22:11 -0700)]
nothing important
smea [Thu, 23 Oct 2014 16:07:49 +0000 (09:07 -0700)]
Merge pull request #14 from StapleButter/refactor
Alphablending, color logic op, alphatest, multitexturing, and more stability
StapleButter [Thu, 23 Oct 2014 15:56:56 +0000 (17:56 +0200)]
* add code for alphablending, color logic op, alpha test and multitexturing.
* add GPU_FinishDrawing() to be called after a batch of GPU_DrawArray() calls if you're done drawing or if you intend to change the GPU configuration before drawing more. Also fix GPU_Finalize(). With those changes, the GPU no longer freezes if you call GPU_DrawArray() an even number of times.
* fix GPU_SetViewport() to allow color buffer reading, so blending and logicop work as expected.
StapleButter [Thu, 18 Sep 2014 20:09:15 +0000 (22:09 +0200)]
Add synchronization mechanism for entering sleep mode.
When the APT status is APP_PREPARE_SLEEPMODE, the application main thread should call aptSignalReadyForSleep() to signal that it is ready to enter sleep mode, and then call aptWaitStatusEvent() as usual.
Example code:
APP_STATUS status;
while ((status = aptGetStatus()) != APP_EXITING)
{
if(status==APP_RUNNING)
{
// application logic here
}
else if(status == APP_SUSPENDING)
{
aptReturnToMenu();
}
else if(status == APP_PREPARE_SLEEPMODE)
{
aptSignalReadyForSleep();
aptWaitStatusEvent();
}
}
This maybe isn't the proper/recommended way to do sleep mode, but I tested it multiple times and it always worked reliably.
(note: maybe the sample code above will not work if GPU drawing is done in a separate thread, haven't tested that)
StapleButter [Thu, 18 Sep 2014 18:59:46 +0000 (20:59 +0200)]
Merge pull request #1 from smealum/refactor
Refactor