From 7301b9742d67a28b356cb320e047d290526b29a0 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Wed, 2 Apr 2008 07:18:26 +0000 Subject: [PATCH] =?UTF-8?q?MountInfo.c=E3=81=AE=E3=83=9F=E3=82=B9=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20=E3=83=86=E3=82=B9=E3=83=88=E3=83=97=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=83=A9=E3=83=A0=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1038 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- .../sysmenu/common/src/mountInfo.c | 2 +- build/tests/RomTypeTest/ARM9/main0.rsf | 2 +- build/tests/RomTypeTest/ARM9/main1.rsf | 2 +- build/tests/RomTypeTest/ARM9/main2.rsf | 2 +- build/tests/RomTypeTest/ARM9/main3.rsf | 2 +- build/tests/RomTypeTest/ARM9/main4.rsf | 2 +- build/tests/RomTypeTest/ARM9/main5.rsf | 2 +- build/tests/RomTypeTest/ARM9/main6.rsf | 2 +- build/tests/RomTypeTest/ARM9/main7.rsf | 2 +- build/tests/RomTypeTest/ARM9/main8.rsf | 2 +- build/tests/RomTypeTest/ARM9/main9.rsf | 2 +- build/tests/RomTypeTest/ARM9/maina.rsf | 2 +- build/tests/RomTypeTest/ARM9/mainb.rsf | 2 +- build/tests/RomTypeTest/ARM9/mainc.rsf | 2 +- build/tests/RomTypeTest/ARM9/maind.rsf | 2 +- build/tests/RomTypeTest/ARM9/maine.rsf | 2 +- build/tests/RomTypeTest/ARM9/mainf.rsf | 2 +- build/tests/RomTypeTest/ARM9/maing.rsf | 2 +- build/tests/RomTypeTest/ARM9/mainh.rsf | 2 +- build/tests/RomTypeTest/ARM9/maini.rsf | 2 +- build/tests/RomTypeTest/ARM9/mainj.rsf | 2 +- build/tests/RomTypeTest/ARM9/maink.rsf | 2 +- .../tests/RomTypeTest/ARM9/src/RomTypeTest.c | 231 +++++++++++++++++- build/tests/RomTypeTest/banner/Makefile | 21 +- build/tests/RomTypeTest/banner/Makefile.0 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.1 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.2 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.3 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.4 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.5 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.6 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.7 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.8 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.9 | 48 ++++ build/tests/RomTypeTest/banner/Makefile.a | 48 ++++ build/tests/RomTypeTest/banner/Makefile.b | 48 ++++ build/tests/RomTypeTest/banner/Makefile.c | 48 ++++ build/tests/RomTypeTest/banner/Makefile.d | 48 ++++ build/tests/RomTypeTest/banner/Makefile.e | 48 ++++ build/tests/RomTypeTest/banner/Makefile.f | 48 ++++ build/tests/RomTypeTest/banner/Makefile.g | 48 ++++ build/tests/RomTypeTest/banner/Makefile.h | 48 ++++ build/tests/RomTypeTest/banner/Makefile.i | 48 ++++ build/tests/RomTypeTest/banner/Makefile.j | 48 ++++ build/tests/RomTypeTest/banner/Makefile.k | 48 ++++ .../banner/test-utf16_0_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_1_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_2_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_3_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_4_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_5_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_6_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_7_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_8_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_9_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_a_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_b_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_c_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_d_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_e_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_f_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_g_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_h_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_i_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_j_v3.TWL.bsf | Bin 0 -> 610 bytes .../banner/test-utf16_k_v3.TWL.bsf | Bin 0 -> 610 bytes .../RomTypeTest/banner/test-utf16_v3.TWL.bsf | Bin 562 -> 0 bytes 67 files changed, 1262 insertions(+), 42 deletions(-) create mode 100644 build/tests/RomTypeTest/banner/Makefile.0 create mode 100644 build/tests/RomTypeTest/banner/Makefile.1 create mode 100644 build/tests/RomTypeTest/banner/Makefile.2 create mode 100644 build/tests/RomTypeTest/banner/Makefile.3 create mode 100644 build/tests/RomTypeTest/banner/Makefile.4 create mode 100644 build/tests/RomTypeTest/banner/Makefile.5 create mode 100644 build/tests/RomTypeTest/banner/Makefile.6 create mode 100644 build/tests/RomTypeTest/banner/Makefile.7 create mode 100644 build/tests/RomTypeTest/banner/Makefile.8 create mode 100644 build/tests/RomTypeTest/banner/Makefile.9 create mode 100644 build/tests/RomTypeTest/banner/Makefile.a create mode 100644 build/tests/RomTypeTest/banner/Makefile.b create mode 100644 build/tests/RomTypeTest/banner/Makefile.c create mode 100644 build/tests/RomTypeTest/banner/Makefile.d create mode 100644 build/tests/RomTypeTest/banner/Makefile.e create mode 100644 build/tests/RomTypeTest/banner/Makefile.f create mode 100644 build/tests/RomTypeTest/banner/Makefile.g create mode 100644 build/tests/RomTypeTest/banner/Makefile.h create mode 100644 build/tests/RomTypeTest/banner/Makefile.i create mode 100644 build/tests/RomTypeTest/banner/Makefile.j create mode 100644 build/tests/RomTypeTest/banner/Makefile.k create mode 100644 build/tests/RomTypeTest/banner/test-utf16_0_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_1_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_2_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_3_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_4_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_5_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_6_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_7_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_8_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_9_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_a_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_b_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_c_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_d_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_e_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_f_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_g_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_h_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_i_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_j_v3.TWL.bsf create mode 100644 build/tests/RomTypeTest/banner/test-utf16_k_v3.TWL.bsf delete mode 100644 build/tests/RomTypeTest/banner/test-utf16_v3.TWL.bsf diff --git a/build/libraries_sysmenu/sysmenu/common/src/mountInfo.c b/build/libraries_sysmenu/sysmenu/common/src/mountInfo.c index 099fa79b..efe48060 100644 --- a/build/libraries_sysmenu/sysmenu/common/src/mountInfo.c +++ b/build/libraries_sysmenu/sysmenu/common/src/mountInfo.c @@ -139,7 +139,7 @@ void SYSMi_SetBootAppMountInfo( TitleProperty *pBootTitle ) int i; u16 mask = 0; if( pROMH->arm7_scfg_ext & ROM_SCFG_EXT_SD1_MASK ) { - mask = 0x0173; // SDIO[1]アクセスが有効なアプリは、nand:/, nand2:/, shared1:/, shared2:/, photo:/, sdmc:/を残す。 + mask = 0x013b; // SDIO[1]アクセスが有効なアプリは、nand:/, nand2:/, shared1:/, shared2:/, photo:/, sdmc:/を残す。 }else { mask = 0; // 全マウント情報クリア } diff --git a/build/tests/RomTypeTest/ARM9/main0.rsf b/build/tests/RomTypeTest/ARM9/main0.rsf index 010c0532..4ba1965f 100644 --- a/build/tests/RomTypeTest/ARM9/main0.rsf +++ b/build/tests/RomTypeTest/ARM9/main0.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_0.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main1.rsf b/build/tests/RomTypeTest/ARM9/main1.rsf index 5f23d260..3f11e2da 100644 --- a/build/tests/RomTypeTest/ARM9/main1.rsf +++ b/build/tests/RomTypeTest/ARM9/main1.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_1.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main2.rsf b/build/tests/RomTypeTest/ARM9/main2.rsf index 22b125b5..5ca76e34 100644 --- a/build/tests/RomTypeTest/ARM9/main2.rsf +++ b/build/tests/RomTypeTest/ARM9/main2.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_2.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main3.rsf b/build/tests/RomTypeTest/ARM9/main3.rsf index dff38c5a..78932ce2 100644 --- a/build/tests/RomTypeTest/ARM9/main3.rsf +++ b/build/tests/RomTypeTest/ARM9/main3.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_3.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main4.rsf b/build/tests/RomTypeTest/ARM9/main4.rsf index 61d15d6d..fadee697 100644 --- a/build/tests/RomTypeTest/ARM9/main4.rsf +++ b/build/tests/RomTypeTest/ARM9/main4.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_4.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main5.rsf b/build/tests/RomTypeTest/ARM9/main5.rsf index 0404d77f..95188af0 100644 --- a/build/tests/RomTypeTest/ARM9/main5.rsf +++ b/build/tests/RomTypeTest/ARM9/main5.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_5.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main6.rsf b/build/tests/RomTypeTest/ARM9/main6.rsf index b2070664..b8155275 100644 --- a/build/tests/RomTypeTest/ARM9/main6.rsf +++ b/build/tests/RomTypeTest/ARM9/main6.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_6.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main7.rsf b/build/tests/RomTypeTest/ARM9/main7.rsf index 7aef7cf9..bfc391a5 100644 --- a/build/tests/RomTypeTest/ARM9/main7.rsf +++ b/build/tests/RomTypeTest/ARM9/main7.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_7.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main8.rsf b/build/tests/RomTypeTest/ARM9/main8.rsf index 202b4b85..7ee473d5 100644 --- a/build/tests/RomTypeTest/ARM9/main8.rsf +++ b/build/tests/RomTypeTest/ARM9/main8.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_8.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/main9.rsf b/build/tests/RomTypeTest/ARM9/main9.rsf index 84ad7160..9cdf6617 100644 --- a/build/tests/RomTypeTest/ARM9/main9.rsf +++ b/build/tests/RomTypeTest/ARM9/main9.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_9.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maina.rsf b/build/tests/RomTypeTest/ARM9/maina.rsf index 8e91c4ce..b575ba4e 100644 --- a/build/tests/RomTypeTest/ARM9/maina.rsf +++ b/build/tests/RomTypeTest/ARM9/maina.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_a.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/mainb.rsf b/build/tests/RomTypeTest/ARM9/mainb.rsf index f6434faf..85a3c914 100644 --- a/build/tests/RomTypeTest/ARM9/mainb.rsf +++ b/build/tests/RomTypeTest/ARM9/mainb.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_b.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/mainc.rsf b/build/tests/RomTypeTest/ARM9/mainc.rsf index b8251f64..ac929d83 100644 --- a/build/tests/RomTypeTest/ARM9/mainc.rsf +++ b/build/tests/RomTypeTest/ARM9/mainc.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_c.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maind.rsf b/build/tests/RomTypeTest/ARM9/maind.rsf index de8b8ca0..7c09dd68 100644 --- a/build/tests/RomTypeTest/ARM9/maind.rsf +++ b/build/tests/RomTypeTest/ARM9/maind.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_d.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maine.rsf b/build/tests/RomTypeTest/ARM9/maine.rsf index 885ca25f..0ae70c78 100644 --- a/build/tests/RomTypeTest/ARM9/maine.rsf +++ b/build/tests/RomTypeTest/ARM9/maine.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_e.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/mainf.rsf b/build/tests/RomTypeTest/ARM9/mainf.rsf index d3f5140f..880574fe 100644 --- a/build/tests/RomTypeTest/ARM9/mainf.rsf +++ b/build/tests/RomTypeTest/ARM9/mainf.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_f.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maing.rsf b/build/tests/RomTypeTest/ARM9/maing.rsf index a8682cb8..788d4abf 100644 --- a/build/tests/RomTypeTest/ARM9/maing.rsf +++ b/build/tests/RomTypeTest/ARM9/maing.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_g.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/mainh.rsf b/build/tests/RomTypeTest/ARM9/mainh.rsf index 1327931a..02d4c355 100644 --- a/build/tests/RomTypeTest/ARM9/mainh.rsf +++ b/build/tests/RomTypeTest/ARM9/mainh.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_h.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maini.rsf b/build/tests/RomTypeTest/ARM9/maini.rsf index ca95cdb5..28e76872 100644 --- a/build/tests/RomTypeTest/ARM9/maini.rsf +++ b/build/tests/RomTypeTest/ARM9/maini.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_i.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/mainj.rsf b/build/tests/RomTypeTest/ARM9/mainj.rsf index b429a06b..084716a8 100644 --- a/build/tests/RomTypeTest/ARM9/mainj.rsf +++ b/build/tests/RomTypeTest/ARM9/mainj.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_j.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/maink.rsf b/build/tests/RomTypeTest/ARM9/maink.rsf index f7929284..c53b6cd6 100644 --- a/build/tests/RomTypeTest/ARM9/maink.rsf +++ b/build/tests/RomTypeTest/ARM9/maink.rsf @@ -94,7 +94,7 @@ Property # # BANNER FILE: generated from Banner Spec File # - BannerFile ../banner/banner.bnr + BannerFile ../banner/banner_k.bnr ### ### Setting for TWL diff --git a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c index f9545f18..449e3d5d 100644 --- a/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c +++ b/build/tests/RomTypeTest/ARM9/src/RomTypeTest.c @@ -29,6 +29,13 @@ // extern data------------------------------------------ // function's prototype declaration--------------------- +static BOOL ROTestCore( char *path, char *testfile ); +static BOOL SRLTest( void ); +static BOOL ContentTest( void ); +static void FinalizeRWTest( FSFile *file, char* filename ); +static BOOL RWTestCore( char *path, char *testfile ); +static BOOL RWTest( char *path ); +static void TestFSPermission( void ); // global variable ------------------------------------- RTCDrawProperty g_rtcDraw = { @@ -36,14 +43,219 @@ RTCDrawProperty g_rtcDraw = { }; // static variable ------------------------------------- +static BOOL s_quiettest = FALSE; // const data ----------------------------------------- //====================================================== -// ピクトチャット +// テストプログラム //====================================================== -// ピクトチャットの初期化 +static BOOL ROTestCore( char *path, char *testfile ) +{ + char filename[256]; + char testfilename[256]; + int len; + char buf[5]; + FSFile file[1]; + + FS_InitFile( file ); + STD_TSNPrintf( filename, 256, "%s/%s", path, testfile ); + STD_TSNPrintf( testfilename, 256, "%s/test.txt", path ); + +/* + if ( FS_CreateFile(testfilename, FS_PERMIT_R | FS_PERMIT_W) ) + { + // ReadOnlyなので、ファイル作成成功したらだめ + if( !s_quiettest ) OS_TPrintf("%s:File Create succeed. (ReadOnly) \n",testfilename); + FS_DeleteFile( testfilename ); + //return FALSE; + } +*/ + + // ファイルオープン + if ( FS_OpenFileEx( file, filename, FS_FILEMODE_W ) ) + { + // ReadOnlyなので、Writeのファイルオープン成功したらだめ + if( !s_quiettest ) OS_TPrintf("%s:Write mode open succeed. (ReadOnly) \n",filename); + return FALSE; + } + + // ファイルオープン + if ( !FS_OpenFileEx( file, filename, FS_FILEMODE_R ) ) + { + // ファイルオープン失敗 + if( !s_quiettest ) OS_TPrintf("%s:open failed.\n",filename); + return FALSE; + } + // ファイルリード + len = FS_ReadFile( file, buf, 3 ); + if( len != 3 ) + { + // リード失敗 + if( !s_quiettest ) OS_TPrintf("%s:read failed.\n",filename); + FS_CloseFile( file ); + return FALSE; + } + // ファイルクローズ + if( !FS_CloseFile( file ) ) + { + // クローズ失敗 + if( !s_quiettest ) OS_TPrintf("%s:close failed.\n",filename); + return FALSE; + } + + return TRUE; +} + +static BOOL SRLTest( void ) +{ + return ROTestCore( "nand:", "" ); +} + +static BOOL ContentTest( void ) +{ + return ROTestCore( "content:", "title.tmd" ); +} + +static BOOL Shared1Test( void ) +{ + return ROTestCore( "shared1:", "TWLCFG0.dat" ); +} + +static void FinalizeRWTest( FSFile *file, char* filename ) +{ + FS_CloseFile( file ); + FS_DeleteFile( filename ); +} + +// パス名は最後にスラッシュを入れない事 +static BOOL RWTestCore( char *path, char *testfile ) +{ + char filename[256]; + int len; + char buf[5]; + FSFile file[1]; + + FS_InitFile( file ); + STD_TSNPrintf( filename, 256, "%s/%s", path, testfile ); + + // ファイル残ってると嫌なので削除を先に走らせておく(テスト結果には影響せず) + FS_DeleteFile(filename); + + // ファイル作成テスト + if ( FS_CreateFile(filename, FS_PERMIT_R | FS_PERMIT_W) ) + { + // ファイルオープン + if ( !FS_OpenFileEx( file, filename, FS_FILEMODE_W ) ) + { + // ファイルオープン失敗 + if( !s_quiettest ) OS_TPrintf("%s:open failed.\n",filename); + FS_DeleteFile( filename ); + return FALSE; + } + // ファイルライト + len = FS_WriteFile( file, "test", 5); + if( len != 5 ) + { + // ライト失敗 + if( !s_quiettest ) OS_TPrintf("%s:write failed.\n",filename); + FinalizeRWTest( file, filename ); + return FALSE; + } + // ファイルクローズ + if( !FS_CloseFile( file ) ) + { + // クローズ失敗 + if( !s_quiettest ) OS_TPrintf("%s:close failed.\n",filename); + FinalizeRWTest( file, filename ); + return FALSE; + } + // ファイルオープン + if ( !FS_OpenFileEx( file, filename, FS_FILEMODE_R ) ) + { + // ファイルオープン失敗 + if( !s_quiettest ) OS_TPrintf("%s:open failed.\n",filename); + FS_DeleteFile( filename ); + return FALSE; + } + // ファイルリード + len = FS_ReadFile( file, buf, len ); + if( len != 5 || STD_CompareString( buf, "test" ) != 0 ) + { + // リード失敗 + if( !s_quiettest ) OS_TPrintf("%s:read failed.\n",filename); + FinalizeRWTest( file, filename ); + return FALSE; + } + // ファイルクローズ + if( !FS_CloseFile( file ) ) + { + // クローズ失敗 + if( !s_quiettest ) OS_TPrintf("%s:close failed.\n",filename); + FinalizeRWTest( file, filename ); + return FALSE; + } + // ファイルデリート + if( !FS_DeleteFile( filename )) + { + // デリート失敗 + if( !s_quiettest ) OS_TPrintf("%s:delete failed.\n",filename); + FinalizeRWTest( file, filename ); + return FALSE; + } + }else + { + // ファイル作成失敗 + if( !s_quiettest ) OS_TPrintf("%s:cleate failed.\n",filename); + return FALSE; + } + + return TRUE; +} + +static BOOL RWTest( char *path ) +{ + return RWTestCore( path, "test.txt" ); +} + +static BOOL TMPJumpTest( void ) +{ + return RWTestCore( "nand:", "" ); +} + +u8 tempbuf[ LCFG_TEMP_BUFFER_SIZE * 2 ]; + +static void TestFSPermission( void ) +{ + BOOL result[15]; + int l; + + result[0] = RWTest( "nand:" ); // nand: + result[1] = RWTest( "nand2:" ); // nand2: + result[2] = ContentTest(); // content: + result[3] = Shared1Test(); // shared1: + result[4] = RWTest( "shared2:" ); // shared2: + result[5] = RWTest( "photo:" ); // photo: + result[6] = RWTest( "dataPub:" ); // dataPub: + result[7] = RWTest( "dataPrv:" ); // dataPrv: + result[8] = RWTest( "sdmc:" ); // sdmc + result[9] = RWTest( "nand:/sys" ); // nand:/sys + result[10] = RWTest( "nand:/import" ); // nand:/import + result[11] = RWTest( "nand:/tmp" ); // nand:/tmp + result[12] = SRLTest(); // nand:/ + result[13] = OS_DeleteSubBannerFile(); // nand:/ + result[14] = TMPJumpTest(); // nand:/ + + OS_TPrintf( "Result:\n" ); + for( l=0; l<15; l++ ) + { + OS_TPrintf( "%s ", ( result[l] ? "○" : "×" ) ); + } + OS_TPrintf( "\n" ); +} + +// テストプログラムの初期化 void RomTypeTestInit( void ) { GX_DispOff(); @@ -51,7 +263,8 @@ void RomTypeTestInit( void ) NNS_G2dCharCanvasClear( &gCanvas, TXT_COLOR_WHITE ); PutStringUTF16( 1 * 8, 0 * 8, TXT_COLOR_BLUE, (const u16 *)L"RomTypeTest"); - PutStringUTF16( 4 * 8, 8 * 8, TXT_COLOR_BLACK, (const u16 *)L"Under Construction..."); + PutStringUTF16( 4 * 8, 8 * 8, TXT_COLOR_BLACK, (const u16 *)L"Push A To Start Test."); + PutStringUTF16( 4 * 8, 10 * 8, TXT_COLOR_BLACK, (const u16 *)L"Push X To Start Test Quietly."); GetAndDrawRTCData( &g_rtcDraw, TRUE ); GXS_SetVisiblePlane( GX_PLANEMASK_BG0 ); @@ -60,7 +273,7 @@ void RomTypeTestInit( void ) } -// ピクトチャットのメインループ +// テストプログラムのメインループ void RomTypeTestMain(void) { BOOL tp_cancel = FALSE; @@ -73,6 +286,16 @@ void RomTypeTestMain(void) RETURN_BUTTON_BOTTOM_X * 8, RETURN_BUTTON_BOTTOM_Y * 8 - 4, &tpd.disp ); } + if( ( pad.trg & PAD_BUTTON_A ) ) { + s_quiettest = FALSE; + TestFSPermission(); + } + + if( ( pad.trg & PAD_BUTTON_X ) ) { + s_quiettest = TRUE; + TestFSPermission(); + } + if( ( pad.trg & PAD_BUTTON_B ) || tp_cancel ) { // SYSM_RebootLauncher(); } diff --git a/build/tests/RomTypeTest/banner/Makefile b/build/tests/RomTypeTest/banner/Makefile index 474d571c..a03da7d0 100644 --- a/build/tests/RomTypeTest/banner/Makefile +++ b/build/tests/RomTypeTest/banner/Makefile @@ -18,20 +18,11 @@ include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -ICON_DIR = ./icon - -BANNER_SPEC = test-utf16_v3.TWL.bsf - -MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe - -TARGETS = banner.bnr -INSTALL_DIR = ./ -INSTALL_TARGETS = $(TARGETS) - -BANNER_ICON_NAME = $(basename $(BANNER_ICON)) - -LDIRT_CLEAN = $(TARGETS) \ - $(TARGETS:.bnr=.srl) +SUBDIRS = +SUBMAKES = Makefile.0 Makefile.1 Makefile.2 Makefile.3 Makefile.4 Makefile.5 \ + Makefile.6 Makefile.7 Makefile.8 Makefile.9 Makefile.a Makefile.b \ + Makefile.c Makefile.d Makefile.e Makefile.f Makefile.g Makefile.h \ + Makefile.i Makefile.j Makefile.k include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules @@ -40,7 +31,5 @@ include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules #---------------------------------------------------------------------------- do-build: $(TARGETS) -$(TARGETS): $(BANNER_SPEC) - $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) # diff --git a/build/tests/RomTypeTest/banner/Makefile.0 b/build/tests/RomTypeTest/banner/Makefile.0 new file mode 100644 index 00000000..97c32d52 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.0 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 0 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.1 b/build/tests/RomTypeTest/banner/Makefile.1 new file mode 100644 index 00000000..54f8cd07 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.1 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 1 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.2 b/build/tests/RomTypeTest/banner/Makefile.2 new file mode 100644 index 00000000..13eeca27 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.2 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 2 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.3 b/build/tests/RomTypeTest/banner/Makefile.3 new file mode 100644 index 00000000..5bfadf81 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.3 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 3 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.4 b/build/tests/RomTypeTest/banner/Makefile.4 new file mode 100644 index 00000000..7ea01f33 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.4 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 4 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.5 b/build/tests/RomTypeTest/banner/Makefile.5 new file mode 100644 index 00000000..4c44bd16 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.5 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 5 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.6 b/build/tests/RomTypeTest/banner/Makefile.6 new file mode 100644 index 00000000..a3cb390c --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.6 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 6 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.7 b/build/tests/RomTypeTest/banner/Makefile.7 new file mode 100644 index 00000000..c4e38d94 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.7 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 7 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.8 b/build/tests/RomTypeTest/banner/Makefile.8 new file mode 100644 index 00000000..b42bcec4 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.8 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 8 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.9 b/build/tests/RomTypeTest/banner/Makefile.9 new file mode 100644 index 00000000..5657c255 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.9 @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = 9 + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.a b/build/tests/RomTypeTest/banner/Makefile.a new file mode 100644 index 00000000..fc320423 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.a @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = a + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.b b/build/tests/RomTypeTest/banner/Makefile.b new file mode 100644 index 00000000..77b38975 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.b @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = b + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.c b/build/tests/RomTypeTest/banner/Makefile.c new file mode 100644 index 00000000..c80098fe --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.c @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = c + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.d b/build/tests/RomTypeTest/banner/Makefile.d new file mode 100644 index 00000000..1187190a --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.d @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = d + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.e b/build/tests/RomTypeTest/banner/Makefile.e new file mode 100644 index 00000000..32024fb5 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.e @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = e + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.f b/build/tests/RomTypeTest/banner/Makefile.f new file mode 100644 index 00000000..2360a8d6 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.f @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = f + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.g b/build/tests/RomTypeTest/banner/Makefile.g new file mode 100644 index 00000000..3d947db4 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.g @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = g + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.h b/build/tests/RomTypeTest/banner/Makefile.h new file mode 100644 index 00000000..55893d65 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.h @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = h + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.i b/build/tests/RomTypeTest/banner/Makefile.i new file mode 100644 index 00000000..298a0bdb --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.i @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = i + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.j b/build/tests/RomTypeTest/banner/Makefile.j new file mode 100644 index 00000000..e8d5ea6a --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.j @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = j + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/Makefile.k b/build/tests/RomTypeTest/banner/Makefile.k new file mode 100644 index 00000000..b1cff1b6 --- /dev/null +++ b/build/tests/RomTypeTest/banner/Makefile.k @@ -0,0 +1,48 @@ +#! make -f +#---------------------------------------------------------------------------- +# Project: TwlIPL +# File: Makefile +# +# Copyright 2007 Nintendo. All rights reserved. +# +# These coded instructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: $ +# $Rev$ +# $Author$ +#---------------------------------------------------------------------------- + +include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs + +BNRNUM = k + +ICON_DIR = ./icon + +BANNER_SPEC = test-utf16_$(BNRNUM)_v3.TWL.bsf + +MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe + +TARGETS = banner_$(BNRNUM).bnr +INSTALL_DIR = ./ +INSTALL_TARGETS = $(TARGETS) + +BANNER_ICON_NAME = $(basename $(BANNER_ICON)) + +LDIRT_CLEAN = $(TARGETS) \ + $(TARGETS:.bnr=.srl) + +include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules + +#---------------------------------------------------------------------------- +# build +#---------------------------------------------------------------------------- +do-build: $(TARGETS) + +$(TARGETS): $(BANNER_SPEC) + $(MAKEBANNER) -p TWL $(BANNER_SPEC) $(TARGETS) + +# diff --git a/build/tests/RomTypeTest/banner/test-utf16_0_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_0_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..f91f07dd3194e6ae787b476305c9c06eedb7da49 GIT binary patch literal 610 zcma)(OACTf5QWdyp#LDWu|*GP5wxqwvPFnW+pq^ErA4}^KVO|Y*9Wx77_N@vH)qc1 z`_;k(K5UriNSJ&MkuVOpv+Co^k6>U>z8kX=AtvGQ8saEf zf<5mKVTZz2oJ;MD;jpu!4D`Ra!iAa_(U+RtxU7hC2@>2L{` zK1_y3jTix*vS~nvDLeJt8CErv1;w;Q*QVBQO^aXA%jr2g>uAMjZHEr)XvJvSuieh# UpLKJ3`p1@v(b|hYXvJvy0|FIXJOBUy literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_1_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_1_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..b793ddcf5df669bb94c4fba4e972d4b24724dabb GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rFRPf_4>Iwg^#a8+M_jv`82A^40mr8?;CnejUee&YaQD zyM-xSn9$LY(E02mVjS^c)y19Jo|%aNSLRJLKrJ3pFpGFEzWz88I%{(yOW^JZDZ#Sjm|#cFd!~;R-f= z=nRJ%Aw0ZfQ;!Z~b`FG`V_iWRP)u8BlUn~Z4Sq!@qZjO~q7{>BTXa}OD<-Ag%IysP TSv#X=HMUets=cg1D<-AC2ZdZj literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_2_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_2_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..b5bcbdb4bbea1c7d25e2f2519f8d08eefe4751c7 GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE%y2-;O-*&;-xZPF4Vk$zSQg^k6>U>z8kX=AtvGQ8saEf zf<5mKVTZz2oJ;MD;jpu!4D`Ra!iAa_(U+RtxU7hC2@>2L{` zK1_y3jTix*vS~nvDLeHpGpuST3yNuru1&4qnijvJm(z20*3pX5+72Do(TdTuU%Q>f UKkMf7^p7nSqqP@*(2CLY2NGpmQ~&?~ literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_4_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_4_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..e2025bf5df8fda5164a86d1793cead05878e0ab6 GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE#*1nnxaY!RZ;Hta%4X^}4K<*W0LH)xSE{5p=`oH?VP zcMDUvFrlL(q4U{C#5m%?s*5|bJu?#luFRWg$k_-Hvw9;vhK51$Zo*1{kc7pnkCS8( z4!l2w9SK`0RjLU?$|rXC%}>>LU?$GUPRC`&2R!mBN0T0RjLU?$|rXC%}>>LU?$GUPRC`&2R!mBN0UbqLWB>pF literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_6_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_6_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..9886587c5e481abdf442abfa07b2f72c6ab43094 GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE#r1??)bY!RZ;Hta%4X^}4K<*W0LH)xSE{5p=`oH?VP zcMDUvFrlL(q4U{C#5m%?s*5|bJu?#luFRWg$k_-Hvw9;vhK51$Zo*1{kc7pnkCS8( z4!l2w9SK`0RjLU?$|rXC%}>>LU?$GUPRC`&2R!mBN0V1_rYybcN literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_7_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_7_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..27726336a524d6349603fa27a754c88e07a7faf2 GIT binary patch literal 610 zcma)(OACTf5QWdyp#LDWu|*GP5wxqwvPFnW+pq^ErA4}^KVO|Y*9Wx77_N@vH)qc1 z`_;k(K5UriNSJ&MkuVOpv+Co^k6>U>z8kX=AtvGQ8saEf zf<5mKVTZz2oJ;MD;jpu!4D`Ra!iAa_(U+RtxU7hC2@>2L{` zK1_y3jTix*vS~nvDLb{l8CErv1;w;Q*QVBQO^aXA%jr2g>uAMjZHEr)XvJvSuieh# UpLKJ3`p1@v(b|hYXvJvy11Ke2bN~PV literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_8_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_8_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..8cb61ef207d6623ea3b1d96a0867eb005fdc8dbf GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE%xDB4wI*&;-xZPF4Vk$zSQgF4Vk$zSQg<0SuH~!~g&Q literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_b_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_b_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..02983981ce6c926d03d15c1cb7ae6e9ef7f7d57c GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE%x2-;O-*&;-xZD>VFX^}4K<*W0LH)xSE{5p=`oH?VP zcLy`LFrlL-q4U{C%sAq~s*5|bJu?#_uFTtL$=M2#uzDjsfre4}ZpuoCh=j$fkCS9E z4!l2w9Sd7=HnmfR#mP7iwNeUuyP%GZI{|qgPc+dCr`gvQjX81kB^o;Tkr5 z=nRJ%5j?zPQ;!Z4b_PN&u&JR8D5fj4Nv;2y2EU?{(@S>N(Td5mEjp~D6_e3!?REzL Ttew;I23sm7(_S^86_e3l5(Hh$ literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_c_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_c_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..7475a88ac2e97eb17144dba32b36de9e6d0d63e6 GIT binary patch literal 610 zcma)(%?pA+5XIlsp#MSWVuwDUL(r`v%MKwbUBf;oDJ{}N{qxn^*;MF|GORm0{`Soq zeZN|mz=sVJ9SM`?5DDXeJF7l!%y!IdM7S_-q9JQ7M9S)w^aut9#k(;p5n>V!pCOKt zCD?O+2s;$Ebg^Zg6b_eg z>BD4r)QAz_DU$|tn2Lg$bB0v~WeL+3U7K3}H7$Nc51O9yW)-a%O*?d0MJq83``f(W|PZJZDZ#St*!4_RQnb;Tkr5 z=nRJ%5j?zPQ;!Z4b_PN&u&JR8D5fj4Nv;2y2EU?{(@S>N(Td5mEjp~D6_e3!?REzL Ttew;I23sm7(_S^86_e3l9OPZx literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_e_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_e_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..69ecd6ec9fb9be75906de9a6551b4d6101788c09 GIT binary patch literal 610 zcma)(OACTf5QWdyp#LDWu|*GP5wxqwvPFnW+pq^ErA4}^KVO|Y*9Wx77_N@vH)qc1 z`_;k(K5UriNSJ&MkuVOpv+Co^k6>U>z8kX=AtvGQ8saEf zf<5mKVTZz2oJ;MD;jpu!4D`Ra!iAa_(U+RtxU7hC2@>2L{` zK1_y3jTix*vS~nvDLeI^GpuST3yNuru1&4qnijvJm(z20*3pX5+72Do(TdTuU%Q>f UKkMf7^p7nSqqP@*(2CLY2O?Bm zTbRIw2^}2?ozFfZ#sLpjUEG=Nn3)K0W!^+X&RU3=)f?#%Gz^M&V^#u$BrINioFt2| z=lv<{P}q{Qshuz^c9xWe{tuVCQ1b%%QnP!U5#xdly{cNmbLP~9m7M8f%RDL^E@9J$ z&Tyy^!oy28_2@8W=TXQRRuz;1#k7Sssr6se;8%1qdd|)&S~01%MTb?iVp7_z+|J;i TwKIBJV@t)P+KU>rVp94GC&XRs literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_g_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_g_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..3fcb24cf15f6ee448e41094c2576923b68496397 GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE%x2-;O-*&;-xZP*2q(jr~d%U9eVf99O0u7_`-ISFO5ebV|AAw{s zj=VpG9Sd7=HnmfR#mP7iwNeUuyP%GZI{|qgPc+dCr`gvQjX8?3u@OB z&>0RjB6xVorXC$8>eVf99O0u7_`-ISFO5ebV|A7{y8 z9C?2VI~KO$Y-*OB z&>0RjB6xVorXC$8>jOWCu87n2z#g=(eIb6b} z50l|hBSwIyY#PvE%Fam08CDv~f@0c2+tm84Y4Iz11wCh{j#f;r?a-l)R!mO&+U+d< US+}64e{89kTzl~ct(ctt05}w01ONa4 literal 0 HcmV?d00001 diff --git a/build/tests/RomTypeTest/banner/test-utf16_j_v3.TWL.bsf b/build/tests/RomTypeTest/banner/test-utf16_j_v3.TWL.bsf new file mode 100644 index 0000000000000000000000000000000000000000..cd034555836a9b02398be9d40332e478c6769fb3 GIT binary patch literal 610 zcma)(%L;;E5QWdypmz}3*rE%x2-;O-*&;-xZPF4Vk$zSQg zp)(w6gz)f^O+7k{*?AUnhE)Y+KrwBhO=|tuH24*rjGnWzidIajZP8&Bt(cT{E4MTF UXYGuh*4R=psrI4eVf99O0u7_`-ISF85ebV|A7{y8 z9C?2VI~KO$Y-*OB z&>0RjB6xVorXC$8>R{`J7Kvz`KHR~O}pQxI1>HnV-RdfDN V{?GeF)tpuM4pBAd6mp_!?gc|XOw9lQ