]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
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 agoos: Changed Get*Version format.
plutoo [Thu, 21 Aug 2014 20:35:20 +0000 (22:35 +0200)]
os: Changed Get*Version format.

10 years agoAPT: Enumerated the notification signals.
plutoo [Thu, 21 Aug 2014 18:53:10 +0000 (20:53 +0200)]
APT: Enumerated the notification signals.

10 years agoos: Added functions for getting Firm/Kernel version.
plutoo [Thu, 21 Aug 2014 18:41:51 +0000 (20:41 +0200)]
os: Added functions for getting Firm/Kernel version.

10 years agoos: Added DSP memory to virt->phys translation.
plutoo [Thu, 21 Aug 2014 18:35:12 +0000 (20:35 +0200)]
os: Added DSP memory to virt->phys translation.

10 years agoos: Added osStrError().
plutoo [Thu, 21 Aug 2014 18:17:41 +0000 (20:17 +0200)]
os: Added osStrError().

This will summarize an error-code given by the OS/sysmodules in few words.
Useful for debugging.

10 years agoHID: Various improvements.
plutoo [Thu, 21 Aug 2014 18:06:05 +0000 (20:06 +0200)]
HID: Various improvements.

Added gyro enable/disable cmd.
Added accelerometer disable cmd.
Fixed hidInit() error handling.
hidInit() no longer enables accelerometer.
HIDUSER_GetInfo has been renamed to HIDUSER_GetSharedMem.
hid functions no longer require a NULL-ptr as arg0.

10 years agoRenamed ACU_cmd1 to ACU_GenerateDefaultConfig.
plutoo [Thu, 21 Aug 2014 17:25:36 +0000 (19:25 +0200)]
Renamed ACU_cmd1 to ACU_GenerateDefaultConfig.

10 years agoHID: implement key/touch/circle pad access
fincs [Thu, 21 Aug 2014 14:55:21 +0000 (16:55 +0200)]
HID: implement key/touch/circle pad access

10 years agoRemove #ifdef SRV_OVERRIDE_SUPPORT
fincs [Wed, 20 Aug 2014 23:29:22 +0000 (01:29 +0200)]
Remove #ifdef SRV_OVERRIDE_SUPPORT

10 years agogspWaitForEvent(): add nextEvent parameter; GSPEVENT_count -> '_MAX
fincs [Wed, 20 Aug 2014 22:24:24 +0000 (00:24 +0200)]
gspWaitForEvent(): add nextEvent parameter; GSPEVENT_count -> '_MAX

10 years agoGSP: add basic event handling system
fincs [Wed, 20 Aug 2014 22:09:39 +0000 (00:09 +0200)]
GSP: add basic event handling system

10 years agoinitSystem.c: revise heap code, disable global destructors due to crashes
fincs [Wed, 20 Aug 2014 21:32:09 +0000 (23:32 +0200)]
initSystem.c: revise heap code, disable global destructors due to crashes

10 years ago__ctru_exit(): perform svcExitProcess() if there's no retAddr
fincs [Wed, 20 Aug 2014 20:16:28 +0000 (22:16 +0200)]
__ctru_exit(): perform svcExitProcess() if there's no retAddr

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

10 years agoReset SOC_hostent_alias to NULL in case the user trashed it.
mtheall [Wed, 20 Aug 2014 20:01:56 +0000 (15:01 -0500)]
Reset SOC_hostent_alias to NULL in case the user trashed it.

10 years agoImplement initSystem(), __ctru_exit() and __system_argc/argv
fincs [Wed, 20 Aug 2014 20:01:50 +0000 (22:01 +0200)]
Implement initSystem(), __ctru_exit() and __system_argc/argv

10 years agoimplement gethostbyname
mtheall [Wed, 20 Aug 2014 19:56:01 +0000 (14:56 -0500)]
implement gethostbyname

10 years agouse svcDuplicateHandle in handle override
smea [Sun, 17 Aug 2014 20:37:49 +0000 (13:37 -0700)]
use svcDuplicateHandle in handle override

10 years agofsInit, fsExit
smea [Sun, 17 Aug 2014 00:11:13 +0000 (17:11 -0700)]
fsInit, fsExit

10 years agoenable srv override + __service_ptr fix
smea [Sat, 16 Aug 2014 22:11:33 +0000 (15:11 -0700)]
enable srv override + __service_ptr fix

