]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
10 years agoAdded archive ids to fs.h
idunoe [Mon, 27 Oct 2014 14:56:01 +0000 (22:56 +0800)]
Added archive ids to fs.h

10 years agoSRV: misc fix
idunoe [Mon, 27 Oct 2014 05:19:24 +0000 (13:19 +0800)]
SRV: misc fix

10 years agoPS: Added API
idunoe [Mon, 27 Oct 2014 05:17:56 +0000 (13:17 +0800)]
PS: Added API

10 years agoPM: Added API
idunoe [Mon, 27 Oct 2014 05:17:47 +0000 (13:17 +0800)]
PM: Added API

10 years agoNS: Added API
idunoe [Mon, 27 Oct 2014 05:17:34 +0000 (13:17 +0800)]
NS: Added API

10 years agoAM: Added API
idunoe [Mon, 27 Oct 2014 05:17:24 +0000 (13:17 +0800)]
AM: Added API

10 years agoSRV: Added <7.X srv:pm
idunoe [Mon, 27 Oct 2014 05:17:07 +0000 (13:17 +0800)]
SRV: Added <7.X srv:pm

10 years agoupdated types.h
idunoe [Mon, 27 Oct 2014 05:11:55 +0000 (13:11 +0800)]
updated types.h

10 years agoSOC : close shared mem handle when shutting down
smea [Mon, 27 Oct 2014 01:34:58 +0000 (18:34 -0700)]
SOC : close shared mem handle when shutting down

10 years agoMerge pull request #18 from archshift/examples
smea [Mon, 27 Oct 2014 00:26:49 +0000 (17:26 -0700)]
Merge pull request #18 from archshift/examples

Fix arm11u and sdmc examples

10 years agoGet sdmc example building again
archshift [Mon, 27 Oct 2014 00:08:55 +0000 (17:08 -0700)]
Get sdmc example building again

10 years agoGet arm11u example building again
archshift [Sun, 26 Oct 2014 23:59:11 +0000 (16:59 -0700)]
Get arm11u example building again

10 years agoMerge pull request #17 from lioncash/fallthru
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.

10 years agoos: Fix switch fallthrough in osGetTime.
Lioncash [Sun, 26 Oct 2014 23:21:26 +0000 (19:21 -0400)]
os: Fix switch fallthrough in osGetTime.

10 years agoMerge pull request #16 from lioncash/vaend
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.

10 years agoMerge branch 'refactor'
plutoo [Sun, 26 Oct 2014 23:08:13 +0000 (00:08 +0100)]
Merge branch 'refactor'

10 years agosoc: Add missing va_end() calls in fcntl.
Lioncash [Sun, 26 Oct 2014 23:02:10 +0000 (19:02 -0400)]
soc: Add missing va_end() calls in fcntl.

10 years agoAdded svcQueryMemory
plutoo [Sun, 26 Oct 2014 23:07:07 +0000 (00:07 +0100)]
Added svcQueryMemory

10 years agoUpdate README.md
smea [Sun, 26 Oct 2014 20:15:49 +0000 (13:15 -0700)]
Update README.md

10 years agofancy license because trusting people isn't cool
smea [Sun, 26 Oct 2014 20:10:14 +0000 (13:10 -0700)]
fancy license because trusting people isn't cool

