]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
10 years agobump version for release, add dist target v0.2.0
Dave Murphy [Fri, 5 Dec 2014 13:57:50 +0000 (13:57 +0000)]
bump version for release, add dist target

10 years agoRevert "Update example makefiles"
Dave Murphy [Fri, 5 Dec 2014 13:47:57 +0000 (13:47 +0000)]
Revert "Update example makefiles"

This reverts commit 0f93112ecb43ae145c7e5e353e1e378de31c4a33.

10 years agoRevert "Switch to -mfloat-abi=hard, bump version to 0.2.0"
Dave Murphy [Fri, 5 Dec 2014 13:47:05 +0000 (13:47 +0000)]
Revert "Switch to -mfloat-abi=hard, bump version to 0.2.0"

This reverts commit 3f9e0a630bd72c58df546cb4c4c837c37d429659.

10 years agoAdd getThreadLocalStorage(), major cleanup in svc.h/svc.s
fincs [Wed, 3 Dec 2014 22:40:49 +0000 (23:40 +0100)]
Add getThreadLocalStorage(), major cleanup in svc.h/svc.s

10 years agoUpdate example makefiles
fincs [Wed, 3 Dec 2014 20:25:32 +0000 (21:25 +0100)]
Update example makefiles

10 years agoAdd SMDH embedding to the template
fincs [Wed, 3 Dec 2014 20:24:46 +0000 (21:24 +0100)]
Add SMDH embedding to the template

10 years agoSwitch to -mfloat-abi=hard, bump version to 0.2.0
fincs [Wed, 3 Dec 2014 20:24:22 +0000 (21:24 +0100)]
Switch to -mfloat-abi=hard, bump version to 0.2.0

10 years agosdmc_dev.c: do not redefine __system_argc/argv
fincs [Thu, 4 Dec 2014 10:23:40 +0000 (11:23 +0100)]
sdmc_dev.c: do not redefine __system_argc/argv

10 years agoimplement chdir & relative path support
Dave Murphy [Thu, 4 Dec 2014 00:29:35 +0000 (00:29 +0000)]
implement chdir & relative path support

10 years agoFixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.
yellows8 [Wed, 3 Dec 2014 16:06:01 +0000 (11:06 -0500)]
Fixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.

10 years agoAdd svcSetThreadPriority
fincs [Sat, 29 Nov 2014 20:40:59 +0000 (21:40 +0100)]
Add svcSetThreadPriority

10 years agoFix HOME button shiz.
StapleButter [Sat, 29 Nov 2014 20:04:03 +0000 (21:04 +0100)]
Fix HOME button shiz.
(apparently APP_APPLETSTARTED happens when pressing the HOME button and causes aptWaitStatusEvent() to end prematurely)

10 years agoSleep mode fixes.
StapleButter [Sat, 29 Nov 2014 18:39:00 +0000 (19:39 +0100)]
Sleep mode fixes.

10 years agoFixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocat...
yellows8 [Sat, 29 Nov 2014 00:28:59 +0000 (19:28 -0500)]
Fixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocating linearmem, in initSystem.c.

10 years agoosGetTime(): avoid using u64<->double conversions (not supported by VFP)
fincs [Fri, 28 Nov 2014 22:54:32 +0000 (23:54 +0100)]
osGetTime(): avoid using u64<->double conversions (not supported by VFP)

10 years agofix examples for unpolluted libctru headers
Dave Murphy [Fri, 28 Nov 2014 21:34:46 +0000 (21:34 +0000)]
fix examples for unpolluted libctru headers

10 years agostop polluting 3ds headers with extra system headers
Dave Murphy [Fri, 28 Nov 2014 13:13:34 +0000 (13:13 +0000)]
stop polluting 3ds headers with extra system headers