10 years agovarious fixes
smea [Sat, 16 Aug 2014 21:48:05 +0000 (14:48 -0700)]
various fixes

10 years agoAdded functionality for service-list override.
plutoo [Tue, 12 Aug 2014 20:41:40 +0000 (22:41 +0200)]
Added functionality for service-list override.

Currently disabled due to devkitARM build system not in place.

10 years agoRevamped "srv.c".
plutoo [Mon, 28 Jul 2014 21:23:24 +0000 (23:23 +0200)]
Revamped "srv.c".

10 years agoMoved OS module back out. Renamed functions.
plutoo [Mon, 28 Jul 2014 20:31:20 +0000 (22:31 +0200)]
Moved OS module back out. Renamed functions.

10 years agoMoved service source-files into source/services/.
plutoo [Mon, 28 Jul 2014 20:04:31 +0000 (22:04 +0200)]
Moved service source-files into source/services/.

10 years agoMoved header files from ctr/ to 3ds/.
plutoo [Mon, 28 Jul 2014 19:41:48 +0000 (21:41 +0200)]
Moved header files from ctr/ to 3ds/.

10 years agoRenamed svc_camelCase to svcCamelCase.
plutoo [Mon, 28 Jul 2014 18:58:47 +0000 (20:58 +0200)]
Renamed svc_camelCase to svcCamelCase.

10 years agoMoved example projects to examples/.
plutoo [Mon, 28 Jul 2014 16:41:18 +0000 (18:41 +0200)]
Moved example projects to examples/.

10 years agoImplemented svc_getProcessInfo(), and added comment to CSND.h. Implemented OS_Convert...
yellows8 [Wed, 23 Jul 2014 05:23:20 +0000 (01:23 -0400)]
Implemented svc_getProcessInfo(), and added comment to CSND.h. Implemented OS_ConvertVaddr2Physaddr() which is now used by CSND.c, this includes support for the v8.0 LINEAR memory.

10 years agoHTTPC : added support for a handful of http:C commands. example will follow.
smea [Wed, 23 Jul 2014 04:13:40 +0000 (21:13 -0700)]
HTTPC : added support for a handful of http:C commands. example will follow.

11 years agoadd network headers, remove libnds dependencies
Dave Murphy [Wed, 7 May 2014 16:17:36 +0000 (17:17 +0100)]
add network headers, remove libnds dependencies

11 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Tue, 27 May 2014 18:49:50 +0000 (20:49 +0200)]
Merge branch 'master' of github.com:smealum/ctrulib

Conflicts:
libctru/include/ctr/GSP.h
libctru/source/GSP.c

11 years agominifix test.vsh
smea [Tue, 27 May 2014 18:47:53 +0000 (20:47 +0200)]
minifix test.vsh

