1<HTML> 2<HEAD> 3<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 4<META http-equiv="Content-Style-Type" content="text/css"> 5<TITLE>TWL-SDK Change Log</TITLE> 6</HEAD> 7<BODY style="padding-bottom: 1600px;"> 8<HR> 9<H1>TWL-SDK Revision History</H1> 10<HR> 11<DL> 12<DT> 13<A href="#sdk_5_1_%E6%AD%A3%E5%BC%8F%E7%89%88">TWL-SDK 5.1 Release Version</A> (2009/02/27)</DT> 14<DD><A href="#note71-01">Note 71-01:(DSP) Updated the audio and graphics components</A></DD> 15<DD><A href="#note71-02">Note 71-02:(DevEnv) Fixed a problem in the arena region of expanded main memory </A></DD> 16<DD><A href="#note71-03"> Note 71-03:(GX) Clarified the group of functions that ignore settings when the LCD is in the OFF state</A></DD> 17<DD><A href="#note71-04">Note 71-04:(MATH) Revised the TWL-SDK Migration Guide</A></DD> 18<DD><A href="#note71-05">Note 71-05:(MB) Fixed the HYBRID Card application clone boot </A></DD> 19<DD><A href="#note71-06">Note 71-06:(MB) Fixed the multiboot-Model and fake_child sample demos</A></DD> 20<DD><A href="#note71-07">Note 71-07:(OS) Added a process to wait for the divider to end when loading context </A></DD> 21<DD><A href="#note71-08">Note 71-08:(PM) Fixed interrupt-specific problem with PM_ForceToPowerOff</A></DD> 22<DD><A href="#note71-09">Note 71-09:(SSP) Corrected the JPEG decoding process</A></DD> 23<DD><A href="#note71-10">Note 71-10:(SSP) Fixed problem with SSP_StartJpegEncoderWithEncodeData</A></DD> 24<DD><A href="#note71-11">Note 71-11: (TOOL) Fixed tad2rom</A></DD> 25<DD><A href="#note71-12">Note 71-12:(WM) Corrected sample demos</A></DD> 26<DD><A href="#KnownIssues_5_1_%E6%AD%A3%E5%BC%8F%E7%89%88">Known Issues in NITRO-SDK version 5.1 Release Version</A></DD> 27</DL> 28<DL> 29<DT> 30<A href="#sdk_5_1_RC">TWL-SDK 5.1 RC</A> (2009/02/10)</DT> 31<DD><A href="#note70-01">Note 70-01:(CTRDG) Made CTRDG_Init a weak function</A></DD> 32<DD><A href="#note70-02">Note 70-02:(DevEnv) Revised the TWL-SDK Transition Guide</A></DD> 33<DD><A href="#note70-03">Note 70-03:(FS) Split up the FAT driver initialization functions</A></DD> 34<DD><A href="#note70-04">Note 70-04:(FS) Fixed a bug in the FS_SetSeekCache function</A></DD> 35<DD><A href="#note70-05">Note 70-05:(FS) Fixed a bug specific to system shutdown</A></DD> 36<DD><A href="#note70-06">Note 70-06:(FS) Fixed a bug specific to working with long path names</A></DD> 37<DD><A href="#note70-07">Note 70-07:(GX) Revised the GX_SetDefaultNDMA function</A></DD> 38<DD><A href="#note70-08">Note 70-08:(MB) Reduced the amount of memory consumed when using MB parent</A></DD> 39<DD><A href="#note70-09">Note 70-09:(PM) Added a note to the PM_SetLCDPower Function Reference</A></DD> 40<DD><A href="#note70-10">Note 70-10:(SND) Added API for changing sound volume</A></DD> 41<DD><A href="#note70-11">Note 70-11:(STD) Revised the STD_SearchChar* functions</A></DD> 42<DD><A href="#note70-12">Note 70-12:(TOOL) Changed NandFiler</A></DD> 43<DD><A href="#note70-13">Note 70-13:(TOOL) Added a method for displaying the size of NAND applications in TwlNmenu</A></DD> 44<DD><A href="#note70-14">Note 70-14: (TOOL) Revised WMTestTool</A></DD> 45<DD><A href="#note70-15">Note 70-15:(TOOL) Changed makerom.TWL</A></DD> 46<DD><A href="#note70-16">Note 70-16:(TOOL) Deleted mb_child_simple.srl</A></DD> 47<DD><A href="#note70-17">Note 70-17:(TOOL) Added mb_child for separate operating environments</A></DD> 48<DD><A href="#note70-18">Note 70-18:(WFS) Fixed a bug in child end process</A></DD> 49<DD><A href="#note70-19">Note 70-19:(WM) Added the rssi member to the WMPortRecvCallback structure</A></DD> 50<DD><A href="#note70-20">Note 70-20:(MISC) Revised the sample demos</A></DD> 51<DD><A href="#KnownIssues_5_1_RC">Known Issues in NITRO-SDK Version 5.1 RC</A></DD> 52</DL> 53<DL> 54<DT> 55<A href="#sdk_5_1_PR2">TWL-SDK 5.1 PR2</A> (2009/01/15)</DT> 56<DD><A href="#note69-01">Note 69-01:(CAMERA) Revised demo</A></DD> 57<DD><A href="#note69-02">Note 69-02:(CARD) Strengthened card access determination</A></DD> 58<DD><A href="#note69-03">Note 69-03:(DSP) Changed the DSP_PlayShutterSound function</A></DD> 59<DD><A href="#note69-04">Note 69-04:(DevEnv) Updated the TWL-SDK Transition Guide</A></DD> 60<DD><A href="#note69-05">Note 69-05:(EL) Added the EL_CalcEnoughBufferSizeforLink* functions</A></DD> 61<DD><A href="#note69-06">Note 69-06:(EL) Added the EL_GetResultCode function</A></DD> 62<DD><A href="#note69-07">Note 69-07:(EL) Revised the EL_Unlink function</A></DD> 63<DD><A href="#note69-08">Note 69-08:(FS) Added the FS_ForceToEnableLatencyEmulation function</A></DD> 64<DD><A href="#note69-09">Note 69-09:(GX) Corrected the Sub_Double3D sample demo</A></DD> 65<DD><A href="#note69-10">Note 69-10:(MB) Added text about the pseudo-Download Play feature</A></DD> 66<DD><A href="#note69-11">Note 69-11:(NA) Updated the NAND Application Development Manual</A></DD> 67<DD><A href="#note69-12">Note 69-12:(OS) Expanded OSMutex</A></DD> 68<DD><A href="#note69-13">Note 69-13:(PM) Made revisions specific to turning off the LCD</A></DD> 69<DD><A href="#note69-14">Note 69-14:(SND) Added the SNDEX_GetCurrentVolume[Async] functions</A></DD> 70<DD><A href="#note69-15">Note 69-15:(SND) Restricted repeated execution of SNDEX_SetVolume[Async] functions</A></DD> 71<DD><A href="#note69-16">Note 69-16:(SND) Fixed method of exclusive control when continuously playing shutter sound</A></DD> 72<DD><A href="#note69-17">Note 69-17:(SSP) Added the SSP_ExtractJpegDecoderExif function</A></DD> 73<DD><A href="#note69-18">Note 69-18:(SSP) Fixed a bug in the SSP_StartJpegDecoder function</A></DD> 74<DD><A href="#note69-19">Note 69-19:(SSP) Fixed a bug in the SSP_StartJpegDecoder function</A></DD> 75<DD><A href="#note69-20">Note 69-20:(SSP) Integrated the demos</A></DD> 76<DD><A href="#note69-21">Note 69-21:(TOOL) Added features to NandFiler for importing and exporting Save Data</A></DD> 77<DD><A href="#note69-22">Note 69-22:(TOOL) Changed makerom.TWL</A></DD> 78<DD><A href="#note69-23">Note 69-23:(TOOL) Added the tad2rom tool</A></DD> 79<DD><A href="#note69-24">Note 69-24:(WM) Fixed a problem with the execution of the WM_SetMPDataToPort function callback</A></DD> 80<DD><A href="#KnownIssues_5_1_PR2">Known Problems with SDK 5.1 PR2</A></DD> 81</DL> 82<DL> 83<DT> 84<A href="#sdk_5_1_PR">TWL-SDK 5.1 PR</A> (2008/12/10)</DT> 85<DD><A href="#note68-01">Note 68-01:(CAMERA) Fixed infinite loop bug in CAMERA_Init function</A></DD> 86<DD><A href="#note68-02">Note 68-02:(CARD) Changed the default settings of the cache disable operations</A></DD> 87<DD><A href="#note68-03">Note 68-03:(CARD) Added functions to determine operating mode</A></DD> 88<DD><A href="#note68-04">Note 68-04:(CRYPTO) Changed the padding method for RSA encryption</A></DD> 89<DD><A href="#note68-05">Note 68-05:(CRYPTO) Changed the library's section placement</A></DD> 90<DD><A href="#note68-06">Note 68-06:(DSP) Fixed a bug in the DSP_PlaySound function</A></DD> 91<DD><A href="#note68-07">Note 68-07:(DSP) Revised the timing of shutter sound playback</A></DD> 92<DD><A href="#note68-08">Note 68-08:(DSP) Fixed a problem with stereo sound playback</A></DD> 93<DD><A href="#note68-09">Note 68-09:(DSP) Restricted playable shutter sound data</A></DD> 94<DD><A href="#note68-10">Note 68-10:(DevEnv) Added documentation for ARM7 components</A></DD> 95<DD><A href="#note68-11">Note 68-11:(DevEnv) Added ARM7 component</A></DD> 96<DD><A href="#note68-12">Note 68-12:(DevEnv) Corrected the BuildFinalRom demo</A></DD> 97<DD><A href="#note68-13">Note 68-13:(DevEnv) Added build switch to disable IS-NITRO-DEBUGGER debug features</A></DD> 98<DD><A href="#note68-14">Note 68-14:(DevEnv) Made revisions relating to NITRO build Static segment</A></DD> 99<DD><A href="#note68-15">Note 68-15:(DevEnv) Added guide for transition from NITRO-SDK</A></DD> 100<DD><A href="#note68-16">Note 68-16:(ENV) Corrected API name of ENV_SetResourceSetArray function</A></DD> 101<DD><A href="#note68-17">Note 68-17:(FS) Added the FS_ATTRIBUTE_IS_OFFLINE flag</A></DD> 102<DD><A href="#note68-18">Note 68-18:(FS) Fixed a bug in the FS_GetSeekCacheSize function</A></DD> 103<DD><A href="#note68-19">Note 68-19:(FS) Fixed bugs in the FS_SetSeekCache and FS_SeekFile functions</A></DD> 104<DD><A href="#note68-20">Note 68-20:(FS) Revised the overlay-staticinit demo</A></DD> 105<DD><A href="#note68-21">Note 68-21:(FS) Added functions to determine archive status</A></DD> 106<DD><A href="#note68-22">Note 68-22:(FS) Made revisions specific to cache operation when accessing files</A></DD> 107<DD><A href="#note68-23">Note 68-23:(GX) Revised the Sub_Double3D sample demo</A></DD> 108<DD><A href="#note68-24">Note 68-24:(MB) Added formal support for HYBRID program clone boot feature</A></DD> 109<DD><A href="#note68-25">Note 68-25:(NA) Revised the NA_LoadSharedFontTable function</A></DD> 110<DD><A href="#note68-26">Note 68-26:(OS) Made OS_GetSerialNo a private function</A></DD> 111<DD><A href="#note68-27">Note 68-27:(OS) Changed the OS_ResetSystem function process</A></DD> 112<DD><A href="#note68-28">Note 68-28:(OS) Revised references to arena and protection region</A></DD> 113<DD><A href="#note68-29">Note 68-29:(OS) Revised functions that get Parental Control status</A></DD> 114<DD><A href="#note68-30">Note 68-30:(PM) Added the pm-2 demo</A></DD> 115<DD><A href="#note68-31">Note 68-31:(PM) Added exclusive control for hardware reset and application jumps</A></DD> 116<DD><A href="#note68-32">Note 68-32:(PM) Fixed a bug with hardware reset</A></DD> 117<DD><A href="#note68-33">Note 68-33:(SND) Prohibited changing DSPMixRate during shutter sound playback</A></DD> 118<DD><A href="#note68-34">Note 68-34:(SND) Prohibited execution of SNDEX functions during shutter sound playback</A></DD> 119<DD><A href="#note68-35">Note 68-35:(SND) Fixed a problem related to the execution of multiple SNDEX functions</A></DD> 120<DD><A href="#note68-36">Note 68-36:(SND) Corrected return value typo in asynchronous function references</A></DD> 121<DD><A href="#note68-37">Note 68-37:(SSP) Revised behavior in HYBRID build NITRO mode</A></DD> 122<DD><A href="#note68-38">Note 68-38:(SSP) Privatized the JPEG encode/decode signature feature</A></DD> 123<DD><A href="#note68-39">Note 68-39:(SSP) Added the SSP_ConvertJpegEncodeData and SSP_StartJpegEncoderWithEncodeData functions</A></DD> 124<DD><A href="#note68-40">Note 68-40:(TOOL) Fixed bugs in NandFiler</A></DD> 125<DD><A href="#note68-41">Note 68-41:(TOOL) Added a TWL version of mb_child.srl</A></DD> 126<DD><A href="#note68-42">Note 68-42:(TOOL) Added a TWL screen banner viewer to addbanner</A></DD> 127<DD><A href="#note68-43">Note 68-43: (TOOL) Revisions to buryarg.TWL</A></DD> 128<DD><A href="#note68-44">Note 68-44:(TOOL) Expanded cmptad functionality</A></DD> 129<DD><A href="#note68-45">Note 68-45:(TOOL) Enhanced error-checking functionality of compstatic tool</A></DD> 130<DD><A href="#note68-46">Note 68-46:(TOOL) Revised makebanner and makebanner.TWL</A></DD> 131<DD><A href="#note68-47">Note 68-47: (TOOL) Changed <CODE>makerom.TWL.exe</CODE></A></DD> 132<DD><A href="#note68-48">Note 68-48:(TOOL) Changed makerom.exe</A></DD> 133<DD><A href="#note68-49">Note 68-49:(TOOL) Added functionality to showversion to display build mode</A></DD> 134<DD><A href="#note68-50">Note 68-50:(TOOL) Added background graphic for banner previewing</A></DD> 135<DD><A href="#note68-51">Note 68-51:(WM) Fixed a bug in MP communication during component overload</A></DD> 136<DD><A href="#note68-52">Note 68-52:(WM) Changed behavior for Wireless OFF mode</A></DD> 137<DD><A href="#note68-53">Note 68-53:(WVR) Fixed a bug in Wireless library shutdown in switchover demo</A></DD> 138<DD><A href="#note68-54">Note 68-54: (MISC) Changed part of the banner format</A></DD> 139<DD><A href="#KnownIssues_5_1_PR">Known Issues in NITRO-SDK Version 5.1 PR</A></DD> 140</DL> 141<DL> 142<DT> 143<A href="#sdk_5_00">TWL-SDK 5.0 Release Version</A> (2008/10/23) 144<DD><A href="#note67-01">Note 67-01: (CAMERA) Corrected error handling for <CODE>simpleShoot-1</CODE>, <CODE>simpleShoot-2</CODE></A> 145<DD><A href="#note67-02">Note 67-02: (CAMERA) Revised the <CODE>simpleShoot-2</CODE> demo</A> 146<DD><A href="#note67-03">Note 67-03: (CARD) Support for parent backup device</A> 147<DD><A href="#note67-04">Note 67-04: (DSP) Revised synchronous version of the DSP graphics component function</A> 148<DD><A href="#note67-05">Note 67-05: (DSP) Corrected inconsistency in the results of the <CODE>DSP_Scaling*</CODE> and <CODE>DSP_CalcScalingFactor*</CODE> functions</A> 149<DD><A href="#note67-06">Note 67-06: (DSP) Revised termination process for each DSP component</A> 150<DD><A href="#note67-07">Note 67-07:(DevEnv) Updated documents specific to the build switch</A> 151<DD><A href="#note67-08">Note 67-08: (FS) Improved open determination for TWL-exclusive files</A> 152<DD><A href="#note67-09">Note 67-09: (MB) Added a switch for the build mode on multiboot-wfs distributed child devices</A> 153<DD><A href="#note67-10">Note 67-10: (MI) Added the <CODE>MI_SendNDmaGXCommand*</CODE> functions</A> 154<DD><A href="#note67-11">Note 67-11:(OS) Added the <CODE>OS_IsCodecTwlMode</CODE> function</A> 155<DD><A href="#note67-12">Note 67-12: (OS) Added the demo for the <CODE>OS_JumpTo*</CODE> functions</A> 156<DD><A href="#note67-13">Note 67-13: (OS) Added a function to get the status of parental controls</A> 157<DD><A href="#note67-14">Note 67-14: (OS) Movement of the function reference's Operating Environment section</A> 158<DD><A href="#note67-15">Note 67-15: (PM) Added exclusive control for hardware resets and application jumps</A> 159<DD><A href="#note67-16">Note 67-16: (PM) Revised Power Button process</A> 160<DD><A href="#note67-17">Note 67-17: (SCFG) Adjusted SCFG functions</A> 161<DD><A href="#note67-18">Note 67-18: (SND) Abolished headphone mute when setting the IIR filter (targeting microphone input)</A> 162<DD><A href="#note67-19">Note 67-19: (SND) Fixed a <CODE>SNDEX_SetVolumeSwitchCallback</CODE> function bug</A> 163<DD><A href="#note67-20">Note 67-20: (SND) Added functionality to the <CODE>extraFunc</CODE> demo</A> 164<DD><A href="#note67-21">Note 67-21: (SSP) NITRO mode support for the JPEG library</A> 165<DD><A href="#note67-22">Note 67-22: (SSP) Added error processing for the <CODE>SSP_StartJpegEncoder</CODE> function</A> 166<DD><A href="#note67-23">Note 67-23: (STD) Handled a bug where the <CODE>STD_CompareNString</CODE> function would not return correct values</A> 167<DD><A href="#note67-24">Note 67-24: (STD) Revised the <CODE>STD_ConvertAsciiToInt</CODE> and <CODE>STD_ConvertAsciiToLong</CODE> functions</A> 168<DD><A href="#note67-25">Note 67-25: (STD) Revised the <CODE>STD_TSNPrintf</CODE>, <CODE>STD_TSPrintf</CODE>, <CODE>STD_TVSNPrintf</CODE>, and <CODE>STD_TVSPrintf</CODE> functions</A> 169<DD><A href="#note67-26">Note 67-26: (STD) Revised the <CODE>STD_TSScanf</CODE> and <CODE>STD_TVSScanf</CODE> functions</A> 170<DD><A href="#note67-27">Note 67-27: (TOOL) Added backup and restore features for saved data in <CODE>NandFiler</CODE></A> 171<DD><A href="#note67-28">Note 67-28: (TOOL) Added the ability to import from DS cards to <CODE>TwINmenu</CODE></A> 172<DD><A href="#note67-29">Note 67-29: (TOOL) Added the <CODE>cmptad</CODE> tool</A> 173<DD><A href="#note67-30">Note 67-30: (TOOL) Added <CODE>makebanner.exe</CODE> and <CODE>makebanner.TWL.exe</CODE> warnings</A> 174<DD><A href="#note67-31">Note 67-31: (TOOL) Added <CODE>makelst</CODE> and <CODE>stripdebug</CODE> references</A> 175<DD><A href="#note67-32">Note 67-32: (TOOL) Changed <CODE>makerom.TWL.exe</CODE></A> 176<DD><A href="#note67-33">Note 67-33: (TOOL) Added a feature to <CODE>maketad</CODE> to create an SRL file for writing to a DS card</A> 177<DD><A href="#note67-34">Note 67-34: (TWL Wireless) Fixed a bug where the system would hang when a reset is applied during TWL wireless communication</A> 178<DD><A href="#KnownIssues_5_00">Known Issues in NITRO-SDK version 5.0 Release Version</A> 179</DL> 180<HR> 181<H2 style="line-height: 0"><A name="sdk_5_1_%E6%AD%A3%E5%BC%8F%E7%89%88">TWL-SDK Version 5.1 Official Release</A></H2> 182<DIV style="text-align: right"><P style="line-height: 0">(2009/02/27)</P></DIV> 183<HR> 184<H3><A name="note71-01">Note 71-01:(DSP) Updated the audio and graphics components</A></H3> 185<P><description>The DSP's internal data transfer process was updated, so the components have also been updated.</description></P> 186<HR> 187<H3><A name="note71-02">Note 71-02:(DevEnv) Fixed a problem in the arena region of expanded main memory </A></H3> 188<P><description>In TWL mode, even if the auto-load module was placed in expanded main memory, this would not be taken into consideration and the expanded main memory arena would be allocated from the start of expanded main memory. This problem was corrected by revising the <CODE>lcf template</CODE> file.</description></P> 189<HR> 190<H3><A name="note71-03"> Note 71-03:(GX) Clarified the group of functions that ignore settings when the LCD is in the OFF state</A></H3> 191<P><description>When the LCD display is in the OFF state the GX circuitry clock is paused, so settings configured during that time are ignored in a number of functions. <br>This fact has been added to the reference information for the following functions. 192 <ul> 193<li>GX_SetMasterBrightness.html</li> 194<li>GXS_SetMasterBrightness.html</li> 195<li>GX_SetCapture.html</li> 196<li>GX_ResetCapture.html</li> 197 </ul> 198 </description></P> 199<HR> 200<H3><A name="note71-04">Note 71-04:(MATH) Revised the TWL-SDK Migration Guide</A></H3> 201<P><description>Added the section <I>2.11 MATH MD5 Function Not Recommended</I> to the document $TwlSDK/docs/TechnicalNotes/AboutNitroToTwl.pdf.</description></P> 202<HR> 203<H3><A name="note71-05">Note 71-05:(MB) Fixed the HYBRID Card application clone boot </A></H3> 204<P><description>When a HYBRID-build card application operating in the hardware environment conducted a clone boot, the process would forcibly stop on a CARD library validity check. This problem, which was caused by unnecessary ROM access, has been fixed.</description></P> 205<HR> 206<H3><A name="note71-06">Note 71-06:(MB) Fixed the multiboot-Model and fake_child sample demos</A></H3> 207<P><description>During initialization of the <CODE>multiboot-Model</CODE> and <CODE>fake_child</CODE> demos, if the call to the <CODE>GX_VBlankIntr</CODE> function was late and the child became <CODE>mb_child_***.srl</CODE>, sometimes the screen after the boot would not display. This problem has been fixed.<br><br> Also, the build modes in <CODE>multiboot-Model</CODE> were restricted to NITRO mode for no reason, so this restriction was eliminated.</description></P> 208<HR> 209<H3><A name="note71-07">Note 71-07:(OS) Added a process to wait for the divider to end when loading context </A></H3> 210<P><description>When <CODE>OS_LoadContext</CODE> was called while operating in TWL mode, sometimes the process would exit from the function without waiting for the end of the divider's calculation after the context was loaded. To correct this, the process now waits for the calculation to end when operating in TWL mode.</description></P> 211<HR> 212<H3><A name="note71-08">Note 71-08:(PM) Fixed interrupt-specific problem with PM_ForceToPowerOff</A></H3> 213<P><description>When the <CODE>PM_ForceToPowerOff</CODE> function was called to turn the power off at a time when interrupts were prohibited and the LCD was in the OFF state, the program would halt. <br> This problem has been fixed.</description></P> 214<HR> 215<H3><A name="note71-09">Note 71-09:(SSP) Corrected the JPEG decoding process</A></H3> 216<P><description>For some images, the JPEG decoding process would not yield the intended decoding result. This has been corrected.</description></P> 217<HR> 218<H3><A name="note71-10">Note 71-10:(SSP) Fixed problem with SSP_StartJpegEncoderWithEncodeData</A></H3> 219<P><description>When JPEG encoding was performed using the <CODE>SSP_StartJpegEncoderWithEncodeData</CODE> function, the thumbnails could not be created correctly. This has been fixed.</description></P> 220<HR> 221<H3><A name="note71-11">Note 71-11: (TOOL) Fixed tad2rom</A></H3> 222<P><description>The program would crash if the argument did not contain the forward slash ( / ). This problem has been fixed.</description></P> 223<HR> 224<H3><A name="note71-12">Note 71-12:(WM) Corrected sample demos</A></H3> 225<P>In the following sample demos, the port number used for wireless communications differed from the corresponding demos contained in Revolution SDK Extension. This prevented normal communications between Wii and DS systems, and has been fixed. 226 <ul> 227<li>mp_simple1</li> 228<li>datashare-1</li> 229 </ul> 230 </description></P> 231<HR> 232<H3><A name="KnownIssues_5_1_%E6%AD%A3%E5%BC%8F%E7%89%88">Known Issues in NITRO-SDK version 5.1 Release Version</A></H3> 233<knownissues><description> 234 <ul> 235<li>If a program built in hybrid mode is run in a NITRO environment, any argument data that was embedded with the <CODE>buryarg</CODE> tool cannot be accessed properly.</li> 236<li>FINALROM application jumps do not work properly on TS boards.</li> 237 </ul> 238 </description></knownissues><HR> 239<H2 style="line-height: 0"><A name="sdk_5_1_RC">TWL-SDK Version 5.1 RC</A></H2> 240<DIV style="text-align: right"><P style="line-height: 0">(2009/02/10)</P></DIV> 241<HR> 242<H3><A name="note70-01">Note 70-01:(CTRDG) Made CTRDG_Init a weak function</A></H3> 243<P><description>The <CODE>CTRDG_Init</CODE> function could be called from the <CODE>OS_Init</CODE> function without using any CTRDG functions. A number of CTRDG functions would then be linked, taking up a large amount of memory.<br> The <CODE>CTRDG_Init</CODE> function has been converted to a weak function. For applications that do not access Game Paks, definitions can be altered to reduce the amount of memory taken up by the CTRDG library.<br> For more information, see the <CODE>CTRDG_DummyInit</CODE> function.</description></P> 244<HR> 245<H3><A name="note70-02">Note 70-02:(DevEnv) Revised the TWL-SDK Transition Guide</A></H3> 246<P><description>Added information to sections 3.1 and 5.1 in the <CODE>$TwlSDK/docs/TechnicalNotes/AboutNitroToTwl.pdf</CODE> documentation, mentioning that the library uses more memory when you transition from NITRO-SDK to TWL-SDK NITRO or HYBRID ROM.</description></P> 247<HR> 248<H3><A name="note70-03">Note 70-03:(FS) Split up the FAT driver initialization functions</A></H3> 249<P><description>Because normal card-boot applications do not use NAND system memory or an SD memory card, the FAT driver initialization function has been split up so applications do not link to FAT drivers when they do not need to.<br> If your HYBRID build card-boot application uses NAND system memory or an SD memory card, you need to call the <CODE>FS_InitFatDriver</CODE> function in addition to the <CODE>FS_Init</CODE> function.</description></P> 250<HR> 251<H3><A name="note70-04">Note 70-04:(FS) Fixed a bug in the FS_SetSeekCache function</A></H3> 252<P><description>If the address for the start or the end of the buffer specified by the <CODE>FS_SetSeekCache</CODE> function did not align with the cache boundary, subsequent seek operations were unpredictable. This bug has been fixed.<br> Accordingly, the <CODE>FS_GetSeekCacheSize</CODE> function now returns a 64-byte value to accommodate cache boundary padding.</description></P> 253<HR> 254<H3><A name="note70-05">Note 70-05:(FS) Fixed a bug specific to system shutdown</A></H3> 255<P><description>If the power button was pressed while a 2 MB or larger file was being written or read from NAND system memory, the shutdown sequence occasionally would not complete. That bug has been fixed.</description></P> 256<HR> 257<H3><A name="note70-06">Note 70-06:(FS) Fixed a bug specific to working with long path names</A></H3> 258<P><description>When dealing with path names that reached the FAT upper limit of 255 characters, operations that should succeed would occasionally return <CODE>FS_RESULT_NO_ENTRY</CODE> and fail. That bug has been corrected.</description></P> 259<HR> 260<H3><A name="note70-07">Note 70-07:(GX) Revised the GX_SetDefaultNDMA function</A></H3> 261<P><description>When a HYBRID build was operating in NITRO mode, the <CODE>GX_SetDefaultNDMA</CODE> function would be called. That has been corrected.</description></P> 262<HR> 263<H3><A name="note70-08">Note 70-08:(MB) Reduced the amount of memory consumed when using MB parent</A></H3> 264<P><description>The buffer used for scanning when using MB child functionality (DS Download Play only) was also linked when using MB parent functionality. To reduce memory consumption, this has been revised so the buffer is not linked when it is not needed.</description></P> 265<HR> 266<H3><A name="note70-09">Note 70-09:(PM) Added a note to the PM_SetLCDPower Function Reference</A></H3> 267<P><description>As a result of the revision described in <a href="changelog.html#note69-13">Note 69-13</a>, you no longer need to make a separate call to the GX_DispOn function when you use the the PM_SetLCDPower function to turn the LCD back on. This has been added to the function reference.</description></P> 268<HR> 269<H3><A name="note70-10">Note 70-10:(SND) Added API for changing sound volume</A></H3> 270<P><description>Two functions, <CODE>SNDEX_SetIgnoreHWVolume</CODE> and <CODE>SNDEX_ResetIgnoreHWVolume</CODE>, have been added. They allow you to preset a value that you want to use to change the sound volume, to temporarily change to that value, and to revert back to the original volume.<br> You need to conform to the Programming Guidelines when using these two functions.<br><br> In addition, the <CODE>$TwlSDK/build/demos.TWL/snd/ignoreHWVolumeDemo</CODE> sample demo has been added. The demo uses these two functions to play sounds at the specified volume for a specified time.</description></P> 271<HR> 272<H3><A name="note70-11">Note 70-11:(STD) Revised the STD_SearchChar* functions</A></H3> 273<P><description>Revised the <CODE>STD_SearchChar</CODE> and <CODE>STD_SearchCharReverse</CODE> functions to enable searching for null characters.</description></P> 274<HR> 275<H3><A name="note70-12">Note 70-12:(TOOL) Changed NandFiler</A></H3> 276<P><description>Made the following changes to <CODE>NandFiler</CODE>: 277 <ul> 278<li>When a file of 0 bytes in size was opened, the system would freeze. That bug has been fixed.</li> 279<li>Directories and files are now sorted for display.</li> 280 </ul> 281 </description></P> 282<HR> 283<H3><A name="note70-13">Note 70-13:(TOOL) Added a method for displaying the size of NAND applications in TwlNmenu</A></H3> 284<P><description>Added the display of the overall size (<CODE>TitleSize</CODE>) of an imported NAND application in units of KB.</description></P> 285<HR> 286<H3><A name="note70-14">Note 70-14: (TOOL) Revised WMTestTool</A></H3> 287<P><description>Sometimes the system would freeze on <CODE>scanEx test</CODE> in the <CODE>WMTestTool</CODE>. That bug has been corrected.</description></P> 288<HR> 289<H3><A name="note70-15">Note 70-15:(TOOL) Changed makerom.TWL</A></H3> 290<P><description>Made the following changes to <CODE>makerom.TWL</CODE>. 291 <ul> 292<li>Changed the <CODE>wramMapping</CODE> property so <CODE>MAP_TS_HYB</CODE> and <CODE>MAP_TS_LTD</CODE> cannot be specified. (Before they could be specified, even though they could not be used.)</li> 293<li>Changed the <CODE>CardRegion</CODE> property to allow the setting of multiple regions as shown below. 294 <ul> 295<li>Europe and Australia: EuropeAndAustralia</li> 296<li>North America and Australia: AmericaAndAustralia</li> 297<li>North America, Europe and Australia: AmericaAndEuropeAndAustralia</li> 298 </ul> 299 </li> 300<li>In the <CODE>Rating</CODE> section, added the <CODE>Unnecessary</CODE>property for times when a rating does not need to be displayed.<br>Also, an error is now output if you set values that are not defined by the rating organizations.</li> 301 </ul> 302 303 </description></P> 304<HR> 305<H3><A name="note70-16">Note 70-16:(TOOL) Deleted mb_child_simple.srl</A></H3> 306<P><description>Deleted the <CODE>mb_child_simple.srl</CODE> independent downloader in combination with renaming the <CODE>mb_child</CODE> program. </description></P> 307<HR> 308<H3><A name="note70-17">Note 70-17:(TOOL) Added mb_child for separate operating environments</A></H3> 309<P><description>Added <CODE>mb_child_[NITRO|TWL].srl </CODE> for IS-NITRO-EMULATOR and the NITRO environment, and for IS-TWL-DEBUGGER and the TWL environment, each with the same specification as the respective DS Download Play specifications.<br> The <CODE>mb_child</CODE> included up until the previous version is the same as the newly added <CODE>mb_child_TWL.srl</CODE>.</description></P> 310<HR> 311<H3><A name="note70-18">Note 70-18:(WFS) Fixed a bug in child end process</A></H3> 312<P><description>When WFS for a child was ended by a call to the <CODE>WFS_EndClient</CODE> function, and a ROM archive was subsequently accessed, the process would stop on a data access exception.</description></P> 313<HR> 314<H3><A name="note70-19">Note 70-19:(WM) Added the rssi member to the WMPortRecvCallback structure</A></H3> 315<P><description>The <CODE>rssi</CODE> member has been added to the <CODE>WMPortRecvCallback</CODE> structure to get information about receiver sensitivity for data (frames) received during MP communication.</description></P> 316<HR> 317<H3><A name="note70-20">Note 70-20:(MISC) Revised the sample demos</A></H3> 318<P><description>Revised a number of sample demos that randomly called <CODE>OS_SetIrqMask</CODE> to control interrupts during program initialization.</description></P> 319<HR> 320<H3><A name="KnownIssues_5_1_RC">Known Issues in NITRO-SDK Version 5.1 RC</A></H3> 321<knownissues><description> 322 <ul> 323<li>If a program built in Hybrid mode is run in a NITRO environment, any argument data that was embedded with the <CODE>buryarg</CODE> tool cannot be accessed properly.</li> 324<li>FINALROM application jumps do not work properly on TS boards.</li> 325 </ul> 326 </description></knownissues><HR> 327<H2 style="line-height: 0"><A name="sdk_5_1_PR2">TWL-SDK Version 5.1 PR2</A></H2> 328<DIV style="text-align: right"><P style="line-height: 0">(2009/01/15)</P></DIV> 329<HR> 330<H3><A name="note69-01">Note 69-01:(CAMERA) Revised demo</A></H3> 331<P><description>A portion of the CAMERA library demo did not comply with the camera specifications. That has been corrected.</description></P> 332<HR> 333<H3><A name="note69-02">Note 69-02:(CARD) Strengthened card access determination</A></H3> 334<P><description>Strengthened the library's internal determination process so programs that start in any mode other than Card Boot do not inadvertently access DS Cards that are in an unknown state.</description></P> 335<HR> 336<H3><A name="note69-03">Note 69-03:(DSP) Changed the DSP_PlayShutterSound function</A></H3> 337<P><description>Until now, <CODE>FALSE</CODE> was returned when forced output of the sound failed inside the <CODE>DSP_PlayShutterSound</CODE> function. That has been changed so the process is now retried inside the function until it is successful.<br><br> With this revision, the <CODE>DSP_PlayShutterSound</CODE> function now only returns <CODE>FALSE</CODE> when the specified shutter sound does not match the I2S operating frequency.</description></P> 338<HR> 339<H3><A name="note69-04">Note 69-04:(DevEnv) Updated the TWL-SDK Transition Guide</A></H3> 340<P><description>Text about the <CODE>Static</CODE> module in NITRO ROM has been deleted from <CODE>$TwlSDK/docs/TechnicalNotes/AboutNitroToTwl.pdf</CODE> because it is not needed starting with TWL-SDK 5.1 PR.<br> In addition, some of the text about ROM archives in NAND applications was edited for accuracy.</description></P> 341<HR> 342<H3><A name="note69-05">Note 69-05:(EL) Added the EL_CalcEnoughBufferSizeforLink* functions</A></H3> 343<P><description>The following functions have been added to calculate the size of buffers needed for dynamic links. 344 <ul> 345<li>EL_CalcEnoughBufferSizeforLink</li> 346<li>EL_CalcEnoughBufferSizeforLinkFile</li> 347<li>EL_CalcEnoughBufferSizeforLinkImage</li> 348 </ul> 349 </description></P> 350<HR> 351<H3><A name="note69-06">Note 69-06:(EL) Added the EL_GetResultCode function</A></H3> 352<P><description>Added the <CODE>EL_GetResultCode</CODE> function, which can be used to get details about the result of the process last performed by EL.</description></P> 353<HR> 354<H3><A name="note69-07">Note 69-07:(EL) Revised the EL_Unlink function</A></H3> 355<P><description>The <CODE>EL_Unlink</CODE> function always returned 0, regardless of success or failure. That has been corrected.</description></P> 356<HR> 357<H3><A name="note69-08">Note 69-08:(FS) Added the FS_ForceToEnableLatencyEmulation function</A></H3> 358<P><description>Added the <CODE>FS_ForceToEnableLatencyEmulation</CODE> function to forcibly enable the feature to simulate waits because the feature is disabled for the FINALROM build.</description></P> 359<HR> 360<H3><A name="note69-09">Note 69-09:(GX) Corrected the Sub_Double3D sample demo</A></H3> 361<P><description>The previous correction to the Sub_Double3D demo (<a href="changelog.html#note68-23">Note 68-23</a>) was updated. The same kind of correction was made to <CODE>DEMOLib</CODE>.</description></P> 362<HR> 363<H3><A name="note69-10">Note 69-10:(MB) Added text about the pseudo-Download Play feature</A></H3> 364<P><description>Added an overview of the MB library's pseudo-Download Play functionality and an explanation of the <CODE>fake_child</CODE>sample that uses this to <CODE>$TwlSDK/docs/technicalNotes/AboutMultiBoot.pdf</CODE>.</description></P> 365<HR> 366<H3><A name="note69-11">Note 69-11:(NA) Updated the NAND Application Development Manual</A></H3> 367<P><description>Added a precaution about simple debugging in section 6.2 of <CODE>$TwlSDK/docs/TechnicalNotes/NandAppManual.pdf</CODE>.<br> Note that a NAND application executed from an SRL file on IS-TWL-DEBUGGER will behave differently than the released version.</description></P> 368<HR> 369<H3><A name="note69-12">Note 69-12:(OS) Expanded OSMutex</A></H3> 370<P><description>Added implementations of <CODE>read/write lock</CODE> to <CODE>mutex</CODE> in the OS library. <br>The following functions have been added. 371 <ul> 372<li>OS_LockMutexR</li> 373<li>OS_LockMutexW</li> 374<li>OS_UnlockMutexR</li> 375<li>OS_UnlockMutexW</li> 376<li>OS_UnlockMutexRW</li> 377<li>OS_TryLockMutexR</li> 378<li>OS_TryLockMutexW</li> 379<li>OS_LockMutexFromRToW</li> 380<li>OS_LockMutexFromWToR</li> 381<li>OS_TryLockMutexFromRToW</li> 382<li>OS_TryLockMutexFromWToR</li> 383 </ul> 384This change was actually implemented in the 5.1 PR version, but it was left out of the <CODE>changelog</CODE> file.</description></P> 385<HR> 386<H3><A name="note69-13">Note 69-13:(PM) Made revisions specific to turning off the LCD</A></H3> 387<P><description>In order to turn the LCD off with the <CODE>PM_SetLCDPower</CODE> function, a call must be made to the <CODE>GX_DispOff </CODE> function. <CODE>PM_SetLCDPower</CODE> has been revised so that it internally calls <CODE>GX_DispOff</CODE> if it is not called by the application.</description></P> 388<HR> 389<H3><A name="note69-14">Note 69-14:(SND) Added the SNDEX_GetCurrentVolume[Async] functions</A></H3> 390<P>There are now two types of sound volume values: the sound volume of the console, and the pending sound volume (see also <A href="changelog.html#note69-15">Note 69-15</a>).<br>Therefore, the <CODE>SNDEX_GetCurrentVolume[Async]</CODE> functions have been added to get the current console volume value.<br>The <CODE>SNDEX_GetVolume[Async]</CODE> functions get the pending volume value. If there is no pending value they get the current value.<br><br>The pending volume value is applied after several frames, so if <CODE>SNDEX_SetVolume[Async]</CODE> functions are being frequently used, or if you do not want to get the exact sound volume of the console at the time the function is called, there is no need to use the<CODE>SNDEX_GetCurrentVolume[Async]</CODE> functions.</P> 391<HR> 392<H3><A name="note69-15">Note 69-15:(SND) Restricted repeated execution of SNDEX_SetVolume[Async] functions</A></H3> 393<P><description>There is a limit to the number of times that the sound volume value can be stored in dedicated nonvolatile memory, so restrictions have been placed on the <CODE>SNDEX_SetVolume[Async]</CODE> functions. Sound volume values set by functions are held pending for roughly 10 frames before they are written. After the pending time has ended the value that is written is the value that was most recently set.</description></P> 394<HR> 395<H3><A name="note69-16">Note 69-16:(SND) Fixed method of exclusive control when continuously playing shutter sound</A></H3> 396<P><description>When the operation for continuous playback of shutter sound was repeated, exclusive control inside the SND library did not work well and the process would stop on a <CODE>Panic</CODE>. That bug has been fixed.</description></P> 397<HR> 398<H3><A name="note69-17">Note 69-17:(SSP) Added the SSP_ExtractJpegDecoderExif function</A></H3> 399<P><description>Added the <CODE>SSP_ExtractJpegDecoderExif </CODE> function for extracting only EXIF information from JPEG files.</description></P> 400<HR> 401<H3><A name="note69-18">Note 69-18:(SSP) Fixed a bug in the SSP_StartJpegDecoder function</A></H3> 402<P><description>Fixed a bug that caused the <CODE>SSP_StartJpegDecoder</CODE> function to halt internally for certain files.</description></P> 403<HR> 404<H3><A name="note69-19">Note 69-19:(SSP) Fixed a bug in the SSP_StartJpegDecoder function</A></H3> 405<P><description>Fixed the problem of an internal stack overflow that occurred when the <CODE>SSP_StartJpegDecoder</CODE> function was used on certain files.</description></P> 406<HR> 407<H3><A name="note69-20">Note 69-20:(SSP) Integrated the demos</A></H3> 408<P><description>Integrated the SSP demos now that there is no need for separate TWL and NITRO versions (as per the change described in <A href="changelog.html#note68-37">Note 68-37</a>).</description></P> 409<HR> 410<H3><A name="note69-21">Note 69-21:(TOOL) Added features to NandFiler for importing and exporting Save Data</A></H3> 411<P><description>It is now possible to import and export data between SD cards and both the NAND application Save Data region and the PHOTO directory. <br>(The PHOTO directory data can only be exported.)<br>With this added functionality, you can now use Save Data that has been modified on a PC during debugging.</description></P> 412<HR> 413<H3><A name="note69-22">Note 69-22:(TOOL) Changed makerom.TWL</A></H3> 414<P><description>The <CODE>JpegSign</CODE> property in <CODE>makerom.TWL</CODE> does not always have to be set TRUE, so it has been made private.<br> This change was added in the 5.1 PR version, but it was left out of the changelog.</description></P> 415<HR> 416<H3><A name="note69-23">Note 69-23:(TOOL) Added the tad2rom tool</A></H3> 417<P><description>The <CODE>tad2rom</CODE> tool has been added for writing TAD-encapsulated SRL files.<br> This differs from the <CODE>-n</CODE> option of <CODE>maketad</CODE> because a TAD file can be used as input.<br> The resulting SRL file can only be used when <CODE>Card</CODE> mode is added to <CODE>TwINmenu</CODE>.</description></P> 418<HR> 419<H3><A name="note69-24">Note 69-24:(WM) Fixed a problem with the execution of the WM_SetMPDataToPort function callback</A></H3> 420<P><description>During MP communications, if the parent was reset and communications were cut, the callback registered by the <CODE>WM_SetMPDataToPort</CODE> function would never execute. That bug has been fixed.</description></P> 421<HR> 422<H3><A name="KnownIssues_5_1_PR2">Known Problems with SDK 5.1 PR2</A></H3> 423<knownissues><description> 424 <ul> 425<li>If a program built in HYBRID mode is run in a NITRO environment, any argument data that was embedded with the <CODE>buryarg</CODE> tool cannot be accessed properly.</li> 426<li>FINALROM application jumps do not work properly on TS boards.</li> 427<li>With some NITRO titles, <CODE>mb_child_simple.srl</CODE> does not run as a multiboot child on IS-TWL-DEBUGGER.</li> 428 </ul> 429 </description></knownissues><HR> 430<H2 style="line-height: 0"><A name="sdk_5_1_PR">TWL-SDK Version 5.1 PR</A></H2> 431<DIV style="text-align: right"><P style="line-height: 0">(2008/12/10)</P></DIV> 432<HR> 433<H3><A name="note68-01">Note 68-01:(CAMERA) Fixed infinite loop bug in CAMERA_Init function</A></H3> 434<P><description>Even when the camera cannot be used, for example when <CODE>ferret.TWL</CODE> is being used as an ARM7 component, the <CODE>CAMERA_Init</CODE> function can enter an infinite loop during its internal processing. To fix this bug, the function now fails initialization and returns an error in such cases.</description></P> 435<HR> 436<H3><A name="note68-02">Note 68-02:(CARD) Changed the default settings of the cache disable operations</A></H3> 437<P><description>In order to improve the efficiency of the ROM data loading process, the default threshold value for disabling cache has been changed to 1 KB for IC and 9 KB for DC, and the instruction cache is not disabled.<br><br> In addition, added the <CODE>CARD_SetCacheFlushFlag</CODE> function to change these settings with the program.</description></P> 438<HR> 439<H3><A name="note68-03">Note 68-03:(CARD) Added functions to determine operating mode</A></H3> 440<P><description>The following functions have been added to determine the executable operating mode from the ROM header information. 441 <ul> 442<li>CARD_IsExecutableOnNTR</li> 443<li>CARD_IsExecutableOnTWL</li> 444 </ul> 445 </description></P> 446<HR> 447<H3><A name="note68-04">Note 68-04:(CRYPTO) Changed the padding method for RSA encryption</A></H3> 448<P><description>Starting with PKCS#1 v1.5, padding is now used for RSA encryption and decryption.<br> Be aware that prior data encrypted by CRYPTO RSA can no longer be decrypted.</description></P> 449<HR> 450<H3><A name="note68-05">Note 68-05:(CRYPTO) Changed the library's section placement</A></H3> 451<P><description>The location of part of the CRYPTO library has been changed to the <CODE>ltdmain</CODE> region.<br> This affects the usable space in those memory regions.</description></P> 452<HR> 453<H3><A name="note68-06">Note 68-06:(DSP) Fixed a bug in the DSP_PlaySound function</A></H3> 454<P><description>When the <CODE>DSP_PlaySound</CODE> function played sounds, sometimes as much as 10 milliseconds was cut off and not output. That bug has been fixed.</description></P> 455<HR> 456<H3><A name="note68-07">Note 68-07:(DSP) Revised the timing of shutter sound playback</A></H3> 457<P><description>The sound quality changed when the shutter sound was played with the headphones attached.<br><br> This problem was resolved by adding a wait before the shutter sound is played back.</description></P> 458<HR> 459<H3><A name="note68-08">Note 68-08:(DSP) Fixed a problem with stereo sound playback</A></H3> 460<P><description>When the <CODE>DSP_PlaySound</CODE> or <CODE>DSP_PlayShutterSound</CODE> functions were used to play stereo sound, the left and right channels were switched. That issue has been fixed.<br> This does not affect the camera shutter sound, which is monaural.</description></P> 461<HR> 462<H3><A name="note68-09">Note 68-09:(DSP) Restricted playable shutter sound data</A></H3> 463<P><description>Guidelines regulate the playback of DSP shutter sounds. A check feature has been added to the <CODE>DSP_PlayShutterSound</CODE> function to make sure that shutter sounds are not played if the frequency is different from the I2S setting. <br>Therefore, the specification for stereo/monaural has been removed from the arguments of the <CODE>DSP_PlayShutterSound</CODE> function, and the following sound data has been deleted. 464 <ul> 465<li>$TwlSDK/data/shutter_sound/shutter_sound_16000.raw</li> 466<li>$TwlSDK/data/shutter_sound/shutter_sound_16000.wav</li> 467<li>$TwlSDK/data/shutter_sound/shutter_sound_32730.raw</li> 468<li>$TwlSDK/data/shutter_sound/shutter_sound_47610.raw</li> 469<li>$TwlSDK/data/videorec_sound/videorec_sound_begin_32730.raw</li> 470<li>$TwlSDK/data/videorec_sound/videorec_sound_begin_47610.raw</li> 471<li>$TwlSDK/data/videorec_sound/videorec_sound_end_32730.raw</li> 472<li>$TwlSDK/data/videorec_sound/videorec_sound_end_47610.raw</li> 473 </ul> 474 </description></P> 475<HR> 476<H3><A name="note68-10">Note 68-10:(DevEnv) Added documentation for ARM7 components</A></H3> 477<P><description>The following documentation about the ARM7 components has been added.<br> <CODE>$TwlSDK/docs/TechnicalNotes/AboutComponents.pdf</CODE></description></P> 478<HR> 479<H3><A name="note68-11">Note 68-11:(DevEnv) Added ARM7 component</A></H3> 480<P><description>Added <CODE>ferret.TWL</CODE> to the ARM7 components.<br> Like <CODE>racoon.TWL</CODE>, this component can only be used when creating TWL-exclusive applications.<br> This new component is more compact than <CODE>racoon.TWL</CODE> because it omits the features for wireless communications and use of the camera.</description></P> 481<HR> 482<H3><A name="note68-12">Note 68-12:(DevEnv) Corrected the BuildFinalRom demo</A></H3> 483<P><description>Because <CODE>libsyscall.twl.a</CODE> now makes use of items that belong to the TWL-SDK, it has been deleted from <CODE>$TwlSDK/build/demos/tips/BuildFinalRom</CODE>.<br> For more information, read the TWL-SDK application development guide, <CODE>$TwlSDK/docs/TechnicalNotes/AboutTwlApplication.pdf</CODE>.</description></P> 484<HR> 485<H3><A name="note68-13">Note 68-13:(DevEnv) Added build switch to disable IS-NITRO-DEBUGGER debug features</A></H3> 486<P><description>A build switch has been added so you can reduce the amount of memory used by the TWL-SDK in a development environment where debugging is carried out only by IS-TWL-DEBUGGER. The switch disables the IS-NITRO-DEBUGGER debug features and circumvents unnecessary library links.</description></P> 487<HR> 488<H3><A name="note68-14">Note 68-14:(DevEnv) Made revisions relating to NITRO build Static segment</A></H3> 489<P><description>In programs built as NITRO-only titles, the default address of the <CODE>Static </CODE> segment was defined as 0x02000400. Because this includes an unused region of 1KB, it has been revised to 0x02000000.<br><br> This revision does not affect the behavior of the application, but it increases the available arena region by 1KB.</description></P> 490<HR> 491<H3><A name="note68-15">Note 68-15:(DevEnv) Added guide for transition from NITRO-SDK</A></H3> 492<P><description>The following new document explains how to transition from NITRO-SDK to TWL-SDK,<br> <CODE>$TwlSDK/docs/TechnicalNotes/AboutNitroToTwl.pdf</CODE></description></P> 493<HR> 494<H3><A name="note68-16">Note 68-16:(ENV) Corrected API name of ENV_SetResourceSetArray function</A></H3> 495<P><description>The <CODE>ENV_SetResourceSetArray</CODE> function had the wrong API name. The reference and the API name have been corrected.<br><br> The API name that was in effect before this correction can still be used, so this change does not require you to revise existing code.</description></P> 496<HR> 497<H3><A name="note68-17">Note 68-17:(FS) Added the FS_ATTRIBUTE_IS_OFFLINE flag</A></H3> 498<P><description>Added the FS_ATTRIBUTE_IS_OFFLINE flag, which provides an easy way to determine whether a file is located in the TWL-only region in the NITRO environment.<br><br> This flag is returned as one of the entry attributes by the <CODE>FS_ReadDirectory</CODE> and <CODE>FS_GetPathInfo</CODE> functions.</description></P> 499<HR> 500<H3><A name="note68-18">Note 68-18:(FS) Fixed a bug in the FS_GetSeekCacheSize function</A></H3> 501<P><description>When the file size was not divisible by the cluster size, the <CODE>FS_GetSeekCacheSize</CODE> function would return a value that was 1-cluster too small. That bug has been fixed.</description></P> 502<HR> 503<H3><A name="note68-19">Note 68-19:(FS) Fixed bugs in the FS_SetSeekCache and FS_SeekFile functions</A></H3> 504<P><description>Both the <CODE>FS_SetSeekCache</CODE> and <CODE>FS_SeekFile</CODE> functions would sometimes read outside the region for the seek cache.</description></P> 505<HR> 506<H3><A name="note68-20">Note 68-20:(FS) Revised the overlay-staticinit demo</A></H3> 507<P><description>In the <CODE>$TwlSDK/build/demos/fs/overlay-staticinit sample demo</CODE>, the upper and lower screens were reversed. That has been fixed.</description></P> 508<HR> 509<H3><A name="note68-21">Note 68-21:(FS) Added functions to determine archive status</A></H3> 510<P><description>The following group of functions has been added to determine whether archives exist and whether they are available. 511 <ul> 512<li>FS_OpenTopLevelDirectory</li> 513<li>FS_IsArchiveReady</li> 514 </ul> 515 </description></P> 516<HR> 517<H3><A name="note68-22">Note 68-22:(FS) Made revisions specific to cache operation when accessing files</A></H3> 518<P><description>When the <CODE>FS_ReadFileAsync</CODE> function was used to asynchronously read a NAND or SD card archive file, if the specified buffer address was not 32-byte aligned, the beginning of the data would be cached. That bug has been fixed.<br><br> The function reference was also edited to explain that if the buffer is referenced before the read process is completed, the consistency between the actual data and the cache will be lost.</description></P> 519<HR> 520<H3><A name="note68-23">Note 68-23:(GX) Revised the Sub_Double3D sample demo</A></H3> 521<P><description>When the <CODE>$TwlSDK/build/demos/gx/UnitTours/Sub_Double3D</CODE> sample demo alternately showed the captured image and the original image, there was no way to deal with screen flicker. This has been fixed.</description></P> 522<HR> 523<H3><A name="note68-24">Note 68-24:(MB) Added formal support for HYBRID program clone boot feature</A></H3> 524<P><description>Revised the internal operations of the MB library and the <CODE>emuchild.exe</CODE> tool so now HYBRID mode programs can also use the clone boot feature.</description></P> 525<HR> 526<H3><A name="note68-25">Note 68-25:(NA) Revised the NA_LoadSharedFontTable function</A></H3> 527<P><description>Fixed the <CODE>NA_LoadSharedFontTable</CODE> function so it can be called more than once.<br> In line with this change, <CODE>pBuffer</CODE> can now be deallocated after the function succeeds.</description></P> 528<HR> 529<H3><A name="note68-26">Note 68-26:(OS) Made OS_GetSerialNo a private function</A></H3> 530<P><description>The <CODE>OS_GetSerialNo</CODE> function, which is used to get the WL product serial number, is now private because it is not appropriate for use in applications.</description></P> 531<HR> 532<H3><A name="note68-27">Note 68-27:(OS) Changed the OS_ResetSystem function process</A></H3> 533<P><description>The <CODE>OS_ResetSystem</CODE> function design prohibited interrupts <I>after</I> DMA completion. The order has been changed, so now interrupts are prohibited <I>before</I> DMA completion.</description></P> 534<HR> 535<H3><A name="note68-28">Note 68-28:(OS) Revised references to arena and protection region</A></H3> 536<P><description>In the OS Reference Manual, the memory maps in the overviews for the arena and protection region were revised to reflect the fact that the start of main memory is a system-reserved region.</description></P> 537<HR> 538<H3><A name="note68-29">Note 68-29:(OS) Revised functions that get Parental Control status</A></H3> 539<P><description>The following functions, which get Parental Control status, have all been changed to return FALSE when Parental Control settings have not been entirely configured in the console. 540 <ul> 541<li>OS_IsRestrictPictoChatBoot</li> 542<li>OS_IsRestrictDSDownloadBoot</li> 543<li>OS_IsRestrictBrowserBoot</li> 544<li>OS_IsRestrictPrepaidPoint</li> 545<li>OS_IsRestrictPhotoExchange</li> 546<li>OS_IsRestrictUGC</li> 547 </ul> 548 </description></P> 549<HR> 550<H3><A name="note68-30">Note 68-30:(PM) Added the pm-2 demo</A></H3> 551<P><description>Added the <CODE>$TwlSDK/build/demos.TWL/spi/pm-2</CODE> sample.<br> This sample demo uses the <CODE>PM_SetAutoExit</CODE> function to enable a choice between immediately shutting down via the POWER button or delaying shutdown until the user's process ends.</description></P> 552<HR> 553<H3><A name="note68-31">Note 68-31:(PM) Added exclusive control for hardware reset and application jumps</A></H3> 554<P><description>If the power button is pressed or a battery-low interrupt is detected during a hardware reset or a application jump, the latter process is now given priority.</description></P> 555<HR> 556<H3><A name="note68-32">Note 68-32:(PM) Fixed a bug with hardware reset</A></H3> 557<P><description>If a hardware reset was conducted during the execution of certain SNDEX functions (for example, <CODE>SNDEX_SetI2SFrequencyAsync</CODE> and <CODE>SNDEX_SetIirFilterAsync</CODE>), the hardware reset would not complete. That bug has been fixed.</description></P> 558<HR> 559<H3><A name="note68-33">Note 68-33:(SND) Prohibited changing DSPMixRate during shutter sound playback</A></H3> 560<P><description>When the shutter sound is being played by the <CODE>DSP_PlayShutterSound</CODE> function, the <CODE>DSPMixRate</CODE> setting is temporarily altered inside the library. Depending on the timing of the call to the <CODE>SNDEX_SetDSPMixRate[Async]</CODE> functions, this setting was occasionally overwritten. The process has been revised so that now when the <CODE>SNDEX_SetDSPMixRate[Async]</CODE> functions are called during shutter sound playback, the function returns <CODE>SNDEX_RESULT_EXCLUSIVE</CODE>.</P> 561<HR> 562<H3><A name="note68-34">Note 68-34:(SND) Prohibited execution of SNDEX functions during shutter sound playback</A></H3> 563<P>If a series of processes using <CODE>SNDEX </CODE> functions are conducted before and after the playback of shutter sounds, an interrupt by another <CODE>SNDEX</CODE> function during the midst of this series can, depending on the timing, leave the system in an unknown state. To fix this bug, the <CODE>SNDEX</CODE> functions (with some exceptions) now return <CODE>SNDEX_RESULT_EXCLUSIVE</CODE> and fail if they execute while shutter sounds are being played by the <CODE>DSP_PlayShutterSound</CODE> function. Note that this revision does not guarantee success of shutter sound playback. In fact, if the <CODE>DSP_PlayShutterSound</CODE> function executes while <CODE>SNDEX</CODE> functions are processing, it will fail due to exclusive control by the SNDEX library.</description></P> 564<HR> 565<H3><A name="note68-35">Note 68-35:(SND) Fixed a problem related to the execution of multiple SNDEX functions</A></H3> 566<P><description>The SNDEX library's exclusive control was incomplete. When multiple <CODE>SNDEX</CODE> functions were executed in parallel, sometimes an internal state would become invalid and an error would return, regardless of the success or failure of the process in ARM7.<br> This problem has been corrected.</description></P> 567<HR> 568<H3><A name="note68-36">Note 68-36:(SND) Corrected return value typo in asynchronous function references</A></H3> 569<P><description>The references of the asynchronous functions stated that <CODE>SNDEX_PXI_RESULT_EXCLUSIVE</CODE> was returned as the processing result, but that is incorrect. The references have been revised to read that the return value is <CODE>SNDEX_RESULT_EXCLUSIVE</CODE>.<br> Since these two constants are equivalent, the correct behavior will result even if the incorrect notation is used.</description></P> 570<HR> 571<H3><A name="note68-37">Note 68-37:(SSP) Revised behavior in HYBRID build NITRO mode</A></H3> 572<P><description>With the HYBRID build, the SSP library could not be used in NITRO mode. That has been fixed.</description></P> 573<HR> 574<H3><A name="note68-38">Note 68-38:(SSP) Privatized the JPEG encode/decode signature feature</A></H3> 575<P><description>The guidelines now prohibit the use of the signature feature in JPEG files in ROM archives, so the following signature-related functions have been made private. 576 <ul> 577<li>SSP_SetJpegEncoderSignMode</li> 578<li>SSP_SetJpegDecoderSignMode</li> 579<li>SSP_CheckJpegDecoderSign</li> 580 </ul> 581 </description></P> 582<HR> 583<H3><A name="note68-39">Note 68-39:(SSP) Added the SSP_ConvertJpegEncodeData and SSP_StartJpegEncoderWithEncodeData functions</A></H3> 584<P><description>Divided the encoding function, <CODE>SSP_StartJpegEncoder</CODE>, into a pre-encoding process and a process of actual encoding. These are the <CODE>SSP_ConvertJpegEncodeData</CODE> and <CODE>SSP_StartJpegEncoderWithEncodeData</CODE> functions.</description></P> 585<HR> 586<H3><A name="note68-40">Note 68-40:(TOOL) Fixed bugs in NandFiler</A></H3> 587<P><description>Restore did not work with Save Data titles that had a '9' in their game code. That bug has been fixed.</description></P> 588<HR> 589<H3><A name="note68-41">Note 68-41:(TOOL) Added a TWL version of mb_child.srl</A></H3> 590<P><description>Added <CODE>mb_child.srl</CODE>, which behaves almost the same as DS Download Play in the DSi.<br> Signature-verification of downloaded child applications has been omitted so a Download Play child can be started on a development console.</description></P> 591<HR> 592<H3><A name="note68-42">Note 68-42:(TOOL) Added a TWL screen banner viewer to addbanner</A></H3> 593<P><description>Added a feature to <CODE>addbanner</CODE> for checking how banners appear on the actual TWL screen.<br> For more information, see the <CODE>addbanner</CODE> manual.</description></P> 594<HR> 595<H3><A name="note68-43">Note 68-43: (TOOL) Revisions to buryarg.TWL</A></H3> 596<P><description>Argument data was not embedded correctly when <CODE>buryarg.TWL </CODE> specified a destination of standard output. That has been fixed.</description></P> 597<HR> 598<H3><A name="note68-44">Note 68-44:(TOOL) Expanded cmptad functionality</A></H3> 599<P><description>Added a feature to the <CODE>cmptad</CODE> tool to compare the identity of an SRL included in a TAD file and a specified SRL.</description></P> 600<HR> 601<H3><A name="note68-45">Note 68-45:(TOOL) Enhanced error-checking functionality of compstatic tool</A></H3> 602<P><description>The <CODE>compstatic</CODE> tool supports the ability to embed an overlay digest value table in a binary file. If you use this feature without preparing a region for embedding, the wrong region can be destroyed and unexpected behavior may occur.<br> This bug has been fixed, and incorrect usage is now detected as an error.</description></P> 603<HR> 604<H3><A name="note68-46">Note 68-46:(TOOL) Revised makebanner and makebanner.TWL</A></H3> 605<P><description>Since kanji characters cannot be used for game titles in banners, a warning is now displayed when kanji characters are included.<br> However, the check for kanji is not performed on banners for China (version 2).</description></P> 606<HR> 607<H3><A name="note68-47">Note 68-47:(TOOL) Made changes to makerom.TWL.exe</A></H3> 608<P><description>The following changes have been made to <CODE>makerom.TWL.exe</CODE>. 609 <ul> 610<li>An error is now generated when the banner specification is not a TWL banner.</li> 611<li>The guidelines prohibit access to <CODE>SDCard</CODE>, but it is now allowed for the specific purpose of debugging in DEBUG and RELEASE builds.<br>Use this to check for bugs on machines with which you cannot use a debugger.</li> 612<li>When <CODE>JpegSign</CODE> cannot be used, an error is now generated if TRUE has been specified.<br><CODE>TRUE</CODE> can be specified for the <CODE>JpegSign</CODE> property only if access to SD cards or NAND has been permitted.</li> 613 </ul> 614 </description></P> 615<HR> 616<H3><A name="note68-48">Note 68-48:(TOOL) Changed makerom.exe</A></H3> 617<P><description>An error is now generated when the banner specification is not an NTR banner.</description></P> 618<HR> 619<H3><A name="note68-49">Note 68-49:(TOOL) Added functionality to showversion to display build mode</A></H3> 620<P><description>In addition to existing information, the target (ARM9, ARM7) and build mode (DEBUG, RELEASE, FINALROM) are now shown.<br> An error is displayed if different build modes are mixed.</description></P> 621<HR> 622<H3><A name="note68-50">Note 68-50:(TOOL) Added background graphic for banner previewing</A></H3> 623<P><description>Added the following background graphic so the created banner can be previewed on the same screen as the DSi menu using the TWL-System NITRO-Viewer.<br> <CODE>$TwlSDK/build/demos.TWL/tips/TWLBanner_anim1/banner/SDK_demo</CODE></description></P> 624<HR> 625<H3><A name="note68-51">Note 68-51:(WM) Fixed a bug in MP communication during component overload</A></H3> 626<P><description>MP communications would be cut when the component load became unusually high. That bug has been fixed.</description></P> 627<HR> 628<H3><A name="note68-52">Note 68-52:(WM) Changed behavior for Wireless OFF mode</A></H3> 629<P><description>The timing of errors returned from the WM library differed for TWL systems running in Wireless OFF mode and NITRO systems running with wireless communications prohibited. The same process can now be used to determine whether the use of wireless communications is prohibited.</description></P> 630<HR> 631<H3><A name="note68-53">Note 68-53:(WVR) Fixed a bug in Wireless library shutdown in switchover demo</A></H3> 632<P><description>There was a problem with the Wireless library quit process when transitioning from the WC library to the WH library. That has been fixed.</description></P> 633<HR> 634<H3><A name="note68-54">Note 68-54: (MISC) Changed part of the banner format</A></H3> 635<P><description>Along with the partial changes to the banner format, the following functions and tools have been revised so they now generate an error when the configured animation data is invalid. 636 <ul> 637<li><CODE>NA_SaveSubBanner</CODE></li> 638<li><CODE>bannercvtr</CODE></li> 639<li><CODE>makebanner.TWL</CODE></li> 640 </ul> 641For more information, see the <CODE>$TwlSDK/man/ja_JP/tools/bannercvtr</CODE> manual.</description></P> 642<HR> 643<H3><A name="KnownIssues_5_1_PR">Known Issues in NITRO-SDK Version 5.1 PR</A></H3> 644<knownissues><description> 645 <ul> 646<li>If a program built in HYBRID mode is run in a NITRO environment, any argument data that was embedded with the <CODE>buryarg</CODE> tool cannot be accessed properly.</li> 647<li>FINALROM application jumps do not work properly on TS boards.</li> 648<li>With some NITRO titles, <CODE>mb_child_simple.srl</CODE> does not run as a multiboot child on IS-TWL-DEBUGGER.</li> 649 </ul> 650 </description></knownissues><HR> 651<HR> 652<H2 style="line-height: 0"><A name="sdk_5_00" id="sdk_5_00">TWL-SDK Version 5.0 Official Release</A></H2> 653<DIV style="text-align: right"> 654<P style="line-height: 0">(2008/10/23)</P> 655</DIV> 656 657<HR> 658<H3><A name="note67-01" id="note67-01">Note 67-01: (CAMERA) Corrected error handling for <CODE>simpleShoot-1</CODE>, <CODE>simpleShoot-2</CODE></A></H3> 659<P>The <CODE>DSP_PlayShutterSound</CODE> function would sometimes fail when using the camera to continuously capture images with the <CODE>simpleShoot-1</CODE> and <CODE>simpleShoot-2</CODE> demos. That failure would result in an <CODE>OS_Panic</CODE> function termination. <BR>However, actual use of the <CODE>DSP_PlayShutterSound</CODE> function assumed that the user would try until an image was successfully captured. Corrections reflect that.<BR><BR> This change was added in version 5.0 RC3, but it was left out of the changelog. 660</P> 661 662<HR> 663<H3><A name="note67-02" id="note67-02">Note 67-02: (CAMERA) Revised the <CODE>simpleShoot-2</CODE> demo</A></H3> 664<P>There are operations in <CODE>simpleShoot-2</CODE>, the demo that performs video capture, that violated guidelines. Operations were revised accordingly. 665</P> 666 667<HR> 668<H3><A name="note67-03" id="note67-03">Note 67-03: (CARD) Support for parent backup device</A></H3> 669<P>Made the CARD library compatible with 1Mb-EEPROM backup devices and added <CODE>CARD_BACKUP_TYPE_EEPROM_1MBITS</CODE> to the <CODE>CARDBackupType</CODE> enumerated type.<BR> In relation, the reference and sample demos were updated. 670</P> 671 672<HR> 673<H3><A name="note67-04" id="note67-04">Note 67-04: (DSP) Revised synchronous version of the DSP graphics component function</A></H3> 674<P>The following two revisions were added. 675<UL> 676<LI>Within the synchronous functions, the wait for termination from DSP was changed from an interrupt to a polling of the corresponding register. 677<LI>When the synchronous function is run frequently with a high-priority thread, other execution rights do not readily transfer to low-priority threads. This problem was fixed. 678</UL> 679</P> 680 681<HR> 682<H3><A name="note67-05" id="note67-05">Note 67-05: (DSP) Corrected inconsistency in the results of the <CODE>DSP_Scaling*</CODE> and <CODE>DSP_CalcScalingFactor*</CODE> functions</A></H3> 683<P>When enlarging an image using the <CODE>DSP_Scaling*</CODE> functions, output was sometimes produced that did not match that of the <CODE>DSP_CalcScalingFactor*</CODE> functions, depending on the size of the input image and the specified magnification. This bug was fixed. <BR><BR> When this problem would occur, there was a risk of a buffer overflow, depending on the size of the buffer storing results to be passed to the <CODE>DSP_Scaling*</CODE> functions. 684</P> 685 686<HR> 687<H3><A name="note67-06" id="note67-06">Note 67-06: (DSP) Revised termination process for each DSP component</A></H3> 688<P>There were some inadequacies in the DSP component termination process. These were revised. 689</P> 690 691<HR> 692<H3><A name="note67-07" id="note67-07">Note 67-07:(DevEnv) Updated documents specific to the build switch</A></H3> 693<P>Added an explanation to <CODE>$TwlSDK/docs/SDKRules/Rule-Defines.html</CODE> for the <CODE>*_BUILD_TYPE</CODE> build switch.<BR><BR> Portions were difficult to see in the <B>Build Switch Usage Table</B>. There were also mistakes. These have been fixed. 694</P> 695 696<HR> 697<H3><A name="note67-08" id="note67-08">Note 67-08: (FS) Improved open determination for TWL-exclusive files</A></H3> 698<P>Internal determination of the FS library was improved to fail with <CODE>FS_RESULT_PERMISSION_DENIED</CODE> when a hybrid application is operating in the NITRO environment, and a file was opened in a TWL-exclusive region. 699</P> 700 701<HR> 702<H3><A name="note67-09" id="note67-09">Note 67-09: (MB) Added a switch for the build mode on multiboot-wfs distributed child devices</A></H3> 703<P>Added a correction to child device applications distributed with a multiboot-wfs demo to Makefile to enable both NITRO-compatible and hybrid builds.<BR><BR> The TWL-specific features cannot be used even if the ROM built in hybrid mode was distributed to TWL system.<BR> See the function reference's MB library overview for more information. 704</P> 705 706<HR> 707<H3><A name="note67-10" id="note67-10">Note 67-10: (MI) Added the <CODE>MI_SendNDmaGXCommand*</CODE> functions</A></H3> 708<P>Conventionally, DMA was used as the function for sending the display list (the GX command string) to the command FIFO. However, a function that uses a new DMA has been added. 709</P> 710 711<HR> 712<H3><A name="note67-11" id="note67-11">Note 67-11:(OS) Added the <CODE>OS_IsCodecTwlMode</CODE> function</A></H3> 713<P>Added the <CODE>OS_IsCodecTwlMode</CODE> function to get the codec operation mode. 714</P> 715 716<HR> 717<H3><A name="note67-12" id="note67-12">Note 67-12: (OS) Added the demo for the <CODE>OS_JumpTo*</CODE> functions</A></H3> 718<P>Added <CODE>$TwlSDK/build/demos.TWL/os/os_jump</CODE> as a demo to indicate how the <CODE>OS_JumpToSystemMenu</CODE>, <CODE>OS_RebootSystem</CODE>, <CODE>OS_JumpToWirelessSetting</CODE>, <CODE>OS_JumpToInternetSetting</CODE>, and <CODE>OS_JumpToEULAViewer</CODE> functions work. 719</P> 720 721<HR> 722<H3><A name="note67-13" id="note67-13">Note 67-13: (OS) Added a function to get the status of parental controls</A></H3> 723<P>Added a function for the application to get Parental Controls information performed by the TWL system settings. 724</P> 725 726<HR> 727<H3><A name="note67-14" id="note67-14">Note 67-14: (OS) Movement of the function reference's Operating Environment section</A></H3> 728<P>References specific to operating environments such as the TWL-SDK function reference and the <CODE>OS_GetConsoleType</CODE> function had been placed in a category called <B>OS/Debug (Operating Environment)</B>. However, these functions are expected to be used not only in debugging, but also with ordinary applications. They have therefore been removed from the debugging category to the <B>OS/Operating Environment</B> section. 729</P> 730 731<HR> 732<H3><A name="note67-15" id="note67-15">Note 67-15: (PM) Added exclusive control for hardware resets and application jumps</A></H3> 733<P>By making application jumps and Power Button hardware resets exclusive, the possibility of unexpected operations happening when both occur simultaneously is eliminated. 734</P> 735 736<HR> 737<H3><A name="note67-16" id="note67-16">Note 67-16: (PM) Revised Power Button process</A></H3> 738<P>Fixed a bug where the system would not shutdown but would instead perform a hardware reset when the Power Button was held down. 739</P> 740 741<HR> 742<H3><A name="note67-17" id="note67-17">Note 67-17: (SCFG) Adjusted SCFG functions</A></H3> 743<P>The Function Reference Manual listed the <CODE>SCFG_IsWramAccessible</CODE> and <CODE>SCFG_IsVramAccessible</CODE> functions, but the definition of <CODE>scfg.h</CODE> listed them as the <CODE>SCFG_IsWRAMAccessible</CODE> and <CODE>SCFG_IsVRAMAccessible</CODE> functions.<BR>That was changed to reflect the listing in the Function Reference Manual. The <CODE>SCFG_IsWramAccessible</CODE> and <CODE>SCFG_IsVramAccessible</CODE> functions are the standard.<BR>However, as these may already be described as the <CODE>SCFG_IsWRAMAccessible</CODE> and <CODE>SCFG_IsVRAMAccessible</CODE> functions, the corresponding functions will be defined with a <CODE>#define</CODE> statement.<BR><BR> In addition, the spelling of the <CODE>SCFG_GetPsramdBoundary</CODE> function was corrected to the <CODE>SCFG_GetPsramBoundary</CODE> function. 744</P> 745 746<HR> 747<H3><A name="note67-18" id="note67-18">Note 67-18: (SND) Abolished headphone mute when setting the IIR filter (targeting microphone input)</A></H3> 748<P>Headphone output was unnecessarily suppressed when changing the parameters for the IIR filter that targets microphone input using the <CODE>SNDEX_SetIirFilter[Async]</CODE> functions.<BR> This problem has been corrected. 749</P> 750 751<HR> 752<H3><A name="note67-19" id="note67-19">Note 67-19: (SND) Fixed a <CODE>SNDEX_SetVolumeSwitchCallback</CODE> function bug</A></H3> 753<P>Fixed a bug where the callback registered with the <CODE>SNDEX_SetVolumeSwitchCallback</CODE> function was not normally invoked. 754</P> 755 756<HR> 757<H3><A name="note67-20" id="note67-20">Note 67-20: (SND) Added functionality to the <CODE>extraFunc</CODE> demo</A></H3> 758<P>Added functionality to the <CODE>extraFunc</CODE> demo to check the callback that notifies the pressing of the volume switch and the connection of headphones. 759</P> 760 761<HR> 762<H3><A name="note67-21" id="note67-21">Note 67-21: (SSP) NITRO mode support for the JPEG library</A></H3> 763<P>Excluding signature functionality, the SSP library JPEG codec can now also be used in NITRO mode. 764</P> 765 766<HR> 767<H3><A name="note67-22" id="note67-22">Note 67-22: (SSP) Added error processing for the <CODE>SSP_StartJpegEncoder</CODE> function</A></H3> 768<P>When the specified size for an image could not be encoded by the <CODE>SSP_StartJpegEncoder</CODE> function, corrupt images ended up being encoded. This was corrected to return an error in such cases. 769</P> 770 771<HR> 772<H3><A name="note67-23" id="note67-23">Note 67-23: (STD) Handled a bug where the <CODE>STD_CompareNString</CODE> function would not return correct values</A></H3> 773<P>Fixed a bug where the <CODE>STD_CompareNString</CODE> function did not return correct values even if there was a match, depending on the value saved in the ending address, rounded up in 4-byte units, for the comparison's first string. 774</P> 775 776<HR> 777<H3><A name="note67-24" id="note67-24">Note 67-24: (STD) Revised the <CODE>STD_ConvertAsciiToInt</CODE> and <CODE>STD_ConvertAsciiToLong</CODE> functions</A></H3> 778<P>When an integer overflow occurs, the corresponding standard functions, <CODE>atoi</CODE> and <CODE>atol</CODE>, behaved differently. This issues has been corrected. 779</P> 780 781<HR> 782<H3><A name="note67-25" id="note67-25">Note 67-25: (STD) Revised the <CODE>STD_TSNPrintf</CODE>, <CODE>STD_TSPrintf</CODE>, <CODE>STD_TVSNPrintf</CODE>, and <CODE>STD_TVSPrintf</CODE> functions</A></H3> 783<P>Given security issues, fixed such that the <CODE>%n</CODE> format is not supported. 784</P> 785 786<HR> 787<H3><A name="note67-26" id="note67-26">Note 67-26: (STD) Revised the <CODE>STD_TSScanf</CODE> and <CODE>STD_TVSScanf</CODE> functions</A></H3> 788<P>When scanning <CODE>NULL</CODE> characters, the standard <CODE>sscanf</CODE> function and its behavior differed. This issue has been corrected. 789</P> 790 791<HR> 792<H3><A name="note67-27" id="note67-27">Note 67-27: (TOOL) Added backup and restore features for saved data in <CODE>NandFiler</CODE></A></H3> 793<P>Changed so that it is possible to backup NAND application save data to an SD card.<BR>This makes it possible to restore data saved in the system to the state when the data was backed up. 794</P> 795 796<HR> 797<H3><A name="note67-28" id="note67-28">Note 67-28: (TOOL) Added the ability to import from DS cards to <CODE>TwINmenu</CODE></A></H3> 798<P>Added a Card mode to <CODE>TwINmenu</CODE> that references and imports a TAD file written to a DS card. <BR>DC cards can be used instead of SD cards. 799</P> 800 801<HR> 802<H3><A name="note67-29" id="note67-29">Note 67-29: (TOOL) Added the <CODE>cmptad</CODE> tool</A></H3> 803<P>Added the <CODE>cmptad</CODE> tool to determine whether the SRL files included in two TAD files are the same. 804</P> 805 806<HR> 807<H3><A name="note67-30" id="note67-30">Note 67-30: (TOOL) Added <CODE>makebanner.exe</CODE> and <CODE>makebanner.TWL.exe</CODE> warnings</A></H3> 808<P>Added a feature to <CODE>makebanner.exe</CODE>, and <CODE>makebanner.TWL.exe</CODE> to determine whether the game title has characters that can be displayed on the DS and TWL platforms and whether the horizontal width will fit within the range of the frame. <BR>If characters or the horizontal width are illegal, a warning is displayed. 809</P> 810 811<HR> 812<H3><A name="note67-31" id="note67-31">Note 67-31: (TOOL) Added <CODE>makelst</CODE> and <CODE>stripdebug</CODE> references</A></H3> 813<P>Added references for <CODE>makelst</CODE> and <CODE>stripdebug</CODE>, auxiliary tools for the use of the EL library. 814</P> 815 816<HR> 817<H3><A name="note67-32" id="note67-32">Note 67-32: (TOOL) Changed <CODE>makerom.TWL.exe</CODE></A></H3> 818<P>Made the following changes to <CODE>makerom.TWL.exe</CODE>. 819<UL> 820<LI>Deleted <CODE>NITRO</CODE> from the <CODE>-D</CODE> option's <CODE>TARGET_PLATFORM</CODE> specification and changed the specification for hybrid application builds to <CODE>TWL-HYB</CODE> and the specification for LTD application builds to <CODE>TWL-LTD</CODE>. 821<LI>Corrected so that the ROM archive file disposed in the TWL-exclusive region is a hashing target. 822<LI>Changed so that the EULA's version and its required agreement flag can be configured separately. 823<LI>Changed so that the EULA version is set to "1" in default. 824</UL> 825</P> 826 827<HR> 828<H3><A name="note67-33" id="note67-33">Note 67-33: (TOOL) Added a feature to <CODE>maketad</CODE> to create an SRL file for writing to a DS card</A></H3> 829<P>Added a feature to maketad to output an SRL file that contains a TAD file. <BR>This SRL file can only be used with the Card mode added to <CODE>TwINmenu</CODE>. 830</P> 831 832<HR> 833<H3><A name="note67-34" id="note67-34">Note 67-34: (TWL Wireless) Fixed a bug where the system would hang when a reset is applied during TWL wireless communication</A></H3> 834<P>In extremely rare cases when a reset is applied during TWL wireless communication, the system would hang, leaving the reset incomplete. This bug has been verified and fixed. 835</P> 836 837<HR> 838<H3><A name="KnownIssues_5_00" id="KnownIssues_5_00">Known Issues in NITRO-SDK version 5.0 Release Version</A></H3> 839<P><UL> 840<LI>If a program built in hybrid mode is run in a NITRO environment, any argument data that was embedded with the <CODE>buryarg</CODE> tool cannot be accessed properly. 841<LI>FINALROM application jumps do not work properly on TS boards. 842<LI>On some NTR titles, <CODE>mb_child_simple.srl</CODE> does not operate on IS-TWL-DEBUGGER as a multi-boot child device. 843</UL></P> 844<HR> 845<P style="text-align: right">Nintendo Technical Support Center</P> 846<hr><p>CONFIDENTIAL</p></body> 847</HTML> 848