10 years agoAdded more code to aptAppletUtility_Exit_RetToApp() for when a library applet is...
yellows8 [Fri, 28 Nov 2014 07:12:49 +0000 (02:12 -0500)]
Added more code to aptAppletUtility_Exit_RetToApp() for when a library applet is closing, but this still doesn't fix the broken applet process termination.

10 years agoAdded note about broken applet process termination with APT_LaunchLibraryApplet().
yellows8 [Fri, 28 Nov 2014 06:26:20 +0000 (01:26 -0500)]
Added note about broken applet process termination with APT_LaunchLibraryApplet().

10 years agoAdded comments to GSP_FramebufferFormats for the pixel byte-sizes.
yellows8 [Thu, 27 Nov 2014 16:27:21 +0000 (11:27 -0500)]
Added comments to GSP_FramebufferFormats for the pixel byte-sizes.

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
yellows8 [Thu, 27 Nov 2014 03:13:12 +0000 (22:13 -0500)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdded library applet launching example, this isn't usable from the homebrew launcher.
yellows8 [Thu, 27 Nov 2014 03:12:20 +0000 (22:12 -0500)]
Added library applet launching example, this isn't usable from the homebrew launcher.

10 years agoMerge branch 'master' of https://github.com/smealum/ctrulib
plutoo [Wed, 26 Nov 2014 00:33:03 +0000 (01:33 +0100)]
Merge branch 'master' of https://github.com/smealum/ctrulib

10 years agoadded gfxSetScreenFormat
plutoo [Wed, 26 Nov 2014 00:32:47 +0000 (01:32 +0100)]
added gfxSetScreenFormat

10 years agoUpdated mic example. Returning from the example then launching it again via hbmenu...
yellows8 [Tue, 25 Nov 2014 04:42:47 +0000 (23:42 -0500)]
Updated mic example. Returning from the example then launching it again via hbmenu is broken.

10 years agoFixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHand...
yellows8 [Tue, 25 Nov 2014 04:22:24 +0000 (23:22 -0500)]
Fixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHandle().

10 years agoAdded warning in the mic example README regarding broken MIC.
yellows8 [Tue, 25 Nov 2014 04:05:58 +0000 (23:05 -0500)]
Added warning in the mic example README regarding broken MIC.

10 years agoFixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack.
yellows8 [Tue, 25 Nov 2014 03:58:07 +0000 (22:58 -0500)]
Fixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack.

10 years agoMerge pull request #40 from lioncash/va
mtheall [Mon, 24 Nov 2014 14:15:29 +0000 (08:15 -0600)]
Merge pull request #40 from lioncash/va

soc_ioctl: Add a missing va_end call

10 years agosoc_ioctl: Add a missing va_end call
Lioncash [Mon, 24 Nov 2014 13:31:41 +0000 (08:31 -0500)]
soc_ioctl: Add a missing va_end call

10 years agoRemoved debug code(exception triggers on failure) in httpc.c.
yellows8 [Mon, 24 Nov 2014 03:10:16 +0000 (22:10 -0500)]
Removed debug code(exception triggers on failure) in httpc.c.

10 years agoMerge pull request #39 from Lectem/patch-2
smea [Sun, 23 Nov 2014 22:24:25 +0000 (14:24 -0800)]
Merge pull request #39 from Lectem/patch-2

added svcCloseHandle to FSDIR_Close()

10 years agoadded svcCloseHandle to FSDIR_Close()
Lectem [Sun, 23 Nov 2014 21:58:11 +0000 (22:58 +0100)]
added svcCloseHandle to FSDIR_Close()

FSDIR_Close() and FSFILE_Close() should have the same behavior

10 years agoMerge pull request #38 from Lectem/patch-1
plutoo [Sun, 23 Nov 2014 19:58:58 +0000 (20:58 +0100)]
Merge pull request #38 from Lectem/patch-1

added fsExit

10 years agoadded fsExit
Lectem [Sun, 23 Nov 2014 19:57:57 +0000 (20:57 +0100)]
added fsExit

10 years agoMerge pull request #30 from Subv/cfgu_2
smea [Sun, 23 Nov 2014 02:26:35 +0000 (18:26 -0800)]
Merge pull request #30 from Subv/cfgu_2

Added more cfg:u functions

10 years agoMerge pull request #37 from yuriks/patch-1
smea [Sun, 23 Nov 2014 02:22:26 +0000 (18:22 -0800)]
Merge pull request #37 from yuriks/patch-1

Fix documentation mistakes

10 years agoFix documentation mistakes
Yuri Kunde Schlesner [Sun, 23 Nov 2014 02:18:36 +0000 (00:18 -0200)]
Fix documentation mistakes

10 years agoMerge pull request #36 from yuriks/fs-rename
smea [Sat, 22 Nov 2014 22:18:43 +0000 (14:18 -0800)]
Merge pull request #36 from yuriks/fs-rename

Add FSUSER_RenameFile and FSUSER_RenameDirectory

10 years agoAdd FSUSER_RenameFile and FSUSER_RenameDirectory
Yuri Kunde Schlesner [Sat, 22 Nov 2014 22:10:00 +0000 (20:10 -0200)]
Add FSUSER_RenameFile and FSUSER_RenameDirectory

10 years agoMerge pull request #35 from ThibG/master
plutoo [Sat, 22 Nov 2014 21:14:18 +0000 (22:14 +0100)]
Merge pull request #35 from ThibG/master

Implement PTMU_GetShellState and PTMU_GetPedometerState

10 years agoImplement PTMU_GetShellState and PTMU_GetPedometerState
Thibaut Girka [Sat, 22 Nov 2014 19:56:55 +0000 (20:56 +0100)]
Implement PTMU_GetShellState and PTMU_GetPedometerState

10 years agoMerge pull request #31 from Subv/ptm_u
plutoo [Sat, 22 Nov 2014 20:23:36 +0000 (21:23 +0100)]
Merge pull request #31 from Subv/ptm_u

Added the PTMU_GetTotalStepCount function

10 years agoremove instructions for manually patching devkitARM
Dave Murphy [Sat, 22 Nov 2014 20:17:41 +0000 (20:17 +0000)]
remove instructions for manually patching devkitARM

10 years agoMerge pull request #33 from minexew/master
smea [Sat, 22 Nov 2014 18:51:12 +0000 (10:51 -0800)]
Merge pull request #33 from minexew/master

Fix error in GPU example

10 years agoFix incorrect uniform setting in examples/gpu
Xeatheran Minexew [Sat, 22 Nov 2014 14:27:12 +0000 (15:27 +0100)]
Fix incorrect uniform setting in examples/gpu

10 years agoFix previous half-baked commit
Xeatheran Minexew [Sat, 22 Nov 2014 14:26:56 +0000 (15:26 +0100)]
Fix previous half-baked commit

10 years agoUpdated httpc code and added an example.
yellows8 [Sat, 22 Nov 2014 05:43:39 +0000 (00:43 -0500)]
Updated httpc code and added an example.

10 years agoAdded the PTMU_GetTotalStepCount function
Subv [Sat, 22 Nov 2014 04:36:48 +0000 (23:36 -0500)]
Added the PTMU_GetTotalStepCount function

10 years agoAdded more cfg:u functions
Subv [Sat, 22 Nov 2014 03:40:23 +0000 (22:40 -0500)]
Added more cfg:u functions

GetRegionCanadaUSA
GetModelNintendo2DS
GetCountryCodeString

10 years agoMerge pull request #29 from Subv/cfg_u
smea [Sat, 22 Nov 2014 03:19:57 +0000 (19:19 -0800)]
Merge pull request #29 from Subv/cfg_u

Added the cfg:u service

10 years agoAddressed some style issues
Subv [Sat, 22 Nov 2014 03:12:34 +0000 (22:12 -0500)]
Addressed some style issues

10 years agoAdded a file for the cfg:u service.
Subv [Sat, 22 Nov 2014 03:08:05 +0000 (22:08 -0500)]
Added a file for the cfg:u service.

Implemented the CFGU_GetSystemModel function

10 years agoFix typo in soc_ioctl.c
fincs [Fri, 21 Nov 2014 22:51:06 +0000 (23:51 +0100)]
Fix typo in soc_ioctl.c

10 years agolinear heap allocator: use rbtree to store allocation size information
fincs [Fri, 21 Nov 2014 22:44:57 +0000 (23:44 +0100)]
linear heap allocator: use rbtree to store allocation size information

10 years agoMake SHDR_GetUniformRegister name argument const
Xeatheran Minexew [Fri, 21 Nov 2014 21:42:25 +0000 (22:42 +0100)]
Make SHDR_GetUniformRegister name argument const

10 years agoAdd errno to error cases for FIONBIO.
mtheall [Fri, 21 Nov 2014 17:06:32 +0000 (11:06 -0600)]
Add errno to error cases for FIONBIO.

10 years agoUpdate Makefile in examples
fincs [Fri, 21 Nov 2014 15:53:28 +0000 (16:53 +0100)]
Update Makefile in examples

10 years agoMerge pull request #26 from lioncash/va
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

10 years agosoc_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

10 years agoremove temp check for CTRULIB
Dave Murphy [Fri, 21 Nov 2014 09:26:12 +0000 (09:26 +0000)]
remove temp check for CTRULIB

10 years agoAdded code for APT_IsRegistered. Added code for launching library applets, which...
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.

10 years agoignore generated archives
Dave Murphy [Thu, 20 Nov 2014 22:47:34 +0000 (22:47 +0000)]
ignore generated archives

10 years agoadd versioning, install and dist targets
Dave Murphy [Thu, 20 Nov 2014 22:47:08 +0000 (22:47 +0000)]
add versioning, install and dist targets

10 years agoOverhauled soc service.
mtheall [Thu, 20 Nov 2014 21:36:50 +0000 (15:36 -0600)]
Overhauled soc service.

10 years agoAdded svcCreateAddressArbiter() and svcArbitrateAddress()
mtheall [Thu, 20 Nov 2014 21:33:21 +0000 (15:33 -0600)]
Added svcCreateAddressArbiter() and svcArbitrateAddress()

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
mtheall [Thu, 20 Nov 2014 21:29:37 +0000 (15:29 -0600)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdd rbtree
mtheall [Thu, 20 Nov 2014 21:28:13 +0000 (15:28 -0600)]
Add rbtree

10 years agoMerge pull request #24 from profi200/master
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

10 years agoAdded comments to the app_launch example for better understanding for beginners
profi200 [Thu, 20 Nov 2014 13:58:24 +0000 (14:58 +0100)]
Added comments to the app_launch example for better understanding for beginners

10 years agoadded prototype to soc.h
smea [Thu, 20 Nov 2014 11:05:51 +0000 (03:05 -0800)]
added prototype to soc.h

10 years agoadded APT_HardwareResetAsync (tested)
smea [Thu, 20 Nov 2014 01:25:40 +0000 (17:25 -0800)]
added APT_HardwareResetAsync (tested)

10 years agorewrote GPU examples/gpu/data/test.vsh
smea [Thu, 20 Nov 2014 01:13:43 +0000 (17:13 -0800)]
rewrote GPU examples/gpu/data/test.vsh

10 years agofixed sdmc example
smea [Wed, 19 Nov 2014 23:53:36 +0000 (15:53 -0800)]
fixed sdmc example

10 years agoUpdated mvd code and added an example.
yellows8 [Wed, 19 Nov 2014 21:37:02 +0000 (16:37 -0500)]
Updated mvd code and added an example.

10 years agoWith RUNFLAG_APTWORKAROUND enabled, at the start of aptReturnToMenu just set the...
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.

10 years agoAdd sdmc.h
mtheall [Tue, 18 Nov 2014 04:33:09 +0000 (22:33 -0600)]
Add sdmc.h

10 years agoMerge pull request #22 from profi200/master
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

10 years agoFixed broken path code in sdmc_dev.c. Disabled attributes code in sdmc_open() for...
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).

10 years agogpu stuffs
smea [Sat, 15 Nov 2014 22:08:45 +0000 (14:08 -0800)]
gpu stuffs

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 13 Nov 2014 06:08:40 +0000 (22:08 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agofixed initArgv
smea [Thu, 13 Nov 2014 06:08:31 +0000 (22:08 -0800)]
fixed initArgv

10 years agoLittle fix
profi200 [Tue, 11 Nov 2014 14:07:23 +0000 (15:07 +0100)]
Little fix

10 years agoScissor test.
StapleButter [Mon, 10 Nov 2014 23:12:31 +0000 (00:12 +0100)]
Scissor test.

(if calling SetScissorTest right after SetViewport, call FinishDrawing inbetween)

10 years agoMakefile updated, added another note to the README.md file andremoved the svcSleepThr...
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

10 years agoForget the README
profi200 [Mon, 10 Nov 2014 18:23:15 +0000 (19:23 +0100)]
Forget the README

10 years agoOops that should not be included
profi200 [Mon, 10 Nov 2014 16:38:50 +0000 (17:38 +0100)]
Oops that should not be included

10 years agoAdded example for launching apps/applets
profi200 [Mon, 10 Nov 2014 16:34:11 +0000 (17:34 +0100)]
Added example for launching apps/applets

10 years agoAdded functions for launching other apps/applets
profi200 [Mon, 10 Nov 2014 16:03:41 +0000 (17:03 +0100)]
Added functions for launching other apps/applets

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Sun, 9 Nov 2014 08:40:35 +0000 (00:40 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoGPUCMD_GetBuffer, GPUCMD_AddRawCommands
smea [Sun, 9 Nov 2014 08:40:23 +0000 (00:40 -0800)]
GPUCMD_GetBuffer, GPUCMD_AddRawCommands

10 years agoMake GX_* functions accept NULL in order to use default GX cmdbuf
fincs [Sat, 8 Nov 2014 22:28:51 +0000 (23:28 +0100)]
Make GX_* functions accept NULL in order to use default GX cmdbuf

10 years agoAdd gxCmdBuf to headers
fincs [Sat, 8 Nov 2014 22:21:41 +0000 (23:21 +0100)]
Add gxCmdBuf to headers

10 years agoMinor Makefile correction
fincs [Sat, 8 Nov 2014 12:49:39 +0000 (13:49 +0100)]
Minor Makefile correction

10 years agoUpdate examples with new makefile (and remove obsolete arm11u example)
fincs [Fri, 7 Nov 2014 18:13:47 +0000 (19:13 +0100)]
Update examples with new makefile (and remove obsolete arm11u example)

10 years agoAdd 3DS application template
fincs [Fri, 7 Nov 2014 18:12:43 +0000 (19:12 +0100)]
Add 3DS application template

10 years agoStarted implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew().
yellows8 [Fri, 7 Nov 2014 00:02:55 +0000 (19:02 -0500)]
Started implementing code for new3ds mvd. Added osConvertOldLINEARMemToNew().

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
fincs [Wed, 5 Nov 2014 19:59:15 +0000 (20:59 +0100)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoAdd linearMemAlign() (current implementation sucks)
fincs [Wed, 5 Nov 2014 19:58:50 +0000 (20:58 +0100)]
Add linearMemAlign() (current implementation sucks)

10 years agomacros for texture parameters
smea [Wed, 5 Nov 2014 18:32:30 +0000 (10:32 -0800)]
macros for texture parameters