11 years agoAdjusted sleep-mode code so that on leaving sleep-mode, GSPGPU_SetLcdForceBlack(...
yellows8 [Thu, 22 May 2014 18:21:39 +0000 (14:21 -0400)]
Adjusted sleep-mode code so that on leaving sleep-mode, GSPGPU_SetLcdForceBlack() is only used when the status was APP_RUNNING(also removed GSPGPU_SetLcdForceBlack call for prepare sleep-mode signal).

11 years agoAdjusted sleep-mode code so that the APP_STATUS on leaving sleep-mode, would be set...
yellows8 [Thu, 22 May 2014 17:56:16 +0000 (13:56 -0400)]
Adjusted sleep-mode code so that the APP_STATUS on leaving sleep-mode, would be set to the status which was set when the prepare sleep-mode signal was triggered(and other minor changes).

11 years agoEnabled APT_AppletUtility code which was needed for aptReturnToMenu.
yellows8 [Thu, 22 May 2014 17:06:50 +0000 (13:06 -0400)]
Enabled APT_AppletUtility code which was needed for aptReturnToMenu.

11 years agoImplemented APT_GetAppletManInfo. Implemented loading the menu AppID with APT_GetAppl...
yellows8 [Thu, 22 May 2014 04:22:56 +0000 (00:22 -0400)]
Implemented APT_GetAppletManInfo. Implemented loading the menu AppID with APT_GetAppletManInfo, instead of using a hard-coded AppID.

11 years agoFixed issue where the application would no longer receive any NS signals/notification...
yellows8 [Wed, 21 May 2014 16:43:58 +0000 (12:43 -0400)]
Fixed issue where the application would no longer receive any NS signals/notifications once the system returns to the application, from home-menu.

11 years agoFixed issues involving application termination. This fixed the applet launch hang...
yellows8 [Wed, 21 May 2014 03:27:50 +0000 (23:27 -0400)]
Fixed issues involving application termination. This fixed the applet launch hang after launching a ctrulib app, and fixed the issue where the power/HOME buttons did not work correctly under the power-off screen.

11 years agoImplemented more APT and GSPGPU commands. Improved return-to-menu handling, screensho...
yellows8 [Tue, 20 May 2014 19:49:03 +0000 (15:49 -0400)]
Implemented more APT and GSPGPU commands. Improved return-to-menu handling, screenshots for the suspended application are now handled as well. Implemented power-button handling, and implemented sleep-mode handling. Updated the example apps for the APT changes, and fixed other issues with the examples.

11 years agoMerge pull request #5 from ichfly/master
smea [Tue, 20 May 2014 15:24:02 +0000 (17:24 +0200)]
Merge pull request #5 from ichfly/master

added prototype

11 years agoadded prototype
ichfly [Tue, 20 May 2014 15:21:48 +0000 (17:21 +0200)]
added prototype

11 years agoMerge pull request #4 from ichfly/master
smea [Tue, 20 May 2014 14:39:09 +0000 (16:39 +0200)]
Merge pull request #4 from ichfly/master

added FSFILE_SetSize

11 years agoadded FSFILE_SetSize
ichfly [Tue, 20 May 2014 14:14:47 +0000 (16:14 +0200)]
added FSFILE_SetSize

11 years agoRemoved outdated SOC comment.
yellows8 [Sun, 11 May 2014 01:25:26 +0000 (21:25 -0400)]
Removed outdated SOC comment.

11 years agoImproved SOC addr handling, and implemented addr handling for the sendto/recvfrom...
yellows8 [Sat, 10 May 2014 21:22:22 +0000 (17:22 -0400)]
Improved SOC addr handling, and implemented addr handling for the sendto/recvfrom cmds.

11 years agoignore generated folders
Dave Murphy [Wed, 7 May 2014 17:01:19 +0000 (18:01 +0100)]
ignore generated folders

11 years agoremove dodgy wchar type, use UINT64_MAX from stdint.h for U64_MAX
Dave Murphy [Wed, 7 May 2014 16:19:33 +0000 (17:19 +0100)]
remove dodgy wchar type, use UINT64_MAX from stdint.h for U64_MAX

11 years agoAdded SOC error conversion, and implemented getsockopt, setsockopt, fcntl, sockatmark...
yellows8 [Mon, 5 May 2014 01:55:59 +0000 (21:55 -0400)]
Added SOC error conversion, and implemented getsockopt, setsockopt, fcntl, sockatmark, gethostid, getsockname, and getpeername.

11 years agoMerge pull request #3 from bunnei/master
smea [Thu, 1 May 2014 03:04:13 +0000 (20:04 -0700)]
Merge pull request #3 from bunnei/master

Renamed "test_vsh_bin" to "test_shbin" to fix build of gpu demo

11 years agorename "test_vsh_bin" to "test_shbin" to fix build of gpu demo
bunnei [Wed, 30 Apr 2014 22:55:04 +0000 (18:55 -0400)]
rename "test_vsh_bin" to "test_shbin" to fix build of gpu demo

11 years agoAdded svc_signalEvent, svc_getSystemTick, and svc_getProcessId. Enabled using SOC...
yellows8 [Mon, 28 Apr 2014 01:28:48 +0000 (21:28 -0400)]
Added svc_signalEvent, svc_getSystemTick, and svc_getProcessId. Enabled using SOC cmd8/cmda, and other minor changes.

11 years agoAdded GSPGPU code for SetBufferSwap and InvalidateDataCache.
yellows8 [Wed, 23 Apr 2014 00:18:21 +0000 (20:18 -0400)]
Added GSPGPU code for SetBufferSwap and InvalidateDataCache.

11 years agoAdded code for the cfg:nor service.
yellows8 [Tue, 22 Apr 2014 20:13:18 +0000 (16:13 -0400)]
Added code for the cfg:nor service.

11 years agoAdded code for using the ir:u service.
yellows8 [Tue, 22 Apr 2014 19:15:46 +0000 (15:15 -0400)]
Added code for using the ir:u service.

11 years agoAdded code for using the ac:u service.
yellows8 [Tue, 22 Apr 2014 02:58:05 +0000 (22:58 -0400)]
Added code for using the ac:u service.

11 years agoAdded code for using the CSND service.
yellows8 [Mon, 21 Apr 2014 23:12:56 +0000 (19:12 -0400)]
Added code for using the CSND service.

11 years agoGPU : GPU_SetTexEnv minifix (thanks gericom)
smea [Fri, 21 Mar 2014 15:42:39 +0000 (16:42 +0100)]
GPU : GPU_SetTexEnv minifix (thanks gericom)

11 years agoSHDR : fixed DVLE_SendOutmap
smea [Thu, 20 Mar 2014 22:30:11 +0000 (23:30 +0100)]
SHDR : fixed DVLE_SendOutmap

11 years agoGPU : fixed DVLE_SendOutmap
smea [Thu, 20 Mar 2014 17:23:48 +0000 (18:23 +0100)]
GPU : fixed DVLE_SendOutmap

11 years agoGPU : GPU_SetTexEnv
smea [Thu, 20 Mar 2014 14:15:35 +0000 (15:15 +0100)]
GPU : GPU_SetTexEnv

11 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 20 Mar 2014 13:41:10 +0000 (14:41 +0100)]
Merge branch 'master' of github.com:smealum/ctrulib

