]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
9 years agoMerge pull request #188 from linkmauve/no-executable-makefiles
fincs [Wed, 7 Oct 2015 18:48:05 +0000 (20:48 +0200)]
Merge pull request #188 from linkmauve/no-executable-makefiles

Remove the executable bit from examples’ Makefiles

9 years agoRemove the executable bit from examples’ Makefiles
Emmanuel Gil Peyrot [Tue, 6 Oct 2015 21:58:03 +0000 (22:58 +0100)]
Remove the executable bit from examples’ Makefiles

The normal way to invoke a Makefile is to run `make`, not to run the
Makefile directly.  Besides they would be missing a shebang anyway.

9 years agoMerge pull request #183 from Lectem/patch-2
fincs [Mon, 5 Oct 2015 09:37:18 +0000 (11:37 +0200)]
Merge pull request #183 from Lectem/patch-2

Allow documentation for static functions

9 years agoAllow documentation for static functions
Lectem [Sun, 4 Oct 2015 22:55:07 +0000 (18:55 -0400)]
Allow documentation for static functions

This will show static functions such as the ones in the ipc.h header in the documentation.

9 years agoMerge pull request #180 from Steveice10/master
fincs [Sun, 4 Oct 2015 15:32:02 +0000 (17:32 +0200)]
Merge pull request #180 from Steveice10/master

Dynamically allocate shared memory.

9 years agoDynamically allocate shared memory.
Steven Smith [Sat, 3 Oct 2015 23:33:48 +0000 (16:33 -0700)]
Dynamically allocate shared memory.

9 years agoMerge pull request #176 from thedax/gspLcd
fincs [Sat, 3 Oct 2015 16:42:50 +0000 (18:42 +0200)]
Merge pull request #176 from thedax/gspLcd

Implement some services from gsp::Lcd.

9 years agoUpdate fs.c
smea [Sat, 3 Oct 2015 06:10:38 +0000 (23:10 -0700)]
Update fs.c

9 years agoMerge branch 'patch-1' of github.com:smealum/ctrulib
smea [Sat, 3 Oct 2015 06:07:46 +0000 (23:07 -0700)]
Merge branch 'patch-1' of github.com:smealum/ctrulib

9 years agoAdded FSUSER_GetMediaType
smea [Sat, 3 Oct 2015 06:05:30 +0000 (23:05 -0700)]
Added FSUSER_GetMediaType

9 years agoMerge pull request #177 from suloku/patch-1
smea [Sat, 3 Oct 2015 05:53:48 +0000 (22:53 -0700)]
Merge pull request #177 from suloku/patch-1

Implement APT_GetProgramID

9 years agoReturn the svcSendSyncRquest value if not equal to zero.
thedax [Sat, 3 Oct 2015 01:01:19 +0000 (21:01 -0400)]
Return the svcSendSyncRquest value if not equal to zero.
Otherwise, return cmdbuf[1].

9 years agoChange the enum to use BIT and replace u32 with the enum type.
thedax [Thu, 1 Oct 2015 17:00:38 +0000 (13:00 -0400)]
Change the enum to use BIT and replace u32 with the enum type.

9 years agoUpdate apt.c
suloku [Thu, 1 Oct 2015 17:01:31 +0000 (19:01 +0200)]
Update apt.c

9 years agoImplement APT_GetProgramID
suloku [Thu, 1 Oct 2015 15:19:13 +0000 (17:19 +0200)]
Implement APT_GetProgramID

9 years agoUpdate apt.h
suloku [Thu, 1 Oct 2015 15:18:17 +0000 (17:18 +0200)]
Update apt.h

9 years agoAdd an enum to make using the gsp::Lcd service a little nicer.
thedax [Thu, 1 Oct 2015 00:14:10 +0000 (20:14 -0400)]
Add an enum to make using the gsp::Lcd service a little nicer.

9 years agoImplement some services from gsp::Lcd.
thedax [Wed, 30 Sep 2015 21:41:27 +0000 (17:41 -0400)]
Implement some services from gsp::Lcd.
http://www.3dbrew.org/wiki/GSP_Services

9 years agoMerge pull request #170 from Lectem/patch-2
fincs [Tue, 29 Sep 2015 21:18:21 +0000 (23:18 +0200)]
Merge pull request #170 from Lectem/patch-2

document ArbitrateAddress + update ArbitrationType