10 years agoMerge branch 'refactor'
smea [Sun, 26 Oct 2014 20:06:42 +0000 (13:06 -0700)]
Merge branch 'refactor'

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Sun, 26 Oct 2014 20:06:26 +0000 (13:06 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 26 Oct 2014 20:05:17 +0000 (13:05 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoMerge branch 'master' into refactor
smea [Sun, 26 Oct 2014 20:03:49 +0000 (13:03 -0700)]
Merge branch 'master' into refactor

10 years agoMerge pull request #15 from neobrain/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.

10 years agoadded c-stick, ZL and ZR support via ir:rst
smea [Sun, 26 Oct 2014 01:30:19 +0000 (18:30 -0700)]
added c-stick, ZL and ZR support via ir:rst

10 years agoAdd the system call outputDebugString.
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.

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Fri, 24 Oct 2014 05:12:08 +0000 (22:12 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agonothing important
smea [Fri, 24 Oct 2014 05:11:50 +0000 (22:11 -0700)]
nothing important

10 years agoMerge pull request #14 from StapleButter/refactor
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

10 years ago* add code for alphablending, color logic op, alpha test and multitexturing.
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.

10 years agoAdd synchronization mechanism for entering sleep mode.
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)

10 years agoMerge pull request #1 from smealum/refactor
StapleButter [Thu, 18 Sep 2014 18:59:46 +0000 (20:59 +0200)]
Merge pull request #1 from smealum/refactor

Refactor

10 years agoAdd proper linear heap allocator
fincs [Tue, 16 Sep 2014 22:22:30 +0000 (00:22 +0200)]
Add proper linear heap allocator

10 years agolinearAlloc: use 16-byte alignment
fincs [Tue, 16 Sep 2014 20:24:26 +0000 (22:24 +0200)]
linearAlloc: use 16-byte alignment

10 years agoMerge branch 'refactor' of https://github.com/StapleButter/ctrulib into refactor
fincs [Sat, 13 Sep 2014 16:00:23 +0000 (18:00 +0200)]
Merge branch 'refactor' of https://github.com/StapleButter/ctrulib into refactor

10 years ago* Make the GSP event handler signal events in the right order (essential for proper...
StapleButter [Sat, 13 Sep 2014 15:01:20 +0000 (17:01 +0200)]
* Make the GSP event handler signal events in the right order (essential for proper PICA200 sync)
* Add some comments about the GSP events (based on my observations, may not be right)

10 years agoMerge pull request #10 from StapleButter/refactor
plutoo [Thu, 11 Sep 2014 19:04:35 +0000 (21:04 +0200)]
Merge pull request #10 from StapleButter/refactor

Fix FS init.

10 years agoFix FS init.
StapleButter [Thu, 11 Sep 2014 19:02:56 +0000 (21:02 +0200)]
Fix FS init.

10 years agoFixed broken CSND_playsound() code for looping(use vaddr1 for that instead of vaddr0...
yellows8 [Sat, 6 Sep 2014 21:49:48 +0000 (17:49 -0400)]
Fixed broken CSND_playsound() code for looping(use vaddr1 for that instead of vaddr0, and adjust the size).

10 years agoos: Added osGetTime().
plutoo [Sat, 6 Sep 2014 19:07:26 +0000 (21:07 +0200)]
os: Added osGetTime().

10 years agoFixed mic example README.
yellows8 [Wed, 3 Sep 2014 18:38:47 +0000 (14:38 -0400)]
Fixed mic example README.

10 years agoAdded code for using the microphone and an example app for it.
yellows8 [Wed, 3 Sep 2014 18:36:05 +0000 (14:36 -0400)]
Added code for using the microphone and an example app for it.

10 years agoMerge pull request #7 from profi200/refactor
fincs [Mon, 1 Sep 2014 18:21:55 +0000 (20:21 +0200)]
Merge pull request #7 from profi200/refactor

refactor

10 years agoNow the same as in master
profi200 [Mon, 1 Sep 2014 13:51:53 +0000 (15:51 +0200)]
Now the same as in master

10 years agoAdded functions for sysCore usage
profi200 [Mon, 1 Sep 2014 13:49:32 +0000 (15:49 +0200)]
Added functions for sysCore usage

10 years agoImproved HID code, and added Accelerometer/Gyroscope support.
yellows8 [Sun, 31 Aug 2014 00:41:09 +0000 (20:41 -0400)]
Improved HID code, and added Accelerometer/Gyroscope support.

10 years agoAdded HID event code, based on the GSP event code. Added event id check in gspWaitFor...
yellows8 [Fri, 29 Aug 2014 20:19:58 +0000 (16:19 -0400)]
Added HID event code, based on the GSP event code. Added event id check in gspWaitForEvent().

10 years agosome GSP and GPU fixes
smea [Fri, 29 Aug 2014 05:53:45 +0000 (22:53 -0700)]
some GSP and GPU fixes

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
fincs [Wed, 27 Aug 2014 22:02:56 +0000 (00:02 +0200)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agoinitSystem: fix global ctor/dtor code
fincs [Wed, 27 Aug 2014 22:00:53 +0000 (00:00 +0200)]
initSystem: fix global ctor/dtor code

10 years agoRefactor linear heap code (formerly known as GSP heap)
fincs [Wed, 27 Aug 2014 21:44:38 +0000 (23:44 +0200)]
Refactor linear heap code (formerly known as GSP heap)

10 years agoAdded checks for the array index code in hid.c.
yellows8 [Wed, 27 Aug 2014 21:42:53 +0000 (17:42 -0400)]
Added checks for the array index code in hid.c.

10 years agoFix KEY_CRIGHT/CLEFT
fincs [Wed, 27 Aug 2014 10:03:25 +0000 (12:03 +0200)]
Fix KEY_CRIGHT/CLEFT

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Wed, 27 Aug 2014 06:13:36 +0000 (23:13 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

Conflicts:
libctru/include/3ds/types.h

10 years agoadded stdlibs for size_t
smea [Wed, 27 Aug 2014 06:12:33 +0000 (23:12 -0700)]
added stdlibs for size_t

10 years agoAdd FSUSER_GetSdmcArchiveResource().
mtheall [Wed, 27 Aug 2014 00:01:00 +0000 (19:01 -0500)]
Add FSUSER_GetSdmcArchiveResource().

10 years agoAdd word 2 to response for FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable().
mtheall [Tue, 26 Aug 2014 22:54:52 +0000 (17:54 -0500)]
Add word 2 to response for FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable().

10 years agoFIX DERP.
mtheall [Tue, 26 Aug 2014 22:43:34 +0000 (17:43 -0500)]
FIX DERP.

10 years agoReorganize includes
fincs [Tue, 26 Aug 2014 21:18:14 +0000 (23:18 +0200)]
Reorganize includes

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
mtheall [Tue, 26 Aug 2014 20:58:24 +0000 (15:58 -0500)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agoAdd FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable().
mtheall [Tue, 26 Aug 2014 20:58:18 +0000 (15:58 -0500)]
Add FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable().

10 years ago3ds/types.h: #include <stddef.h>
fincs [Tue, 26 Aug 2014 20:56:38 +0000 (22:56 +0200)]
3ds/types.h: #include <stddef.h>

10 years agoMove 3ds.h to root, add C++ guard, use #pragma once
fincs [Tue, 26 Aug 2014 20:53:00 +0000 (22:53 +0200)]
Move 3ds.h to root, add C++ guard, use #pragma once

10 years agoAdd .gitignore to examples
fincs [Tue, 26 Aug 2014 20:51:50 +0000 (22:51 +0200)]
Add .gitignore to examples

10 years agogpu: shader fix
smea [Tue, 26 Aug 2014 06:44:52 +0000 (23:44 -0700)]
gpu: shader fix

10 years agoadded Makefile rule to compile vsh shader code to gpu example (fincs, can you see...
smea [Tue, 26 Aug 2014 06:26:36 +0000 (23:26 -0700)]
added Makefile rule to compile vsh shader code to gpu example (fincs, can you see if you can improve it ?)

10 years agoso sick of all these includes
smea [Tue, 26 Aug 2014 05:55:12 +0000 (22:55 -0700)]
so sick of all these includes

10 years agomoved some things around
smea [Tue, 26 Aug 2014 05:38:37 +0000 (22:38 -0700)]
moved some things around

10 years agocleaned up gpu example code
smea [Tue, 26 Aug 2014 05:27:28 +0000 (22:27 -0700)]
cleaned up gpu example code

10 years agoGSP/GFX stuff
smea [Tue, 26 Aug 2014 04:48:00 +0000 (21:48 -0700)]
GSP/GFX stuff

10 years agoadded WIP GPU example code
smea [Tue, 26 Aug 2014 04:47:50 +0000 (21:47 -0700)]
added WIP GPU example code

10 years agooops, looks like i was editing deprecated files
smea [Tue, 26 Aug 2014 04:35:53 +0000 (21:35 -0700)]
oops, looks like i was editing deprecated files

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Tue, 26 Aug 2014 04:32:00 +0000 (21:32 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

Conflicts:
libctru/source/gfx.c

10 years agoGPU stuff
smea [Tue, 26 Aug 2014 04:31:12 +0000 (21:31 -0700)]
GPU stuff

10 years agoFix NULL handling for PTMU_GetBatteryLevel() and PTMU_GetBatteryChargeState().
mtheall [Tue, 26 Aug 2014 04:24:06 +0000 (23:24 -0500)]
Fix NULL handling for PTMU_GetBatteryLevel() and PTMU_GetBatteryChargeState().

10 years agoUpdate FS_dirent.
mtheall [Tue, 26 Aug 2014 00:38:17 +0000 (19:38 -0500)]
Update FS_dirent.

10 years agoMerge branch 'refactor' of https://github.com/smealum/ctrulib into refactor
plutoo [Mon, 25 Aug 2014 21:12:35 +0000 (23:12 +0200)]
Merge branch 'refactor' of https://github.com/smealum/ctrulib into refactor

10 years agogsp: Added gspAllocLinear() to allocate from LINEAR heap
plutoo [Mon, 25 Aug 2014 21:11:53 +0000 (23:11 +0200)]
gsp: Added gspAllocLinear() to allocate from LINEAR heap

Required by CSND, for example

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Mon, 25 Aug 2014 16:40:10 +0000 (09:40 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agoPTM & AC stuff
smea [Mon, 25 Aug 2014 16:14:48 +0000 (09:14 -0700)]
PTM & AC stuff

10 years agogfxInit(): initialize GSP event handler, use __gsp_heap_size
fincs [Mon, 25 Aug 2014 10:07:00 +0000 (12:07 +0200)]
gfxInit(): initialize GSP event handler, use __gsp_heap_size

10 years agoAPT WORKAROUND fix
smea [Mon, 25 Aug 2014 06:36:37 +0000 (23:36 -0700)]
APT WORKAROUND fix

10 years agoAPT WORKAROUND (update 3dsx_crt0.s to https://gist.github.com/smealum/305802b2b9bf4c8...
smea [Mon, 25 Aug 2014 06:25:54 +0000 (23:25 -0700)]
APT WORKAROUND (update 3dsx_crt0.s to https://gist.github.com/smealum/305802b2b9bf4c877ddb and recompile everything please)

10 years agofsInit fix
smea [Mon, 25 Aug 2014 05:50:57 +0000 (22:50 -0700)]
fsInit fix

10 years agominifix gfxSetFramebufferInfo (for 3D)
smea [Mon, 25 Aug 2014 05:03:47 +0000 (22:03 -0700)]
minifix gfxSetFramebufferInfo (for 3D)

10 years agoadded gfx for simplified framebuffer access
smea [Mon, 25 Aug 2014 04:37:49 +0000 (21:37 -0700)]
added gfx for simplified framebuffer access

10 years agoMerge branch 'refactor' of github.com:smealum/ctrulib into refactor
smea [Mon, 25 Aug 2014 04:01:35 +0000 (21:01 -0700)]
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor

10 years agominor GSP adjustments
smea [Mon, 25 Aug 2014 04:01:21 +0000 (21:01 -0700)]
minor GSP adjustments

10 years agoMerge branch 'refactor_mtheall' into refactor
mtheall [Mon, 25 Aug 2014 03:37:34 +0000 (22:37 -0500)]
Merge branch 'refactor_mtheall' into refactor

10 years agoMerge branch 'refactor' of https://github.com/smealum/ctrulib into refactor
plutoo [Sun, 24 Aug 2014 20:51:19 +0000 (22:51 +0200)]
Merge branch 'refactor' of https://github.com/smealum/ctrulib into refactor

10 years agogsp: Update header as part of renaming.
plutoo [Sun, 24 Aug 2014 20:42:23 +0000 (22:42 +0200)]
gsp: Update header as part of renaming.

10 years agogpu: Added small description to gpu files.
plutoo [Sun, 24 Aug 2014 20:40:12 +0000 (22:40 +0200)]
gpu: Added small description to gpu files.

10 years agogsp: Renamed GSPGPU_submitGxCommand to GSPGPU_SubmitGxCommand.
plutoo [Sun, 24 Aug 2014 20:33:57 +0000 (22:33 +0200)]
gsp: Renamed GSPGPU_submitGxCommand to GSPGPU_SubmitGxCommand.

10 years agogpu: Moved all non-service-related gpu files into source/gpu/.
plutoo [Sun, 24 Aug 2014 20:31:02 +0000 (22:31 +0200)]
gpu: Moved all non-service-related gpu files into source/gpu/.

10 years agoapt: Trying to make code more managable.
plutoo [Sun, 24 Aug 2014 20:22:28 +0000 (22:22 +0200)]
apt: Trying to make code more managable.

10 years agoAdd more filesystem service commands.
mtheall [Fri, 22 Aug 2014 02:47:25 +0000 (21:47 -0500)]
Add more filesystem service commands.

10 years agoadd doxygen support
mtheall [Fri, 22 Aug 2014 02:40:52 +0000 (21:40 -0500)]
add doxygen support

10 years agoUpdate Makefile flags
fincs [Thu, 21 Aug 2014 20:59:59 +0000 (22:59 +0200)]
Update Makefile flags

10 years agoHomogenize indentation (use tabs)
fincs [Thu, 21 Aug 2014 20:59:42 +0000 (22:59 +0200)]
Homogenize indentation (use tabs)