11 years agoGPU : GPU_SetAttributeBuffers, GPU_SetStencilTest, GPU_SetFaceCulling
smea [Thu, 20 Mar 2014 13:40:57 +0000 (14:40 +0100)]
GPU : GPU_SetAttributeBuffers, GPU_SetStencilTest, GPU_SetFaceCulling

11 years agoMerge pull request #1 from tolbon/patch-1
smea [Thu, 20 Mar 2014 09:44:30 +0000 (10:44 +0100)]
Merge pull request #1 from tolbon/patch-1

risk to be platform dependent

11 years agorisk to be platform dependent
Jean Baptiste Noblot [Thu, 20 Mar 2014 08:27:12 +0000 (09:27 +0100)]
risk to be platform dependent

I know. it's a feature

11 years agoGSP : critical fix in GSPGPU_submitGxCommand
smea [Wed, 19 Mar 2014 22:23:53 +0000 (23:23 +0100)]
GSP : critical fix in GSPGPU_submitGxCommand
GX : updated GX_SetMemoryFill
GPU : various crap

11 years agoAPT && HID && GSP : don't ignore errors yo
smea [Mon, 17 Mar 2014 17:38:20 +0000 (18:38 +0100)]
APT && HID && GSP : don't ignore errors yo

11 years agoSHDR : updated DVLE_SendOutmap
smea [Sat, 15 Mar 2014 20:00:37 +0000 (21:00 +0100)]
SHDR : updated DVLE_SendOutmap

11 years agoGPU : GPU_SetDepthTest
smea [Fri, 14 Mar 2014 20:29:42 +0000 (21:29 +0100)]
GPU : GPU_SetDepthTest

11 years agoGPU : GPU_DepthRange && GPU_SetTexture
smea [Thu, 13 Mar 2014 18:54:52 +0000 (19:54 +0100)]
GPU : GPU_DepthRange && GPU_SetTexture

11 years agoSHDR : minifix
smea [Thu, 13 Mar 2014 17:27:22 +0000 (18:27 +0100)]
SHDR : minifix

11 years agoSHDR : SHDR_GetUniformRegister (untested)
Jordan Rabet [Thu, 13 Mar 2014 14:50:43 +0000 (15:50 +0100)]
SHDR : SHDR_GetUniformRegister (untested)

11 years agoSHDR : uniform table (untested)
Jordan Rabet [Thu, 13 Mar 2014 14:34:01 +0000 (15:34 +0100)]
SHDR : uniform table (untested)

11 years agoGPU : added buffer setup commands to GPU_SetViewport
smea [Wed, 12 Mar 2014 19:11:34 +0000 (20:11 +0100)]
GPU : added buffer setup commands to GPU_SetViewport

11 years agoGPU : GPU_SetViewport
smea [Wed, 12 Mar 2014 17:28:25 +0000 (18:28 +0100)]
GPU : GPU_SetViewport