9 years agoUpdate apt.h
smea [Mon, 28 Sep 2015 04:35:55 +0000 (21:35 -0700)]
Update apt.h

9 years agoUpdate apt.h
smea [Mon, 28 Sep 2015 04:34:47 +0000 (21:34 -0700)]
Update apt.h

9 years agoMerge pull request #174 from Megazig/master
smea [Mon, 28 Sep 2015 04:32:58 +0000 (21:32 -0700)]
Merge pull request #174 from Megazig/master

implement APT_GetAppletInfo

9 years agoimplement APT_GetAppletInfo
megazig [Mon, 28 Sep 2015 04:30:16 +0000 (23:30 -0500)]
implement APT_GetAppletInfo

9 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 27 Sep 2015 00:03:46 +0000 (17:03 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib

9 years agoadded CFG_Region and CFG_Language enums
smea [Sun, 27 Sep 2015 00:03:42 +0000 (17:03 -0700)]
added CFG_Region and CFG_Language enums

9 years agoImplemented http service-cmd code for GetResponseHeader.
yellows8 [Thu, 24 Sep 2015 17:04:18 +0000 (13:04 -0400)]
Implemented http service-cmd code for GetResponseHeader.

9 years agoAdded APT_GetAppletProgramInfo.
yellows8 [Thu, 24 Sep 2015 08:26:48 +0000 (04:26 -0400)]
Added APT_GetAppletProgramInfo.

9 years agoMerge pull request #172 from Steveice10/master
fincs [Wed, 23 Sep 2015 08:14:55 +0000 (10:14 +0200)]
Merge pull request #172 from Steveice10/master

Fix reading accelerometer and gyroscope entries.

9 years agoFix reading accelerometer and gyroscope entries.
Steven Smith [Wed, 23 Sep 2015 02:12:52 +0000 (19:12 -0700)]
Fix reading accelerometer and gyroscope entries.

9 years agodocument ArbitrateAddress + update ArbitrationType
Lectem [Sat, 19 Sep 2015 03:04:20 +0000 (23:04 -0400)]
document ArbitrateAddress + update ArbitrationType

This has been tested on n3ds 9.9.

9 years agoAdd romfsInitFromFile()
fincs [Fri, 18 Sep 2015 21:17:12 +0000 (23:17 +0200)]
Add romfsInitFromFile()

9 years agoMerge pull request #169 from yuriks/gsp-racecond
smea [Tue, 15 Sep 2015 05:52:08 +0000 (22:52 -0700)]
Merge pull request #169 from yuriks/gsp-racecond

GSP: Use atomics in interrupt reading loop

9 years agoGSP: Use atomics in interrupt reading loop
Yuri Kunde Schlesner [Mon, 14 Sep 2015 22:26:37 +0000 (19:26 -0300)]
GSP: Use atomics in interrupt reading loop

9 years agoMerge pull request #161 from Steveice10/master
fincs [Tue, 8 Sep 2015 23:45:32 +0000 (01:45 +0200)]
Merge pull request #161 from Steveice10/master

Add cam:u support and basic documentation.

9 years agoAdd cam:u support and basic documentation.
Steven Smith [Thu, 3 Sep 2015 06:22:45 +0000 (23:22 -0700)]
Add cam:u support and basic documentation.

9 years agoMerge pull request #163 from Megazig/master
fincs [Tue, 8 Sep 2015 18:54:08 +0000 (20:54 +0200)]
Merge pull request #163 from Megazig/master

added new NS_APPID values for latest apt module

9 years agoadded new NS_APPID values for latest apt module
megazig [Tue, 8 Sep 2015 17:02:45 +0000 (12:02 -0500)]
added new NS_APPID values for latest apt module

9 years agoChange default linear/VRAM mem alignment to 0x80 (for GPU textures)
fincs [Mon, 7 Sep 2015 10:37:55 +0000 (12:37 +0200)]
Change default linear/VRAM mem alignment to 0x80 (for GPU textures)

9 years agoMerge pull request #162 from yuriks/float-conversions
fincs [Sat, 5 Sep 2015 20:09:33 +0000 (22:09 +0200)]
Merge pull request #162 from yuriks/float-conversions

GPU: Clean up float conversion functions

9 years agoGPU: Clean up float conversion functions
Yuri Kunde Schlesner [Sat, 5 Sep 2015 19:55:45 +0000 (16:55 -0300)]
GPU: Clean up float conversion functions

9 years agoCorrect GPU_DrawArray() parameter order, fix GPU examples
fincs [Sat, 5 Sep 2015 16:02:06 +0000 (18:02 +0200)]
Correct GPU_DrawArray() parameter order, fix GPU examples

9 years agoMerge pull request #155 from Subv/vertex_offset
fincs [Sat, 5 Sep 2015 15:59:37 +0000 (17:59 +0200)]
Merge pull request #155 from Subv/vertex_offset

Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays

9 years agoMerge pull request #157 from endrift/master
fincs [Sat, 5 Sep 2015 15:50:12 +0000 (17:50 +0200)]
Merge pull request #157 from endrift/master

Fix building on FreeBSD

9 years agoMerge pull request #159 from Lectem/documentation
fincs [Sat, 5 Sep 2015 15:46:49 +0000 (17:46 +0200)]
Merge pull request #159 from Lectem/documentation

documentation for the soc service and svcCreateMemoryBlock

9 years agoMerge pull request #156 from Dazzozo/yay-svcs
fincs [Sat, 5 Sep 2015 15:45:37 +0000 (17:45 +0200)]
Merge pull request #156 from Dazzozo/yay-svcs

svc: add a few more SVC bindings

9 years agoMerge pull request #150 from Megazig/master
fincs [Sat, 5 Sep 2015 15:44:26 +0000 (17:44 +0200)]
Merge pull request #150 from Megazig/master

PS service key type and socket functionality

9 years agodocumentation for svcCreateMemoryBlock
Lectem [Thu, 27 Aug 2015 21:36:27 +0000 (17:36 -0400)]
documentation for svcCreateMemoryBlock

9 years agodocumentation for the soc service
Lectem [Thu, 27 Aug 2015 20:55:15 +0000 (16:55 -0400)]
documentation for the soc service

9 years agoAdd RomFS example
fincs [Thu, 27 Aug 2015 23:19:19 +0000 (01:19 +0200)]
Add RomFS example

9 years agoromfs_dev.c: use correct file closing function
fincs [Thu, 27 Aug 2015 19:16:27 +0000 (21:16 +0200)]
romfs_dev.c: use correct file closing function

9 years agoAdd work in progress RomFS driver/devoptab
fincs [Thu, 27 Aug 2015 18:53:08 +0000 (20:53 +0200)]
Add work in progress RomFS driver/devoptab

9 years agoFix building on FreeBSD
Jeffrey Pfau [Thu, 27 Aug 2015 08:04:28 +0000 (01:04 -0700)]
Fix building on FreeBSD

9 years agosvc: add a few more SVC bindings
Daz Jones [Sun, 23 Aug 2015 19:27:31 +0000 (20:27 +0100)]
svc: add a few more SVC bindings

Mostly debug and IPC related.

9 years agoUse register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.
Subv [Sun, 23 Aug 2015 03:15:27 +0000 (22:15 -0500)]
Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.

It will set the index of the first vertex to draw, akin to the "first" parameter of glDrawArrays.

9 years agoGPU_KEEP -> GPU_STENCIL_KEEP in GPU examples
fincs [Sat, 22 Aug 2015 21:14:38 +0000 (23:14 +0200)]
GPU_KEEP -> GPU_STENCIL_KEEP in GPU examples

9 years agoMerge remote-tracking branch 'pr149/master'
fincs [Sat, 22 Aug 2015 21:12:32 +0000 (23:12 +0200)]
Merge remote-tracking branch 'pr149/master'

9 years agoMerge pull request #154 from Subv/tev_buffer_color
fincs [Sat, 22 Aug 2015 19:20:37 +0000 (21:20 +0200)]
Merge pull request #154 from Subv/tev_buffer_color

GPU: Added code to manipulate the combiner buffer.

9 years agoMerge pull request #152 from Subv/stencil
fincs [Sat, 22 Aug 2015 19:20:31 +0000 (21:20 +0200)]
Merge pull request #152 from Subv/stencil

Added the rest of the stencil operations and corrected their names.

9 years agoGPU: Added code to manipulate the combiner buffer.
Subv [Sat, 22 Aug 2015 15:53:52 +0000 (10:53 -0500)]
GPU: Added code to manipulate the combiner buffer.

You can set an initial color value with GPUREG_TEXENV_BUFFER_COLOR, then use GPU_SetCombinerBufferWrite with GPU_TEV_BUFFER_WRITE_CONFIG to allow/disallow the TEV stages to write their color outputs to the buffer.

You can retrieve the previous buffer color using GPU_PREVIOUS_BUFFER as color source in the TEV config.

9 years agoAdded the rest of the stencil operations and corrected their names.
Subv [Fri, 21 Aug 2015 20:07:30 +0000 (15:07 -0500)]
Added the rest of the stencil operations and corrected their names.

9 years agoRevert g_srv_handle change because srvGetSessionHandle() already existed
fincs [Wed, 19 Aug 2015 11:29:24 +0000 (13:29 +0200)]
Revert g_srv_handle change because srvGetSessionHandle() already existed

9 years agoupdate definition of gethostbyaddr
megazig [Tue, 18 Aug 2015 22:15:21 +0000 (17:15 -0500)]
update definition of gethostbyaddr

9 years agomove h_errno definition to soc_common
megazig [Tue, 18 Aug 2015 21:55:50 +0000 (16:55 -0500)]
move h_errno definition to soc_common
add h_addr member to hostent structure
implement gethostbyaddr

9 years agoadd key type 9 (NFC) for ps service
megazig [Tue, 18 Aug 2015 21:54:22 +0000 (16:54 -0500)]
add key type 9 (NFC) for ps service

9 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Tue, 18 Aug 2015 04:31:04 +0000 (21:31 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib

9 years agoam:sys stuff, g_serv_handle non static and qtm example label
smea [Tue, 18 Aug 2015 04:31:00 +0000 (21:31 -0700)]
am:sys stuff, g_serv_handle non static and qtm example label

9 years agoFix gpu example Makefiles for latest picasso
Luke Street [Mon, 17 Aug 2015 16:00:28 +0000 (12:00 -0400)]
Fix gpu example Makefiles for latest picasso

9 years agoMerge pull request #146 from Lectem/fixy2r
fincs [Sun, 9 Aug 2015 22:58:54 +0000 (00:58 +0200)]
Merge pull request #146 from Lectem/fixy2r

Fixed transfer unit and gap type and added a warning

9 years agoFixed transfer unit and gap type and added a warning
Lectem [Sun, 9 Aug 2015 22:32:41 +0000 (00:32 +0200)]
Fixed transfer unit and gap type and added a warning

9 years agoRevert 73e0267a because it breaks all existing GPU code
fincs [Tue, 4 Aug 2015 17:31:46 +0000 (19:31 +0200)]
Revert 73e0267a because it breaks all existing GPU code

9 years agoMerge pull request #143 from aroulin/fix-gpu-reset
smea [Fri, 24 Jul 2015 20:15:58 +0000 (13:15 -0700)]
Merge pull request #143 from aroulin/fix-gpu-reset

Fix GPU_Reset having wrong GSP command buffer

9 years agoFix GPU_Reset having wrong GSP command buffer
aroulin [Fri, 24 Jul 2015 19:49:49 +0000 (21:49 +0200)]
Fix GPU_Reset having wrong GSP command buffer

9 years agoMerge pull request #142 from Lectem/documentation
fincs [Thu, 23 Jul 2015 20:55:24 +0000 (22:55 +0200)]
Merge pull request #142 from Lectem/documentation

Some documentation

9 years agoadded gpu examples to doc
Lectem [Thu, 23 Jul 2015 20:41:13 +0000 (22:41 +0200)]
added gpu examples to doc

9 years agoDocumented GX TRANSFER_SCALE and FILL_CONTROL
Lectem [Thu, 23 Jul 2015 19:23:50 +0000 (21:23 +0200)]
Documented GX TRANSFER_SCALE and FILL_CONTROL

9 years agofixed y2r doc and added csnd pan/vol ranges
Lectem [Sat, 11 Jul 2015 18:37:31 +0000 (20:37 +0200)]
fixed y2r doc and added csnd pan/vol  ranges

9 years agoAdd new GPU examples
fincs [Wed, 22 Jul 2015 17:41:59 +0000 (19:41 +0200)]
Add new GPU examples

9 years agoMerge pull request #140 from Lectem/patch-3
fincs [Sun, 19 Jul 2015 22:52:10 +0000 (00:52 +0200)]
Merge pull request #140 from Lectem/patch-3

Fixed wrap_s and wrap_t

9 years agoFixed wrap_s and wrap_t
Lectem [Sun, 19 Jul 2015 22:20:35 +0000 (00:20 +0200)]
Fixed wrap_s and wrap_t

Those were swapped.

9 years agoadded ac:i support
smea [Thu, 16 Jul 2015 06:40:11 +0000 (23:40 -0700)]
added ac:i support

9 years agoadded support for qtm:s and qtm:sp
smea [Tue, 14 Jul 2015 06:01:50 +0000 (23:01 -0700)]
added support for qtm:s and qtm:sp

9 years agoadded hid:SPVR support
smea [Tue, 14 Jul 2015 06:00:52 +0000 (23:00 -0700)]
added hid:SPVR support

9 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 12 Jul 2015 22:31:57 +0000 (15:31 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib

9 years agofixed SOC device madness
smea [Sun, 12 Jul 2015 22:19:36 +0000 (15:19 -0700)]
fixed SOC device madness

9 years agoMerge pull request #137 from Lectem/patch-2
fincs [Sat, 11 Jul 2015 14:00:26 +0000 (16:00 +0200)]
Merge pull request #137 from Lectem/patch-2

Fixed command code for Y2RU_SetConversionParams

9 years agoFixed command code for Y2RU_SetConversionParams
Lectem [Sat, 11 Jul 2015 13:51:06 +0000 (15:51 +0200)]
Fixed command code for Y2RU_SetConversionParams

10 years agosocMemhandle should be closed even if shutdown command fails
smea [Wed, 8 Jul 2015 02:52:18 +0000 (19:52 -0700)]
socMemhandle should be closed even if shutdown command fails

10 years agoMerge pull request #136 from Lectem/wrap_modes
fincs [Tue, 7 Jul 2015 22:48:23 +0000 (00:48 +0200)]
Merge pull request #136 from Lectem/wrap_modes

added texture border color

10 years agoadded texture border color
Lectem [Tue, 7 Jul 2015 22:16:00 +0000 (00:16 +0200)]
added texture border color

10 years agoadded texture border color
Lectem [Tue, 7 Jul 2015 22:03:01 +0000 (00:03 +0200)]
added texture border color

10 years agoClean up libapplet_launch example
fincs [Tue, 7 Jul 2015 21:46:08 +0000 (23:46 +0200)]
Clean up libapplet_launch example

10 years agoMerge pull request #135 from Lectem/sound_example_update
fincs [Tue, 7 Jul 2015 21:26:50 +0000 (23:26 +0200)]
Merge pull request #135 from Lectem/sound_example_update

updated sound example for new API

10 years agoupdated sound example for new API
Lectem [Tue, 7 Jul 2015 20:21:47 +0000 (22:21 +0200)]
updated sound example for new API

10 years agoMerge pull request #134 from Lectem/wrap_modes
fincs [Tue, 7 Jul 2015 20:41:20 +0000 (22:41 +0200)]
Merge pull request #134 from Lectem/wrap_modes

Added GPU_CLAMP_TO_BORDER and GPU_MIRRORED_REPEAT

10 years agoAdded GPU_CLAMP_TO_BORDER and GPU_MIRRORED_REPEAT
Lectem [Tue, 7 Jul 2015 20:25:00 +0000 (22:25 +0200)]
Added GPU_CLAMP_TO_BORDER and GPU_MIRRORED_REPEAT

10 years agoFixed socket() error handling when cmdbuf[2] is actually an error-code, not a handle...
yellows8 [Thu, 2 Jul 2015 22:53:16 +0000 (18:53 -0400)]
Fixed socket() error handling when cmdbuf[2] is actually an error-code, not a handle. In socket(), write SYNC_ERROR to errno when an error occurs due to cmdbuf[1].

10 years agoMerge pull request #133 from linkmauve/cube-directions
fincs [Sun, 28 Jun 2015 17:01:53 +0000 (19:01 +0200)]
Merge pull request #133 from linkmauve/cube-directions

Use more sensible input to move the cube in the gpu example

10 years agoMerge pull request #132 from Lectem/documentation
fincs [Sun, 28 Jun 2015 17:01:46 +0000 (19:01 +0200)]
Merge pull request #132 from Lectem/documentation

Documentation

10 years agoUse more sensible input to move the cube in the gpu example.
Emmanuel Gil Peyrot [Sun, 28 Jun 2015 16:34:16 +0000 (17:34 +0100)]
Use more sensible input to move the cube in the gpu example.

10 years agoadded examples to documentation
Lectem [Sun, 28 Jun 2015 08:52:34 +0000 (10:52 +0200)]
added examples to documentation