11 years agogpu : GPU_Reset
smea [Wed, 12 Mar 2014 15:00:40 +0000 (16:00 +0100)]
gpu : GPU_Reset

11 years agoGPU : GPU_Reset
smea [Wed, 12 Mar 2014 14:59:26 +0000 (15:59 +0100)]
GPU : GPU_Reset

11 years agoSHDR : DVLE_SendConstants && SHDR_UseProgram
smea [Tue, 11 Mar 2014 21:50:07 +0000 (22:50 +0100)]
SHDR : DVLE_SendConstants && SHDR_UseProgram

11 years agoGPU : DVLE_SendOutmap fix
smea [Tue, 11 Mar 2014 19:18:57 +0000 (20:18 +0100)]
GPU : DVLE_SendOutmap fix

11 years agoGX : GX_SetTextureCopy
smea [Tue, 11 Mar 2014 18:08:45 +0000 (19:08 +0100)]
GX : GX_SetTextureCopy

11 years agoSHDR : various fixes
smea [Tue, 11 Mar 2014 18:00:44 +0000 (19:00 +0100)]
SHDR : various fixes

11 years agogpu : oops
smea [Tue, 11 Mar 2014 16:09:39 +0000 (17:09 +0100)]
gpu : oops

11 years agogpu : README.md update
smea [Tue, 11 Mar 2014 15:20:56 +0000 (16:20 +0100)]
gpu : README.md update

11 years agogpu : added vsh support to makefile + some code. need to setup AEMSTROPATH variable...
smea [Tue, 11 Mar 2014 15:17:05 +0000 (16:17 +0100)]
gpu : added vsh support to makefile + some code. need to setup AEMSTROPATH variable for it to work.

11 years agoGPU : GPU_SetUniform
smea [Sun, 9 Mar 2014 15:38:55 +0000 (16:38 +0100)]
GPU : GPU_SetUniform

11 years agoSHDR : untested
smea [Sat, 8 Mar 2014 11:43:16 +0000 (12:43 +0100)]
SHDR : untested

11 years agogpu : setdisplaytransfer (temp)
smea [Fri, 7 Mar 2014 22:28:23 +0000 (23:28 +0100)]
gpu : setdisplaytransfer (temp)

11 years agogpu : minifix
smea [Thu, 6 Mar 2014 21:34:53 +0000 (22:34 +0100)]
gpu : minifix

11 years agoGPU : cleanup
smea [Sun, 2 Mar 2014 17:05:04 +0000 (18:05 +0100)]
GPU : cleanup

11 years agoGPU : command buffer stuff
smea [Sun, 2 Mar 2014 15:55:05 +0000 (16:55 +0100)]
GPU : command buffer stuff

11 years agogpu : added gpu example
smea [Sun, 2 Mar 2014 15:11:04 +0000 (16:11 +0100)]
gpu : added gpu example
arm11u && sdmc : fixes

11 years agoarm11u && sdmc : fix
smea [Sun, 2 Mar 2014 15:06:34 +0000 (16:06 +0100)]
arm11u && sdmc : fix

11 years agoGPU : initial code (untested)
smea [Sun, 2 Mar 2014 15:01:57 +0000 (16:01 +0100)]
GPU : initial code (untested)

11 years agoGX : implemented some GX commands
smea [Sun, 2 Mar 2014 13:53:51 +0000 (14:53 +0100)]
GX : implemented some GX commands

11 years agoarm11u && sdmc : README.md
smea [Mon, 3 Feb 2014 17:51:22 +0000 (18:51 +0100)]
arm11u && sdmc : README.md

11 years agoHID : moved hidInit and hidExit into ctrulib
smea [Mon, 3 Feb 2014 17:21:17 +0000 (18:21 +0100)]
HID : moved hidInit and hidExit into ctrulib

11 years agoAPT && misc : better app exiting code, fixed APPLICATION and BASE mem leak
smea [Mon, 3 Feb 2014 17:06:58 +0000 (18:06 +0100)]
APT && misc : better app exiting code, fixed APPLICATION and BASE mem leak

11 years agoAPT : added ability to specify APPID to aptInit
smea [Sat, 1 Feb 2014 18:56:36 +0000 (19:56 +0100)]
APT : added ability to specify APPID to aptInit